/* Estilos básicos para o modal e shortcodes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200&display=swap');

#hexp-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100%; height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.45);
  transition: background 0.3s;
  animation: hexp-fade-in 0.2s;
}
@keyframes hexp-fade-in {
  from { background: rgba(0,0,0,0); }
  to { background: rgba(0,0,0,0.45); }
}
.hexp-modal-content {
  background: #fff;
  margin: 40px auto 6% auto;
  padding: 28px 28px 18px 28px;
  border-radius: 16px;
  width: 95%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 8px 36px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.07);
  animation: hexp-modal-pop .25s cubic-bezier(.23,1.12,.97,.86);
}
@keyframes hexp-modal-pop {
  from { transform: scale(0.95) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.hexp-close {
  color: var(--hexp-btn, #aaa);
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: #fff;
  border: 2px solid var(--hexp-btn, #aaa);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.hexp-close:hover {
  background: var(--hexp-btn, #0073aa);
  color: #fff;
  border-color: var(--hexp-btn, #0073aa);
}
.hexp-status-open, .hexp-status-closed {
  font-size: 1em;
  font-weight: bold;
}
@media (max-width: 480px) {
  .hexp-status-open, .hexp-status-closed {
    font-size: 0.92em;
    padding: 2px 4px;
    word-break: break-word;
  }
}
.hexp-hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hexp-hours-table th, .hexp-hours-table td { border: 1px solid #eee; padding: 8px 10px; text-align: center; }
.hexp-hours-table .hexp-status-open { background: #e6ffe6; }
.hexp-hours-table .hexp-status-closed { background: #ffe6e6; }
.hexp-status-icon {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 17px;
  background: none;
  border: none;
  box-shadow: none;
  transition: box-shadow .2s, background .2s;
}
.hexp-status-icon:hover {
  background: none;
  box-shadow: none;
}
.hexp-status-icon svg { margin-right: 8px; }
.hexp-status-icon.hexp-status-open, .hexp-status-icon.hexp-status-closed {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 200;
  font-size: 0.97em;
  letter-spacing: 0.01em;
  padding: 0 4px;
  border-radius: 4px;
  background: none;
  box-shadow: none;
  line-height: 1.1;
}
.hexp-today {
  outline: 2px solid var(--hexp-today, #0073aa);
  background: var(--hexp-today-bg, #e9f5ff) !important;
  box-shadow: 0 0 0 3px var(--hexp-today-shadow, #d1ecff);
  border-radius: 8px;
}
.hexp-day-card {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 10px;
  margin-bottom: 0;
  transition: box-shadow .2s;
  background: #fff;
  padding: 10px 0;
}
.hexp-day-card.hexp-closed { background: #f8f8f8 !important; color: #aaa; }
.hexp-card-title { font-weight: 600; margin-bottom: 8px; font-size: 1.1em; }
.hexp-card-icon { font-size: 2em; margin-bottom: 6px; }
.hexp-card-tooltip { display: inline-block; margin-left: 4px; cursor: pointer; color: #0073aa; position: relative; }
.hexp-card-tooltip .hexp-tooltip-text { display: none; position: absolute; background: #222; color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 4px; top: 28px; left: 50%; transform: translateX(-50%); z-index: 10; min-width: 120px; }
.hexp-card-tooltip:hover .hexp-tooltip-text { display: block; }
.hexp-cards-wrap { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; }
/* Datas especiais/feriados */
.hexp-special-dates-section {
  background: #f9f7e6;
  border: 1px solid #ffe6a6;
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 12px 10px 6px 10px;
}
.hexp-special-dates-section .hexp-card-title {
  color: #c79a00;
  display: flex;
  align-items: center;
}
.hexp-special-dates-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2px;
}
.hexp-special-dates-section th, .hexp-special-dates-section td {
  border: 1px solid #ffe6a6;
  padding: 6px 8px;
  text-align: center;
}
.hexp-special-dates-section th {
  background: #fffbe0;
  color: #b38b00;
}
.hexp-special-dates-section td {
  background: #fffde7;
}
.hexp-special-dates-section .hexp-status-closed {
  color: #e03b3b;
  font-weight: bold;
}
@media (max-width: 700px) {
  .hexp-cards-wrap { flex-direction: column; gap: 10px; }
  .hexp-day-card { width: 100%; min-width: 0; }
  .hexp-modal-content { padding: 16px 6px 8px 6px; }
}
