* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'montserrat', sans-serif;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /*background-color: blue; /* background-color: blue; muss entfernt werden, wenn das Bild eingefügt ist. */
    background-image: url(../img/Login.jpg); /* Das Bild für den Hintergrund im Login Screen muss hier gerändert werden. Für Testzwecke wird hier einfach ein Blaues Bild angezeigt */
    background-size: cover;
}

.glass-container {
    width: 300px;
    height: auto;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 1px solid #fff;
    padding: 20px; /* etwas Padding damit Platz für das Label ist */
}

.glass.container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: -1;
}

.login-box {
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

/* Wrapper für Input + Label */
.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

/* Eingabefelder */
.form-control {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    color: #fff;
    font-size: 1em;
}

.form-control:focus {
    outline: none;
    border-bottom-color: #ffd700; /* Farbe beim Fokus */
}

/* Label im Ausgangszustand */
.input-wrapper label {
    position: absolute;
    left: 10px;
    top: 10px;
    color: rgba(255,255,255,0.5); /* leicht transparentes Grau-Weiß */
    font-size: 1em;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Wenn das Feld fokussiert ist oder Inhalt hat */
.form-control:focus + label,
.form-control:not(:placeholder-shown) + label,
.form-control[value]:not([value=""]) + label {
    top: -15px;
    font-size: 0.8em;
    color: #ffd700; 
}

/* Placeholder anpassen, falls du ihn doch verwenden willst */
.form-control::placeholder {
    color: rgba(255,255,255,0.5);
    transition: color 0.3s ease;
}
.form-control:focus::placeholder {
    color: transparent; /* verschwindet beim Fokus */
}

button {
    background: #fff;
    color: black;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    background: transparent;
    color: white;
    outline: 1px solid #fff;
}

p {
    font-size: 12px;
    color: #fff;
    margin-top: 15px;
}
