/* 
 * ENTERPRISE EDITION - UI STYLES V5.0
 * DESCRIÇÃO: Estilos profissionais com correção de fundo infinito e remoção de artefatos.
 */

@layer base {
    html, body {
        background: #020205;
        margin: 0;
        padding: 0;
        width: 100%;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        font-family: 'Inter', sans-serif;
        color: #d1d5db;
        scroll-behavior: smooth;
    }
}

/* Fundo de Nebulosa Fixo e Infinito */
.nebula-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(15, 12, 41, 1) 0%, #020205 100%);
    filter: blur(60px);
}

/* Estrelas Cintilantes de Fundo */
.stars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        radial-gradient(1px 1px at 25px 35px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 110px 150px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 180px 220px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: twinkle 8s infinite alternate ease-in-out;
    opacity: 0.2;
}

@keyframes twinkle {
    0% { opacity: 0.1; transform: scale(1); }
    100% { opacity: 0.4; transform: scale(1.02); }
}

/* Canvas Warp Speed Fixo */
#warp-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Mouse Glow Suave */
#mouse-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    filter: blur(120px);
    background: radial-gradient(circle, #6366F1 0%, transparent 70%);
    transform: translate(-50%, -50%);
    will-change: left, top;
}

/* Glassmorphism Card Profissional */
.glass-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 2rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    margin: 2rem auto;
    max-width: 450px;
    width: 95%;
}

/* REMOÇÃO DA AURA ROSA E AJUSTES DE HOVER */
#pix-result, .bg-white, #qrcode-img, .bg-black/20, .bg-black/30 {
    background-color: transparent !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* QR Code Container */
.qrcode-container {
    background: white;
    padding: 1rem;
    border-radius: 1.5rem;
    display: inline-block;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Inputs & Buttons */
.input-field {
    width: 100%;
    padding: 1.1rem;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Source Code Pro', monospace;
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.input-field:focus {
    border-color: #6366F1;
    background: rgba(0, 0, 0, 0.6) !important;
}

.btn-primary {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

:root {
    --primary-color: #6366F1;
    --accent-color: #F59E0B;
}

.admin-login-btn {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 100;
    background: rgba(255,255,255,0.05);
    padding: 0.6rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: none; /* Escondido por padrão */
}

.admin-login-btn:hover {
    color: white;
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366F1;
}
