.citad-ec-wrap {
    max-width: 960px;
    margin: 0 auto;
    font-family: inherit;
}

.citad-ec-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.citad-ec-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 24px 0;
}

.citad-ec-search-other {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 10px;
}

/* Search form */
.citad-ec-form {
    margin-bottom: 20px;
}

.citad-ec-field-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.citad-ec-input {
    flex: 1;
    min-width: 200px;
    max-width: 360px;
    padding: 10px 14px;
    font-size: 15px;
    border: 2px solid #c8d0dc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.citad-ec-input:focus {
    border-color: #1565c0;
}

.citad-ec-btn {
    padding: 10px 22px;
    font-size: 15px;
    background: #1565c0;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.citad-ec-btn:hover {
    background: #0d47a1;
}

.citad-ec-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.citad-ec-error {
    color: #c62828;
    margin-top: 8px;
    font-size: 0.9em;
}

/* Table */
.citad-ec-table-wrap {
    overflow-x: auto;
    margin-top: 8px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.citad-ec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.citad-ec-table thead tr {
    background: #1565c0;
    color: #fff;
}

.citad-ec-table th,
.citad-ec-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #e8eaf0;
}

.citad-ec-table tbody tr:hover {
    background: #f0f4ff;
}

.citad-ec-table tbody tr:last-child td {
    border-bottom: none;
}

.citad-ec-no-result {
    color: #555;
    padding: 12px 0;
}

/* Auto result section */
.citad-ec-auto-result {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .citad-ec-table {
        font-size: 12px;
    }
    .citad-ec-table th,
    .citad-ec-table td {
        padding: 7px 8px;
    }
}
