* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body {
    background: #050505 url('https://images.unsplash.com/photo-1464802686167-b939a6910659?auto=format&fit=crop&w=1920&q=80') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}
.background-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 20%, rgba(0,0,0,0.6) 100%);
    z-index: -1;
}
.container { width: 100%; max-width: 480px; padding: 20px; z-index: 1; }
.form-box {
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px);
    padding: 40px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
h1 { font-size: 2.2rem; margin-bottom: 30px; font-weight: 600; }
h1 span { color: #ff00ff; text-shadow: 0 0 10px #ff00ff; }
.input-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.checkbox-group { flex-direction: row; align-items: center; gap: 8px; margin-top: -10px; margin-bottom: 20px; }
.checkbox-group input { width: 16px; height: 16px; accent-color: #ff00ff; cursor: pointer; }
.checkbox-group label { margin-bottom: 0; cursor: pointer; user-select: none; }

label { font-size: 0.85rem; margin-bottom: 8px; color: #ccc; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"] {
    background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px; color: white; outline: none; border-radius: 6px; transition: 0.3s;
}
input:focus { border-color: #4facfe; box-shadow: 0 0 8px rgba(79, 172, 254, 0.3); }
.forgot {
    display: block; text-align: right; color: #aaa; font-size: 0.85rem;
    text-decoration: none; margin-top: -10px; margin-bottom: 20px; transition: 0.3s;
}
.forgot:hover { color: white; }
.btn-grad {
    width: 100%; padding: 14px; border: none; border-radius: 6px;
    background: linear-gradient(90deg, #9d4edd 0%, #3a0ca3 100%);
    color: white; font-size: 1.05rem; font-weight: bold; cursor: pointer;
    transition: 0.3s; box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(157, 78, 221, 0.6); }
.toggle-text { margin-top: 25px; text-align: center; color: #888; font-size: 0.9rem; }
.toggle-text span { color: #4facfe; cursor: pointer; font-weight: bold; }
.toggle-text span:hover { text-decoration: underline; }
.hidden { display: none !important; }
footer { position: absolute; bottom: 20px; font-size: 0.8rem; color: #666; }