﻿/* Estilos gerais do body (mantém responsividade) */
body {
    margin: 0;
    padding: 0;
}

/* Container que centraliza o card */
.login-container {
    padding-top: 56px;
    padding-bottom: 20px;
    min-height: 100vh;
}

/* Card que envolve o formulário */
.login-card {
    background: white;
    border: none;
    border-radius: 15px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

/* Logo */
.login-logo {
    max-height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
}


/* --- ESTILOS DOS CAMPOS --- */

form .text_Field {
    position: relative;
    border-bottom: 2px solid #665c5c;
    margin: 30px 0;
}

.text_Field input {
    width: 100%;
    /* Padding direito aumentado para não sobrepor o ícone */
    padding: 0 40px 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}

.text_Field label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5px;
    color: #adadad;
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}

/* --- ÍCONE DO OLHO (NOVO) --- */
.text_Field i#togglePassword {
    position: absolute;
    top: 50%; /* Alinha verticalmente com o label */
    right: 10px; /* Espaço da direita */
    transform: translateY(-50%);
    cursor: pointer;
    color: #adadad; /* Cor cinza, igual ao label */
    transition: color 0.3s ease;
    z-index: 2; /* Garante que fique acima do input */
}

    .text_Field i#togglePassword:hover {
        color: #9f6c27; /* Cor de destaque */
    }
/* --- FIM DO ÍCONE DO OLHO --- */


/* Linha animada (original) */
.text_Field span::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #9f6c27;
    transition: .5s;
}

/* Efeito original de desaparecer o label (original) */
.text_Field input:focus ~ label,
.text_Field input:valid ~ label {
    opacity: 0;
}

/* Efeito original de expandir a linha (original) */
.text_Field input:focus ~ span::before,
.text_Field input:valid ~ span::before {
    width: 100%;
}

/* --- FIM DOS ESTILOS DOS CAMPOS --- */


/* Botão de Login (mantém estilos responsivos/Bootstrap) */
.login-btn {
    background-color: #9f6c27 !important;
    border-color: #9f6c27 !important;
    border-radius: 25px !important;
    transition: background-color 0.3s, border-color 0.3s;
    font-size: 18px;
    font-weight: 700;
    color: white;
    outline: none !important;
    box-shadow: none !important;
}

    .login-btn:hover {
        background-color: #b88f51 !important;
        border-color: #b88f51 !important;
    }

    .login-btn:active, .login-btn:focus {
        background-color: #8b5e1e !important;
        border-color: #8b5e1e !important;
        outline: none !important;
        box-shadow: none !important;
    }

/* Mensagem de erro */
.error-message {
    display: block;
    text-align: center;
    margin-top: 15px;
}