/* BizMKT Easy Scheduler - Frontend */
.ss-card {
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* ========================================================= */
/* CAMPOS DO FORMULÁRIO – ESTILO REFORÇADO (SEM SOBREPOSIÇÃO) */
/* ========================================================= */

form.ss-form .ss-card input,
form.ss-form .ss-card select {
  width: 100%;
  padding: 8px 10px !important;   /* Altura mais baixa */
  border: 1px solid #ccc !important;
  border-radius: 8px !important;  /* Mais elegante */
  box-sizing: border-box;
  height: auto !important;        /* Evita que plugins forcem altura fixa */
  min-height: 34px !important;    /* Altura mínima para mobile */
  line-height: 1.2 !important;    /* Ajuste fino */
}

/* Ajuste de labels */
.ss-card label {
  font-weight: 600;
}

/* Botão principal */
.ss-card button {
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* ========================================================= */
/* MOBILE FIX — força altura mais baixa para plugins teimosos */
/* ========================================================= */

@media (max-width: 600px) {
  form.ss-form .ss-card input,
  form.ss-form .ss-card select {
    padding: 5px 9px !important;
    min-height: 32px !important;
    border-radius: 7px !important;
  }
}

/* ========================================================= */
/* Barra de carregamento */
.progress-bar {
  display: none;
  width: 100%;
  height: 6px;
  background: #e5e5e5;
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: #36B37E;
  transition: width .3s;
}

/* ========================================================= */
/* Mensagens */
.ss-success {
  margin-top: 10px;
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 8px;
  border-radius: 6px;
}

.ss-error {
  margin-top: 10px;
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 8px;
  border-radius: 6px;
}

.ss-hint {
  color: #555;
  font-size: 12px;
  margin-top: 6px;
}

/* ===================== */
/* 🎯 Estilos do Calendário */
/* ===================== */

.ui-datepicker {
  border-radius: 10px;
  padding: 8px;
}

.ui-datepicker td a.available-date,
.ui-datepicker td.available-date a {
  background: #cfff91 !important;
  color: #000 !important;
  border-radius: 6px !important;
}

.ui-datepicker td a.available-date:hover,
.ui-datepicker td.available-date a:hover {
  background: #b6f06e !important;
}

.ui-datepicker .selected-day a,
.selected-day a {
  background: #9cd9e8 !important;
  color: #000 !important;
  border-radius: 6px !important;
  border: 1px solid #59b6cd !important;
}

.ui-datepicker-unselectable span {
  background: #f1f1f1 !important;
  color: #999 !important;
  border-radius: 6px !important;
}

.ui-datepicker-header {
  background: #eee;
  border: none;
  border-radius: 8px;
  margin-bottom: 6px;
}

.ui-datepicker td.today-allowed:not(.selected-day) a {
  border: 2px solid #5ce1e6 !important;
  background: transparent !important;
  color: #000 !important;
  border-radius: 6px !important;
}

/* ===================== */
/* Modal de confirmação */
/* ===================== */

#ss-confirm-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.ss-modal-content {
  width: 90%;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  animation: fadeIn .2s ease-out;
}

.ss-modal-header {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ss-modal-body ul {
  padding-left: 18px;
}

.ss-modal-body li {
  margin-bottom: 6px;
}

.ss-modal-footer {
  margin-top: 18px;
  text-align: right;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.ss-btn {
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-weight: 600;
}

.ss-btn-edit {
  background: #ccc;
}

.ss-btn-confirm {
  background: #00BFFF;
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

