/* Reset básico para página full screen */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background-color: #0f172a; /* Cor de fundo de segurança caso o canvas falhe */
}

/* Canvas ocupa o fundo todo */
#liquid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Container Central */
.login-container {
    position: relative;
    z-index: 1; /* Fica acima do canvas */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* O Cartão de Vidro */
.glass-card {
    width: 100%;
    max-width: 400px;
    padding: 3rem 2.5rem;
    
    /* Efeito Glassmorphism Avançado */
    background: rgba(30, 41, 59, 0.4); /* Base escura translúcida */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Luz vindo de cima */
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-area {
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(99, 242, 228, 0.5));
}

.login-header h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.login-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Inputs Estilizados */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(99, 242, 228, 0.5); /* Ciano do tema */
    box-shadow: 0 0 15px rgba(99, 242, 228, 0.2);
}

/* Botão Liquid */
.btn-login {
    position: relative;
    width: 100%;
    padding: 14px;
    margin-top: 1rem;
    background: linear-gradient(135deg, #056cf2 0%, #03449e 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 108, 242, 0.4);
}

.btn-login:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(5, 108, 242, 0.6);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
}

.login-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.login-footer a:hover {
    color: #63f2e4;
}

/* --- NOVO: Wrapper da Senha --- */
.password-wrapper {
    position: relative; /* Cria contexto de posicionamento */
    width: 100%;
}

/* Garante que o input dentro do wrapper ocupe tudo */
.password-wrapper input {
    width: 100%;
    /* O padding-right extra evita que o texto fique por baixo do ícone */
    padding-right: 45px; 
}

/* Botão do Olho */
.btn-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%); /* Centraliza verticalmente exato */
    
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    color: rgba(255, 255, 255, 0.5); /* Cor sutil inicial */
    transition: all 0.3s ease;
    border-radius: 50%;
}

.btn-eye:hover {
    color: #63f2e4; /* Ciano Highlight ao passar o mouse */
    background: rgba(255, 255, 255, 0.05); /* Leve brilho de fundo */
}

.btn-eye:focus {
    outline: none;
    color: #63f2e4;
}

/* Ajuste fino para inputs que já existiam */
.input-group input {
    /* Garante que a transição e estilos base se mantenham */
    /* Se necessário, copie as propriedades do input original aqui para garantir herança no .password-wrapper input */
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    padding: 12px 16px;
    outline: none;
    transition: all 0.3s ease;
}