/* -------------------------------------------------------------------------- */
/*                                Falcon Button                               */
/* -------------------------------------------------------------------------- */
/* prettier-ignore */
/* Custom overrides */

/* Smaller image previews inside product modals */
#addProductDropzone .dz-image,
#editProductDropzone .dz-image {
  width: 80px !important;
  height: 80px !important;
}

/* Ensure select2 dropdowns appear above Bootstrap modals */
.modal .select2-container { z-index: 2000 !important; }
.modal .select2-dropdown { z-index: 2001 !important; }
.select2-parent { overflow: visible; }

/* Marker icon used by Leaflet with FontAwesome */
.leaflet-fa-icon {
  background: transparent;
  border: none;
}

/*
 * .btn-action em <a class="dropdown-item btn-action"> é só hook para JS (várias vistas).
 * Não definir aqui largura/altura/display — isso quebrava menus longos (altura 2rem → texto sobreposto).
 */

/* -------------------------------------------------------------------------- */
/* Menus ⋮ dentro de grelhas (.table-responsive)                               */
/* Antes: .btn-group { position:static } fazia o menu absoluto referenciar o  */
/* <tr> inteiro (ícones deslocados, “corte”, Safari). Ver proplus_table_dropdown.js */
/* -------------------------------------------------------------------------- */
.table-responsive:has(.btn-group) {
  overflow-x: auto;
  overflow-y: visible !important;
}
.table-responsive .table tbody tr {
  position: relative;
}
.table-responsive .table .btn-group {
  position: relative;
}
.table-responsive .table tbody tr.dropdown-row-open {
  z-index: 1060;
}
.table-responsive .table .dropdown-menu {
  z-index: 1061 !important;
  min-width: 12.5rem;
  max-width: min(22rem, 90vw);
}
.table-responsive .table .dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  white-space: normal;
}

/* Firefox & browsers sem :has(): não esconder overflow vertical nas grelhas (menus ⋮) */
@supports not (selector(:has(*))) {
  .table-responsive {
    overflow-y: visible !important;
  }
}

/* Password toggle (olho) + layout perfil (alinhado LynkArt) */
.password-input-wrapper {
  position: relative;
  display: block;
}

.password-input-wrapper .form-control {
  padding-right: 2.75rem;
}

.password-toggle-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease-in-out;
  z-index: 10;
  height: auto;
  line-height: 1;
  width: auto;
}

.password-toggle-btn:hover {
  color: #495057;
}

.password-toggle-btn:focus {
  outline: none;
  box-shadow: none;
}

.password-toggle-btn i {
  font-size: 0.875rem;
}

.profile-header-section {
  background: linear-gradient(135deg, #2c7be5 0%, #727cf5 100%);
  color: #ffffff;
  padding: 2rem;
  margin: 0;
  border-radius: 0;
  text-align: center;
}

.profile-avatar-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
}

.profile-avatar.bg-white {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar.bg-white i {
  font-size: 2.5rem !important;
  color: #2c7be5;
}

.profile-avatar-upload {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #2c7be5;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
  border: 2px solid #ffffff;
  z-index: 10;
}

.profile-avatar-upload:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(44, 123, 229, 0.4);
  background-color: #2362b7;
}

.profile-avatar-upload i {
  color: #ffffff;
  font-size: 0.875rem;
}

.profile-info-header {
  text-align: center;
}

.profile-info-header h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.profile-info-header p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 0.875rem;
}

.profile-section-divider {
  padding: 0 1.5rem;
  margin: 0;
}

.profile-section-divider:first-of-type {
  padding-top: 1.5rem;
  margin-top: 0;
}

.profile-section-divider:not(:first-of-type) {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d8e2ef;
}

.profile-section-title {
  padding: 0;
  margin: 0 0 1.25rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #344050;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #d8e2ef;
}

.profile-section-title i {
  color: #2c7be5;
}

@media (max-width: 768px) {
  .profile-header-section {
    padding: 1.5rem;
    margin: 0;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-avatar.bg-white {
    width: 80px;
    height: 80px;
  }

  .profile-section-divider {
    padding: 0 1rem;
  }

  .profile-section-divider:not(:first-of-type) {
    margin-top: 1rem;
    padding-top: 1rem;
  }
}

/*
 * Falcon usa .navbar-vertical + .content para margin-left. Qualquer nó (ex.: <script>)
 * entre o nav e .content quebra o seletor adjacente (+) e o conteúdo fica por baixo do sidebar.
 * O general sibling (~) mantém o layout quando .content vem depois do nav no mesmo container.
 */
@media (min-width: 1200px) {
  .navbar-vertical.navbar-expand-xl.navbar-card ~ .content,
  .navbar-vertical.navbar-expand-xl.navbar-vibrant ~ .content,
  .navbar-vertical.navbar-expand-xl.navbar-inverted ~ .content {
    margin-left: 15.625rem;
  }
  .navbar-vertical.navbar-expand-xl ~ .content {
    margin-left: 15.625rem;
  }
  .navbar-vertical.navbar-expand-xl ~ .content .navbar-top {
    position: sticky;
    top: 0;
  }
  .navbar-vertical.navbar-expand-xl ~ .content .navbar-top .navbar-toggler,
  .navbar-vertical.navbar-expand-xl ~ .content .navbar-top .navbar-brand {
    display: none;
  }
  .navbar-vertical-collapsed .navbar-vertical.navbar-expand-xl ~ .content {
    margin-left: 3.125rem;
  }
  .navbar-vertical-collapsed .navbar-vertical.navbar-expand-xl ~ .content .navbar-top {
    padding-left: 13.5rem;
  }
  .navbar-vertical-collapsed .navbar-vertical.navbar-expand-xl.navbar-card ~ .content,
  .navbar-vertical-collapsed .navbar-vertical.navbar-expand-xl.navbar-vibrant ~ .content,
  .navbar-vertical-collapsed .navbar-vertical.navbar-expand-xl.navbar-inverted ~ .content {
    margin-left: 4.125rem;
  }
  .navbar-vertical-collapsed .navbar-vertical.navbar-expand-xl.navbar-card ~ .content .navbar-top,
  .navbar-vertical-collapsed .navbar-vertical.navbar-expand-xl.navbar-vibrant ~ .content .navbar-top,
  .navbar-vertical-collapsed .navbar-vertical.navbar-expand-xl.navbar-inverted ~ .content .navbar-top {
    padding-left: 12.5rem;
  }
}

/* Sidebar: cabeçalho Módulos + um só botão expandir/recolher */
.sidebar-modules-header {
  min-height: 1.75rem;
}

.sidebar-modules-toggle-all {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #95aac9;
  font-size: 0.7rem;
  line-height: 1;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.sidebar-modules-toggle-all:hover {
  color: #2c7be5;
  background-color: rgba(44, 123, 229, 0.08);
}

.sidebar-modules-toggle-all:focus-visible {
  outline: 2px solid rgba(44, 123, 229, 0.45);
  outline-offset: 1px;
}

/* Scroll na sidebar sem barra visível (scroll com rato/trackpad mantém-se) */
.navbar-vertical .navbar-vertical-content.sidebar-nav-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.navbar-vertical .navbar-vertical-content.sidebar-nav-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/*# sourceMappingURL=user.css.map */
