/* ============================
   ESTILOS GLOBAIS
============================ */

/* Ajuste do background (aplicado ao body) 
body {
    background: url('/static/img/orbita_branco.png') no-repeat center center fixed;
    background-size: 45%;
    background-color: #ffffff;
    background-blend-mode: normal;
    filter: none;
}

.overlay {
    background-color: transparent;
}



/* Efeito de fade-in aplicado ao container principal */
.page-content {
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Efeito fade-in mais suave */
}

.page-content.loaded {
    opacity: 1;
}

/* Overlay de fundo */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Removido a opacidade */
    z-index: -1;
}

/* ============================
   NAVEGAÇÃO E MENU
============================ */

/* ============================
   CONTAINERS E CARDS
============================ */

.card {
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.7); /* Definindo a cor branca com 80% de opacidade */
    position: relative;
    z-index: 1;
}


/* Adicione estas classes para garantir que apenas os cards de login/registro tenham o efeito correto */
.flip-card-front .card,
.flip-card-back .card {
    background-color: #ffffff !important;
}

/* Ajuste a altura do container de autenticação */
.auth-container {
    perspective: 1000px;
    min-height: auto; /* Alterado de 400px para auto */
    position: relative;
    z-index: 2;
}
.flip-card {
    transition: transform 0.8s;
    transform-style: preserve-3d;
    position: relative;
    height: 100%;
}
.flip-card-front, .flip-card-back {
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}
.flip-card-back {
    transform: rotateY(180deg);
}
.auth-container.register .flip-card {
    transform: rotateY(180deg);
}

/* ============================
   FORMULÁRIOS E INPUTS
============================ */

/* Efeito no foco do input */

/* ============================
   ANIMAÇÕES GERAIS
============================ */

/* Animação ao passar o mouse nos cards */
.transition-hover {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

/* Animação de entrada para a logo */
@keyframes logoEntrada {
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

.logo-container {
    opacity: 0;
    transform: translate(-50px, -50px) rotate(-180deg);
    animation: logoEntrada 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* ============================
   PRELOADER    
============================ */

/* Preloader ocupa a tela toda e centraliza o spinner */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 1.5s ease-in-out, visibility 0s linear 1.5s;
}

/* Quando o preloader tiver a classe 'hidden', ele desaparece suavemente */
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Ajuste para o spinner ser um pouco maior e mais lento */
.spinner-border {
    width: 3rem;
    height: 3rem;
    animation: spinner-border 1.2s linear infinite;
}




/* ============================
   deixar banner de um lado ao outro
============================ */

.full-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0; /* Add this to remove top margin */
    margin-bottom: 0; /* Add this to remove bottom margin */
}

/* Modifique a classe hero-section */
.hero-section {
    padding-top: 0 !important;
    margin-top: -1.5rem !important; /* Ajustado para compensar o py-2 (0.5rem) */
    margin-bottom: 0 !important;
}

.icon-xl {
    width: 70px;
    height: 70px;
}

.alert-custom {
    max-width: 75%;
    padding-left: 15px;
    padding-right: 15px;
}