body {
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(46,160,255,0.25), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #07101f, #050b16) !important;
}

.site-content,
.content-area,
.ast-container,
.ast-article-single {
  background: transparent !important;
}

.site-content {
  padding-top: 0 !important;
}

.lafit-page {
  padding: 20px 0 70px;
}

.lafit-page__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.lafit-grid-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.lafit-grid-header h3 {
  margin: 0 0 10px 0;
  color: #ffffff;
}

.lafit-grid-intro {
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.lafit-status {
  color: #cfe8ff;
  min-height: 22px;
  font-weight: 600;
}

.lafit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lafit-list-day {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15,27,45,0.88);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 34px rgba(0,0,0,0.45);
}

.lafit-day-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  text-align: left;
}

.lafit-day-row * {
  color: #ffffff !important;
}

.lafit-day-weekday {
  font-weight: 800;
  font-size: 18px;
}

.lafit-day-date {
  font-size: 14px;
  opacity: 0.75;
}

.lafit-list-day.is-open .lafit-day-row {
  background: linear-gradient(135deg, #2ea0ff, #1c6ed8) !important;
}

.lafit-caret::before {
  content: "›";
  font-size: 22px;
  transform: rotate(90deg);
  transition: 0.2s ease;
  display: inline-block;
}

.lafit-list-day.is-open .lafit-caret::before {
  transform: rotate(270deg);
}

.lafit-times {
  padding: 18px;
  background: rgba(18,31,52,0.92);
}

.lafit-slot {
  width: 100%;
  display: grid;
  grid-template-columns: 155px 110px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 24px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: #fff;
  cursor: pointer;
  transition: 0.22s ease;
  font-weight: 700;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.lafit-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.22s ease;
  pointer-events: none;
}

.lafit-slot:hover {
  transform: translateY(-2px);
}

.lafit-slot:hover::before {
  opacity: 1;
}

.lafit-time,
.lafit-label,
.lafit-meta {
  position: relative;
  z-index: 1;
}

.lafit-time {
  font-weight: 900;
  font-size: 17px;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1.1;
}

.lafit-label {
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  white-space: nowrap;
}

.lafit-meta {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.86);
  text-align: right;
  line-height: 1.4;
}

.lafit-free {
  background:
    linear-gradient(135deg, rgba(120,255,170,0.12), rgba(120,255,170,0.06)),
    rgba(255,255,255,0.04);
  border-color: rgba(120,255,170,0.24);
  box-shadow: inset 0 0 0 1px rgba(120,255,170,0.05);
}

.lafit-free::before {
  background: linear-gradient(135deg, rgba(46,160,255,0.35), rgba(28,110,216,0.35));
}

.lafit-free:hover {
  box-shadow: 0 0 28px rgba(46,160,255,0.25), 0 0 12px rgba(120,255,170,0.18);
}

.lafit-free .lafit-label {
  color: #c9ffda;
}

.lafit-pending {
  background:
    linear-gradient(135deg, rgba(255,190,90,0.14), rgba(255,190,90,0.08)),
    rgba(255,255,255,0.04);
  border-color: rgba(255,190,90,0.28);
  cursor: not-allowed;
}

.lafit-pending .lafit-label {
  color: #ffd79b;
}

.lafit-confirmed {
  background:
    linear-gradient(135deg, rgba(255,120,120,0.14), rgba(255,120,120,0.08)),
    rgba(255,255,255,0.04);
  border-color: rgba(255,120,120,0.26);
  cursor: not-allowed;
}

.lafit-confirmed .lafit-label {
  color: #ffb3b3;
}

.lafit-held,
.lafit-agreement {
  opacity: 0.62;
  cursor: not-allowed;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

.lafit-agreement .lafit-label {
  color: #ffd37a;
}

.lafit-empty-message {
  padding: 20px;
  text-align: center;
  opacity: 0.75;
  color: #fff;
}

footer,
.site-footer,
.ast-footer-wrap,
.ast-small-footer,
#colophon {
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(46,160,255,0.18), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #07101f, #050b16) !important;
  border-top: 1px solid rgba(255,255,255,0.06);
}

footer *,
.site-footer *,
.ast-footer-wrap *,
.ast-small-footer *,
#colophon * {
  color: rgba(255,255,255,0.78) !important;
}

footer a,
.site-footer a,
#colophon a {
  color: #2ea0ff !important;
}

html.lafit-modal-open {
  overflow: hidden;
}

#lafitChoiceModal,
#lafitGuestModal,
#lafitPaymentModal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.lafit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
}

.lafit-modal__card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 18px;
  background: rgba(10,20,36,0.985);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  color: #fff;
  padding: 18px 18px 16px;
}

.lafit-modal__title {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
}

.lafit-modal__line {
  font-size: 14px;
  margin: 10px 0;
  color: #ffffff;
}

.lafit-modal__slot {
  margin-top: 6px;
  margin-bottom: 8px;
  font-weight: 800;
  color: #ffffff;
}

.lafit-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.lafit-modal__btn,
.lafit-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #2ea0ff, #1c6ed8);
  box-shadow: 0 10px 26px rgba(46,160,255,0.35);
  transition: 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.lafit-modal__btn:hover,
.lafit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(46,160,255,0.55);
}

.lafit-modal__btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  box-shadow: none;
}

.lafit-modal__small {
  margin-top: 10px;
  font-size: 13px;
  min-height: 18px;
  text-align: center;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.lafit-modal__x {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: none;
  color: #ff4d4d;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.lafit-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.lafit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.lafit-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

.lafit-field input::placeholder {
  color: rgba(255,255,255,0.45);
}

.lafit-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: #ffffff;
  line-height: 1.5;
}

.lafit-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #2ea0ff;
}

.lafit-register-cta {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.5;
}

.lafit-register-link {
  align-self: flex-start;
  color: #7fd0ff;
  font-weight: 800;
  text-decoration: none;
}

.lafit-register-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.lafit-payment-qr-wrap {
  text-align: center;
  margin: 18px 0;
}

#lafitPaymentQr {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #ffffff;
  padding: 6px;
}

#lafitPaymentQrFallback {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
  .lafit-times {
    padding: 14px;
  }

  .lafit-slot {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }

  .lafit-meta {
    text-align: left;
  }

  .lafit-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .lafit-page__inner {
    padding: 0 12px;
  }

  .lafit-modal__card {
    width: min(100% - 20px, 560px);
    padding: 16px 14px 14px;
  }

  .lafit-modal__actions {
    flex-direction: column;
  }
}
