/* --- ESTILOS ESPECÍFICOS DO LOGIN PREMIUM --- */

:root {
    --primary: #D32F2F; /* Vermelho Sangue */
    --dark: #111111;
    --text-gray: #666666;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    height: 100vh;
    overflow: hidden; /* Remove rolagem na tela de login */
}

h1, h2, h3, .btn {
    font-family: 'Space Grotesk', sans-serif;
}

/* LAYOUT SPLIT SCREEN */
.login-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* LADO ESQUERDO: IMAGEM CINEMATOGRÁFICA */
.login-visual {
    flex: 1.2; /* Ocupa um pouco mais da metade */
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 30, 0.6) 100%), url('../../../img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    color: white;
}

.visual-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    animation: fadeUp 1s ease-out;
}

.quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.quote span {
    color: var(--primary);
}

.author {
    font-size: 1rem;
    opacity: 0.8;
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 15px;
}

/* LADO DIREITO: FORMULÁRIO */
.login-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 40px;
    position: relative;
}

.login-box {
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.8s ease-out;
}

/* LOGO NO FORMULÁRIO */
.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* CAMPOS DO FORMULÁRIO */
.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: 0.3s;
}

.input-field {
    width: 100%;
    padding: 14px 15px 14px 45px; /* Espaço para o ícone */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.input-field:focus + i {
    color: var(--primary);
}

/* LINKS AUXILIARES (Esqueci senha) */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.forgot-link:hover {
    text-decoration: underline;
}

/* BOTÃO PRINCIPAL */
.btn-login {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

/* DIVISOR SOCIAL */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #aaa;
    font-size: 0.85rem;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}
.divider span {
    padding: 0 15px;
}

/* SOCIAL LOGIN */
.social-buttons {
    display: grid;
}

.social-btn {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}

.social-btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
    transform: translateY(-2px);
}

/* LINK DE VOLTAR */
.back-home {
    position: absolute;
    top: 30px;
    right: 30px;
    text-decoration: none;
    color: #888;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-size: 0.9rem;
}
.back-home:hover {
    color: var(--primary);
}

/* RODAPÉ DO FORM */
.signup-text {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 0.95rem;
}
.signup-text a {
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}
.signup-text a:hover {
    color: var(--primary);
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .login-visual {
        display: none;
    } /* Esconde imagem no mobile */
    .login-form-container {
        padding: 20px;
    }
    .login-box {
        max-width: 100%;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
