/* Grund-Reset und Schriftart */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f9; /* Heller, neutraler Hintergrund */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* Verhindert Scrollen */
}

/* Container für den gesamten Login-Bereich */
.login-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Simulierter Hintergrund, der dynamisch/groß wirken soll */
.background-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Beispielbild oder Farbverlauf: Für ein professionelles Logistik-Thema */
    background: url('https://www.nx3.io/wp-content/uploads/2022/11/NX3-T.webp') no-repeat center center;
    background-size: cover;
    filter: blur(5px) brightness(0.7); /* Leicht unscharf und abgedunkelt */
    z-index: 0;
}

/* Die transparente Login-Box */
.login-box {
    position: relative;
    background: rgba(255, 255, 255, 0.9); /* Halbdurchsichtiger weißer Hintergrund */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Dezenter Schatten */
    width: 100%;
    max-width: 400px; /* Standardbreite für einen Login-Formular */
    text-align: center;
    z-index: 1; /* Über dem Hintergrund */
}

/* Logo-Stil */
.logo {
    font-size: 28px;
    font-weight: 500;
    color: #173f5f; /* Transporeon-ähnliche Primärfarbe (dunkelblau) */
    margin-bottom: 20px;
}

/* Anmeldeüberschrift */
h2 {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
}

/* Eingabegruppen */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #9ec043; /* Transporeon-ähnliche Akzentfarbe (Türkis/Mint) */
    outline: none;
    box-shadow: 0 0 5px rgba(60, 174, 163, 0.5);
}

/* Angemeldet bleiben / Passwort vergessen Bereich */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    margin-left: 5px;
    color: #555;
}

.forgot-password {
    color: #9ec043;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #173f5f;
}

/* Login-Button */
.login-button {
    width: 100%;
    padding: 12px;
    background-color: #9ec043;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-bottom: 20px;
}

.login-button:hover {
    background-color: #27887e;
}

.login-button:active {
    transform: translateY(1px);
}

/* Registrierungs-Link */
.signup-link {
    font-size: 14px;
    color: #555;
}

.signup-link a {
    color: #9ec043;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Anpassung für kleinere Bildschirme (Mobile-Friendly) */
@media (max-width: 500px) {
    .login-box {
        margin: 20px;
        padding: 30px 20px;
    }

    .background-image-overlay {
        filter: blur(3px) brightness(0.7);
    }
}

