/* Focus Mode Lock Screen Overlay */

.focus-lock-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    /* Highest possible */
    background: black;
    /* OLED Black */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.focus-lock-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Background Ambient Glow */
.focus-lock-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #1e1b4b 0%, #000000 70%);
    opacity: 0.4;
    z-index: -1;
    animation: breath-animation 6s infinite ease-in-out;
}

@keyframes breath-animation {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Timer Display */
.focus-lock-timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
}

#focus-lock-time-display {
    font-size: 6rem;
    font-weight: 200;
    font-family: 'Inter', monospace;
    letter-spacing: -2px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.focus-lock-label {
    font-size: 1.2rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 300;
}

/* Progress Ring (Simple CSS) */
/* Controls */
.focus-lock-controls {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.focus-lock-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.focus-lock-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.2);
}

.focus-lock-btn.unlock-btn {
    position: absolute;
    bottom: 3rem;
    width: auto;
    height: auto;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Phase Colors */
.focus-lock-overlay.break-mode .focus-lock-bg {
    background: radial-gradient(circle at center, #0f766e 0%, #000000 70%);
}

.focus-lock-overlay.break-mode .focus-lock-label {
    color: #2dd4bf;
    text-shadow: 0 0 10px rgba(45, 212, 191, 0.4);
}

.focus-lock-overlay.paused-mode .focus-lock-bg {
    background: radial-gradient(circle at center, #431407 0%, #000000 70%);
}

.focus-lock-overlay.paused-mode #focus-lock-time-display {
    color: #fb923c;
    /* Orange */
    opacity: 0.8;
}

.focus-lock-overlay.paused-mode .focus-lock-label {
    color: #fdba74;
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    #focus-lock-time-display {
        font-size: 5rem;
    }
}