
/* Minimal calendar styles for Barber Agendamento */
.bb-calendar {
  position: absolute;
  z-index: 9999;
  width: 100%; max-width: 480px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  font-family: inherit;
  padding: 8px 8px 12px;
}
.bb-calendar.hidden { display: none; }
.bb-cal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px 8px; font-weight: 600;
}
.bb-cal-nav {
  display: flex; gap: 6px;
}
.bb-cal-btn {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
}
.bb-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 6px 8px 0;
}
.bb-cal-weekday { text-align: center; font-size: 12px; color: #64748b; padding: 4px 0; }
.bb-cal-day {
  height: 34px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #f8fafc;
  cursor: pointer;
}
.bb-cal-day:hover { background: #eef2ff; }
.bb-cal-day.is-today { border-color: #94a3b8; }
.bb-cal-day.is-other { opacity: .45; }
.bb-cal-day.is-disabled { opacity: .35; cursor: not-allowed; background: #f1f5f9; }
.bb-cal-day.is-selected { background: #e0e7ff; border-color: #6366f1; }
.bb-date-wrap { position: relative; }
.bb-date-input { width: 100%; }

/* Inline mode (always visible) */
.bb-calendar.inline { position: static; margin-top: 8px; }

.bb-calendar {
  margin-top: 8px;
}
.bb-cal-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.bb-cal-day {
  height: 48px;
  font-size: 15px;
}

.bb-date-wrap {
  display: flex;
  justify-content: center;
}
.bb-calendar {
  margin-left: auto;
  margin-right: auto;
}

/* Hide the text input and center the calendar */
.bb-date-input {
  display: none !important;
}
.bb-date-wrap {
  display: flex;
  justify-content: center;
}
.bb-date-wrap .bb-calendar {
  margin: 0 auto;
}

/* Highlight selected day */
.bb-cal-day.is-selected {
  background: #4f46e5 !important; /* Indigo */
  color: #fff !important;
  font-weight: bold;
  border-color: #4338ca !important;
}


/* === Overrides: Remove shadow from calendar === */
.bb-calendar, 
.bb-calendar * , 
.bb-slots, 
.bb-slots * {
  box-shadow: none !important;
}

