* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #F8F9FA;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.page-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    padding: 20px;
}

.back-btn {
    position: absolute;
    top: 0;
    left: 20px;
    background: transparent;
    border: 1px solid #F58220;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.back-btn:hover {
    background-color: #FFF0E5;
}

.login-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    min-height: 600px;
    margin-top: 40px;
}

.left-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.form-container {
    width: 100%;
    max-width: 380px;
}

.title {
    color: #F58220; /* Laranja Study */
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    color: #8A8A8A;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #F58220;
}

.submit-btn {
    width: 100%;
    background-color: #FFB800; /* Amarelo/Laranja do botão */
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #E5A600;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #333;
}

.register-link a {
    color: #2E8B57; /* Verde Study */
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

.right-panel {
    flex: 1;
    background-color: #2E8B57; /* Fundo Verde */
    border-radius: 40px 0 0 40px; /* Curva interna */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mascot-img {
    max-width: 90%; /* Reduzi de 120% para 90% para caber dentro do painel verde. Sinta-se à vontade para ajustar esse valor (ex: 80% ou 100%). */
    height: auto;
    /* Remova o position: absolute e o left: -10% */
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px; /* espaço pro ícone */
}

.toggle-senha {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}



.input-group input.input-error {
    border-color: #E53E3E;
    background-color: #FFF5F5;
}

.input-group input.input-success {
    border-color: #2E8B57;
    background-color: #F0FFF4;
}

.erro-msg {
    display: block;
    min-height: 1.2em;
    font-size: 0.78rem;
    color: #E53E3E;
    margin-top: 4px;
    padding-left: 2px;
    font-weight: 500;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
    }
    .right-panel {
        display: none; /* Esconde a imagem em telas muito pequenas para focar no login */
    }
}