/* css/login.css */
:root {
    --bg-color: #050505;
    --glass-bg: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.1);
    --primary: #00d2ff; /* Cyber Blue */
    --accent: #3a7bd5;
    --text: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    overflow: hidden; /* Keine Scrollbars */
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text);
}

/* --- ANIMIERTE HINTERGRUND SVGs --- */
.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(60px);
    opacity: 0.6;
    animation: move 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    fill: #7000ff;
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    fill: #00d2ff;
    animation-delay: -5s;
}

.blob-3 {
    bottom: 20%;
    left: 20%;
    width: 300px;
    height: 300px;
    fill: #ff0055;
    animation-delay: -10s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* --- GLASS LOGIN BOX --- */
.login-wrapper {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 24px;
    width: 380px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;
    animation: fadeIn 1s ease-out;
}

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

.icon-container {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}

h2 {
    margin: 0;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2rem;
}

/* --- INPUT FELDER --- */
.input-box {
    position: relative;
    margin-bottom: 2rem;
}

.input-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    outline: none;
    transition: 0.3s;
}

.input-box label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    pointer-events: none;
    transition: 0.3s;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--primary);
}

.input-box input:focus {
    border-bottom: 2px solid var(--primary);
}

/* --- BUTTON --- */
.btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.5);
}

.error-msg {
    color: #ff4b4b;
    background: rgba(255, 75, 75, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 75, 75, 0.3);
}