@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

#content {
  margin-top: 70px;
}

/* #masthead {
	background: #FFF;
} */

h1.entry-title {
  display: none !important;
}

.elementor-section.elementor-section-boxed>.elementor-container {
  max-width: inherit !important;
}

.dialog-message .dialog-lightbox-message {
  background: #FFF !important;
}

div[data-elementor-type="popup"] {
  background: #FFF;
  border-left: 1px solid #d4d7e5;
}

.acoes .elementor-icon-list-icon i {
  color: #6366F1 !important;
  font-size: 24px;
  margin-right: 5px;
  cursor: pointer;
}

.dataTables_filter {
  /*    float: left !important; */
  display: flex;
  justify-content: space-between;
  width: 100%;
}

th.acoes {
  width: 10%;
}

.adicionarVendedor {
  margin-left: 20px;
}

.botaoMobile {
  padding: 3px 10px !important;
  font-size: 20px;
}

@media (min-width:480px) {
  .modal-sidebar .modal-dialog-scrollable {
    margin-right: 0 !important;
    margin-top: 0 !important;
    width: 500px;
    float: right;
  }
}


.modal-sidebar .modal-dialog-scrollable .modal-content {
  min-height: 100%;
  padding-top: 30px;
  border: 0px !important;
  border-radius: 0px !important;
}

.login,
.cadastrar,
.esqueci-a-senha,
.redefinir-senha {
  position: fixed;
  /*     width: 40%; */
  width: 500px;
  top: 20%;
  left: 50%;
  padding: 20px;
  transform: translate(-50%, 0);
}

.cadastrar {
  top: 10%;
}

@media (max-width:480px) {
  .login {
    width: 400px;
    top: 10%;
  }

  .cadastrar {
    width: 400px;
    top: 0%;
  }
}

.login .form-check,
.cadastrar .form-check {
  margin-left: 5px;
}

.login .form-check label,
.cadastrar .form-check label {
  font-size: inherit !important;
  cursor: pointer;
}

.login .esqueci-senha,
.cadastrar .esqueci-senha {
  text-align: end;
}

.login h4,
.cadastrar h4 {
  text-align: center;
}

.center {
  text-align: center !important;
}

.red {
  color: #F00;
}

.spinner-border {
  margin-right: 10px;
}

.form-group {
  margin-bottom: 10px;
}

.texto-medio {
  font-size: 14px;
}

.texto-pequeno {
  font-size: 12px;
}

.icone {
  margin-left: 10px;
  font-size: 32px;
  padding-top: 10px;
}

.pagamento-preco {
  font-size: 46px;
  font-family: 'Rubik', sans-serif;
}

.pagamento-preco-recorrente {
  font-size: 32px;
  font-family: 'Rubik', sans-serif;
}

.pagamento-preco-sem-desconto {
  color: #c3c3c3;
  text-decoration: line-through;
  font-style: italic;
  font-size: calc(1.270rem + 0.3vw);
}

.titulo-endereco {
  font-size: calc(1.275rem + 0.3vw);
}

input[type="checkbox"] {
  width: 1.3rem;
  height: 1.3rem;
}

/* Corrige o problema dos inputs de checkbox e radio que ficam azuis */
form .form-check-input:checked[type="checkbox"] {
  background-color: #6366f1 !important;
  border-color: #6366f1 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

form .form-check-input:checked[type="radio"] {
  background-color: #6366f1 !important;
  border-color: #6366f1 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.planos-preco-padrao {
  font-size: 18px !important;
  color: #999 !important;
  text-decoration: line-through;
}

.texto-tachado {
  text-decoration: line-through;
}

.show-password {}

input.password {
  margin-right: -20px;
}

.input-group-append-show-password {
  cursor: pointer;
  position: relative;
  z-index: 9;
  margin-top: 10px !important;
  font-size: 16px;
  left: -10px !important;
}


/* FORMATE CHECKBOX COMO ICONE CHECKED */
.Form-label-radio,
.Form-label-checkbox {
  position: absolute;
  z-index: -1;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden
}

.Form-label-radio+.Form-label-text,
.Form-label-checkbox+.Form-label-text {
  cursor: pointer;
  margin-right: 1em
}

.Form-label--tick {
  font-size: 16px;
}

.Form-label-radio+.Form-label-text::before,
.Form-label-checkbox+.Form-label-text::before {
  /* font-size:16px; */
  display: inline-block;
  width: 1.75em;
  height: 1.75em;
  line-height: 1.5;
  border: 1px solid #ccc;
  margin-right: .25em;
  content: "\00a0";
  color: white;
  background-clip: padding-box;
  background-color: white;
  text-align: center
}

.Form-label-radio:checked+.Form-label-text::before,
.Form-label-checkbox:checked+.Form-label-text::before {
  background-color: #6366f1;
  border: none !important;
  /* box-shadow:0 0 0 0 #6366f1; */
  font-family: FontAwesome;
  content: "\f00c";
  padding-top: 2px;
}

.Form-label-radio:focus+.Form-label-text::before,
.Form-label-checkbox:focus+.Form-label-text::before,
.Form-label-radio:active+.Form-label-text::before,
.Form-label-checkbox:active+.Form-label-text::before {
  /* border-color: black; */
  /* box-shadow:0 0 2px 0 rgba(0,135,212,0.2) */
}

.Form-label-radio+.Form-label-text::before {
  border-radius: 100%
}

/* FORMATE CHECKBOX COMO ICONE CHECKED */

/* =====================================================
   Gerenciar — Nav Mobile (prefixo g-)
   ===================================================== */

/* ── Nav inferior fixo ── */
.g-nav {
  display: flex;
  align-items: center;
  background: #fff;
  z-index: 9990;
}

/* Mobile: barra fixa no rodapé */
.g-nav--bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #e0e0e0;
  justify-content: space-around;
  /* Ícones colados na base: altura fixa, SEM env(safe-area).
     align-items:flex-end empurra os ícones para o fundo; padding-bottom de 6px é a
     única distância até a borda inferior da tela. 60px cobrem toda a faixa inferior
     (incl. home indicator do iPhone), então o fundo não deixa nenhuma fresta. */
  align-items: flex-end;
  height: 60px;
  padding-top: 0;
  padding-bottom: 6px;
  padding-left: max(env(safe-area-inset-left), 24px);
  padding-right: max(env(safe-area-inset-right), 24px);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, .06);
}

/* Desktop: oculto no mobile, aparece via media query */
.g-nav--top {
  display: none;
}

.g-nav a,
.g-nav-menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: #757575;
  text-decoration: none;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 10px;
  transition: color .15s, background .15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.g-nav a.active,
.g-nav-menu-btn.active {
  color: #2e7d32;
  background: #e8f5e9;
}

.g-nav a:hover,
.g-nav-menu-btn:hover {
  color: #2e7d32;
}

.g-nav a:active,
.g-nav-menu-btn:active {
  background: #e8f5e9;
  color: #2e7d32;
  transform: scale(.94);
}

.g-nav i,
.g-nav-menu-btn i {
  font-size: 26px;
}

/* ── Loading de navegação ── */
#g-page-loading {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, .88);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

#g-page-loading.active {
  display: flex;
}

.dark-mode #g-page-loading {
  background: rgba(18, 16, 32, .88);
}

/* ── Spinner ── */
.g-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, .1);
  border-top-color: #4caf50;
  border-radius: 50%;
  animation: g-spin .7s linear infinite;
  vertical-align: middle;
}

@keyframes g-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Menu overlay (sheet) ── */
.g-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 9995;
  align-items: flex-end;
}

.g-menu-overlay.active {
  display: flex;
}

.g-menu-sheet {
  width: 100%;
  max-height: 90vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  animation: g-sheet-up .22s ease;
}

@keyframes g-sheet-up {
  from {
    transform: translateY(60px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.g-menu-handle {
  width: 40px;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  margin: 0 auto 20px;
}

.g-menu-section {
  margin-bottom: 24px;
}

.g-menu-section-title {
  font-size: 12px;
  font-weight: 700;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 12px;
}

.g-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.g-menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  background: #f5f5f5;
  border-radius: 10px;
  text-decoration: none;
  color: #424242;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s, color .15s;
}

.g-menu-card i {
  font-size: 26px;
  color: #2e7d32;
}

.g-menu-card:hover,
.g-menu-card.active {
  background: #e8f5e9;
  color: #2e7d32;
}

.g-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid #e0e0e0;
}

.g-menu-row-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #212121;
}

.g-menu-row-content i {
  font-size: 20px;
  color: #757575;
}

.g-menu-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 0;
  border-top: 1px solid #e0e0e0;
  color: #c62828;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s;
}

.g-menu-logout i {
  font-size: 20px;
}

.g-menu-logout:hover {
  opacity: .75;
  text-decoration: none;
  color: #c62828;
}

/* ── Tamanho de fonte ── */
.g-font-size-btns {
  display: flex;
  gap: 4px;
}

.g-font-btn {
  width: 36px;
  height: 32px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  color: #757575;
  transition: background .15s, border-color .15s, color .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.g-font-btn.active {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}

/* ── Zoom por nível de fonte ── */
html[data-font="md"] {
  zoom: 1.12;
}

html[data-font="lg"] {
  zoom: 1.25;
}

/* ── Toggle (modo escuro) ── */
.g-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.g-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.g-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  cursor: pointer;
  transition: background .2s;
}

.g-toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.g-toggle input:checked+.g-toggle-slider {
  background: #2e7d32;
}

.g-toggle input:checked+.g-toggle-slider::before {
  transform: translateX(22px);
}

/* ── Nav desktop (card fixo centralizado, mesma largura do conteúdo) ── */
@media (min-width: 768px) {

  /* Esconde nav inferior, exibe nav superior */
  .g-nav--bottom {
    display: none;
  }

  .g-nav--top {
    position: fixed;
    top: 90px;
    /* 70px header + 20px gap */
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 960px;
    display: flex;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    padding: 6px 8px;
    gap: 4px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    z-index: 100;
  }

  .g-nav--top::-webkit-scrollbar {
    display: none;
  }

  .g-nav--top a {
    flex-direction: row;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    gap: 7px;
    flex-shrink: 0;
  }

  .g-nav--top i {
    font-size: 17px;
  }

  .g-nav--top a.active {
    background: #2e7d32;
    color: #fff;
  }

  .g-nav--top a:hover:not(.active) {
    background: #e8f5e9;
    color: #2e7d32;
    opacity: 1;
  }
}

/* ── Modo Escuro ── */

/* Nav inferior (mobile) */
.dark-mode .g-nav--bottom {
  background: #1b1830;
  border-top-color: rgba(255, 255, 255, .1);
}

.dark-mode .g-nav--bottom a,
.dark-mode .g-nav-menu-btn {
  color: rgba(255, 255, 255, .45);
}

.dark-mode .g-nav--bottom a.active,
.dark-mode .g-nav-menu-btn.active {
  color: #4caf50;
  background: rgba(76, 175, 80, .15);
}

.dark-mode .g-nav--bottom a:hover,
.dark-mode .g-nav-menu-btn:hover {
  color: #4caf50;
}

.dark-mode .g-nav--bottom a:active,
.dark-mode .g-nav-menu-btn:active {
  background: rgba(46, 125, 50, .18);
  color: #4caf50;
}

/* Nav superior (desktop) */
@media (min-width: 768px) {
  .dark-mode .g-nav--top {
    background: #1b1830;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  }

  .dark-mode .g-nav--top a {
    color: rgba(255, 255, 255, .45);
  }

  .dark-mode .g-nav--top a.active {
    color: #4caf50;
    background: rgba(76, 175, 80, .15);
  }

  .dark-mode .g-nav--top a:hover:not(.active) {
    background: rgba(255, 255, 255, .08);
    color: #4caf50;
    opacity: 1;
  }
}

.dark-mode .g-menu-sheet {
  background: #1e1b33;
}

.dark-mode .g-menu-handle {
  background: rgba(255, 255, 255, .15);
}

.dark-mode .g-menu-section-title {
  color: rgba(255, 255, 255, .4);
}

.dark-mode .g-menu-card {
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .8);
}

.dark-mode .g-menu-card i {
  color: #4caf50;
}

.dark-mode .g-menu-card:hover,
.dark-mode .g-menu-card.active {
  background: rgba(46, 125, 50, .2);
  color: #4caf50;
}

.dark-mode .g-menu-row {
  border-top-color: rgba(255, 255, 255, .08);
}

.dark-mode .g-menu-row-content {
  color: rgba(255, 255, 255, .85);
}

.dark-mode .g-menu-row-content i {
  color: rgba(255, 255, 255, .4);
}

.dark-mode .g-menu-logout {
  border-top-color: rgba(255, 255, 255, .08);
}

.dark-mode .g-font-btn {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .6);
}

.dark-mode .g-font-btn.active {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}

.dark-mode .g-toggle-slider {
  background: rgba(255, 255, 255, .2);
}

.dark-mode .g-toggle input:checked+.g-toggle-slider {
  background: #2e7d32;
}