/* =========================================
   LOGIN PAGE - GLASSMORPHISM STYLE
   ========================================= */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Container für die Headline */
#login-headline { /* Beachte: IDs mit Leerzeichen müssen im CSS so maskiert werden */
    text-align: center;
    margin-bottom: 30px;
    padding: 10px;
}

/* Der Titel (H1) */
#login-headline h1 {
    margin: 0;
    padding: 0;
    /* Professioneller System Font Stack */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px; /* Etwas engerer Buchstabenabstand für modernen Look */
    line-height: 1.2;
}

/* Der Link innerhalb der Headline */
#login-headline h1 a {
    color: #000000; /* Weiß, passend zum Glassmorphism-Design */
    text-decoration: none; /* Entfernt die Unterstreichung */
    transition: all 0.3s ease;
    display: inline-block;
}

/* Hover-Effekt: Subtiles Leuchten statt Unterstreichung */
#login-headline h1 a:hover {
    color: rgba(200, 200, 200, 0.8);
    transform: scale(1.02); /* Minimales Vergrößern beim Drüberfahren */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Responsiv: Schriftgröße auf Handys leicht anpassen */
@media (max-width: 480px) {
    #Login\ Headline h1 {
        font-size: 22px;
    }
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
}

/* Wir nutzen .login-page-body als Klasse für den Gruppen-Block im Editor */
.login-page-body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
	width: 100vw;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Hintergrundbild direkt hier, falls nicht über den Editor gesetzt */
    background: url('/wp-content/uploads/2025/10/2025kegelbahn.jpg') no-repeat center center/cover;
}

/* Der Haupt-Container (Milchglas-Effekt) */
.login-wrapper {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    width: 350px;
    color: #000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    font-family: 'Poppins', sans-serif;
}

/* Logo / Überschrift Style */
.login-logo {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-logo img.emoji {
    width: 30px;
    height: 30px;
}

/* Formular-Gruppen (Abstände) */
.login-username, .login-password {
    margin-bottom: 20px;
    text-align: left;
}

/* Labels */
.login-username label, 
.login-password label {
    font-size: 26px;
    display: block;
    margin-bottom: 6px;
    color: #000;
}

/* Eingabefelder */
.login-wrapper input[type="text"], 
.login-wrapper input[type="password"] {
    width: 100%;
    padding: 12px;
    border: true;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    background: #fff;
    color: #333;
}

/* Optionen (Angemeldet bleiben & Passwort vergessen Layout) */
.login-remember {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
    
}

.login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #000;
}

/* Der Anmelden Button */
.login-submit input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    transition: 0.3s;
}

.login-submit input[type="submit"]:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

/* Anpassung für die Fehlermeldungen/Footer Links */
.kt-login-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.kt-login-footer a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.kt-login-footer a:hover {
    text-decoration: underline;
}

/* --- Responsives Design (Bildschirme kleiner als 500px) --- */
@media screen and (max-width: 500px) {
    
    .login-wrapper {
        width: 90%;          /* Nutzt fast die volle Breite des Handys */
        max-width: 450px;    /* Aber wird nicht unendlich breit */
        padding: 30px 20px;  /* Etwas weniger Padding an den Seiten für mehr Platz */
    }

    /* Logo vergrößern */
    .login-logo {
        font-size: 28px !important; /* Größere Schrift */
        margin-bottom: 30px;
    }
    
    .login-logo img {
        width: 35px; /* Größeres Emoji */
        height: 35px;
    }

    /* Labels vergrößern */
    .login-username label, 
    .login-password label,
    .login-remember label {
        font-size: 16px !important; /* Standard ist oft 14px */
    }

    /* Eingabefelder (Inputs) vergrößern für bessere Bedienung */
    .login-wrapper input[type="text"], 
    .login-wrapper input[type="password"] {
        padding: 15px !important; /* Mehr "Fleisch" zum Tippen */
        font-size: 16px !important; /* Wichtig: Mind. 16px verhindert automatisches Zoomen bei iPhones */
        border-radius: 10px;
    }

    /* "Angemeldet bleiben" Checkbox vergrößern */
    .login-remember input[type="checkbox"] {
        transform: scale(1.3); /* Macht die Checkbox selbst größer */
        margin-right: 10px;
    }

    /* Den Button massiver machen */
    .login-submit input[type="submit"] {
        padding: 16px !important;
        font-size: 18px !important;
        letter-spacing: 1px;
        border-radius: 10px;
    }

    /* Links im Footer (Passwort vergessen) */
    .options a {
        font-size: 15px !important;
        display: block;
        margin-top: 10px;
    }
}