:root {
  --lc-bg: #f3f4f6;
  --lc-card: #ffffff;
  --lc-text: #111827;
  --lc-muted: #6b7280;
  --lc-border: #e5e7eb;
  --lc-primary: #111827;
  --lc-green: #10b981;
  --lc-red: #ef4444;
  --lc-radius: 18px;
}

body.litecal-page {
  background: var(--lc-bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--lc-text);
}

.lc-wrap {
  max-width: 980px;
  margin: 60px auto;
  padding: 0 20px;
}

.lc-card {
  background: var(--lc-card);
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  overflow: hidden;
}

.lc-stage-form,
.lc-stage-success {
  display: none;
}

.lc-card.is-form {
  grid-template-columns: 280px 1fr;
}

.lc-card.is-form .lc-stage-select {
  display: none;
}

.lc-card.is-form .lc-stage-form {
  display: block;
}

.lc-card.is-success {
  grid-template-columns: 1fr;
}

.lc-card.is-success .lc-panel-left,
.lc-card.is-success .lc-stage-select,
.lc-card.is-success .lc-stage-form {
  display: none;
}

.lc-card.is-success .lc-stage-success {
  display: block;
}

.lc-panel {
  padding: 26px;
  border-right: 1px solid var(--lc-border);
}

.lc-panel:last-child {
  border-right: none;
}

.lc-panel-left {
  background: #fafafa;
  position: relative;
}

.lc-host-mini {
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--lc-muted);
}

.lc-host-mini img,
.lc-host-fallback {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid var(--lc-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #1f2937;
}

.lc-title {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 6px;
}

.lc-host {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--lc-muted);
  letter-spacing: 1px;
}

.lc-desc {
  color: var(--lc-muted);
  font-size: 13px;
  line-height: 1.5;
}

.lc-return-banner {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.lc-desc a {
  color: var(--lc-primary);
  text-decoration: underline;
}

.lc-payment-choice {
  display: grid;
  gap: 8px;
}

.lc-payment-options {
  display: grid;
  gap: 8px;
}

.lc-payment-option {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
}

.lc-payment-option:has(.lc-payment-radio:checked) {
  border-color: var(--lc-accent);
  background: #f8fafc;
}

.lc-payment-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lc-payment-text {
  display: grid;
  gap: 2px;
}

.lc-payment-text strong {
  font-size: 13px;
  color: #0f172a;
}

.lc-payment-text small {
  font-size: 11px;
  color: #6b7280;
}

.lc-payment-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.lc-payment-radio {
  margin: 0;
  accent-color: var(--lc-accent);
}

.lc-payment-option.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lc-payment-option .lc-payment-radio:checked + .lc-payment-brand {
  font-weight: 600;
}

.lc-payment-option .lc-payment-radio:checked {
  outline: none;
}

.lc-payment-option small {
  color: #64748b;
  font-size: 11px;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 999px;
}

.lc-meta {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--lc-muted);
}

.lc-meta i,
.lc-meta .lc-icon-svg,
.lc-meta .lc-location-logo {
  margin-right: 6px;
  color: var(--lc-primary);
}

.lc-summary {
  margin-top: 20px;
  background: #f5f6f8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--lc-muted);
}

.lc-step {
  margin-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--lc-muted);
  letter-spacing: 1px;
}

.lc-calendar {
  display: grid;
  gap: 12px;
}

.lc-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}

.lc-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.lc-cal-day {
  text-align: center;
  font-size: 11px;
  color: var(--lc-muted);
}

.lc-date {
  border-radius: 10px;
  padding: 10px 0;
  text-align: center;
  background: #f3f4f6;
  cursor: pointer;
  font-size: 12px;
  color: #111827;
}

.lc-date.is-active {
  background: var(--lc-accent, #111827);
  color: var(--lc-accent-text, #fff);
}

.lc-date.is-disabled {
  background: #f3f4f6;
  color: #cbd5e1;
  cursor: not-allowed;
}

.lc-slots-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--lc-muted);
}

.lc-toggle {
  border: 1px solid var(--lc-border);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  color: var(--lc-muted);
}

.lc-slots {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.lc-slot {
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
  line-height: 1;
  background: #fff;
  gap: 8px;
}

.lc-slot.is-unavailable {
  opacity: 0.45;
  color: #9ca3af;
  text-decoration: line-through;
  cursor: not-allowed;
}

.lc-slot span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lc-green);
  display: inline-block;
}

.lc-slot.is-unavailable span.dot {
  background: var(--lc-red);
}

.lc-slot.is-cancelled span.dot {
  background: var(--lc-red);
}
.lc-slot.is-cancelled {
  opacity: 0.5;
  color: #9ca3af;
}

.lc-slot.is-selected {
  border-color: var(--lc-accent, #111827);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.lc-form {
  display: grid;
  gap: 10px;
}

.lc-field-group {
  display: grid;
  gap: 6px;
}

.lc-inline-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--lc-muted);
}

.lc-form label {
  font-size: 12px;
  color: var(--lc-muted);
}

.lc-form input,
.lc-form textarea,
.lc-form select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--lc-border);
  font-size: 13px;
  line-height: 1;
}

.iti {
  width: 100%;
}

.lc-btn {
  background: var(--lc-accent, #111827);
  color: var(--lc-accent-text, #fff);
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  cursor: pointer;
}

.lc-next {
  margin-top: 12px;
  width: 100%;
}

.lc-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.lc-link {
  border: none;
  background: transparent;
  color: var(--lc-muted);
  cursor: pointer;
  font-size: 12px;
}

.lc-form-actions {
  margin-top: 6px;
}

.lc-success {
  text-align: center;
  padding: 40px 20px;
}

.lc-success-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.lc-success-card {
  text-align: left;
  margin: 18px auto 0;
  max-width: 380px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  color: var(--lc-muted);
}

.lc-icon-svg {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 6px;
  color: #111827;
}

.lc-location-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -3px;
}

.lc-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--lc-muted);
}

@media (max-width: 1024px) {
  .lc-card,
  .lc-card.is-form {
    grid-template-columns: 1fr;
  }
  .lc-panel {
    border-right: none;
    border-bottom: 1px solid var(--lc-border);
  }
  .lc-panel:last-child {
    border-bottom: none;
  }
}
.lc-form input {
  width: auto;
}

.lc-payment-summary {
  margin-top: 6px;
  font-size: 13px;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 0;
}

.lc-payment-note {
  margin-top: 4px;
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 20px;
}
