/* ===== STILURI SPECIFICE PENTRU COPII ===== */

/* Navigation */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-user {
    color: var(--gray-700);
    font-weight: 500;
}

.nav-user i {
    color: var(--primary);
    margin-right: 5px;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

/* Content Wrapper */
.content-wrapper {
    padding: 100px 20px 40px;
    min-height: 100vh;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px 26px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(102,126,234,.28);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
}
.welcome-section::before {
    content: '';
    position: absolute;
    top: -24px;
    right: -24px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    pointer-events: none;
}
.welcome-section::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: 60px;
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    pointer-events: none;
}
.welcome-section .ws-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
    line-height: 1;
}
.welcome-section .ws-body {
    flex: 1;
    min-width: 0;
}
.welcome-section h1 {
    font-size: 1.35rem;
    margin-bottom: 3px;
    font-weight: 700;
    line-height: 1.3;
}

.welcome-section p {
    font-size: 0.88rem;
    opacity: 0.82;
    margin-bottom: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.stat-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.stat-icon.danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.stat-icon.info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Section Title */
.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Exercises Grid */
.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.exercise-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.exercise-card:hover:not(.disabled) {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.exercise-card.disabled {
    opacity: 0.7;
    filter: grayscale(0.5);
    cursor: not-allowed;
}

.exercise-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.exercise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.exercise-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.exercise-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 10px;
    background: var(--gray-100);
    border-radius: var(--border-radius-md);
}

.exercise-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-700);
}

/* Progress Chart */
.progress-chart {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
    height: 400px;
}

/* Buttons */
.btn {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: var(--border-radius-circle);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gray-300);
    color: var(--gray-600);
    cursor: not-allowed;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.alert i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-section h1 {
        font-size: 1.15rem;
    }

    .welcome-section p {
        font-size: 0.82rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .exercises-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
    }
    
    .welcome-section {
        padding: 16px 18px;
    }
}