/* =========================================
   AFFICHAGE DU TIMER 
========================================= */
.Pomodoro-Container {
    display: none;
    position: absolute;
    left: 5%;
    top: 10%;
    bottom: 10%;
    width: 45%; 
    background: rgba(0, 15, 5, 0.9);
    border: 2px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2), inset 0 0 20px rgba(0, 255, 65, 0.2);
    z-index: 3000;
    padding: 40px;
    color: #00ff41;
    font-family: 'VT323', monospace;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body:has(#Btn-Pomodoro:checked) .Pomodoro-Container {
    display: flex;
    animation: glitch-apparition 1.3s linear forwards;
}

#pomodoro-mode {
    font-size: 52px;
    letter-spacing: 5px;
    text-shadow: 0 0 10px #00ff41;
    margin-bottom: 40px;
}

#pomodoro-timer {
    font-size: 160px;
    text-shadow: 0 0 20px #00ff41;
    margin: 20px 0 50px 0;
    line-height: 1;
}

.pomodoro-progress-bar-container {
    width: 90%;
    height: 20px;
    border: 2px solid #00ff41;
    margin-bottom: 20px;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

#pomodoro-progress {
    height: 100%;
    background: #00ff41;
    width: 100%;
    transition: width 1s linear;
}

#pomodoro-sessions {
    font-size: 28px;
    opacity: 0.8;
}

/* =========================================
   CONTRÔLES DU POMODORO 
========================================= */
.pomodoro-controls {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-top: 100px;
}

body:has(#Btn-Pomodoro:checked) .pomodoro-controls {
    display: flex;
    animation: glitch-apparition 0.5s ease forwards;
}

.pomodoro-controls button {
    background: #021a0a;
    color: #00ff88;
    font-family: 'VT323', monospace;
    font-size: 38px;
    border: #076338 2px solid;
    box-shadow: 0 0 5px #077642, 0 0 10px #0c5533;
    padding: 15px 40px;
    width: 80%; 
    cursor: pointer;
    transition: all 0.2s;
}

.pomodoro-controls button:hover {
    background: rgba(0, 255, 136, 0.15);
    color: white;
    box-shadow: 0 0 15px #00ff88;
    transform: scale(1.05);
}

/* =========================================
   THÈME PAUSE - CYAN
========================================= */
.Pomodoro-Container.pause-mode {
    border-color: #00d9ff;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2), inset 0 0 20px rgba(0, 217, 255, 0.2);
    color: #00d9ff;
}

.Pomodoro-Container.pause-mode #pomodoro-mode,
.Pomodoro-Container.pause-mode #pomodoro-timer {
    text-shadow: 0 0 10px #00d9ff;
}

.Pomodoro-Container.pause-mode .pomodoro-progress-bar-container { border-color: #00d9ff; }
.Pomodoro-Container.pause-mode #pomodoro-progress { background: #00d9ff; }

.pomodoro-controls.pause-mode button {
    color: #00d9ff;
    border-color: #0088aa;
    box-shadow: 0 0 5px #0088aa;
}

.pomodoro-controls.pause-mode button:hover {
    background: rgba(0, 217, 255, 0.15);
    color: white;
    box-shadow: 0 0 15px #00d9ff;
}

/* =========================================
   PARAMÈTRES DU TIMER
========================================= */
.pomodoro-settings-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 80%;
    margin-top: 10px;
    border-top: 1px dashed rgba(0, 255, 65, 0.5);
    padding-top: 25px;
}

.pomodoro-settings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pomodoro-settings p {
    font-size: 24px;
    color: #00ff41;
    text-shadow: 0 0 5px #00ff41;
    margin: 0;
}

.settings-boutons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.settings-boutons span {
    font-size: 32px;
    color: white;
    min-width: 40px;
    text-align: center;
}

.settings-boutons button {
    width: auto;
    padding: 5px 15px;
    font-size: 24px;
}

.pomodoro-controls.pause-mode .pomodoro-settings-container {
    border-top-color: rgba(0, 217, 255, 0.5);
}

.pomodoro-controls.pause-mode .pomodoro-settings p {
    color: #00d9ff;
    text-shadow: 0 0 5px #00d9ff;
}