* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    background: radial-gradient(circle at top right, #111827, #050505);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.auth-box {
    width: 420px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 28px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.6s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-box h1 {
    font-size: 28px;
    font-weight: 800;
    color: #00ff99;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.auth-header p {
    color: #949ba4;
    font-size: 14px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    background: #111827;
    color: white;
    outline: none;
    font-size: 15px;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #00ff99;
    background: #1f2937;
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.1);
}

button {
    padding: 16px;
    margin-top: 10px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(90deg, #00ff99, #00c3ff);
    color: #000;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 153, 0.2);
    opacity: 0.95;
}

.toggle-text {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #949ba4;
}

.toggle-text a {
    color: #00ff99;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.toggle-text a:hover {
    text-decoration: underline;
}

#msg {
    text-align: center;
    color: #ffd369;
    margin-top: 15px;
    font-size: 13px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}