/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
    height: 150px;
    margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrollable-nav {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.scrollable-nav::-webkit-scrollbar {
  display: none; /* Para Safari e Chrome */
}

.scrollable-nav .nav-item {
  flex: 0 0 auto;
  display: inline-block;
  white-space: nowrap;
}

.user-profile-header-banner img {
    height: 130px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.user-profile-header {
    margin-top: -2rem
}

.user-profile-header .user-profile-img {
    border: 5px solid;
    width: 150px
}

.light-style .user-profile-header .user-profile-img {
    border-color: #fff
}

.dark-style .user-profile-header .user-profile-img {
    border-color: #312d4b
}

.dataTables_wrapper .card-header .dataTables_filter label {
    margin-bottom: 0!important;
    margin-top: 0!important
}

@media(max-width: 767.98px) {
    .user-profile-header-banner img {
        height: 100px;
    }

    .user-profile-header .user-profile-img {
        width: 150px
    }
}

.avatar {
    cursor: pointer;
}

/* CSS para garantir que o SweetAlert fique no topo */
.my-swal-container {
    z-index: 999999999 !important;
}

.my-swal-popup {
    z-index: 999999999 !important;
}

.swal2-popup {
    background-color: #283144 !important;
}

.swal2-html-container {
    color: #fff !important;
}
.swal2-title {
    color: #fff !important;
}

.SweetAlert2 {
    background-color: #283144 !important; 
   
}
.SweetAlert2 .swal2-html-container {
    color: #fff !important;
}

.SweetAlert2 .swal2-success-fix,
.SweetAlert2 .swal2-success-circular-line-left,
.SweetAlert2 .swal2-success-circular-line-right{
    display: none !important;
}

.letra-icon {
    font-size: 28px;
    border-radius: 50%;
    border: 1px solid #d9dbdf;
    background-color: #d9dbdf;
    display: inline-block;
    width: 44px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    color: #1c1c1d;
}

.informacoes {
    padding: 0 10px;
    width: 100%;
}

.bola {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #00ff00;
    position: relative;
    animation: wave-animation 2s linear infinite;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

@keyframes wave-animation {
    0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(0, 255, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }
}

.navbar.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    z-index: 1000; /* Certifique-se de que o navbar esteja acima de outros elementos */
}

    /* Torna o dropdown do select transparente e texto branco */
select.bg-transparent,
select.bg-transparent option {
    background-color: transparent !important;
    color: #fff !important;
}

/* Para navegadores que não respeitam o bg-transparent no dropdown */
select.bg-transparent:focus {
    background-color: rgba(0,0,0,0.7) !important;
    color: #fff !important;
    border-color: #6c757d;
}

/* Remove o fundo branco do dropdown aberto (Webkit/Blink) */
select.bg-transparent::-webkit-input-placeholder { color: #fff; }
select.bg-transparent option { background: rgba(0, 0, 0, 0.527) !important; color: #fff !important; }
