



:root {
  --cor-tema: {{ $configuracoes->cor_tema ?? 'default_color' }};
  --cor-fundo: {{ $configuracoes->cor_fundo ?? 'default_color' }};
}

.navbar {
  background-color: var(--cor-tema);
}

.bg {
    background-size: cover;
    background-position: center;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Ajustes para dispositivos de médio porte (tablets) */
  @media (min-width: 768px) and (max-width: 991px) {
    .bg {
      min-height: 70vh; /* Ajuste a altura conforme necessário para tablets */
    }
  }

  /* Ajustes para dispositivos pequenos (telefones) */
  @media (max-width: 767px) {
    .bg {
      min-height: 50vh; /* Ajuste a altura conforme necessário para telefones */
    }
  }


  /* SIDEBAR */

  .custom-sidebar {
    width: 300px !important;
}

/* ===== Hamburger Menu Mobile Improvements ===== */
@media (max-width: 991.98px) {
    .custom-sidebar .offcanvas-header {
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .custom-sidebar .offcanvas-body {
        padding: 1rem 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .custom-sidebar .navbar-nav {
        gap: 0.25rem;
    }

    .custom-sidebar .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .custom-sidebar .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .custom-sidebar .navbar-nav .nav-link {
        padding: 0.75rem 0.5rem;
        font-size: 1.05rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: background-color 0.2s ease, padding-left 0.2s ease;
        border-radius: 6px;
    }

    .custom-sidebar .navbar-nav .nav-link:hover,
    .custom-sidebar .navbar-nav .nav-link:focus {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 1rem;
    }

    .custom-sidebar .dropdown {
        margin-bottom: 0.75rem;
    }

    .custom-sidebar .dropdown .btn {
        width: 100%;
        text-align: left;
    }

    /* Navbar toggler styling */
    .navbar-toggler {
        border: none;
        padding: 0.4rem 0.6rem;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler-icon {
        width: 1.3em;
        height: 1.3em;
    }
}

/* Para telas de tablets e telefones */
@media (max-width: 1200px) {
  .banner_carousel {
      height: 45vw;
  }
}

/* Para telas de computador */
@media (min-width: 1200px) {
  .banner_carousel {
      height: 85vh; /* Ou ajuste para a altura desejada */
  }
}

.banner_carousel {
  overflow: hidden;
}

.banner_carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* Upload Imagem */
.file-upload {
  background-color: #ffffff;
  width: 100%;
  margin: 0 auto;
}

.file-upload-btn {
  width: 100%;
  margin: 0;
  color: #fff;
  background: #9ca29f86;
  border: none;
  padding: 10px;
  border-radius: 4px;
  border-bottom: 4px solid #49524d65;
  transition: all .2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}

.file-upload-btn:hover {
  background: #323433;
  color: #ffffff;
  transition: all .2s ease;
  cursor: pointer;
}

.file-upload-btn:active {
  border: 0;
  transition: all .2s ease;
}

.file-upload-content {
  display: none;
  text-align: center;
}

.file-upload-input {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  outline: none;
  opacity: 0;
  cursor: pointer;
}

.image-upload-wrap {
  margin-top: 20px;
  border: 4px dashed #6c716f;
  position: relative;
}

.image-dropping,
.image-upload-wrap:hover {
  background-color: #b6bcb9;
  border: 4px dashed #ffffff;
}

.image-title-wrap {
  padding: 0 15px 15px 15px;
  color: #b6bcb9;
}

.drag-text {
  text-align: center;
}

.drag-text h3 {
  font-weight: 100;
  text-transform: uppercase;
  color: #15824B;
  padding: 60px 0;
}

.file-upload-image {
  max-height: 200px;
  max-width: 200px;
  margin: auto;
  padding: 20px;
}

.remove-image {
  width: 200px;
  margin: 0;
  color: #fff;
  background: #cd4535;
  border: none;
  padding: 10px;
  border-radius: 4px;
  border-bottom: 4px solid #b02818;
  transition: all .2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}

.remove-image:hover {
  background: #c13b2a;
  color: #ffffff;
  transition: all .2s ease;
  cursor: pointer;
}

.remove-image:active {
  border: 0;
  transition: all .2s ease;
}

/* Previa da Imagem */
#preview-container {
  max-width: 100px;
  margin-top: 20px;
}

#image-preview {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
}

/* Icones Ver ou Não a Password */
.password-toggle-btn {
  cursor: pointer;
}


/* Banner das APP´s */
@media (max-width: 767px) {
  .text-center-small {
    text-align: center !important; /* Use !important para garantir que essa regra seja aplicada */
  }
}


.pagination {
  padding-left: revert !important;
}

