
.auth-container {
    background: var(--bg2, #0e0e12);
    border: 1px solid var(--border, rgba(255, 255, 255, .12));
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .02);
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.auth-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary, #b57bff), var(--secondary, #7c3aed));
    opacity: .8;
}

.auth-container .form-container.sign-in { margin-bottom: 30px; }
.auth-container .form-container.sign-in h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 14px;
}
.auth-container .form-container.sign-in p {
    color: var(--text-muted, var(--muted, #9b8ab4));
    font-size: 1rem;
    line-height: 1.65;
}

.auth-container .toggle-container { display: block; }
.auth-container.form-active .toggle-container { display: none; }
.auth-container .form-container.sign-up { display: none; }
.auth-container.form-active .form-container.sign-up { display: block; }

.auth-container .toggle-panel.toggle-left { display: none; }
.auth-container .toggle-panel.toggle-right h3,
.auth-container .form-container.sign-up h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.auth-container .form-option {
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--bg, #0a0612);
    transition: border-color .3s, background .3s;
}
.auth-container .form-option:hover { border-color: var(--primary, #b57bff); }
.auth-container .form-option.selected {
    border-color: var(--primary, #b57bff);
    background: rgba(255, 255, 255, .05);
}
.auth-container .form-option input[type="radio"] { display: none; }
.auth-container .form-option label {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    display: block;
    width: 100%;
}

.auth-container input:not([type="checkbox"]):not([type="radio"]),
.auth-container textarea {
    width: 100%;
    background: var(--bg, #0a0612);
    border: 1px solid var(--border, rgba(255, 255, 255, .12));
    border-radius: 12px;
    padding: 15px 18px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 14px;
    transition: border-color .3s, box-shadow .3s;
}
.auth-container textarea { min-height: 120px; resize: vertical; }
.auth-container input:focus, .auth-container textarea:focus {
    outline: none;
    border-color: var(--primary, #b57bff);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .04);
}
.auth-container input::placeholder, .auth-container textarea::placeholder {
    color: var(--text-muted, var(--muted, #9b8ab4));
}

.auth-container .main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 28px;
    margin-top: 6px;
    border-radius: 12px;
    border: 1px solid var(--primary, #b57bff);
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .3s, color .3s, box-shadow .3s, transform .3s;
}
.auth-container .main-btn:hover {
    background: var(--primary, #b57bff);
    color: #0a0612;
    box-shadow: 0 0 30px rgba(181, 123, 255, .35);
}
.auth-container .main-btn:disabled { opacity: .55; cursor: default; transform: none; }

.auth-container .sl-quiz-back {
    background: none;
    border: none;
    color: var(--text-muted, var(--muted, #9b8ab4));
    font-family: inherit;
    font-size: .82rem;
    letter-spacing: .04em;
    padding: 12px 0 0;
    cursor: pointer;
    transition: color .3s;
}
.auth-container .sl-quiz-back:hover { color: #fff; }

@media (max-width: 600px) {
    .auth-container { padding: 26px 20px; border-radius: 20px; }
    .auth-container .form-option { padding: 13px 16px; margin-bottom: 10px; }
    .auth-container .form-option label { font-size: .94rem; }
}
