body {
    min-height: 100vh;
    font-family: 'Space Grotesk', sans-serif;
    color: #0f172a;
    background-color: #f7f6f2;
}

:root {
    --brand-900: #0f172a;
    --brand-700: #1d4ed8;
    --brand-500: #38bdf8;
    --brand-200: #e0f2fe;
    --neutral-100: #ffffff;
    --neutral-200: #e2e8f0;
}

.card {
    border-radius: 16px;
    border: 1px solid var(--neutral-200);
}

.table td,
.table th {
    vertical-align: middle;
}

.auth-page {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(circle at 10% 20%, rgba(29, 78, 216, 0.12), transparent 45%),
        #f7f6f2;
}

.auth-hero {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.08), rgba(56, 189, 248, 0.18));
    padding: 28px 32px;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand-900);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.auth-card {
    background: var(--neutral-100);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--neutral-200);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-card__header {
    font-weight: 600;
    font-size: 1.1rem;
}

.auth-alert {
    border-radius: 14px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    margin-bottom: 20px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 18px;
}

.profile-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.05);
    word-break: break-word;
}

.profile-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.6);
    margin-bottom: 4px;
}

.profile-value {
    font-weight: 600;
}

.profile-section {
    padding: 12px 0 6px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.profile-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.profile-section__title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(15, 23, 42, 0.7);
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(56, 189, 248, 0.18);
    color: #0369a1;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-approved {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef9c3;
    color: #854d0e;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-neutral {
    background: #e2e8f0;
    color: #475569;
}

.player-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    margin-top: 16px;
}

.player-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.session-block {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.session-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 12px;
    background: #ffffff;
    margin-bottom: 12px;
}

.session-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.session-item--add {
    background: #f8fafc;
}

.session-form .form-label {
    font-size: 0.78rem;
    color: rgba(15, 23, 42, 0.7);
}

.session-month {
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.16);
}

.session-month:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.session-month__title {
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(15, 23, 42, 0.7);
}

.session-groups {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.session-group {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.session-group__title {
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(15, 23, 42, 0.7);
}

.session-new-btn {
    margin-right: 10px;
}

@media (max-width: 576px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-header .btn,
    .page-header .btn {
        width: 100%;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auth-hero,
    .auth-card {
        padding: 20px;
    }

    .player-card__header,
    .session-item__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar .nav-link {
        word-break: break-word;
    }

    .hide-on-mobile {
        display: none !important;
    }
}
