/**
 * NXTBYTE Auth – Login, Registrierung, Eltern-Registrierung
 */
.auth-modern {
    --auth-surface: #334866;
    --auth-border: rgba(220, 230, 244, 0.38);
    --auth-text: #f1f5f9;
    --auth-muted: #d7e0ee;
    --auth-accent: #5b74d4;
    --auth-input: #3a516e;
}

body:has(.auth-modern) {
    background: #15263c;
}

.auth-modern.container-login100 {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background-color: #15263c;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(67, 97, 238, 0.28), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 110%, rgba(124, 58, 237, 0.18), transparent 50%),
        url(/themes/Nitro-Host_Dark/img/background-min.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.auth-modern .form-form {
    width: 100%;
    max-width: 480px;
    min-height: auto;
    margin: 0 auto;
}

.auth-modern.auth-modern--wide .form-form {
    max-width: 880px;
}

.auth-modern .form-form-wrap {
    max-width: none !important;
    min-width: 0;
    min-height: auto;
    height: auto;
    width: 100%;
}

.auth-modern .form-container {
    min-height: auto;
    align-items: stretch;
}

.auth-modern .form-content {
    background: var(--auth-surface) !important;
    border: 1px solid var(--auth-border);
    border-radius: 16px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
    padding: 2rem 1.75rem 1.75rem !important;
    text-align: left !important;
}

.auth-modern .auth-logo {
    display: inline-block;
    margin-bottom: 1.15rem;
}

.auth-modern .auth-logo img {
    height: 52px;
    width: auto;
}

.auth-modern .form-content h1,
.auth-modern .form-content h1 strong {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--auth-text) !important;
    margin: 0 0 0.35rem;
}

.auth-modern .auth-sub {
    color: var(--auth-muted);
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0 0 1.35rem;
}

.auth-modern label,
.auth-modern #userForm .field-wrapper.input > label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--auth-text) !important;
    text-align: left;
}

.auth-modern .form-control,
.auth-modern input.field,
.auth-modern select.field,
.auth-modern #userForm .register-field-control input.field,
.auth-modern #userForm .register-field-control input.form-control,
.auth-modern #userForm .register-field-control select.field,
.auth-modern #userForm .register-field-control select.form-control {
    background: var(--auth-input) !important;
    border: 1px solid var(--auth-border) !important;
    border-radius: 10px !important;
    color: var(--auth-text) !important;
    min-height: 46px;
}

.auth-modern .form-control:focus,
.auth-modern input.field:focus,
.auth-modern select.field:focus {
    border-color: var(--auth-accent) !important;
    box-shadow: 0 0 0 0.15rem rgba(67, 97, 238, 0.22) !important;
}

.auth-modern .forgot-pass-link {
    color: #93c5fd !important;
    font-size: 13px;
    font-weight: 600;
}

.auth-modern .btn-primary {
    background: var(--auth-accent) !important;
    border-color: var(--auth-accent) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    padding: 0.7rem 1.35rem !important;
    box-shadow: none !important;
}

.auth-modern .btn-outline-primary,
.auth-modern .btn-outline-secondary {
    border-radius: 10px !important;
    font-weight: 600 !important;
}

.auth-modern .signup-link {
    color: var(--auth-muted) !important;
    font-size: 0.9rem;
    margin: 1rem 0 0;
    text-align: center;
}

.auth-modern .signup-link a {
    color: #93c5fd !important;
    font-weight: 600;
}

.auth-modern .auth-note,
.auth-modern .auth-promo {
    background: rgba(67, 97, 238, 0.14);
    border: 1px solid rgba(67, 97, 238, 0.35);
    border-radius: 12px;
    padding: 0.95rem 1.05rem;
    text-align: left;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 1.15rem;
}

.auth-modern .auth-note strong,
.auth-modern .auth-promo strong {
    color: var(--auth-text);
}

.auth-modern .auth-legal {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid var(--auth-border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0.35rem 0 1.1rem;
}

.auth-modern .auth-legal a {
    color: #fff;
    font-weight: 700;
}

.auth-modern .new-control {
    color: var(--auth-muted);
}

.auth-modern #userForm .register-field-control svg {
    color: #94a3b8;
}

@media (max-width: 767px) {
    .auth-modern .form-content {
        padding: 1.4rem 1.15rem 1.25rem !important;
    }
}
