/* Timer Styles Module
   Purpose: Focus timer overlay and control panel.
   Scope: .timer-overlay, panel, header/body, numbers, actions, and button variants. */
.timer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
}
.timer-overlay[aria-hidden="false"] { display: flex; }

.timer-panel {
    width: 520px;
    background: #0b1220;
    color: #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    overflow: hidden;
}

.timer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0f172a;
}

.timer-body { padding: 18px; }
.timer-mode label { margin-right: 12px; cursor: pointer; }

.countdown-setup { font-size: 42px; text-align: center; margin: 8px 0 10px; color: #e2e8f0; }
.time-number { display: inline-block; min-width: 88px; padding: 4px 8px; border-radius: 8px; background: #111827; outline: none; }
.time-suffix { margin-left: 6px; font-size: 16px; color: #94a3b8; }

.running-time { text-align: center; font-size: 48px; font-weight: 700; margin: 14px 0; letter-spacing: 1px; }

.timer-actions { display: flex; gap: 8px; justify-content: center; }
.timer-actions button { padding: 10px 14px; border-radius: 10px; border: none; cursor: pointer; }
#startTimer { background: #22c55e; color: #052e16; }
#pauseTimer { background: #fde68a; color: #78350f; }
#resetTimer { background: #c7d2fe; color: #1e1b4b; }
#finishTimer { background: #93c5fd; color: #082f49; }
#stopTimer { background: #fecaca; color: #7f1d1d; }