/* Agent Directory – Modern Fintech Agent List */

/* Hero-like Header */
.agent-directory {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, rgba(13, 96, 181, 0.05) 0%, rgba(27, 141, 255, 0.03) 100%);
}

/* Search Bar – Floating & Modern */
.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper .form-control {
    border: 1px solid rgba(13, 96, 181, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.search-wrapper .form-control:focus {
    border-color: var(--hover-color);
    box-shadow: 0 0 0 0.25rem rgba(27, 141, 255, 0.15);
}

/* Table – Clean & Hoverable */
#agent-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

#agent-table thead th {
    background: var(--accent-color);
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 1.2rem 1.5rem;
    border: none;
}

#agent-table tbody tr {
    transition: all 0.3s ease;
}

#agent-table tbody tr:hover {
    background: rgba(27, 141, 255, 0.08);
    transform: translateY(-2px);
}

#agent-table td {
    padding: 1.2rem 1.5rem;
    vertical-align: middle;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Mobile Card View */
@media (max-width: 991px) {
    .search-wrapper .form-control {
        font-size: 0.85rem;

    }

    .agent-card {
        background: white;
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.4s ease;
    }

    .agent-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(13, 96, 181, 0.18);
    }

    .agent-card h4 {
        color: var(--accent-color);
        font-weight: 700;
        margin-bottom: 0.5rem;
        font-size: 0.80rem;
    }

    .agent-card p {
        color: var(--default-color);
        margin: 0;
        font-size: 0.65rem;
    }

    .agent-card .rounded-circle {
        font-size: 0.8rem;
    }

    .agent-card h5 {
        font-size: 0.85rem;
    }
}

/* Pagination – Modern Buttons */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-wrapper button {
    padding: 10px 16px;
    border: none;
    border-radius: 50px;
    background: rgba(13, 96, 181, 0.1);
    color: var(--accent-color);
    font-weight: 600;
    min-width: 44px;
    transition: all 0.3s ease;
}

.pagination-wrapper button:hover {
    background: var(--hover-color);
    color: white;
    transform: translateY(-2px);
}

.pagination-wrapper button.active {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 6px 20px rgba(13, 96, 181, 0.25);
}

/* No Results */
#no-results {
    padding: 80px 0;
}