
/* Pomodoro Timer Styles */

.timer-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: var(--space-3xl) 0;
    text-align: center;
    margin-top: 80px;
}

.timer-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

.timer-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.timer-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

.timer-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: var(--space-3xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.timer-display {
    margin-bottom: var(--space-2xl);
}

.timer-circle {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timer-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.timer-progress circle:last-child {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1s linear;
}

.timer-time {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-800);
    font-family: 'Inter', monospace;
    z-index: 2;
}

.timer-mode {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 600;
    margin-top: var(--space-sm);
    z-index: 2;
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.timer-btn {
    padding: var(--space-lg) var(--space-xl);
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.start-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.pause-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.pause-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.reset-btn {
    background: var(--gray-100);
    color: var(--gray-700);
}

.reset-btn:hover {
    background: var(--gray-200);
    transform: translateY(-2px);
}

.timer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 2px solid var(--gray-100);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-section {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.settings-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gray-50);
    border-radius: 16px;
    padding: var(--space-2xl);
}

.settings-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
}

.setting-item label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.setting-item select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.setting-item select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.hidden {
    display: none !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .timer-circle {
        width: 240px;
        height: 240px;
    }
    
    .timer-time {
        font-size: 2.5rem;
    }
    
    .timer-controls {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .timer-btn {
        width: 100%;
        justify-content: center;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}
