/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

/* Body styling */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
}

/* Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Login Box */
.login-box {
    width: 100%;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-box h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333333;
}

.subtitle {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

/* Submit Button */
a.login-button {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

a.login-button:hover {
    background-color: #357ab9;
}

/* Error message styling */
.error-message {
    color: #e74c3c; /* rot für Fehlermeldungen */
    font-size: 14px;
    margin-bottom: 15px;
    text-align: left;
}

/* Signup link */
.signup-link {
    font-size: 14px;
    color: #666666;
    margin-top: 20px;
}

.signup-link a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: bold;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Media query for smaller screens */
@media (max-width: 480px) {
    .login-box {
        padding: 20px;
        box-shadow: none;
    }

    body {
        padding: 10px;
    }
}