/* 1. Reset total para remover espaços em branco nas bordas */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Lado Esquerdo - Formulário */
.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* 3. Estilização dos Inputs (Para ficarem iguais à primeira imagem) */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4b5563;
}

/* Estiliza diretamente o componente x-text-input */
.login-box input[type="email"],
.login-box input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box; /* Garante que o padding não aumente o tamanho final */
    outline: none;
    transition: border-color 0.2s;
}

.login-box input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Lado Direito - Ilustração */
.login-image-side {
    flex: 1;
    background-color: #6366f1; /* Roxo/Azul da imagem */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
    text-align: center;
}

.login-image-side img {
    max-width: 80%;
    margin-bottom: 30px;
}

.login-image-side h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
}

/* Responsividade para celular */
@media (max-width: 768px) {
    .login-image-side {
        display: none; /* Esconde a imagem no celular */
    }
}