body.page-loading {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

.splash-screen {
    display: none;
}

.page-loading .splash-screen {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: Inter, Helvetica, "sans-serif";
    background-color: rgba(249, 249, 249, 0.9); /* Background com opacidade de 90% */
    color: #5E6278;
    line-height: 1;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 1s ease; /* Suaviza a transição */
}

.page-loading .splash-screen span {
    color: #5E6278;
    transition: none !important;
    -webkit-font-smoothing: antialiased;
}

.page-loading .splash-screen img {
    margin-left: calc(100vw - 100%);
    margin-bottom: 30px;
    height: 30px !important;
}

html[data-bs-theme="dark"] .page-loading .splash-screen {
    background-color: rgba(21, 21, 33, 0.9); /* Fundo escuro também com opacidade */
    color: #ffffff;
}

.splash-screen .dark-logo {
    display: none;
}

.splash-screen .light-logo {
    display: block;
}

html[data-bs-theme="dark"] .splash-screen .light-logo {
    display: none;
}

html[data-bs-theme="dark"] .splash-screen .dark-logo {
    display: block;
}

.splash-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.1); /* Transparência leve no fundo */
    transition: opacity 1s ease; /* Transição suave ao desaparecer */
}
  
.loading-icon {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #006cea; /* Alterando a cor da borda superior */
    border-radius: 50%;
    width: 50px; /* Tamanho fixo do ícone */
    height: 50px; /* Tamanho fixo do ícone */
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}
  
@keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}
