/* =========================
   BASE
========================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: #030712;
}

/* =========================
   BACKGROUND & EFFECTS
========================= */
.bg-grid {
    /*    background-image: radial-gradient(circle at 4px 4px, rgba(14, 165, 233, 0.20) 2px, transparent 0);*/
    background-image: radial-gradient(circle at 4px 4px, rgba(176, 225, 248, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.tech-lines {
    background-image: linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}


/* Fundo com linhas diagonais estilizadas */
.bg-lines {
    background-image: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 25%, transparent 25%), linear-gradient(225deg, rgba(14, 165, 233, 0.03) 25%, transparent 25%), linear-gradient(45deg, rgba(14, 165, 233, 0.03) 25%, transparent 25%), linear-gradient(315deg, rgba(14, 165, 233, 0.03) 25%, transparent 25%);
    background-size: 60px 60px;
}
/* Efeito aurora no topo */
.aurora {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 600px;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 50%), radial-gradient(ellipse 60% 40% at 30% 10%, rgba(56, 189, 248, 0.1) 0%, transparent 50%), radial-gradient(ellipse 60% 40% at 70% 10%, rgba(2, 132, 199, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/*.glow-blue {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, transparent 90%);
    filter: blur(80px);
    pointer-events: none;
}

.glow-cyan {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}*/

/* =========================
   CARDS
========================= */
.card-glass {
    background: linear-gradient( 135deg, rgba(8, 28, 70, 0.95) 0%, rgba(3, 7, 18, 0.90) 100% );
    backdrop-filter: blur(0px);
    border: 2px solid rgba(14, 165, 233, 0.2);
}

.card-glow {
    position: relative;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.15);
}

    .card-glow::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient( 45deg, transparent 40%, rgba(14, 165, 233, 0.3) 50%, transparent 60% );
        border-radius: 2rem;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .card-glow:hover::before {
        opacity: 1;
    }

/* Linha decorativa animada */
.line-decoration {
    height: 2px;
    background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
    opacity: 0.3;
}
/* =========================
   TEXT & BUTTONS
========================= */
.gradient-text {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gradient {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    transition: all 0.3s ease;
}

    .btn-gradient:hover {
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
        transform: translateY(-2px);
    }

/* =========================
   INPUTS
========================= */
.input-glow:focus {
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.checkbox-custom:checked {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
}

/* =========================
   LOADER OVERLAY (CORRIGIDO)
========================= */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: #030712;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

    .loader-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

/* Loader Content */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.logo-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 0%;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2.2s ease-in-out infinite;
}

.logo-loader {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.loader-text {
    font-size: 15px;
    opacity: 0.95;
    max-width: 280px;
    text-align: center;
    line-height: 1.4;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* =========================
   HERO
========================= */
.hero-text h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* =========================
   CANVAS
========================= */
#background {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    header img {
        max-height: 60px;
    }
}


/* IMAGEM DE FUNDO OPCIONAL */
.page-background-image {
    position: absolute;
    inset: 0;
    background-image: url('/login/images/dc-fundo.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.9; /* ajuste aqui a força da imagem */
}

/* OVERLAY ESCURO PARA LEGIBILIDADE */
.page-background-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.1) 0%, rgba(3, 7, 18, 0.2) 55%, rgba(3, 7, 18, 0.1) 100%);
}