﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background: #0a0f1c;
}

/* FUNDO ANIMADO */
.background {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #0f2027, #0a0f1c);
    overflow: hidden;
}

.background::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    animation: moveBg 60s linear infinite;
    opacity: 0.3;
}

@keyframes moveBg {
    from { transform: translate(0, 0); }
    to { transform: translate(-500px, -500px); }
}

/* CENTRALIZA��O */
.login-container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* LOGO */
.logo h1 {
    color: #ffffff;
    font-size: 42px;
    margin: 0;
    text-shadow:
        0 0 5px #00c6ff,
        0 0 10px #00c6ff,
        0 0 20px #00c6ff,
        0 0 40px #00c6ff;
}

.logo p {
    color: #7CFC00;
    margin-top: 5px;
    text-shadow: 0 0 5px #7CFC00;
}

/* CARD */
.login-box {
    margin-top: 30px;
    padding: 30px;
    width: 320px;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,0.4);
    box-shadow:
        0 0 10px #00c6ff,
        0 0 20px rgba(0,198,255,0.5),
        0 0 40px rgba(0,198,255,0.3);
    border: 1px solid rgba(0,198,255,0.3);
}

/* INPUTS */
.input-group {
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.input-group input::placeholder {
    color: rgba(255,255,255,0.6);
}

.input-group input:focus {
    border: 1px solid #00c6ff;
    box-shadow: 0 0 8px #00c6ff;
}

/* BOT�O */
button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    box-shadow:
        0 0 10px #00c6ff,
        0 0 20px #0072ff;
    transform: scale(1.03);
}

/* GARANTE PADR�O IGUAL PRA TUDO */
* {
    box-sizing: border-box;
}

/* INPUTS ALINHADOS */
.input-group input {
    display: block;
    width: 100%;
}

/* REMOVE QUALQUER DIFERENÇA ENTRE OS DOIS */
.input-group {
    width: 100%;
}

/* GARANTE QUE O CARD N�O EMPURRE NADA */
.login-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.logo img {
    width: 320px;
    max-width: 90%;
    margin-bottom: 20px;

    /* efeito glow leve no logo */
    filter: drop-shadow(0 0 10px rgba(0,198,255,0.6))
            drop-shadow(0 0 20px rgba(0,198,255,0.4));
}
/* CENTRALIZA TUDO DENTRO DO CARD */
.login-box {
    margin-top: 30px;
    padding: 45px 40px; /* mais espaço interno */
    width: 400px; /* aumentei o card */
    border-radius: 20px;

    backdrop-filter: blur(15px);
    background: rgba(0,0,0,0.5);

    box-shadow:
        0 0 10px #00c6ff,
        0 0 25px rgba(0,198,255,0.6),
        0 0 60px rgba(0,198,255,0.3);

    border: 1px solid rgba(0,198,255,0.4);

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FORM OCUPA 100% */
.login-box form {
    width: 100%;
}

/* INPUTS PADR�O PERFEITO */
.input-group {
    width: 100%;
}

.input-group input {
    width: 100%;
    display: block;
}

/* BOT�O ALINHADO */
button {
    width: 100%;
}

/* LOGO CENTRALIZADO */
.logo {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* REMOVE FUNDO PRETO DO LOGO (se tiver) */
.logo img {
    display: block;
}
/* REMOVE FUNDO VISUAL DO LOGO */
.logo img {
    border-radius: 12px;
    background: transparent;

    /* tenta "disfarçar" o preto */
    mix-blend-mode: screen;
}
/* FAIXA COM LOGO REPETINDO */
.faixa-logo {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 300px;

    transform: translateY(-50%); /* centraliza vertical */

    background: url('../img/logo.png') repeat-x center;
    background-size: 350px auto;

    opacity: 0.06;

    z-index: 1;
    pointer-events: none;

    animation: moverLogo 25s linear infinite;
}

/* ANIMA��O */
@keyframes moverLogo {
    from {
        background-position: 0 center;
    }
    to {
        background-position: 1000px center;
    }
}
.logo a:hover img {
    transform: scale(1.05);
    transition: 0.3s;
}
.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo {
    width: 100%;
    display: flex;
    justify-content: center;
}
/* 🔥 ADAPTA ISSABEL AO SEU LAYOUT */

/* CENTRALIZA TUDO */
.login-page .login-container {
    height: 100vh !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* TRANSFORMA O BLOCO DO ISSABEL EM NOSSO CARD */
.login-form {
    background: none !important;
    padding: 0 !important;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* AQUI É O "CARD" REAL */
.login-form .login-content {
    width: 400px;
    padding: 45px 40px;
    border-radius: 20px;

    backdrop-filter: blur(15px);
    background: rgba(0,0,0,0.5);

    box-shadow:
        0 0 10px #00c6ff,
        0 0 25px rgba(0,198,255,0.6),
        0 0 60px rgba(0,198,255,0.3);

    border: 1px solid rgba(0,198,255,0.4);
}

/* REMOVE CABEÇALHO ANTIGO */
.login-header {
    display: none !important;
}

/* REMOVE BARRA DE PROGRESSO */
.login-progressbar,
.login-progressbar-indicator {
    display: none !important;
}

/* INPUTS DO ISSABEL */
.form-control {
    background: rgba(255,255,255,0.08) !important;
    border-radius: 10px !important;
    border: none !important;
    color: #fff !important;
}

/* BOT�O DO ISSABEL */
.btn-login {
    border-radius: 10px !important;
    background: linear-gradient(90deg, #00c6ff, #0072ff) !important;
    border: none !important;
}

/* ÍCONES */
.input-group-addon {
    background: transparent !important;
    border: none !important;
    color: #00c6ff !important;
}
.erro-login {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 0, 0, 0.1);
    color: #ff4d4d;
    text-align: center;
    font-size: 14px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}