/* ============================================================
   MyBooking.ai - Checkout Flow Styles
   Plik: static/css/checkout.css

   Glass-morphism design w stylu reszty systemu.
   Pełna obsługa dark mode i mobile.
   ============================================================ */

/* === MODAL OVERLAY (gdy AJAX) === */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: overlayFadeIn 0.3s ease;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.checkout-modal-wrapper {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  max-height: 95vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === HERO SECTION === */
.checkout-hero {
  position: relative;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.checkout-hero-image {
  position: absolute;
  inset: 0;
}

.checkout-hero-image .hero-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 1;
}

.checkout-hero-image .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.checkout-hero-image .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 3;
}

.checkout-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.checkout-close-btn:hover {
  transform: scale(1.1) rotate(90deg);
  background: white;
}

.checkout-hero-content {
  position: absolute;
  bottom: 16px;
  left: 24px;
  right: 80px;
  z-index: 5;
  color: white;
}

.hero-property-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.hero-room-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-location {
  font-size: 0.85rem;
  opacity: 0.95;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* === STEPPER === */
.checkout-stepper {
  position: relative;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.stepper-track {
  position: absolute;
  top: 38px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  z-index: 1;
}

.stepper-progress {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stepper-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}

.stepper-step .step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.stepper-step .step-label {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
  transition: color 0.3s;
}

.stepper-step.active .step-icon {
  border-color: #667eea;
  color: #667eea;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.stepper-step.active .step-label {
  color: #667eea;
  font-weight: 600;
}

.stepper-step.completed .step-icon {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  border-color: transparent;
  color: white;
}

.stepper-step.completed .step-label {
  color: #11998e;
}

/* === BODY (Steps Container) === */
.checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  scroll-behavior: smooth;
}

.checkout-step {
  display: none;
  animation: stepFadeIn 0.4s ease;
}

.checkout-step.active {
  display: block;
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-header {
  margin-bottom: 24px;
}

.step-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1a202c;
}

.step-header .step-subtitle {
  color: #718096;
  font-size: 0.9rem;
  margin: 0;
}

/* === FORM === */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2d3748;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-field label i {
  font-size: 0.9rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field input[type="time"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fafbfc;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #e53e3e;
  background: rgba(229, 62, 62, 0.04);
}

.datetime-group {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
}

/* === AVAILABILITY INDICATOR === */
.availability-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f7fafc;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.availability-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e0;
  position: relative;
}

.availability-indicator.checking .availability-pulse {
  background: #ecc94b;
  animation: pulse 1.2s infinite;
}

.availability-indicator.available {
  background: rgba(72, 187, 120, 0.08);
  border-color: rgba(72, 187, 120, 0.3);
}

.availability-indicator.available .availability-pulse {
  background: #48bb78;
  box-shadow: 0 0 0 4px rgba(72, 187, 120, 0.2);
  animation: pulse 2s infinite;
}

.availability-indicator.available .availability-text {
  color: #2f855a;
  font-weight: 600;
}

.availability-indicator.unavailable {
  background: rgba(229, 62, 62, 0.06);
  border-color: rgba(229, 62, 62, 0.3);
}

.availability-indicator.unavailable .availability-pulse {
  background: #e53e3e;
}

.availability-indicator.unavailable .availability-text {
  color: #c53030;
  font-weight: 600;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* === PRICE PREVIEW === */
.price-preview {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
  border: 1.5px solid rgba(102, 126, 234, 0.2);
  border-radius: 14px;
  padding: 18px 20px;
  animation: priceSlideIn 0.4s ease;
}

@keyframes priceSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #4a5568;
  margin-bottom: 8px;
  font-weight: 600;
}

.price-preview-body {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.price-preview .price-amount {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-preview .price-details {
  font-size: 0.9rem;
  color: #718096;
}

.price-preview-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* === CONSENTS === */
.consents-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #f7fafc;
  border-radius: 12px;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  position: relative;
}

.consent-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.consent-checkbox .checkmark {
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background: white;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all 0.2s;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: transparent;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-checkbox .consent-text {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.5;
}

.consent-checkbox .consent-text a {
  color: #667eea;
  text-decoration: underline;
}

/* === ADDITIONAL GUESTS === */
.additional-guests-section {
  margin-top: 8px;
  padding: 16px;
  background: #f7fafc;
  border-radius: 12px;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: #2d3748;
  display: flex;
  align-items: center;
  gap: 8px;
}

.additional-guest-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

/* === ADD-ONS GRID === */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.addon-card {
  cursor: pointer;
  position: relative;
  display: block;
}

.addon-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.addon-card .addon-content {
  padding: 16px;
  background: #fafbfc;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  text-align: center;
  transition: all 0.25s ease;
  height: 100%;
}

.addon-card:hover .addon-content {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(102, 126, 234, 0.3);
}

.addon-card input:checked + .addon-content {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-color: #667eea;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.addon-card input:checked + .addon-content::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.addon-icon {
  font-size: 1.6rem;
  color: #667eea;
  margin-bottom: 10px;
}

.addon-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #2d3748;
  margin-bottom: 4px;
}

.addon-desc {
  font-size: 0.75rem;
  color: #718096;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 32px;
}

.addon-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #667eea;
}

/* === INVOICE === */
.invoice-section {
  margin-top: 16px;
  padding: 16px;
  background: #f7fafc;
  border-radius: 12px;
}

.invoice-toggle {
  margin-bottom: 12px;
}

.invoice-fields {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  animation: stepFadeIn 0.3s ease;
}

/* === ORDER SUMMARY === */
.order-summary {
  padding: 20px;
  background: #f7fafc;
  border-radius: 14px;
  margin-bottom: 20px;
}

.summary-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: #2d3748;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #4a5568;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
}

.summary-total-amount {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
}

.currency-selector select {
  padding: 4px 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  background: white;
  font-size: 0.85rem;
  cursor: pointer;
}

.converted-price {
  margin-left: auto;
}

/* === PAYMENT METHODS === */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-method-card {
  cursor: pointer;
  display: block;
  position: relative;
}

.payment-method-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-method-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  transition: all 0.25s ease;
  position: relative;
}

.payment-method-card:hover .payment-method-content {
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.payment-method-card input:checked + .payment-method-content {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.06), rgba(118, 75, 162, 0.06));
  border-color: #667eea;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
}

.payment-method-card input:checked + .payment-method-content::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: translateY(-50%);
}

.payment-method-card input:checked + .payment-method-content::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 22px;
  color: white;
  font-size: 0.7rem;
  transform: translateY(-50%);
}

.payment-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #667eea;
  flex-shrink: 0;
}

.payment-info {
  flex: 1;
}

.payment-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2d3748;
  margin-bottom: 2px;
}

.payment-desc {
  font-size: 0.8rem;
  color: #718096;
}

.payment-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.payment-badge-info {
  font-size: 0.75rem;
  color: #38a169;
  background: rgba(72, 187, 120, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* === VOUCHER === */
.voucher-section {
  margin-bottom: 16px;
}

.voucher-toggle {
  background: none;
  border: none;
  color: #667eea;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.voucher-toggle:hover {
  text-decoration: underline;
}

.voucher-input-wrapper {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  animation: stepFadeIn 0.3s ease;
}

.voucher-input-wrapper input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 0.9rem;
}

.btn-voucher-apply {
  padding: 10px 18px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-voucher-apply:hover {
  background: #5568d3;
}

.btn-voucher-apply:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* === VOUCHER FEEDBACK === */
.voucher-feedback {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInUp 0.3s ease-out;
}

.voucher-feedback.success {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.voucher-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.summary-row.voucher-discount-row {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.08) 0%, transparent 100%);
  padding: 8px 12px;
  border-radius: 6px;
  margin: 4px 0;
  border-left: 3px solid #22c55e;
}

@keyframes slideInUp {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* === SECURITY INFO === */
.security-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(72, 187, 120, 0.06);
  border-radius: 10px;
  font-size: 0.85rem;
  color: #2f855a;
}

/* === FOOTER === */
.checkout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafbfc;
  flex-shrink: 0;
  gap: 12px;
}

.btn-checkout-back,
.btn-checkout-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-checkout-back {
  background: white;
  color: #4a5568;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
}

.btn-checkout-back:hover {
  background: #f7fafc;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-checkout-next {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  margin-left: auto;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.btn-checkout-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-checkout-next:active {
  transform: translateY(0);
}

.checkout-footer-info {
  font-size: 0.8rem;
  color: #718096;
  font-weight: 500;
}

/* === ERRORS === */
.form-errors {
  padding: 12px 16px;
  background: rgba(229, 62, 62, 0.08);
  border: 1.5px solid rgba(229, 62, 62, 0.2);
  border-radius: 10px;
  animation: stepFadeIn 0.3s ease;
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.error-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #c53030;
}

/* === LOADING OVERLAY === */
.checkout-loading {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: 20px;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner-ring {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(102, 126, 234, 0.2);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 0.9rem;
  color: #4a5568;
  font-weight: 500;
}

/* === TOAST === */
.checkout-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  background: #2d3748;
  color: white;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 10001;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.checkout-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.checkout-toast.success {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.checkout-toast.error {
  background: linear-gradient(135deg, #eb3349, #f45c43);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .checkout-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .checkout-modal-wrapper {
    max-height: 100vh;
    height: 100vh;
    border-radius: 20px 20px 0 0;
    max-width: 100%;
  }

  .checkout-hero {
    height: 140px;
  }

  .hero-room-name {
    font-size: 1.3rem;
  }

  .checkout-stepper {
    padding: 16px 16px 12px;
  }

  .stepper-step .step-icon {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .stepper-step .step-label {
    font-size: 0.7rem;
  }

  .stepper-track {
    top: 34px;
    left: 40px;
    right: 40px;
  }

  .checkout-body {
    padding: 16px;
  }

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

  .datetime-group {
    grid-template-columns: 1fr 1fr;
  }

  .additional-guest-row {
    grid-template-columns: 1fr;
  }

  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-footer {
    padding: 12px 16px;
  }

  .btn-checkout-back,
  .btn-checkout-next {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .checkout-footer-info {
    display: none;
  }
}

@media (max-width: 480px) {
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

/* === PRINT (Confirmation page) === */
@media print {
  .checkout-stepper,
  .checkout-footer,
  .checkout-close-btn {
    display: none !important;
  }
}
