/* =================================================
   BizMKT Scheduler Lite — Override seguro
   ================================================= */

/* CAMPOS DO FORMULÁRIO */
.bizmkt-lite-form input[type="text"],
.bizmkt-lite-form input[type="email"],
.bizmkt-lite-form input[type="date"],
.bizmkt-lite-form select,
.bizmkt-lite-form textarea {
  height: 36px !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  border: 1px solid #ccc !important;
  box-sizing: border-box !important;
  background-color: #fff !important;
  line-height: normal !important;
}

/* Textarea */
.bizmkt-lite-form textarea {
  height: auto !important;
  min-height: 90px !important;
}

/* =========================
   CAMPO DE DATA — D8.3
   ========================= */
.bizmkt-lite-form .bizmkt-lite-data {
  background-color: #ffffff !important;
}

.bizmkt-lite-form .bizmkt-lite-data.bizmkt-day-selected {
  background-color: #bfffff !important;
}

/* =========================
   SELECT HORÁRIOS
========================= */
.bizmkt-lite-form .bizmkt-lite-hora option:disabled {
  color: #999 !important;
}

/* =========================
   MENSAGENS
========================= */
.bizmkt-lite-form .bizmkt-hora-info {
  font-size: 13px !important;
  margin-top: 6px !important;
}

/* =========================
   MODAL CONFIRMAÇÃO
========================= */
#lite-confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  z-index: 99999;
}

.lite-modal-content {
  background: #b9f1f8;
  padding: 18px;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  margin: 20px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .lite-modal-content {
    max-width: 95%;
    margin: 10px auto;
  }
}

.lite-modal-header {
  font-weight: 600;
  margin-bottom: 10px;
}

.lite-confirm-list {
  padding-left: 16px;
  margin-bottom: 14px;
}

.lite-modal-footer .lite-btn-edit,
.lite-modal-footer .lite-btn-confirm {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  max-width: 100%;
}

.lite-btn-edit {
  background: #ff5254;
}

.lite-btn-confirm {
  background: #4caf50;
  color: #fff;
}

/* =======================
   CALENDÁRIO INLINE
======================= */
.bizmkt-lite-calendar {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px;
  margin-top: 6px;
  background: #fff;
}

.lite-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 600;
}

.lite-cal-header button {
  background: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
}

.lite-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.lite-cal-grid div {
  text-align: center;
  font-size: 13px;
}

.lite-cal-day {
  padding: 6px 0;
  border-radius: 6px;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #eee;
  position: relative;
}

.lite-cal-day.lite-allowed {
  background: #e9ffe2;
}

.lite-cal-day.lite-allowed:hover {
  background: #d9f7ce;
}

.lite-cal-day.lite-disabled {
  background: #f2f2f2;
  color: #999;
  cursor: not-allowed;
  opacity: .75;
}

.lite-cal-day.selected {
  background: #bfffff;
  border: 1px solid #59b6cd;
  opacity: 1;
}

.lite-cal-day.lite-today {
  box-shadow: 0 0 0 1px #9c27b0;
}

.bizmkt-lite-calendar,
.lite-cal-grid {
  overflow: visible;
}

/* ===============================
   RESPONSIVO — AGENDA (FIX FINAL)
   =============================== */
@media (max-width: 768px) {

  /* torna a tabela scrollável */
  table.bizmkt-lite-agenda {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 900px;
  }

  /* impede colunas espremidas */
  table.bizmkt-lite-agenda th,
  table.bizmkt-lite-agenda td {
    white-space: nowrap;
  }
	
}
	
/* ===============================
   COMISSÕES — FUNDO FINAL (DESKTOP + MOBILE)
   =============================== */

table.widefat.striped.bizmkt-lite-agenda td.bizmkt-commission-cell {
  background: #eaffea !important;
}

