* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #000000; /* Komplett schwarz (OLED) */
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Zurück-Button */
.back-btn {
    position: absolute;
    top: 25px;
    left: 25px;
    background-color: #222222;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.back-btn:hover {
    background-color: #2a2a2a;
}

.back-btn:active {
    background-color: #151515;
    transform: scale(0.98);
}

/* Container & Card */
.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background-color: #222222; /* #222222 als Hauptkarte */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9);
}

/* Badge für Business */
.badge-business {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.08);
    color: #a0a0a0;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.auth-card h1 {
    font-size: 26px;
    margin-bottom: 6px;
    color: #ffffff;
}

.auth-subtitle {
    color: #909090;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Formular & Inputs */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 13px;
    color: #b0b0b0;
    font-weight: 500;
}

.input-group input {
    background-color: #000000; /* Komplett schwarz im Inputfeld */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.input-group input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: #050505;
}

/* Fehlermeldung unter den Feldern */
.error-message {
    font-size: 12px;
    color: #ff4d4d;
    min-height: 15px;
    display: block;
}

.input-group input.error-input {
    border-color: #ff4d4d !important;
}

/* Anmelden Button mit Ladebalken-Effekt */
.submit-btn {
    position: relative;
    overflow: hidden;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #111111;
    border-color: rgba(255, 255, 255, 0.4);
}

.submit-btn:active {
    background-color: #050505;
}

/* Ladebalken */
.btn-loader {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background-color: #ffffff;
    transition: width 0.4s ease;
}

.submit-btn.loading .btn-loader {
    width: 100%;
}

/* Registrieren Redirect Link */
.register-redirect {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #909090;
}

.register-redirect a {
    color: #ffffff;
    text-decoration: underline;
    margin-left: 6px;
    font-weight: 500;
}

.register-redirect a:hover {
    color: #d0d0d0;
}

/* --- MEDIA QUERIES (Pflicht) --- */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }

    .back-btn {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 13px;
    }
}