/* Flatpickr theme */
.flatpickr-calendar {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-radius: 12px;
  color: #1e293b;
}

.flatpickr-months { background: #e2e8f0; border-radius: 12px 12px 0 0; }
.flatpickr-current-month { color: #334155; font-weight: 600; }
.flatpickr-weekdays { background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.flatpickr-weekday { color: #475569; font-weight: 600; font-size: 0.8rem; }

.flatpickr-day {
  color: #334155;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.flatpickr-day:hover { background: #e2e8f0; color: #0f172a; }

.flatpickr-day.today {
  background: #cbd5e1;
  color: #0f172a;
  font-weight: 700;
}

.flatpickr-day.selected {
  background: #64748b;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 0 2px #94a3b8 inset;
}

.flatpickr-day.disabled {
  color: #cbd5e1;
  background: #f8fafc;
}

.flatpickr-prev-month,
.flatpickr-next-month { color: #475569; }

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover { color: #1e293b; }

/* Plugin UI */
.ww-wrapper {
  max-width: 650px;
  margin: 40px auto;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ww-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.2;
}

.ww-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: .9rem;
  margin-bottom: 24px;
}

.ww-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ww-grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.ww-field { margin-bottom: 16px; }

.ww-field label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.ww-field input,
.ww-field select {
  width: 100%;
  padding: 10px 12px !important;
  border: 1px solid #d1d5db !important;
  /* border-radius: 10px !important; */
  font-size: 1rem;
  background: #f9fafb;
  transition: all .2s ease;
  height: 48px;
}

.ww-field input:focus,
.ww-field select:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.ww-btn {
  width: 100%;
  background: #2563eb;
  color: white;
  padding: 14px;
  border: none;
  /* border-radius: 10px !important; */
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.ww-btn:hover { 
    background: #000000; 
    color: white;
}

.ww-note {
  margin-top: 12px;
  font-size: .85rem;
  color: #6b7280;
  text-align: center;
}

.ww-event-title-line1 {
  display: block;
  font-size: 1.5rem;
  color: #475569;
}

.ww-event-title-line2 {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
}

.ww-availability {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  transition: color .2s ease;
}

.ww-info {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin: 10px 0;
  text-align: center;
}

@media(max-width:640px) {
  .ww-grid2,
  .ww-grid3 { grid-template-columns: 1fr; }

  .ww-wrapper { padding: 24px; }

  .ww-event-title-line1 { font-size: 1rem; }
  .ww-event-title-line2 { font-size: 1.4rem; }
}
