/* Temel stil ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

h1 {
    color: #3498db;
    margin-bottom: 10px;
}

h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.user-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="number"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 80px;
}

button {
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.progress-container {
    margin-bottom: 30px;
    text-align: center;
}

.progress-bar-container {
    height: 20px;
    background-color: #eee;
    border-radius: 10px;
    margin: 15px 0;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    background-color: #2ecc71;
    width: 0%;
    transition: width 0.3s ease;
}

#calorie-count {
    font-weight: bold;
    color: #2c3e50;
}

.workout-container {
    margin-bottom: 30px;
}

.exercise-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exercise-info {
    flex: 1;
}

.exercise-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.exercise-details {
    color: #666;
    font-size: 0.9rem;
}

.exercise-calories {
    font-weight: bold;
    color: #e74c3c;
    margin-right: 15px;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 5px;
    transform: scale(1.2);
}

.completed {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

#reset-progress {
    background-color: #e74c3c;
}

#reset-progress:hover {
    background-color: #c0392b;
}

.history-container {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.history-date {
    font-weight: bold;
}

.history-calories {
    color: #2ecc71;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    .user-info {
        flex-direction: column;
    }
    
    .controls {
        flex-direction: column;
        gap: 10px;
    }
    
    button {
        width: 100%;
    }
}
