/* public/stylesheets/login_style.css */

/* 1. Estilo e Animação do Background */
.body-login {
    display: flex;
    min-height: 100vh;
    /* overflow: hidden; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#logo_login{
    position: absolute;
    top: 0;
}

.login-background-pulsing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/layout/bghomenew.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: pulse-bg 10s infinite ease-in-out;
}

@keyframes pulse-bg {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
    100% { transform: scale(1); filter: brightness(1); }
}

/* 2. Estilo do Contêiner Principal dos Formulários */
#container_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;

    flex-wrap: wrap;
}

/* NOVO: Card de autenticação */
.auth-card {
    background: rgba(10, 25, 41, 0.8);
    border: 1px solid rgba(120, 170, 220, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(4px);
}

/* 3. Estilização dos Títulos e Textos */
.auth-card h2 {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

.auth-card label {
    color: #cdd4e0;
    font-weight: bold;
    margin-bottom: .5rem;
    display: block; /* Garante que o label fique em sua própria linha */
}

.auth-card .form-text {
    color: #f0f0f0;
}

/* 4. Estilização dos Inputs e Placeholders */
.auth-card .form-control {
    background-color: rgba(20, 40, 60, 0.7);
    border: 1px solid #2a4a6c;
    color: #ffffff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-card .form-control:focus {
    background-color: rgba(25, 45, 65, 0.9);
    border-color: #6ac7ee;
    box-shadow: 0 0 0 0.2rem rgba(0, 170, 255, 0.25);
    color: #ffffff;
}

/* Estilo para os placeholders */
.auth-card .form-control::placeholder {
    color: #8696a7;
    opacity: 1; 
}

/* 5. Estilização de Botões e Links */
.auth-card .btn {
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: #6ac7ee;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
    margin: 0 10px;
}

.auth-links a:hover {
    color: #9eefff;
    text-shadow: 0 0 5px rgba(158, 239, 255, 0.7);
}
.input-with-icon {
    position: relative;
}


.input-with-icon .icon {
    position: absolute;
    top: 50%; 
    left: 15px;
    transform: translateY(-50%); /* Centraliza o ícone verticalmente de forma precisa */
}


.auth-card .form-control.has-icon {
    padding-left: 45px !important; 
}