/* --- MODERN RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top right, #1e293b, #0f172a); /* Dunkler, edler Verlauf */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #f1f5f9;
}

/* --- CONTAINER (GLASSMORPHISM) --- */
.container {
    background: rgba(255, 255, 255, 0.05); /* Glas-Effekt */
    backdrop-filter: blur(15px); /* Weichzeichnung des Hintergrunds */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- HEADINGS --- */
h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: -0.025em;
}

/* --- MESSAGES --- */
.message {
    padding: 14px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

/* --- FORM ELEMENTS --- */
input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #94a3b8;
}

input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6; /* Blaues Leuchten */
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.date-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

/* --- BUTTONS --- */
button {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
    filter: brightness(1.1);
}

button:active {
    transform: translateY(0);
}

/* --- DIVIDER --- */
hr {
    margin: 35px 0;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

/* --- SPECIAL STYLES --- */
.user-info {
    line-height: 1.6;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
}

.logout-btn {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: #f87171;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.logout-btn:hover {
    color: #ef4444;
    text-decoration: underline;
}

/* --- RESPONSIVE OPTIMIZATION --- */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }
}

