/* Grundlegende Styles */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
}

/* Container für das Login- und Aktivierungsformular */
.login-container {
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    width: 350px;
    /*max-width: 90%;*/
	max-width: 550px;
    text-align: center;
}
.video-container {
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    width: 500px;
    max-width: 90%;
    text-align: center;
}

img {
    width: 100px;
    margin-bottom: 10px;
}

/* Einheitliches Styling für Input-Felder und Select-Dropdown */
input, select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: white;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    appearance: none; /* Entfernt Standard-Styling des Browsers */
    height: 40px; /* Einheitliche Höhe für alle Eingaben und Select */
    box-sizing: border-box; /* Bezieht Padding & Border in die Gesamtbreite ein */
}

/* Fokus- und Hover-Effekte */
input:focus, select:focus {
    border-color: #4b5a70;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

/* Sicherstellen, dass das Land-Feld genauso breit ist wie andere Inputs */
select {
    cursor: pointer;
    background-image: url('img/dropdown-arrow.png'); /* Falls ein Pfeil gewünscht ist */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

/* Fallback für den Standard-Dropdown-Pfeil in IE/Edge */
select::-ms-expand {
    display: none;
}

/* PLZ & Ort Felder nebeneinander */
.input-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
}

.input-row input {
    flex: 1;
    font-size: 16px;
}

#plz {
    max-width: 30%;
}

#ort {
    flex-grow: 1;
}

/* Button Styling */
button {
    width: 100%;
    padding: 12px;
    background: #4b5a70;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px; /* Abstand nach oben hinzugefügt */
}

button:hover {
    background: #596c84;
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}


/* Links */
.links {
    margin-top: 10px;
    font-size: 14px;
}

.links a {
    text-decoration: none;
    color: #4b5a70;
}

.links a:hover {
    text-decoration: underline;
}

/* Modal Styling */
.modal {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
}

/* Modal-Button ebenfalls im Stil der Haupt-Buttons */
.modal button {
    margin-top: 10px;
    padding: 8px;
    background: #4b5a70;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.modal button:hover {
    background: #0056b3;
}

/* Mobile Optimierung */
@media (max-width: 480px) {
    .login-container {
        width: 95%;
        padding: 15px;
    }

    input, select, button {
        font-size: 14px;
        padding: 8px;
    }

    .input-row {
        flex-direction: column;
        gap: 5px;
    }

    .input-row input {
        width: 100%;
    }
}
