body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.timer {
    font-size: 6rem;
    font-weight: bold;
    color: #333;
    margin: 1rem 0;
}

.mode {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
}

.controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.start {
    background-color: #4CAF50;
    color: white;
}

.pause {
    background-color: #FFC107;
    color: #333;
}

.reset {
    background-color: #f44336;
    color: white;
}

button:hover {
    opacity: 0.9;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress {
    width: 100%;
    height: 100%;
    background-color: #4CAF50;
    transform-origin: left;
    transition: transform 1s linear;
}

.stats-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: left;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-box {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

.daily-goal {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #e3f2fd;
    border-radius: 0.5rem;
}

.goal-progress {
    margin-top: 0.5rem;
    height: 6px;
    background-color: #bbdefb;
    border-radius: 3px;
    overflow: hidden;
}

.goal-bar {
    height: 100%;
    background-color: #2196F3;
    transition: width 0.3s ease;
}