/* ===============================
   CONTAINER GLOBAL
================================ */

.dashboard-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* ===============================
   HEADER / HERO
================================ */

.dashboard-header {
    background: linear-gradient(135deg, #f9fafb, #ffffff);
    border-radius: 36px;
    padding: 5rem 4.5rem;
    margin-bottom: 4.5rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.dashboard-header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.dashboard-header__title {
    font-size: 3.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.dashboard-header__subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

.dashboard-header__actions {
    display: flex;
    gap: 1rem;
}

/* ===============================
   STATS
================================ */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    margin-bottom: 4.5rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 3.5rem 3rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12);
}

.stat-card__label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.stat-card__value {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* ===============================
   SEARCH
================================ */

.dashboard-search {
    background: #f8fafc;
    border-radius: 36px;
    padding: 4rem;
    margin-bottom: 4.5rem;
}

.dashboard-search__form {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.dashboard-search__form input {
    flex: 1;
    min-width: 240px;
    height: 60px;
    padding: 0 1.2rem;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    font-size: 1rem;
}

.dashboard-search__form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.15);
}

/* ===============================
   PROFILES SECTION
================================ */

.dashboard-profiles {
    background: var(--bg-card);
    border-radius: 36px;
    padding: 4.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.dashboard-profiles__header {
    margin-bottom: 3rem;
}

.dashboard-profiles__title {
    font-size: 2.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
    .dashboard-container {
        padding: 3rem 1.5rem;
    }

    .dashboard-header {
        padding: 3.5rem;
    }

    .dashboard-search,
    .dashboard-profiles {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .dashboard-header__title {
        font-size: 2.4rem;
    }

    .dashboard-search__form {
        flex-direction: column;
    }

    .dashboard-search__form input {
        width: 100%;
    }
}

.dashboard-profiles__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-toggle .btn.active {
    background-color: #0d6efd;
    color: white;
}

.profiles-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profiles-table table {
    margin: 0;
    width: 100%;
}

.profiles-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}
