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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

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

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

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

/* Timer Display */
.timer-display {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.timer-circle {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.timer-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #3498db;
    transition: height 0.1s linear;
    z-index: 1;
    opacity: 0.3;
}

.timer-text {
    font-size: 2.5rem;
    font-weight: bold;
    z-index: 2;
}

.timer-status {
    font-size: 1.2rem;
    margin-top: 10px;
    z-index: 2;
}

/* Timer Controls */
.timer-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn i {
    font-size: 1.1rem;
}

.primary {
    background-color: #2ecc71;
    color: white;
}

.primary:hover {
    background-color: #27ae60;
}

.secondary {
    background-color: #3498db;
    color: white;
}

.secondary:hover {
    background-color: #2980b9;
}

.danger {
    background-color: #e74c3c;
    color: white;
}

.danger:hover {
    background-color: #c0392b;
}

.btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* Timer Settings */
.timer-settings {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.setting-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.setting-group:last-child {
    margin-bottom: 0;
}

.setting-group label {
    font-weight: 600;
}

.setting-group input {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

/* Workout Progress */
.workout-progress {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.progress-item:last-child {
    border-bottom: none;
}

.progress-label {
    font-weight: 600;
}

.progress-value {
    color: #3498db;
    font-weight: 600;
}

/* Work and Rest Phase Colors */
.work-phase {
    color: #e74c3c;
}

.rest-phase {
    color: #2ecc71;
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    .timer-circle {
        width: 180px;
        height: 180px;
    }
    
    .timer-text {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .setting-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .setting-group input {
        width: 100%;
    }
}