/* === Login-Seite: Lava-Lamp-Hintergrund + Login-Box ===
   Wird von login.php und admin.php (nicht eingeloggt) verwendet.
*/

body {
    background: none;
    padding: 0;
}

/* === Lava Lamp Background === */
.lava-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #0f2035 50%, #162d50 100%);
    overflow: hidden;
    z-index: 0;
}

.lava-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    will-change: transform;
}

.lava-blob:nth-child(1) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #1565c0 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation: blob1 18s ease-in-out infinite;
}

.lava-blob:nth-child(2) {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #0d47a1 0%, transparent 70%);
    top: 50%;
    right: -10%;
    animation: blob2 22s ease-in-out infinite;
}

.lava-blob:nth-child(3) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #1a73e8 0%, transparent 70%);
    bottom: -5%;
    left: 30%;
    animation: blob3 20s ease-in-out infinite;
}

.lava-blob:nth-child(4) {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #4285f4 0%, transparent 70%);
    top: 20%;
    left: 50%;
    animation: blob4 25s ease-in-out infinite;
}

.lava-blob:nth-child(5) {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #0b3d91 0%, transparent 70%);
    bottom: 20%;
    right: 20%;
    animation: blob5 16s ease-in-out infinite;
}

.lava-blob:nth-child(6) {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #2196f3 0%, transparent 70%);
    top: 60%;
    left: 10%;
    animation: blob6 19s ease-in-out infinite;
}

@keyframes blob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(120px, 180px) scale(1.15); }
    50%  { transform: translate(50px, 300px) scale(0.9); }
    75%  { transform: translate(200px, 100px) scale(1.1); }
}

@keyframes blob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(-150px, -100px) scale(1.2); }
    50%  { transform: translate(-80px, -250px) scale(0.85); }
    75%  { transform: translate(-200px, -50px) scale(1.05); }
}

@keyframes blob3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-100px, -200px) scale(1.1); }
    66% { transform: translate(150px, -120px) scale(0.95); }
}

@keyframes blob4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    20% { transform: translate(-80px, 150px) scale(1.15); }
    40% { transform: translate(100px, 80px) scale(0.9); }
    60% { transform: translate(-120px, -60px) scale(1.05); }
    80% { transform: translate(60px, -150px) scale(1.1); }
}

@keyframes blob5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -180px) scale(1.1); }
    50% { transform: translate(-60px, -100px) scale(1.2); }
    75% { transform: translate(80px, 50px) scale(0.9); }
}

@keyframes blob6 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(180px, -80px) scale(1.15); }
    60% { transform: translate(100px, -200px) scale(0.85); }
}

/* === Login Layout === */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-box {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 40px;
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 400px;
    width: 100%;
}

.login-box h1 {
    text-align: center;
    color: #0a1929;
    margin-bottom: 30px;
    font-size: 28px;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-box label {
    font-weight: bold;
    color: #0a1929;
    font-size: 16px;
}

.login-box input[type="text"],
.login-box input[type="password"],
.login-box select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(13, 71, 161, 0.25);
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #0a1929;
    transition: all 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus,
.login-box select:focus {
    outline: none;
    border-color: #0d47a1;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 3px rgba(13, 71, 161, 0.15),
        0 4px 12px rgba(13, 71, 161, 0.08);
}

.login-box button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 12px rgba(13, 71, 161, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.login-box button:hover {
    background: linear-gradient(135deg, #0a3680, #0d47a1);
    transform: translateY(-1px);
    box-shadow:
        0 6px 16px rgba(13, 71, 161, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #8b0000;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}
