@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background: #fff;
    color: #4b4b4b;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.top-header {
    height: 80px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid #f2f2f2;
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px; /* Ajuste conforme sua imagem */
}

.header-link {
    font-size: 14px;
    color: #666;
}

.header-link a {
    color: #666;
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
}

/* MAIN CONTAINER */
.main-container {
    display: flex;
    flex: 1; /* Ocupa o resto da altura da tela */
    height: calc(100vh - 80px);
}

/* ESQUERDA - LOGIN */
.login-section {
    width: 50%;
    overflow-y: auto; /* Permite rolar se a tela for pequena */
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.login-wrapper {
    width: 100%;
    max-width: 450px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    margin-bottom: 30px;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

/* FORMULÁRIO */
.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #267ce9;
}

input::placeholder {
    color: #aaa;
}

.password-container {
    position: relative;
}

.eye-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    cursor: pointer;
}

.forgot-password {
    display: block;
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    margin-bottom: 24px;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    height: 48px;
    background-color: #1861c9; /* Azul do Reclame Aqui */
    color: white;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #1351aa;
}

/* DIVISOR OU */
.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.divider span {
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.divider p {
    padding: 0 15px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* BOTÕES SOCIAIS */
.btn-social {
    width: 100%;
    height: 48px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background 0.1s;
}

.btn-social:hover {
    background-color: #f9f9f9;
}

.btn-social img {
    width: 20px;
    height: 20px;
}

.facebook {
    color: #1877f2;
    border-color: #ccc;
}

/* ÁREA EMPRESA */
.empresa-area {
    margin-top: 40px;
    text-align: left;
    font-size: 14px;
}

.empresa-area p {
    color: #333;
    margin-bottom: 5px;
}

.empresa-area a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

/* DIREITA - BANNER VERDE */
.banner-section {
    width: 50%;
    background-color: #084d28; /* Verde do Reclame AQUI */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.banner-content {
    max-width: 400px;
    padding: 20px;
}

.mascote {
    width: 180px; /* Ajuste o tamanho do seu mascote */
    margin-bottom: 30px;
}

.banner-section h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
    background: #fff;
    color: #084d28;
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        height: auto;
    }

    .login-section {
        width: 100%;
        padding: 20px;
    }

    .banner-section {
        display: none; /* O original esconde o banner no mobile */
    }
    
    .top-header {
        justify-content: center;
    }
    
    .header-link {
        display: none; /* Simplifica o header no mobile */
    }
}
/* ESTILO DA TELA DE SUCESSO */
.success-wrapper {
    width: 100%;
    max-width: 450px;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #084d28; /* Verde Oficial */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 30px auto;
}

.success-wrapper h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #084d28;
}

.success-wrapper p {
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.5;
}

/* Animação suave de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}