/* ===== RESET & COLORS ===== */
:root {
    --bg-dark: #0b141a;
    --bg-grad: radial-gradient(circle at top, #1a2a33 0%, #0b0e11 100%);
    --accent: #00ffff;
    --accent-glow: rgba(0, 255, 255, 0.3);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    background: var(--bg-grad);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* ===== WRAPPER ===== */
.login-wrapper {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    text-align: center;
}

h2 {
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(45deg, var(--accent), #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== INPUTS ===== */
input[type="text"], input[type="password"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 14px 20px;
    border-radius: 30px;
    color: white;
    font-size: 16px; /* Verhindert Zoom auf iOS */
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ===== PASSWORT CHECKBOX ===== */
.pass-group {
    margin-bottom: 15px;
    text-align: left;
}

.show-pass {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    margin-left: 15px;
    cursor: pointer;
}

.show-pass input {
    accent-color: var(--accent);
    cursor: pointer;
}

/* ===== BUTTONS ===== */
button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-main {
    background: var(--accent);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-alt {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-top: 10px;
}

.btn-alt:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== EXTRAS ===== */
hr {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin: 30px 0;
}

.error {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

