/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fundo da página */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Card principal */
.login-container {
    display: flex;
    width: 1000px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* ========================= */
/* FORMULÁRIO */
/* ========================= */

.login-form {
    width: 40%;
}

.login-form h1 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
}

.login-form input {
    width: 100%;
    padding: 13px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.2s;
}

.login-form input:focus {
    outline: none;
    border-color: #62b52a;
}

/* Botão */
.login-form button {
    width: 100%;
    padding: 13px;
    background: #62b52a;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.login-form button:hover {
    background: #4a941f;
}

/* Cadastro */
.cadastro {
    margin-top: 15px;
    font-size: 14px;
}

.cadastro a {
    color: #62b52a;
    text-decoration: none;
    font-weight: bold;
}

/* ========================= */
/* IMAGEM */
/* ========================= */

.login-image {
    width: 60%;
    aspect-ratio: 1 / 1; /* mantém quadrado */
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

/* leve efeito ao passar o mouse */
.login-image:hover {
    transform: scale(1.01);
}

/* ========================= */
/* OVERLAY */
/* ========================= */

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.7)
    );
    color: #fff;
}

.overlay h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.overlay p {
    font-size: 13px;
    opacity: 0.9;
}


.link-esqueceu {
    font-size: 12px;
    color: #555 !important; /* Cor cinza escura padrão */
    text-decoration: none;
    transition: color 0.3s;
}

.link-esqueceu:hover {
    color: #28a745 !important; /* Muda para verde ao passar o mouse */
    text-decoration: underline;
}