/* Login-Maske, die vor dem Kalender angezeigt wird */
#login-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../bilder/weihnachtsmarkt.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
    box-sizing: border-box;
    z-index: 2000;
}

/* Große, weihnachtliche Überschrift oben auf der Login-Seite */
.kalender-titel {
    font-family: 'Mountains of Christmas', 'Georgia', serif;
    font-weight: 700;
    color: #f1c40f;
    font-size: 84px;
    margin: 0;
    text-align: center;
    letter-spacing: 2px;
    text-shadow:
        2px 2px 0 #c0392b,
        4px 4px 12px rgba(0, 0, 0, 0.7);
}

.login-box {
    background: linear-gradient(180deg, #a82424 0%, #6b0f0f 100%);
    border: 3px solid #f1c40f;
    border-radius: 15px;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow:
        inset 0 0 0 2px rgba(241, 196, 15, 0.25),
        0 4px 18px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(241, 196, 15, 0.2);
    min-width: 320px;
}

.login-box h2 {
    color: #f1c40f;
    margin: 0 0 25px 0;
    font-size: 28px;
    letter-spacing: 2px;
}

.login-box input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.login-box input:focus {
    outline: none;
    border-color: #f1c40f;
}

#login-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px 20px;
    background-color: #f1c40f;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#login-btn:hover {
    background-color: #d4a500;
}

#login-fehler {
    color: #ff6b6b;
    margin: 10px 0 0 0;
    min-height: 20px;
    font-size: 14px;
}

/* Countdown bis zum 1. Dezember (unter der Login-Box) */
#countdown {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Jeder Block wirkt wie eine kleine Geschenkschachtel: roter Verlauf + Goldrahmen + warmer Schein */
.zeit-block {
    background: linear-gradient(180deg, #a82424 0%, #6b0f0f 100%);
    border: 3px solid #f1c40f;
    border-radius: 14px;
    padding: 18px 26px;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow:
        inset 0 0 0 2px rgba(241, 196, 15, 0.25),
        0 4px 18px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(241, 196, 15, 0.25);
}

.zeit-zahl {
    font-family: 'Cinzel', 'Georgia', serif;
    color: #f1c40f;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow:
        2px 2px 0 #4a0000,
        0 0 14px rgba(241, 196, 15, 0.5);
}

.zeit-label {
    font-family: 'Cinzel', 'Georgia', serif;
    color: #fff8d6;
    font-size: 12px;
    font-weight: 500;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

/* Handy-Layout: Inhalt scrollt von oben, Titel + Countdown verkleinert,
   Countdown bricht auf 2x2 um */
@media (max-width: 600px) {
    #login-container {
        gap: 18px;
        padding: 24px 14px;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .kalender-titel {
        font-size: 44px;
        letter-spacing: 1px;
        text-shadow:
            1px 1px 0 #c0392b,
            2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    .login-box {
        padding: 24px 22px;
        min-width: 0;
        width: 100%;
        max-width: 360px;
        box-sizing: border-box;
    }

    .login-box h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    #countdown {
        gap: 10px;
        max-width: 360px;
    }

    .zeit-block {
        min-width: 0;
        padding: 12px 10px;
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
        box-sizing: border-box;
    }

    .zeit-zahl {
        font-size: 32px;
    }

    .zeit-label {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-top: 6px;
    }
}
