/*
 * Nome do Projeto: Website da Câmara Municipal
 * Desenvolvido pelo Departamento de Informática
 * Data de Criação: 2024-2025
 * Tecnologias: HTML5, CSS3, JavaScript, jQuery, PHP
 */

/* ---------------------------------------------
   IMPORTAÇÃO DE ARQUIVOS
   --------------------------------------------- */
@import 'variables.css';

/* ---------------------------------------------
   ESTILOS GLOBAIS
   --------------------------------------------- */
/* Fundo da página com efeito preto */
body {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    position: relative;
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .03) 8%, rgba(0, 0, 0, .11) 21%, rgba(0, 0, 0, .61) 78%, rgba(0, 0, 0, .7) 95%, rgba(0, 0, 0, .7));
    backdrop-filter: blur(5px);
    z-index: 1;
}

/* Container principal */
.login-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Caixa de login com efeito de desfoque */
.login-box {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

/* Logo */
.logo {
    margin-bottom: 20px;
}

/* Container do input */
.input-container {
    position: relative;
    margin-bottom: 20px;
}

/* Labels */
label {
    position: absolute;
    top: 16px;
    left: 12px;
    font-size: 16px;
    color: white;
    pointer-events: none;
    transition: top 0.3s ease, color 0.3s ease;
}

/* Inputs */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 8px 12px 12px;
    margin: 3px 0 30px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    background-color: transparent;
}

/* Quando o input está focado, o label sobe */
input:focus + label,
input:not(:placeholder-shown) + label {
    top: -20px;
    color: white;
    transition: top 0.3s ease, color 0.3s ease;
}

/* Efeito de foco */
input:focus {
    border-color: var(--azul-primary-color);
}

/* Botão de login */
.login-button {
    width: 70%;
    padding: 12px;
    background-color: var(--azul-primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.1s;
    margin-top: 0px;
}

.login-button:hover {
    background-color: green;
}

/* Link Esqueceu sua senha */
.forgot-password {
    margin-top: 10px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Margens */
.mb-0 {
    margin-bottom: -10px !important;
}

.mt-0 {
    margin-top: 50px !important;
}


