.fotogram-shortcode-center {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.fotogram-booking {
  width: 100%;
  max-width: 1800px;
  --fotogram-bg: #ffffff;
  --fotogram-surface: #ffffff;
  --fotogram-text: #111827;
  --fotogram-muted: #6b7280;
  --fotogram-border: #e5e7eb;
  --fotogram-accent: #2563eb;
  --fotogram-accent-soft: #eff6ff;
  --fotogram-chip: #f3f4f6;
  --fotogram-chip-hover: #e5e7eb;
  --fotogram-success: #166534;
  --fotogram-error: #b91c1c;
  --fotogram-glass: rgba(255, 255, 255, 0.62);
  --fotogram-glass-strong: rgba(255, 255, 255, 0.78);
  --fotogram-glass-border: rgba(255, 255, 255, 0.55);
  --fotogram-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  color: var(--fotogram-text);
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 14px;
  background: radial-gradient(1200px 600px at 15% 0%, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0.00) 60%),
    radial-gradient(900px 520px at 90% 10%, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.00) 62%),
    rgba(255, 255, 255, 0.01);
}

.fotogram-booking::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(520px 340px at 25% 15%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.00) 60%),
    radial-gradient(520px 340px at 80% 20%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.00) 60%);
  pointer-events: none;
  filter: blur(0px);
}

.fotogram-booking > * {
  position: relative;
  z-index: 1;
}

.fotogram-booking button {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  line-height: 1.2;
}

.fotogram-booking-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--fotogram-glass-border);
  border-radius: 18px;
  background: var(--fotogram-glass);
  box-shadow: var(--fotogram-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  position: relative;
  overflow: hidden;
}

.fotogram-booking-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 40%, rgba(255, 255, 255, 0.42) 100%);
  opacity: 0.85;
  pointer-events: none;
}

.fotogram-booking-panel > * {
  position: relative;
  z-index: 1;
}

.fotogram-booking-left {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.fotogram-booking-right {
  min-width: 0;
}

@media (min-width: 1024px) {
  .fotogram-booking-panel {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.fotogram-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.fotogram-field input,
.fotogram-field select,
.fotogram-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--fotogram-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--fotogram-text);
}

.fotogram-field input:focus,
.fotogram-field select:focus,
.fotogram-field textarea:focus {
  outline: 2px solid var(--fotogram-accent-soft);
  border-color: var(--fotogram-accent);
}

.fotogram-package-details {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fotogram-muted);
}

.fotogram-calendar-nav {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin: 6px 0 10px;
}

.fotogram-booking .fotogram-calendar-nav button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border-radius: 14px;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
}

.fotogram-booking .fotogram-calendar-nav button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.92) !important;
}

.fotogram-booking .fotogram-calendar-nav button:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.10);
}

.fotogram-calendar-title {
  text-align: center;
  font-weight: 700;
}

.fotogram-table {
  width: 100%;
  border-collapse: collapse;
}

.fotogram-table th,
.fotogram-table td {
  border: 1px solid rgba(229, 231, 235, 0.8);
  padding: 8px;
  text-align: center;
}

.fotogram-empty {
  background: #fafafa;
}

.fotogram-day {
  width: 100%;
  padding: 12px 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  color: var(--fotogram-text);
}

.fotogram-day.is-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
}

.fotogram-day.is-available {
  background: var(--fotogram-accent-soft);
  border-color: rgba(37, 99, 235, 0.18);
}

.fotogram-day.is-available::after {
  content: attr(data-count);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--fotogram-accent);
}

.fotogram-day.is-selected {
  background: var(--fotogram-accent);
  border-color: var(--fotogram-accent);
  color: #fff;
}

.fotogram-times-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.fotogram-times-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fotogram-time {
  padding: 8px 10px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1 !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  font-weight: 700;
  font-size: 14px !important;
  min-width: 52px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
}

.fotogram-time:hover {
  background: rgba(255, 255, 255, 0.9);
}

.fotogram-time.is-selected {
  background: rgba(17, 24, 39, 0.92);
  border-color: rgba(17, 24, 39, 0.92);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.fotogram-actions {
  margin-top: 8px;
}

.fotogram-consent {
  margin-top: 10px;
}

.fotogram-booking-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--fotogram-muted);
}

.fotogram-consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--fotogram-text);
}

.fotogram-consent-checkbox {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--fotogram-accent);
}

.fotogram-consent a {
  color: var(--fotogram-accent);
  text-decoration: none;
  font-weight: 700;
}

.fotogram-consent a:hover {
  text-decoration: underline;
}

.fotogram-submit {
  border-radius: 10px;
  padding: 10px 14px;
}

.fotogram-submit.is-loading {
  opacity: 0.7;
}

.fotogram-result {
  margin-top: 10px;
  min-height: 20px;
  font-size: 14px;
}

.fotogram-result[data-type="success"] {
  color: var(--fotogram-success);
}

.fotogram-result[data-type="error"] {
  color: var(--fotogram-error);
}

.fotogram-my-bookings {
  max-width: 900px;
  --fotogram-bg: #ffffff;
  --fotogram-surface: #ffffff;
  --fotogram-text: #111827;
  --fotogram-muted: #6b7280;
  --fotogram-border: #e5e7eb;
  --fotogram-success: #166534;
  --fotogram-error: #b91c1c;
  color: var(--fotogram-text);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
}

.fotogram-my-bookings-title {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}

.fotogram-my-bookings-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.fotogram-my-bookings-table th,
.fotogram-my-bookings-table td {
  border: 1px solid var(--fotogram-border);
  padding: 8px;
  text-align: left;
}

.fotogram-my-bookings-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fotogram-my-bookings-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: #111827;
  -webkit-text-fill-color: #111827;
  font-weight: 800;
  cursor: pointer;
}

.fotogram-my-bookings-btn:hover {
  background: rgba(255, 255, 255, 0.92);
}

.fotogram-my-bookings-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.fotogram-my-bookings-edit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.fotogram-my-bookings-edit-row input,
.fotogram-my-bookings-edit-row select {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #111827;
  -webkit-text-fill-color: #111827;
}

.fotogram-my-bookings-empty {
  margin-top: 12px;
  color: #6b6b6b;
}

.fotogram-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.42);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
}

.fotogram-modal-panel {
  width: min(520px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  padding: 16px;
}

.fotogram-modal-title {
  font-weight: 900;
  font-size: 18px;
  color: #111827;
  margin-bottom: 10px;
}

.fotogram-modal-body {
  color: #111827;
  font-size: 14px;
}

.fotogram-modal-line {
  margin: 0 0 6px;
  color: #111827;
}

.fotogram-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.fotogram-modal-primary,
.fotogram-modal-secondary {
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.fotogram-modal-primary {
  background: rgba(37, 99, 235, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.6);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.fotogram-modal-secondary {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 24, 39, 0.10);
  color: #111827;
  -webkit-text-fill-color: #111827;
}
