/* Add here all your CSS customizations */


/* calendario datepicker*/
.ui-datepicker-div{
	z-index: 100000 !important ;}
}
.ui-datepicker{
	z-index: 100000 !important ;}
}

.hover:hover{
	
background-color: #000F;
}

/* alinha os textos a direita */
right {
	text-align:right;
}

/* wizard form cadastro clientes*/
.step-line {
  background: #e0e0e0;
  height: 2px;
  width: 35vw;
  position: absolute;
  top: 30px;
  z-index: 1;
}
.nav-pills.custom li {
  background: transparent;
  margin: 0 30px;
  z-index: 2;
}
.nav-link.active.custom {
  background-color: transparent;
  color: #007bff;
}
.nav-link.custom {
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 12vw;
}
.nav-link.custom span.icon {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 50px;
  width: 46px;
  height: 46px;
  margin: 0 auto;
}
.nav-link.custom.active span.icon {
  background-color: #007bff;
  color: #fff;
}
.nav-link.custom i {
  font-size: 28px;
}
.tab-content.custom {
  display: flex;
  justify-content: center;
}
.tab-content.custom .tab-pane {
  width: 50vw;
}
@media screen and (min-width: 840px) {
  .tab-content.custom .tab-pane {
    width: 40vw;
  }
}

/* reservas canceladas - calendario */

.fc-event.evento-cancelado {
    margin-top: 22px !important;
    border: 2px dashed #dc3545;
    background-color: #dc3545 !important;
    opacity: 0.8;
}

/* Centraliza o número do dia */
.fc-daygrid-day-frame {
	/* display: flex; */
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* Borda cinza clara nas células */
.fc-daygrid-day {
	border: 1px solid #e0e0e0;
}

/* Ocupa toda a largura da célula */
.fc-daygrid-event {
	width: 100% !important;
	margin: 0 !important;
	padding: 2px 4px;
	box-sizing: border-box;
	border-radius: 4px;
	font-size: 12px;
	text-align: center;
}

/* espaçamento entre múltiplos eventos no mesmo dia */
.fc-daygrid-event-harness {
	margin-top: 1 !important;
}


/* Modal novo cliente */
 /* Ajusta o tamanho máximo do modal para caber na tela */
    #modalNovoCliente .modal-dialog {
        max-width: 1140px;          /* modal-xl */
        margin: 1.75rem auto;
    }

    /* Limita a altura total do conteúdo do modal */
    #modalNovoCliente .modal-content {
        max-height: calc(100vh - 3.5rem); /* 100% da altura da janela menos uma margem */
        display: flex;
        flex-direction: column;
    }

    /* Aqui é o pulo do gato: a área que deve rolar */
    #modalNovoCliente .modal-body {
        overflow-y: auto;
    }
	
	/* Cor especial para dias já reservados */
    .datepicker table tr td.reservado,
    .datepicker table tr td.reservado:hover,
    .datepicker table tr td.disabled.reservado {
        background-color: #f8d7da !important; /* vermelho claro */
        color: #721c24 !important;            /* texto vinho */
        text-decoration: line-through;
        cursor: not-allowed;
    }
	
	
/* calendario do gerenciador de reservas */
.calendar-reserva {
  width: 100%;
  background: #F5F5F5;
  box-shadow: 0px 5px 5px #ccc;
  border-radius: 10px;
  padding: 20px;
  margin-top: 10px;
}

.cal-head-reserva {
  text-align: center;
  position: relative;
}

.cal-head-reserva h3 {
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
  background: #fff;
  padding: 0 15px;
  border-radius: 10px;
  margin-top: 10px;
}

#prevReserva, #nextReserva {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: #5e7e44;
  border-radius: 15%;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-top: 20px;
}

#prevReserva { margin-right: 25px; }
#nextReserva { margin-left: 25px; }

.days-reserva, .dates-reserva {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
  justify-content: start;
}

.days-reserva li,
.dates-reserva li {
  width: calc(100% / 7);
  text-align: center;
  font-size: 14px;
}

.days-reserva {
  margin-bottom: 15px;
}

.days-reserva li {
  font-weight: 500;
  color: #5e7e44;
  text-transform: uppercase;
}

.dates-reserva li span {
  background: #fff;
  width: 36px;
  height: 36px;
  display: inline-block;
  padding-top: 6px;
  border-radius: 10px;
  border: 2px solid #F5F5F5;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-size: 13px;
}

.dates-reserva li span:hover {
  color: #FF0000;
}

.dates-reserva li.old span {
  background: transparent;
  color: #aaa;
}

.dates-reserva li.today span {
  background: #5e7e44;
  color: #fff;
}

.dates-reserva li.ocupado span {
  background: #d2ae6d !important;
  color: #fff;
}

/* seleção */
.dates-reserva li.selecionado span {
  background: #5e7e44 !important;
  color: #fff !important;
  border-color: #5e7e44 !important;
}

/* legenda */
.calendar-legend .legend-box {
  width: 25px;
  height: 25px;
  background: #d2ae6d;
  border-radius: 8px;
}

/* modal novas reservas */
  #modalNovaReserva .modal-body {
      max-height: 70vh !important;   /* altura máxima dentro da viewport */
      overflow-y: auto !important;   /* rolagem vertical DENTRO do modal */
  }

  /* MODAL NOVO CLIENTE: idem */
  #modalNovoCliente .modal-body {
      max-height: 70vh !important;
      overflow-y: auto !important;
  }

  /* (opcional) só pra garantir que o dialog não grude demais nas bordas da tela */
  #modalNovaReserva .modal-dialog,
  #modalNovoCliente .modal-dialog {
      margin: 1.5rem auto !important;
  }
  
  #modalNovaReserva .past span {
    color: #ccc;
    cursor: not-allowed;
}

/* Toolbar WhatsApp */
.wa-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.wa-toolbar .btn {
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1;
}
.wa-help {
  font-size: 12px;
  color: #6c757d;
  margin-top: 6px;
}

.wa-emoji-popover{
  position:absolute;
  width: 320px;
  background:#fff;
  border:1px solid #ddd;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  padding:10px;
  display:none;
  z-index: 99999;
}
.wa-emoji-popover.show{ display:block; }

.wa-emoji-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px;
  font-size:14px;
  font-weight:600;
}
.wa-emoji-close{
  border:0;
  background:transparent;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}

.wa-emoji-grid{
  display:grid;
  grid-template-columns: repeat(10, 1fr);
  gap:6px;
}
.wa-emoji-item{
  border:1px solid #eee;
  background:#fafafa;
  border-radius:8px;
  padding:6px 0;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}
.wa-emoji-item:hover{ background:#f0f0f0; }

.wa-emoji-tip{
  margin-top:8px;
  font-size:12px;
  color:#6c757d;
}

.wa-toolbar{display:flex;gap:.35rem;flex-wrap:wrap;margin-bottom:.5rem}
.wa-toolbar .btn{padding:.35rem .6rem;font-size:.85rem}
.wa-help{margin-top:.35rem;color:#6c757d;font-size:.85rem}

.wa-emoji-popover{
  position:absolute; z-index:99999;
  width:320px; background:#fff; border:1px solid #ddd; border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  display:none; padding:10px;
}
.wa-emoji-popover.show{display:block}
.wa-emoji-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.wa-emoji-close{border:0;background:transparent;font-size:20px;line-height:1;cursor:pointer}
.wa-emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:6px}
.wa-emoji-item{border:1px solid #eee;background:#fff;border-radius:10px;padding:6px;cursor:pointer}
.wa-emoji-tip{margin-top:8px;font-size:.8rem;color:#6c757d}
