/* login.css */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../css/bilder/hintergrund.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
}

/* Container für Formular */
.form-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Logo */
.logo img {
    width: 80px;
    margin-bottom: 15px;
}

/* Tabs */
.tab-header {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.tablink {
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    color: #4CAF50;
    outline: none;
}

.tablink.active {
    color: #333;
    border-bottom: 2px solid #4CAF50;
}

h2 {
    color: #333;
}

/* Form Felder */
label {
    display: block;
    margin: 1rem 0 0.5rem;
    color: #333;
}

input[type="email"], input[type="password"], input[type="text"], input[type="date"], select {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #45a049;
}

a {
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }
    .logo img {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1rem;
        max-width: 90%;
    }
    .tablink {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
