/* ============================= */
/* BASE */
/* ============================= */

body {
    background-color: #1a2c20;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

/* ============================= */
/* CONTAINER CENTRAL */
/* ============================= */

.app {
    width: 100%;
    max-width: 500px;
    min-height: 100vh;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    color: #1a2c20;

    background-image: url("../img/background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay escuro */
.app::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Conteúdo acima do overlay */
.content,
.footer {
    position: relative;
    z-index: 2;
}

/* ============================= */
/* LOGO E TEXTOS */
/* ============================= */

.logo {
    width: 140px;
    margin-bottom: 25px;
}

.subtitle {
    font-weight: 300;
    font-size: 24px;
    margin-bottom: 40px;
}

/* ============================= */
/* FORM */
/* ============================= */

form {
    padding: 0 20px;
}

.form-control {
    height: 50px;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 16px;
    background-color: #d9d9d9;
    border: none;
}

.form-control:focus {
    box-shadow: none;
    outline: none;
}

/* ============================= */
/* BOTÃO LOGIN */
/* ============================= */

.btn-login {
    border-radius: 30px;
    height: 50px;
    font-size: 16px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #0d3b22, #062d18);
    border: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
    text-align: center;
    opacity: 0.8;
    font-size: 16px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px; /* espaço para o ícone */
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 18px;
}