:root {
    --bg-dark: #09090b;
    --primary: #6366f1;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden; /* Remove barra de rolagem da página inteira */
}

.auth-container {
    display: flex;
    height: 100%;
}

/* --- LADO ESQUERDO (Visual) --- */
.auth-visual {
    flex: 1;
    background: radial-gradient(circle at bottom left, #1e1b4b, #000);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    overflow: hidden;
}

.visual-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.logo-large {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.auth-visual h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.auth-visual p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #4ade80;
}

.glowing-orb {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.4) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

@keyframes floatOrb {
    from { transform: translate(0, 0); }
    to { transform: translate(-50px, 50px); }
}

.auth-form-wrapper {
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f13;
    padding: 40px;
    position: relative;
}

.form-box {
    width: 100%;
    max-width: 380px;
    animation: fadeIn 0.5s ease-out;
}
.hidden { display: none; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 { 
    font-size: 2rem; 
    margin-bottom: 10px; 
}

.subtitle { 
    color: var(--text-muted); 
    margin-bottom: 30px; 
    margin-top: 0; 
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}
.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}
.input-group input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: 0.3s;
}
.input-group input:focus {
    border-color: var(--primary);
    background: #202025;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: var(--text-muted);
}
.forgot-pass { 
    color: var(--primary); 
    text-decoration: none; 
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 25px;
}
.btn-auth:hover { 
    background: #e2e8f0; 
    transform: translateY(-2px); 
}

.btn-register { 
    background: var(--primary); 
    color: white; 
}

.btn-register:hover { 
    background: #4f46e5; 
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #444;
    margin-bottom: 25px;
}
.divider::before, .divider::after {
    content: ''; 
    flex: 1; 
    border-bottom: 1px solid #27272a;
}
.divider span { 
    padding: 0 10px; 
    font-size: 0.8rem; 
}

.social-login { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    margin-bottom: 30px; 
}

.btn-social {
    width: 50px; 
    height: 50px;
    border-radius: 8px;
    background: #18181b;
    border: 1px solid #27272a;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-social:hover { 
    border-color: #555; 
    background: #222; 
}

.switch-auth { 
    text-align: center; 
    font-size: 0.9rem; 
    color: var(--text-muted); 
}

.switch-auth a { 
    color: var(--primary); 
    text-decoration: none; 
    font-weight: 600; 
    cursor: pointer; 
}

.terms-text { 
    font-size: 0.8rem; 
    color: #666; 
    margin-bottom: 20px; 
    line-height: 1.4; 
}

.terms-text a { 
    color: #888; 
}

@media (max-width: 900px) {

    .auth-visual { 
        display: none; 
    }

    .auth-form-wrapper { 
        width: 100%; 
    }
    
}