:root {
    --primary: #4a9eff;
    --bg: #0b0e14;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #e0e6ed;
}

body {
    background: radial-gradient(circle at center, #1a1f26 0%, var(--bg) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.auth-container {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;

    max-width: 350px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    text-align: center;
}

.auth-container h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: 8px;
    color: white;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.form-group select option {
    background: #1a1f26;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
    text-transform: uppercase;
}

button:hover {
    background: #357abd;
    transform: translateY(-2px);
}

.toggle-auth {
    font-size: 0.8rem;
    margin-top: 1.5rem;
    color: #8892b0;
}

.toggle-auth span {
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
}

.error-msg {
    color: #ff4a4a;
    font-size: 0.8rem;
    margin-top: 1rem;
    display: none;
}

.success-msg {
    color: #4aff4a;
    font-size: 0.8rem;
    margin-top: 1rem;
    display: none;
}