body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #e6f0ff;
    color: #003366;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#configIcon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #003399;
}

#app {
    text-align: center;
    width: 90%;
    max-width: 400px;
}

#controls {
    display: grid;
    justify-content: center;
    gap: 2px;
}


h1 {
    margin-bottom: 20px;
}

#display {
    font-size: 4rem;
    margin: 20px 0;
    color: #002244;
}

#settings {
    margin-bottom: 20px;
    text-align: left;
    background: #d6e4ff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #99b3ff;
}

.hidden {
    display: none;
}

#settings label {
    display: block;
    margin-bottom: 10px;
}

input {
    padding: 10px;
    font-size: 1.2rem;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #99b3ff;
}

button {
    padding: 15px 25px;
    margin: 5px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #4d79ff;
    color: white;
}

button:active {
    background: #3355cc;
}

#action {
    margin: 20px 0;
    font-size: 2rem;
    font-weight: bold;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Work = rot pulsierend */
.work {
    color: #cc0000;
    animation: pulse 1s infinite;
}

/* Pause = blau ruhig */
.rest {
    color: #0044cc;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}


