:root {
  font-family: "DM Sans", sans-serif;
  color: #29251f;
  background: #f7f6f3;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #29251f;
  --muted: #817b72;
  --line: #e9e5de;
  --gold: #b78b43;
  --green: #23734c;
  --red: #b4433e;
  --panel: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 50px;
}
.brand {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}
.brand span {
  color: var(--gold);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 700;
  color: var(--gold);
  margin: 8px 0;
}
.muted,
.updated,
.stat-note {
  color: var(--muted);
}
.topbar,
.top-actions,
.page-heading,
.panel-heading,
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.topbar .eyebrow {
  margin-bottom: 0;
}
.top-actions {
  flex-wrap: wrap;
}
.admin-label {
  font-size: 12px;
  color: var(--muted);
}
.online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3c9a68;
  margin-right: 6px;
}
.page-heading {
  padding: 32px 0 22px;
}
.page-heading h1,
.login-panel h1 {
  font:
    700 clamp(30px, 4vw, 42px) "Playfair Display",
    serif;
  margin: 4px 0;
}
.page-heading .muted {
  margin: 6px 0;
  font-size: 14px;
}
.updated {
  font-size: 12px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.stat-card,
.bookings-panel,
.login-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.stat-card {
  padding: 19px;
  min-height: 125px;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.stat-card strong {
  display: block;
  font-size: 28px;
  margin: 12px 0 5px;
  letter-spacing: -0.04em;
}
.stat-note {
  font-size: 10px;
}
.bookings-panel {
  margin-top: 22px;
  padding: 22px;
}
.panel-heading {
  margin-bottom: 20px;
}
.panel-heading h2 {
  font:
    700 25px "Playfair Display",
    serif;
  margin: 0;
}
.result-count {
  font-size: 12px;
  color: var(--muted);
}
.filters {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 180px 150px 150px auto;
  gap: 9px;
  margin-bottom: 16px;
}
.filters input,
.filters select,
.login-panel input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 11px;
  background: #fff;
  color: var(--ink);
  font:
    13px "DM Sans",
    sans-serif;
}
.quiet-btn,
.primary-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font:
    600 12px "DM Sans",
    sans-serif;
  cursor: pointer;
}
.quiet-btn:hover {
  border-color: #c8b58e;
}
.quiet-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.primary-btn {
  width: 100%;
  height: 44px;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  margin-top: 16px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px 12px;
  border-bottom: 1px solid #f0ede8;
  font-size: 12px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.client-name {
  font-weight: 700;
  font-size: 13px;
}
.client-email {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
}
.status-paid {
  color: #1f7048;
  background: #eaf5ee;
}
.status-pending {
  color: #91651c;
  background: #fbf2df;
}
.status-failed {
  color: #a23c37;
  background: #faeae8;
}
.contact-link {
  color: #76531f;
  text-decoration: none;
  font-weight: 700;
}
.contact-link:hover {
  text-decoration: underline;
}
.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 32px;
}
.pagination {
  padding-top: 17px;
  color: var(--muted);
  font-size: 12px;
}
.pagination > div {
  display: flex;
  gap: 8px;
}
footer {
  text-align: center;
  color: #a39c91;
  font-size: 11px;
  padding-top: 25px;
}
.login-panel {
  width: min(420px, 100%);
  margin: 8vh auto;
  padding: 32px;
}
.login-panel h1 {
  font-size: 32px;
  margin-top: 24px;
}
.login-panel .muted {
  font-size: 13px;
  line-height: 1.6;
}
.login-panel form {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}
.login-panel label {
  font-size: 12px;
  font-weight: 600;
}
.back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.feedback {
  font-size: 12px;
  color: var(--red);
  min-height: 18px;
}
.global-feedback {
  margin: 0 0 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .filters {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .search-wrap {
    grid-column: span 3;
  }
}
@media (max-width: 600px) {
  .shell {
    width: calc(100% - 24px);
    padding-top: 18px;
  }
  .topbar,
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .page-heading {
    gap: 5px;
    padding: 24px 0 18px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .stat-card {
    padding: 14px;
    min-height: 110px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  .bookings-panel {
    padding: 14px;
    margin-top: 14px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .search-wrap {
    grid-column: span 2;
  }
  .filters label:nth-of-type(3),
  .filters label:nth-of-type(4) {
    min-width: 0;
  }
  .filters input,
  .filters select {
    font-size: 11px;
    padding: 0 7px;
  }
  .panel-heading h2 {
    font-size: 22px;
  }
  .updated {
    margin: 0;
  }
}

.client-phone {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.event-location-cell {
  white-space: normal;
  min-width: 220px;
  max-width: 320px;
  line-height: 1.45;
}
.event-location-block {
  display: grid;
  gap: 4px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.event-location-name {
  font-size: 12px;
  color: var(--ink);
}
.event-location-address {
  display: block;
  color: var(--muted);
  font-size: 11px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

/* Unified online/offline booking management */
.stats-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.panel-heading-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.add-booking-btn {
  width: auto;
  margin: 0;
  white-space: nowrap;
  padding: 0 16px;
}
.filters {
  grid-template-columns: minmax(220px, 1fr) 150px 170px 140px 140px auto;
}
.source-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 18px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
}
.source-online {
  color: #315d8b;
  background: #eaf1fa;
}
.source-offline {
  color: #77571f;
  background: #f7f0df;
}
.status-partially_paid {
  color: #76531f;
  background: #f7efdc;
}
.status-cancelled {
  color: #765b5b;
  background: #f1eaea;
}
.status-failed {
  color: #a23c37;
  background: #faeae8;
}
.event-location-cell {
  white-space: normal;
  min-width: 210px;
  max-width: 300px;
  line-height: 1.45;
}
.event-location-block {
  display: grid;
  gap: 4px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.event-location-name {
  font-size: 12px;
  color: var(--ink);
}
.event-location-address {
  display: block;
  color: var(--muted);
  font-size: 11px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.row-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.receipt-action-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.table-action-btn {
  border: 1px solid #d9c9a8;
  border-radius: 6px;
  background: #fffaf0;
  color: #76531f;
  font:
    600 11px "DM Sans",
    sans-serif;
  padding: 7px 9px;
  cursor: pointer;
  white-space: nowrap;
}
.table-action-btn:hover {
  background: #f7efdf;
}
.table-action-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.table-action-btn-whatsapp {
  border-color: #b7dcc7;
  background: #f2faf5;
  color: var(--green);
}
.table-action-btn-whatsapp:hover {
  background: #e4f5eb;
}

.table-action-btn-print {
  border-color: #c8b58e;
  background: #f7f4ee;
  color: var(--ink);
}
.table-action-btn-print:hover {
  background: #ece5d8;
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(29, 25, 20, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}
.admin-modal-overlay[hidden] {
  display: none !important;
}
.admin-modal-dialog {
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}
.payment-modal-dialog {
  width: min(560px, 100%);
}
.admin-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.admin-modal-header h2 {
  font:
    700 27px "Playfair Display",
    serif;
  margin: 0 0 5px;
}
.admin-modal-header .muted {
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}
.modal-close-btn {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.admin-form-grid > label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  font:
    13px "DM Sans",
    sans-serif;
}
.admin-form-grid input,
.admin-form-grid select {
  height: 40px;
}
.admin-form-grid textarea {
  resize: vertical;
}
.full-span {
  grid-column: 1/-1;
}
.address-section {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  margin-top: 4px;
}
.address-section > .eyebrow {
  margin: 0 0 12px;
}
.address-grid {
  gap: 11px;
}
.payment-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: #f8f4eb;
  border: 1px solid #eee5d5;
  border-radius: 9px;
  padding: 13px;
}
.payment-preview > div {
  display: grid;
  gap: 5px;
}
.payment-preview span {
  font-size: 10px;
  color: var(--muted);
}
.payment-preview strong {
  font-size: 16px;
  color: var(--ink);
}
.policy-confirm {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 9px !important;
  background: #fbf8f1;
  border-radius: 8px;
  padding: 12px;
  line-height: 1.5;
  font-weight: 500 !important;
}
.policy-confirm input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: #76531f;
}
.modal-feedback {
  min-height: 16px;
  margin: 0;
  color: var(--red);
  font-size: 12px;
}
.modal-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 5px;
}
.modal-form-actions .primary-btn {
  width: auto;
  min-width: 180px;
  margin: 0;
}
.modal-form-actions .quiet-btn {
  height: 44px;
  min-width: 90px;
}
@media (max-width: 1150px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .filters {
    grid-template-columns: minmax(200px, 1fr) 1fr 1fr;
  }
  .search-wrap {
    grid-column: span 3;
  }
}
@media (max-width: 900px) {
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel-heading-actions {
    width: 100%;
    justify-content: space-between;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .search-wrap {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-heading-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .add-booking-btn {
    width: 100%;
  }
  .admin-modal-overlay {
    padding: 8px;
  }
  .admin-modal-dialog {
    max-height: calc(100vh - 16px);
    padding: 18px;
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .full-span {
    grid-column: 1;
  }
  .payment-preview {
    grid-template-columns: 1fr;
  }
  .modal-form-actions {
    flex-direction: column-reverse;
  }
  .modal-form-actions .primary-btn,
  .modal-form-actions .quiet-btn {
    width: 100%;
  }
}

.payment-choice-note {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  text-transform: none;
}
.receipt-note-sent {
  color: var(--green);
}
.receipt-note-error {
  color: var(--red);
}

.payment-preview-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.offline-travel-status {
  margin: 0;
  padding: 9px 11px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #faf8f4;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.offline-travel-status.is-free {
  border-color: #bfe0cb;
  background: #eef8f1;
  color: var(--green);
}
.offline-travel-status.is-chargeable {
  border-color: #e2c58a;
  background: #fff8e8;
  color: #76531f;
}
.offline-travel-status.is-unavailable {
  border-color: #eabcb7;
  background: #fff1ef;
  color: var(--red);
}

@media (max-width: 720px) {
  .payment-preview-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Offline modal date trigger & selected date summary */
.offline-date-field {
  display: grid;
  gap: 6px;
}
.offline-field-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.offline-date-trigger {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font:
    500 13px "DM Sans",
    sans-serif;
  text-align: left;
  cursor: pointer;
}
.offline-date-trigger:hover {
  border-color: #c8b58e;
  background: #fffdf9;
}
.offline-date-trigger-badge {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f7f0df;
  color: #76531f;
  font-size: 10px;
  font-weight: 700;
}
.offline-schedule-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid #eadcc5;
  border-radius: 8px;
  background: #fdfaf4;
}
.offline-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid #e2cfa9;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  color: #312418;
}
.offline-summary-pill em {
  font-style: normal;
  font-weight: 700;
  color: #a87515;
}
.schedule-date-feedback {
  margin: -4px 0 0;
  min-height: 0;
  font-size: 11px;
  color: var(--red);
}
.schedule-date-feedback:empty {
  display: none;
}

/* Multi-date stack in bookings table */
.event-dates-cell {
  white-space: normal;
  min-width: 160px;
}
.event-dates-stack {
  display: grid;
  gap: 4px;
}
.event-date-line {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}
.event-date-tag {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 6px;
  border-radius: 10px;
  background: #f5efe3;
  color: #76531f;
  font-size: 10px;
  font-weight: 600;
}

/* Branded calendar date picker (matched to index.html / style.css) */
.event-date-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(24, 19, 14, 0.58);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.event-date-overlay.hidden {
  display: none !important;
}
.event-date-dialog {
  width: min(100%, 430px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: 10px;
  background: #fff;
  color: #312418;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  animation: eventCalendarIn 0.18s ease-out;
}
.event-date-header {
  padding: 22px 26px 20px;
  background: #312418;
  color: #fff;
}
.event-date-header > p {
  margin: 0 0 18px;
  color: #e1a932;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
}
.event-date-selected-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.event-date-selected-row strong {
  font-size: clamp(1.65rem, 6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
}
.event-date-edit {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.event-date-calendar {
  padding: 16px 18px 22px;
}
.event-date-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.event-date-month-year {
  display: flex;
  gap: 5px;
  min-width: 0;
}
.event-date-month-year select {
  max-width: 150px;
  min-width: 0;
  border: 0;
  background: #fff;
  color: #312418;
  padding: 8px 4px;
  font:
    600 0.95rem "DM Sans",
    sans-serif;
  cursor: pointer;
}
.event-date-month-year select:focus-visible,
.event-date-nav button:focus-visible,
.event-date-day:focus-visible,
.event-date-actions button:focus-visible {
  outline: 2px solid #e1a932;
  outline-offset: 2px;
}
.event-date-nav {
  display: flex;
  gap: 8px;
}
.event-date-nav button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #312418;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.event-date-nav button:hover {
  background: #f7f3ec;
}
.event-date-weekdays,
.event-date-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}
.event-date-weekdays {
  margin-bottom: 8px;
  color: #776d61;
  font-size: 0.76rem;
  font-weight: 700;
}
.event-date-weekdays span {
  padding: 7px 0;
}
.event-date-days {
  row-gap: 4px;
}
.event-date-day,
.event-date-empty {
  width: 38px;
  height: 38px;
  justify-self: center;
}
.event-date-day {
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #312418;
  font-size: 0.9rem;
  cursor: pointer;
}
.event-date-day:hover:not(:disabled) {
  background: #f7f0e2;
}
.event-date-day.is-selected {
  background: #e1a932;
  color: #312418;
  font-weight: 700;
}
.event-date-day:disabled {
  color: #c8c1b8;
  cursor: not-allowed;
}
.event-date-day.is-booked {
  background: #fdecec;
  color: #9b3029;
  text-decoration: line-through;
  cursor: not-allowed;
}
.event-ceremony-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee7dc;
  font-size: 0.84rem;
}
.event-ceremony-bar label {
  font-weight: 600;
  color: #312418;
}
.event-ceremony-bar select {
  border: 1.5px solid #d7cbb8;
  border-radius: 6px;
  padding: 6px 10px;
  background: #fdfaf4;
  color: #312418;
  font:
    600 0.84rem "DM Sans",
    sans-serif;
  cursor: pointer;
}
.event-selected-dates-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  max-height: 150px;
  overflow-y: auto;
}
.event-selected-date-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #eadcc5;
  border-radius: 7px;
  background: #fdfaf4;
  font-size: 0.82rem;
}
.event-selected-date-chip select {
  border: 1px solid #d7cbb8;
  border-radius: 5px;
  padding: 3px 6px;
  background: #fff;
  color: #312418;
  font-size: 0.78rem;
}
.event-remove-date-btn {
  border: 0;
  background: transparent;
  color: #9b3029;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.event-date-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid #eee7dc;
}
.event-date-actions button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 10px 12px;
  color: #312418;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}
.event-date-actions button:last-child {
  color: #a87515;
}
.event-date-actions button:hover {
  background: #f7f3ec;
}
@keyframes eventCalendarIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 420px) {
  .event-date-header {
    padding: 18px 18px 16px;
  }
  .event-date-calendar {
    padding: 12px 8px 18px;
  }
  .event-date-day,
  .event-date-empty {
    width: 35px;
    height: 35px;
  }
  .event-date-month-year select {
    max-width: 126px;
    font-size: 0.86rem;
  }
}
