/* ===== Reset ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    font-family: Inter, Arial, sans-serif;
    color: #fff;
}


/* ===== Hintergrund ===== */

body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    position: relative;

    background: #090b14;
}

/* Ein einziger, fixer Hintergrund für die komplette Seite */
body::before {
    content: "";

    position: fixed;
    inset: 0;

    z-index: -1;

    background:
        radial-gradient(
            circle at top,
            #233b73 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at bottom right,
            #3b185f 0%,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #090b14,
            #111827,
            #05070c
        );

    background-repeat: no-repeat;
    background-size: cover;
}


/* ===== Login ===== */

.login-page {
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px 20px;
}


/* ===== Container ===== */

.login-container {
    width: 100%;
    max-width: 430px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ===== Logo ===== */

.logo {
    width: min(300px, 75vw);

    margin-bottom: 45px;

    filter:
        drop-shadow(
            0 0 30px rgba(255,255,255,.12)
        );
}


/* ===== Login Card ===== */

.login-card {
    width: 100%;

    padding: 40px;

    background: rgba(255,255,255,.08);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 22px;

    box-shadow:
        0 10px 35px rgba(0,0,0,.35);
}


/* ===== Überschrift ===== */

.login-card h1 {
    margin-bottom: 10px;

    text-align: center;

    font-size: 2rem;
    font-weight: 600;
}

.login-subtitle {
    margin-bottom: 32px;

    text-align: center;

    color: #bbb;

    font-size: .95rem;
}


/* ===== Eingabefelder ===== */

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;

    margin-bottom: 8px;

    color: #ddd;

    font-size: .9rem;
}

.input-group input {
    width: 100%;

    height: 50px;

    padding: 0 15px;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 10px;

    outline: none;

    background: rgba(0,0,0,.25);

    color: #fff;

    font-family: inherit;

    font-size: .95rem;

    transition: .25s;
}

.input-group input::placeholder {
    color: #888;
}

.input-group input:focus {
    border-color: #6fb6ff;

    background: rgba(0,0,0,.35);

    box-shadow:
        0 0 0 3px rgba(111,182,255,.1);
}


/* ===== Passwort vergessen ===== */

.login-options {
    display: flex;

    justify-content: flex-end;

    margin-top: -5px;
    margin-bottom: 25px;
}

.login-options a {
    color: #aaa;

    text-decoration: none;

    font-size: .85rem;

    transition: .25s;
}

.login-options a:hover {
    color: #6fb6ff;
}


/* ===== Login Button ===== */

button {
    width: 100%;

    height: 50px;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 10px;

    background: rgba(255,255,255,.12);

    color: #fff;

    font-family: inherit;

    font-size: 1rem;
    font-weight: 500;

    cursor: pointer;

    transition: .25s;
}

button:hover {
    background: #6fb6ff;

    color: #05070c;

    border-color: #6fb6ff;

    box-shadow:
        0 5px 25px rgba(111,182,255,.25);
}

button:active {
    transform: scale(.99);
}


/* ===== Footer ===== */

footer {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 22px 40px;

    background: rgba(0,0,0,.35);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-top: 1px solid rgba(255,255,255,.08);

    color: #fff;

    font-size: .9rem;
}

footer nav {
    display: flex;

    gap: 25px;
}

footer a {
    color: #fff;

    text-decoration: none;

    transition: .25s;
}

footer a:hover {
    color: #6fb6ff;
}


/* ===== Responsive ===== */

@media(max-width:700px) {

    .login-page {
        padding: 40px 20px;
    }

    .logo {
        width: min(260px, 75vw);

        margin-bottom: 35px;
    }

    .login-card {
        padding: 30px 25px;

        border-radius: 18px;
    }

    .login-card h1 {
        font-size: 1.7rem;
    }

    footer {
        flex-direction: column;

        gap: 15px;

        padding: 20px;

        text-align: center;
    }
}


/* ===== Login Trennlinie ===== */

.login-divider {
    display: flex;

    align-items: center;

    gap: 15px;

    margin: 25px 0;

    color: #777;

    font-size: .8rem;
}

.login-divider::before,
.login-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: rgba(255,255,255,.12);
}

.login-divider span {
    white-space: nowrap;
}


/* ===== Microsoft Button ===== */

.microsoft-button {
    width: 100%;

    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    border: 1px solid rgba(255,255,255,.16);

    border-radius: 10px;

    background: rgba(255,255,255,.06);

    color: #fff;

    font-family: inherit;

    font-size: 1rem;

    font-weight: 500;

    cursor: pointer;

    transition: .25s;

    text-decoration: none;
}

.microsoft-button:hover {
    background: rgba(255,255,255,.12);

    border-color: rgba(255,255,255,.28);

    box-shadow:
        0 5px 20px rgba(0,0,0,.2);
}


/* ===== Microsoft Logo ===== */

.microsoft-logo {
    width: 18px;
    height: 18px;

    display: grid;

    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;

    gap: 2px;

    flex-shrink: 0;
}

.microsoft-logo span {
    display: block;
}

.ms-red {
    background: #f35325;
}

.ms-green {
    background: #81bc06;
}

.ms-blue {
    background: #05a6f0;
}

.ms-yellow {
    background: #ffba08;
}