/* Zeiterfassung App Styles */

/* Timer Digital Display */
.timerDisplayContainer {
    padding: 2.5rem 1.5rem;
    background: linear-gradient(145deg, #1b2838, #0e1726);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* Alle Texte im Timer-Display in kontrastreichem, klarem Weiß */
.timerDisplayContainer .sapMText {
    color: #ffffff !important;
}

.timerDisplayDigits {
    font-family: 'SF Pro Display', -apple-system, 'Roboto Mono', monospace, Consolas;
    font-size: 4.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
    margin: 0.5rem 0;
}

.timerDisplayDigitsRunning {
    color: #ffffff !important;
    text-shadow: 0 0 25px rgba(34, 197, 94, 0.65), 0 0 10px rgba(255, 255, 255, 0.9);
    animation: timerPulse 2s infinite ease-in-out;
}

@keyframes timerPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.88;
    }
}

.timerStatusBadge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timerStatusActive {
    background: rgba(34, 197, 94, 0.2);
    border: 1.5px solid #22c55e;
}

.timerStatusActive .sapMText,
.timerStatusActive .timerStatusText {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.timerStatusIdle {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.timerStatusIdle .sapMText,
.timerStatusIdle .timerStatusText {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.timerStartTimeText {
    color: #f1f5f9 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* Pulsierender Punkt */
.pulseDot {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ============================================================
   HEUTE GESAMTZEIT BADGE (Oben rechts in Timer-View)
   Einzeilig, bündig zur Toolbar, hochkontrastig
   ============================================================ */
.todayTotalHeaderBadge {
    background-color: #f8fafc;
    border: 1.5px solid #0284c7;
    border-radius: 20px;
    padding: 0 14px;
    height: 32px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.12);
}

.todayTotalHeaderIcon {
    color: #0284c7 !important;
    font-size: 1.15rem !important;
    line-height: 1 !important;
}

.todayTotalHeaderLabel {
    font-size: 0.82rem !important;
    color: #334155 !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.todayTotalHeaderValue {
    font-size: 0.95rem !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

/* ============================================================
   HEADER LIVE-STATUS (Oben rechts in Shell-Header)
   Kontrastreich: Dunkler Hintergrund mit leuchtend grünem Akzent
   ============================================================ */
.headerTimerBadge {
    margin-right: 0.75rem;
    background-color: #0f172a;
    border: 1.5px solid #22c55e;
    border-radius: 18px;
    padding: 4px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.headerTimerBadgeIcon {
    color: #22c55e !important;
    font-size: 1.1rem !important;
}

.headerTimerBadgeText {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

/* ============================================================
   DEMO-MODUS BADGE (Header)
   ============================================================ */
.mockModeBadge {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 3px 10px;
}

.mockModeIcon {
    color: #d97706 !important;
    font-size: 0.95rem !important;
}

.mockModeText {
    color: #92400e !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

/* Farbpunkte für Projekte */
.projectColorDot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.colorSwatchBtn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
}

.colorSwatchBtn:hover {
    transform: scale(1.15);
}

.colorSwatchSelected {
    border-color: #000 !important;
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

/* KPI Card Styling */
.kpiCard {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpiCardTitle {
    font-size: 0.85rem;
    color: #6a6d70;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.kpiCardValue {
    font-size: 2rem;
    font-weight: 700;
    color: #1d2d3e;
}

.kpiCardSubtitle {
    font-size: 0.8rem;
    color: #899097;
    margin-top: 0.25rem;
}

/* Schnellstart Vorlagen Buttons */
.quickStartTaskBtn {
    border-radius: 16px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #f8fafc !important;
    font-size: 0.82rem !important;
    font-weight: 500;
}

.quickStartTaskBtn:hover {
    background-color: #e2e8f0 !important;
    border-color: #94a3b8 !important;
}

/* ============================================================
   POMODORO & TIMER-ERWEITERUNGEN
   ============================================================ */
.timerControlsBar {
    width: 100%;
    margin-bottom: 0.75rem;
}

.pomodoroProgressBar {
    max-width: 440px;
    width: 85% !important;
    margin-top: 0.75rem !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.pomodoroStatusFocus {
    background-color: rgba(239, 68, 68, 0.25) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

.pomodoroStatusBreak {
    background-color: rgba(16, 185, 129, 0.25) !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.pulseDotBreak {
    background-color: #38bdf8 !important;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7) !important;
}

