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

/* Grundeinstellungen für den Body */
body {
    background: linear-gradient(315deg, #407476 20%, #A1C86F 50%);
    min-height: 100vh;
    padding-top: 70px;
    padding-bottom: 40px;
    overflow-y: auto;
}

/* Zentriert den Login-Wrapper in der Mitte des sichtbaren Bereichs (abzüglich Padding) */
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 110px);
    padding: 20px;
}

/* Grundstruktur und Aussehen des Formular-Containers */
.wrapper {
    width: 420px;
    max-height: 80vh;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    color: #F2F1E9;
    padding: 30px;
    border-radius: 10px;
    overflow-y: auto;
}

/* Überschrift im Formular */
.wrapper h1 {
    font-size: 36px;
    text-align: center;
}

/* Box um Eingabefelder, sorgt für Abstand und Platz für Icons */
.wrapper .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

/* Styling für Textfelder */
.input-box input {
    width: 100%;
    height: 100%;
    background: #204244;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    padding: 20px 45px 20px 20px;
    font-size: 16px;
    color: #F2F1E9;
}

/* Farbe des Platzhaltertexts */
.input-box input::placeholder {
    color: #F2F1E9;
}

/* Positionierung und Aussehen der Eingabe-Icons */
.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

/* Styling des Buttons */
.wrapper .btn {
    width: 100%;
    height: 45px;
    background: #204244;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 16px;
    color: #F2F1E9;
    font-weight: bold;
}

/* Styling Button Hover Effekt */
.wrapper .btn:hover {
    background-color: #F2F1E9;
    color: #204244;
}

/* Styling des Login-Links links */
.wrapper .Login-link {
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
}

/* Styling des Login-Links rechts */
.Login-link p a {
    color: #F2F1E9;
    text-decoration: none;
    font-weight: bold;
}

/* Line beim hovern über den Login-Link */
.Login-link p a:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen für Tablets und kleine Bildschirme */
@media (max-width: 768px) {
    .wrapper {
        width: 90%;
        max-height: none;
        padding: 25px;
    }
    .wrapper h1 {
        font-size: 28px;
    }
    .input-box {
        height: 45px;
        margin: 25px 0;
    }
    .input-box input {
        font-size: 15px;
        padding: 15px 40px 15px 15px;
    }
    .input-box i {
        font-size: 18px;
        right: 15px;
    }
    .wrapper .btn {
        height: 40px;
        font-size: 15px;
    }
    .wrapper .Login-link {
        font-size: 14px;
        margin: 18px 0 12px;
    }
}

/* Responsive Anpassung für Smartphones (kleinste Bildschirme) */
@media (max-width: 480px) {
    .wrapper {
        width: 90%;
        max-height: none;
        padding: 20px;
    }
    .wrapper h1 {
        font-size: 24px;
    }
    .input-box {
        height: 40px;
        margin: 20px 0;
    }
    .input-box input {
        font-size: 14px;
        padding: 12px 35px 12px 12px;
    }
    .input-box i {
        font-size: 16px;
        right: 12px;
    }
    .wrapper .btn {
        height: 38px;
        font-size: 14px;
    }
    .wrapper .Login-link {
        font-size: 13px;
        margin: 15px 0 10px;
    }
}