* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.day-selector {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.day-selector h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.8rem;
}

.day-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.day-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.day-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.day-btn.active {
    background: linear-gradient(45deg, #FF6B6B, #FF5252);
    transform: scale(1.05);
}

.day-btn.rest-day {
    background: linear-gradient(45deg, #9E9E9E, #757575);
}

.workout-display {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.workout-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.workout-header h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 10px;
}

.workout-header p {
    color: #666;
    font-size: 1.1rem;
}

.exercises-container {
    display: grid;
    gap: 20px;
}

.exercise-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 5px solid #4CAF50;
    transition: all 0.3s ease;
    cursor: pointer;
}

.exercise-card:hover {
    background: #e8f5e8;
    transform: translateX(5px);
}

.exercise-card.completed {
    background: #d4edda;
    border-left-color: #28a745;
}

.exercise-card.completed .exercise-name {
    text-decoration: line-through;
    color: #666;
}

.exercise-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.exercise-sets {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.exercise-notes {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.cardio-section {
    background: #e3f2fd;
    border-left-color: #2196F3;
}

.cardio-section .exercise-name {
    color: #1976D2;
}

.core-section {
    background: #fff3e0;
    border-left-color: #FF9800;
}

.core-section .exercise-name {
    color: #F57C00;
}

.progress-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.progress-section h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.8rem;
}

.progress-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

.progress-bar {
    background: #e0e0e0;
    border-radius: 25px;
    height: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-fill {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    height: 100%;
    border-radius: 25px;
    transition: width 0.5s ease;
    width: 0%;
}

.rest-day-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.rest-day-message h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.rest-day-message p {
    font-size: 1.2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .day-buttons {
        grid-template-columns: 1fr;
    }
    
    .day-btn {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .progress-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
