/* style-login.css - Estilos modernos para tela de login */
:root {
    --primary-color: #00428c;
    --secondary-color: #1cc88a;
    --dark-color: #00428c;
    --light-color: #f8f9fc;
    --gradient-start: #00428c;
    --gradient-end: #224abe;
    --text-color: #5a5c69;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative; 
    
}


.login-container {
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.8s ease-in-out;
    margin: auto;
}

.formulario-login {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.formulario-login::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 8s infinite linear;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-container i {
    font-size: 2.5rem;
    color: white;
}

.login-header h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-header p {
    color: var(--text-color);
    font-size: 0.9rem;
}

.esp-form hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin-bottom: 1.5rem;
}


.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6e707e;
    z-index: 5;
    font-size: 1.1rem;
}

.tooltip-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    z-index: 5;
    font-size: 1.1rem;
    cursor: pointer;
}

.icon-left {
    margin-right: 8px;
}

.invalid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #e74a3b;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    height: calc(3.5rem + 2px);
    font-size: 1.1rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.notification {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 0.35rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: flex;
    align-items: center;
}

.notification i {
    margin-right: 8px;
}

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

.btn-manual {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-manual:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

.btn-manual i {
    margin-right: 8px;
}

.main-footer {
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Responsividade */
@media (max-width: 576px) {
    .formulario-login {
        padding: 1.5rem;
    }
    
    .login-header h1 {
        font-size: 1.3rem;
    }
    
    .logo-container {
        width: 70px;
        height: 70px;
    }
    
    .logo-container i {
        font-size: 2rem;
    }
}


.custom-input {
    height: calc(3.5rem + 2px);  
    border-radius: 0.5rem;
    border: 1px solid #d1d3e2;
    background-color: var(--light-color);
    transition: all 0.3s;
    font-size: 1rem;
}

.custom-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.custom-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6e707e;
    font-weight: 600;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6e707e;
    font-size: 1.1rem;
    z-index: 5;
}

.logo-container2{
    width: 250px;
    height: auto;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none; /* remove o gradiente */
    box-shadow: none; /* remove a sombra */
}

.logo-img {
    max-width: 100%;
    height: auto;
}


/* Fundo do particles ocupando a tela toda */
#particles-js {
  position: fixed;      /* cobre a viewport inteira */
  inset: 0;             /* top:0; right:0; bottom:0; left:0; */
  z-index: 0;           /* fica por trás do conteúdo */
  pointer-events: none; /* evita bloquear cliques */
}

/* Garante que o conteúdo fique acima do canvas */
.login-container,
.formulario-login,
.main-footer,
.logo-container2 {
  position: relative;
  z-index: 1;
}





