/* Vollflächiges Video als Hintergrund */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

/* Halbtransparenter, verschwommener Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 20, 23, 0.6); /* dunkles Schwarz mit Transparenz */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

/* Body */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #e4e6eb;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: transparent;
    overflow: hidden;
}

/* Login Container über dem Overlay mit blauem Glow */
.login-container {
    background-color: rgba(30, 33, 41, 0.85);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 0 25px #4f88ffcc, 0 10px 35px rgba(0, 0, 0, 0.85);
    width: 100%;
    max-width: 540px;
    color: #fff;
    z-index: 1;
    position: relative;
    font-size: 1.1rem;
}

.login-container h2 {
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
}

/* Label auf block und volle Breite */
label {
    display: block;
    width: 100%;
}

/* Input-Felder */
.form-control {
    background-color: #2e323a;
    border: none;
    color: #ffffff;
    padding: 1rem 1.25rem 1rem 3.5rem; /* mehr links für Icon */
    border-radius: 3rem; /* komplett abgerundet */
    width: 100%;
    font-size: 1.1rem;
    outline: none;
    transition: background-color 0.3s ease;
}

.form-control::placeholder {
    color: #ccc;
}

.form-control:focus {
    background-color: #3a3f4a;
    box-shadow: 0 0 6px #4f88ffcc;
    color: #fff;
}

/* Button */
.btn-login {
    background-color: #4f88ff;
    border: none;
    width: 100%;
    padding: 1rem;
    font-weight: 600;
    border-radius: 3rem;
    margin-top: 1rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}

.btn-login:hover {
    background-color: #2171ff;
    box-shadow: 0 0 10px #4f88ff88;
}

/* Links (Passwort vergessen & Registrierung) */
.links {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

/* Link-Stil */
.links a {
    color: #a0c1ff;
    text-decoration: none;
    transition: color 0.2s ease;
    user-select: none;
}

.links a:hover {
    color: white;
    text-decoration: none;
}


/* Optional: Icons in Inputs */
.form-icon {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    color: #9aa1aa;
    pointer-events: none;
    font-size: 1.2rem;
}

.input-group .form-control {
    padding-left: 3.5rem; /* passend zum Icon */
}

/* Titel-Stil: groß, weiß, zentriert, animiert */
.app-title {
    font-size: 7rem;
    font-weight: 900;
    text-align: center;
    user-select: none;
    margin-bottom: 4rem;
    color: #ffffff;

    animation:
            slideUpFade 1.5s ease-out,
            glowPulse 5s ease-in-out infinite;
}

/* Sanftes Einblenden mit Hochgleiten */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sanftes, seltenes Aufleuchten (blauer Glow) */
@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 0px rgba(100, 170, 255, 0.1);
    }
    50% {
        text-shadow:
                0 0 15px rgba(100, 170, 255, 0.6),
                0 0 30px rgba(100, 170, 255, 0.4);
    }
}
