﻿/* App background */


.home-container {
    /*max-width: 920px;*/
    margin: 0 auto;
    padding: 1rem 0rem 5rem; /* bottom for mobile nav */
}

    /* Generic section title (if you use a SectionTitle component, this will still help) */
    .section-title, .home-container > h3 {
        margin: 1.1rem 0 .5rem;
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--cl-text-muted);
    }
/* Top “Complete your setup” card should also use this style if possible */
.home-header-card,
.onboarding-card { /* you can add this class to your onboarding card wrapper */
    background: var(--cl-card-bg);
    border-radius: var(--cl-radius-xl);
    padding: 1.2rem 1.5rem;
    box-shadow: var(--cl-shadow-soft);
    margin-bottom: 1rem;
}

    .home-header-card h2 {
        margin: 0 0 .15rem;
        font-size: 1.35rem;
        font-weight: 700;
    }

    .home-header-card .subtitle {
        margin: 0;
        font-size: .82rem;
        color: var(--cl-text-muted);
    }

/* XP / Streak / Challenges row */
.xp-row {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
}

    .xp-row > div {
        flex: 1;
        background: #F8FAFF;
        border-radius: 18px;
        padding: .55rem .5rem;
        text-align: center;
        box-shadow: 0 1px 2px rgba(15,23,42,0.03), 0 0 0 1px rgba(15,23,42,0.02);
    }

    .xp-row strong {
        display: block;
        font-size: 1.02rem;
        font-weight: 700;
        color: var(--cl-text-main);
    }

    .xp-row span {
        display: block;
        margin-top: .1rem;
        font-size: .7rem;
        color: var(--cl-text-muted);
    }


/* On very small screens, let them wrap nicely */
@media (max-width: 430px) {
    .quick-action {
        width: 45%;
        min-width: 130px;
    }
}




.placeholder-card {
    border: 1px solid var(--cl-border, #E0E6EB);
    background: var(--cl-card-bg, #FFFFFF);
    border-radius: var(--cl-radius-xl, 16px);
    padding: 1rem;
    text-align: center;
    color: var(--cl-text-secondary, #6C757D);
    box-shadow: var(--rz-card-shadow);
    margin: 1rem 0;
}

.placeholder-icon {
    font-size: 0px;
    color: var(--cl-primary, #70AFFB);
    margin-bottom: 1rem;
}

.placeholder-title {
    font-weight: 600;
    color: var(--cl-text-primary, #1E293B);
    margin-bottom: 0.25rem;
}

.placeholder-text {
    font-size: 0.9rem;
    color: var(--cl-text-secondary, #6C757D);
    margin: 0;
}

.placeholder-card .rzi{
    font-size:40px;
}


/* Modern Client Dashboard Styles */
.profile-card-modern {
    padding: 2rem !important;
}

.profile-header-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

    .profile-avatar-large.initials-large {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.2);
        color: white;
        font-size: 2.5rem;
        font-weight: 700;
    }

.profile-info-modern h3 {
    margin: 0;
    font-size: 2rem;
}

.quick-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-box {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-buttons-modern {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

    .action-buttons-modern .rz-button {
        flex: 1;
        min-width: 150px;
    }

/* Modern Coach Dashboard Styles - Reuse client styles with coach prefix */
.coach-profile-card-modern {
    padding: 2rem !important;
}

.coach-profile-header-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.coach-profile-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.coach-profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

    .coach-profile-avatar-large.initials-large {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.2);
        color: white;
        font-size: 2.5rem;
        font-weight: 700;
    }

.coach-profile-info-modern h3 {
    margin: 0;
    font-size: 2rem;
}

.coach-quick-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.coach-stat-box {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.coach-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.coach-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.coach-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coach-action-buttons-modern {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

    .coach-action-buttons-modern .rz-button {
        flex: 1;
        min-width: 150px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-left,
    .coach-profile-left {
        flex-direction: column;
        text-align: center;
    }

    .profile-avatar-large,
    .coach-profile-avatar-large {
        width: 80px;
        height: 80px;
    }

    .profile-info-modern h3,
    .coach-profile-info-modern h3 {
        font-size: 1.5rem;
    }

    .quick-stats-row,
    .coach-quick-stats-row {
        gap: 0.5rem;
    }

    .stat-box,
    .coach-stat-box {
        padding: 0.75rem 0.5rem;
    }

    .stat-icon,
    .coach-stat-icon {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .stat-value,
    .coach-stat-value {
        font-size: 1.5rem;
    }

    .stat-label,
    .coach-stat-label {
        font-size: 0.65rem;
        line-height: 1.2;
    }

    .action-buttons-modern,
    .coach-action-buttons-modern {
        flex-direction: column;
    }

        .action-buttons-modern .rz-button,
        .coach-action-buttons-modern .rz-button {
            width: 100%;
        }

    .profile-card-modern,
    .coach-profile-card-modern {
        padding: 1.25rem !important;
    }

    .profile-header-content,
    .coach-profile-header-content {
        gap: 1.25rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .stat-box,
    .coach-stat-box {
        padding: 0.5rem 0.25rem;
    }

    .stat-icon,
    .coach-stat-icon {
        font-size: 1.25rem;
    }

    .stat-value,
    .coach-stat-value {
        font-size: 1.25rem;
    }

    .stat-label,
    .coach-stat-label {
        font-size: 0.6rem;
    }
}

/* Onboarding banner improvements */
.onboard-banner {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ACTIVITY FEED - Compact colored icon style from FighterProfile */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E0E6EB;
    transition: all 0.2s;
}

    .activity-item:hover {
        background: #F1F5F9;
        transform: translateY(-1px);
    }

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

    .activity-icon.checkin {
        background: #DCFCE7;
        color: #16A34A;
    }

    .activity-icon.training {
        background: #E0F2FE;
        color: #0369A1;
    }

    .activity-icon.achievement {
        background: #FEF3C7;
        color: #D97706;
    }

    .activity-icon.biometric {
        background: #F3E8FF;
        color: #7C3AED;
    }

    .activity-icon.note {
        background: #FEE2E2;
        color: #DC2626;
    }

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-text {
    font-size: 0.9rem;
    color: #1E293B;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.activity-time {
    font-size: 0.75rem;
    color: #6C757D;
}

/* Activity feed responsive */
@media (max-width: 480px) {
    .activity-item {
        padding: 0.75rem;
        gap: 0.65rem;
    }

    .activity-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .activity-text {
        font-size: 0.85rem;
    }

    .activity-time {
        font-size: 0.7rem;
    }
}
