
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Hintergrund */
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #203138);
}

/* Container */
#userfield {
    background: #1b1f27;
    padding: 40px;
    border-radius: 16px;
    width: 350px;
    border: 1px solid #2d333b;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    transition: 0.3s ease;
}

#userfield:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(100, 149, 237, 0.3);
}

/* Formular */
#credentials_field {
    display: flex;
    flex-direction: column;
}

/* Labels */
label {
    margin-bottom: 6px;
    font-size: 14px;
    color: #c9d1d9;
}

/* Inputs */
input {
    padding: 10px;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1px solid #30363d;
    background: #0d1117;
    color: #f0f6fc;
    transition: 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #58a6ff;
    box-shadow: 0 0 8px rgba(88, 166, 255, 0.5);
}

/* Buttons (beide submit) */
button {
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 12px;
    background: #2563eb;
    color: white;
    transition: 0.3s ease;
}

button:hover {
    background: #1d4ed8;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
    transform: scale(1.03);
}

/* Optional: zweiter Button etwas anders */
button:last-of-type {
    background: #374151;
}

button:last-of-type:hover {
    background: #4b5563;
    box-shadow: 0 0 12px rgba(150, 150, 150, 0.4);
}

/* Responsive */
@media (max-width: 500px) {
    #userfield {
        width: 90%;
        padding: 30px;
    }
}
