/* Allgemeine Stile */
body {
    background: linear-gradient(135deg, #1e1e2f, #14142b);
    color: #f0f0f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

h1 {
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    text-align: center;
}

/* Formularcontainer */
form {
    background: rgba(30, 30, 47, 0.8);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    max-width: 400px;
    width: 90%;
}

label {
    font-size: 1.1rem;
    color: #e0e0e5;
    margin-bottom: 8px;
    display: block;
}

input[type="text"], input[type="password"], input[type="email"], button {
    background: #2e2e48;
    border: 1px solid #44445c;
    color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    width: 100%; /* Gleiche Breite wie der Button */
    margin-bottom: 15px;
    font-size: 1rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
    outline: none;
    border-color: #6f8aff;
    box-shadow: inset 0 4px 8px rgba(111, 138, 255, 0.5);
}

/* Buttons */
button {
    background: #6f8aff;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%; /* Gleiche Breite wie die Inputs */
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

button:hover {
    background: #5a72e6;
    box-shadow: 0 4px 10px rgba(111, 138, 255, 0.4);
}

/* Link */
a {
    color: #6f8aff;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    text-align: center;
    margin-top: 15px;
}

a:hover {
    text-decoration: underline;
}

/* Animation für Input-Felder */
@keyframes glow {
    0% { box-shadow: inset 0 0 5px rgba(111, 138, 255, 0.3); }
    50% { box-shadow: inset 0 0 10px rgba(111, 138, 255, 0.6); }
    100% { box-shadow: inset 0 0 5px rgba(111, 138, 255, 0.3); }
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
    animation: glow 1.5s infinite;
}
