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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Container */
.container {
    max-width: 500px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Panels */
.panel {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.panel h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #555;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

/* Timer Display */
.timer-display {
    text-align: center;
    margin-bottom: 30px;
}

.time-big {
    display: block;
    font-size: 5rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.phase-label {
    display: block;
    font-size: 1.2rem;
    color: #667eea;
    margin-top: 8px;
    font-weight: 600;
}

/* Stats Display */
.stats-display {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Controls */
.controls {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* Status Message */
.status-message {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Utility Classes */
.hidden {
    display: none;
}
