/* Grundlegende Einstellungen */
* {
    box-sizing: border-box;
}
body {
    background-color: #1e1e1e; /* Dashboard-Hintergrund */
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container für zentrierte Anzeige */
.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Login-Box Styling */
.login-box {
    background-color: #252525; /* dunkles Grau passend zum Dashboard */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3); /* Akzent in Grüntönen (#4caf50) */
    text-align: center;
}

/* Überschrift */
.login-box h2 {
    margin-bottom: 20px;
    color: #4caf50; /* Akzentfarbe */
}

/* Eingabefeld */
.login-box input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    text-align: center;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #333;
    color: #fff;
}

/* Keypad Styling */
.keypad {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.key-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.keypad button {
    width: 80px;
    height: 60px;
    font-size: 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}
.keypad button:hover {
    background-color: #4caf50;
}
.keypad button:active {
    background-color: #388e3c;
}

/* Fehlermeldung */
.error {
    color: #ff4c4c;
    margin-bottom: 15px;
}

/* Info-Box für den "Wie bekomme ich ein Code?"-Button */

.info-box {

    margin-top: 15px;

    text-align: center;

}

.info-box a {

    display: inline-block;

    padding: 12px 20px;

    background-color: #4caf50 !important; /* Passend zum Login-Titel */

    color: #fff !important;

    text-decoration: none !important;

    border-radius: 5px !important;

    font-weight: bold !important;

    transition: background 0.2s !important;

}

.info-box a:hover {

    background-color: #45a049 !important;

}

.info-box a:active {

    background-color: #388e3c !important;

}