/* tool_login.css – zentrales Styling für Streamer/Moderator-Login */

/* Grundlayout & Hintergrund */
html,
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(
        circle at top,
        #2b2b4f 0%,
        #2b2b4f 25%,
        #050509 60%,
        #000 120%
    );
    color: #eee;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Seite für Login/Wartung */
.login-body {
    background: transparent;          /* Hintergrund kommt schon von html/body */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Karte für Login / Wartung */
.login-card {
    background: #1d1f27;
    padding: 24px 30px;
    border-radius: 12px;

    border: 1px solid rgba(120,140,255,0.18);
    box-shadow:
        0 0 25px rgba(90,110,255,0.35),
        0 0 10px rgba(90,110,255,0.25) inset;

    min-width: 280px;
    max-width: 360px;
}

/* Überschrift */
.login-card h2 {
    margin-top: 0;
    margin-bottom: 6px;
    color: #e9ecff;
    text-shadow: 0 0 10px rgba(120,140,255,0.4);
}

/* Unterzeilen & Hinweise */
.subtitle {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
    margin-bottom: 16px;
}

.small-note {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 10px;
}

/* Formular allgemein */
.login-card form {
    margin-top: 10px;
}

.login-card label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.login-card input[type="text"],
.login-card input[type="password"],
.login-card input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border-radius: 6px;

    background: #14151c;
    border: 1px solid rgba(140,150,255,0.25);
    color: #eee;

    box-shadow: 0 0 8px rgba(110,130,255,0.25) inset;
    font-size: 14px;
}

.login-card input[type="text"]:focus,
.login-card input[type="password"]:focus,
.login-card input[type="email"]:focus {
    outline: none;
    border-color: #6c90ff;
    box-shadow:
        0 0 12px rgba(120,150,255,0.45),
        0 0 6px rgba(120,150,255,0.35) inset;
}

/* Button */
.login-card button {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, #7b5cff, #4b8fff);
    color: #fff;
    margin-top: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    box-sizing: border-box;

    box-shadow:
        0 0 14px rgba(75,143,255,0.35),
        0 0 7px rgba(75,143,255,0.25) inset;
}

.login-card button:hover {
    filter: brightness(1.08);
}

/* Fehlermeldung */
.error {
    color: #ff6b6b;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Info / Fehler-Alerts – falls du sie später im Login nutzen willst */
.alert {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px;
}

.alert-error {
    background: rgba(185, 28, 28, 0.35);
    border: 1px solid rgba(185, 28, 28, 0.7);
    color: #fee2e2;
}

.alert-info {
    background: rgba(22, 163, 74, 0.35);
    border: 1px solid rgba(22, 163, 74, 0.7);
    color: #dcfce7;
}

/* Links unter dem Formular (Streamer-Profil / Moderator-Profil) */
.switch-link {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
}

.switch-link a {
    color: #7b9dff;
    text-decoration: none;
}

.switch-link a:hover {
    text-decoration: underline;
}
