/* Main stylesheet for Workout Tracker App */

/* Variables */
:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #A5D6A7;
    --secondary: #2196F3;
    --secondary-dark: #1976D2;
    --secondary-light: #BBDEFB;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --black: #000000;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --gray-light: #f8f9fa;
}

/* General styling */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--dark);
    background-color: #f5f5f5;
}

main {
    flex: 1;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Custom button styles */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* Card styling */
.card {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
}

/* Form styling */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

.form-label {
    font-weight: 500;
}

/* Timer styling */
.timer-display {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Exercise card styling */
.exercise-card {
    border-left: 4px solid var(--primary);
}

.exercise-card.timed {
    border-left-color: var(--secondary);
}

.exercise-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exercise-details i {
    color: var(--primary);
}

/* Workout plan styling */
.workout-day {
    background-color: var(--primary-light);
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.workout-exercise {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.workout-exercise:last-child {
    border-bottom: none;
}

/* Progress chart styling */
.chart-container {
    position: relative;
    height: 300px;
}

/* Equipment list styling */
.equipment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.equipment-badge {
    display: inline-block;
    background-color: var(--light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.equipment-badge.required {
    background-color: var(--primary-light);
    border-color: var(--primary);
}

/* Progress indicators */
.progress-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-label {
    flex-basis: 120px;
    font-weight: 500;
}

.progress {
    flex-grow: 1;
    height: 10px;
}

/* Dashboard widgets */
.dashboard-widget {
    height: 100%;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats-card {
    flex: 1 1 200px;
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stats-card .value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin: 0.5rem 0;
}

.stats-card .label {
    color: var(--gray);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timer-display {
        font-size: 2.5rem;
    }
    
    .stats-card {
        flex-basis: 100%;
    }
} 