/* Dormant Accounts — Frontend Styles */
#da-search-wrapper {
    font-family: inherit;
    max-width: 960px;
    margin: 0 auto;
}

.da-search-box {
    background: #f8f9fa;
    border: 1px solid #dde1e7;
    border-radius: 8px;
    padding: 32px 36px;
    margin-bottom: 24px;
}

.da-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #1a1a2e;
}

.da-subtitle {
    color: #555;
    margin: 0 0 20px 0;
}

.da-fields {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
    max-width: 780px;
}

.da-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}

.da-field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.da-field input[type="text"] {
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.da-field input[type="text"]:focus {
    border-color: #1a73e8;
}

.da-field-btn {
    flex: 0 0 auto;
    min-width: auto;
}

#da-search-btn {
    padding: 12px 28px;
    background: #550401;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#da-search-btn:hover {
    background: #3a0200;
}

.da-note {
    color: #888;
    font-size: 0.85rem;
    margin: 8px 0 0 0;
}

/* Results */
.da-meta {
    margin: 0 0 12px 0;
    color: #444;
    font-size: 0.95rem;
}

.da-table-wrap {
    overflow-x: auto;
}

#da-results-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

#da-results-table thead {
    background: #1a1a2e;
    color: #fff;
}

#da-results-table th,
#da-results-table td {
    padding: 13px 16px;
    text-align: left;
    font-size: 0.95rem;
}

#da-results-table tbody tr:nth-child(even) {
    background: #f7f8fa;
}

#da-results-table tbody tr:hover {
    background: #eaf1ff;
}

#da-results-table td:first-child {
    font-family: monospace;
    font-size: 0.9rem;
    color: #555;
}

/* Pagination */
#da-pagination {
    margin-top: 18px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.da-pag-btn {
    padding: 7px 13px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.15s;
}

.da-pag-btn:hover {
    background: #eaf1ff;
    border-color: #1a73e8;
}

.da-pag-btn.active {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

/* No results */
.da-empty {
    text-align: center;
    padding: 48px 24px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.da-empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.da-empty p {
    margin: 6px 0;
    font-size: 1rem;
    color: #333;
}

.da-empty-sub {
    color: #888;
    font-size: 0.9rem !important;
}

/* Spinner */
#da-loading {
    text-align: center;
    padding: 40px;
}

.da-spinner {
    display: inline-block;
    width: 42px;
    height: 42px;
    border: 4px solid #ddd;
    border-top-color: #1a73e8;
    border-radius: 50%;
    animation: da-spin 0.7s linear infinite;
}

@keyframes da-spin {
    to { transform: rotate(360deg); }
}
