/* ── aml_marketplace — listing, voucher & validation pages ─────────── */

/* ── Listing page ────────────────────────────────────────────────── */

.mp-listing-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}

.mp-listing-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

@media (max-width: 800px) {
  .mp-listing-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .mp-listing-wrap {
    padding: 32px 20px 60px;
  }
}

/* Left col — listing details */

.mp-listing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-green, #2a7a4b);
  margin: 0 0 14px;
}

.mp-listing-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--hp-navy, #1a3a5c);
  line-height: 1.2;
  margin: 0 0 8px;
}

.mp-listing-operator {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 28px;
}

.mp-listing-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 32px;
}

.mp-listing-price-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--hp-navy, #1a3a5c);
  line-height: 1;
}

.mp-listing-price-currency {
  font-size: 20px;
  font-weight: 600;
  color: #6b7280;
}

.mp-listing-price-per {
  font-size: 15px;
  color: #9ca3af;
  margin-left: 2px;
}

.mp-listing-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 28px;
}

.mp-listing-description {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 24px;
}

.mp-listing-description p {
  margin: 0 0 16px;
}

.mp-listing-capacity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #166534;
}

/* Right col — booking card */

.mp-listing-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26,58,92,0.08);
  position: sticky;
  top: 96px;
}

.mp-listing-card-header {
  background: var(--hp-navy, #1a3a5c);
  color: #fff;
  padding: 22px 28px 20px;
}

.mp-listing-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 4px;
}

.mp-listing-card-price {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}

.mp-listing-card-body {
  padding: 24px 28px 28px;
}

/* Form field overrides inside booking card */

.mp-listing-card-body .form-item {
  margin-bottom: 16px;
}

.mp-listing-card-body label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}

.mp-listing-card-body input[type="text"],
.mp-listing-card-body input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  color: #111827;
  transition: border-color 0.15s;
}

.mp-listing-card-body input:focus {
  outline: none;
  border-color: var(--hp-green, #2a7a4b);
  box-shadow: 0 0 0 3px rgba(42,122,75,0.1);
}

.mp-listing-card-body .description {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.mp-listing-card-body .form-submit {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--hp-green, #2a7a4b);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 8px;
}

.mp-listing-card-body .form-submit:hover {
  background: #1f5e38;
}

.mp-listing-unavailable {
  font-size: 14px;
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 8px;
  padding: 12px 16px;
}



.mp-page {
  min-height: 60vh;
  padding: 48px 0 80px;
}

/* ── Voucher card ────────────────────────────────────────────────── */

.mp-voucher {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.mp-voucher-header {
  background: var(--hp-green, #2a7a4b);
  color: #fff;
  padding: 28px 32px 24px;
}

.mp-voucher-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 6px;
}

.mp-voucher-service {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.mp-voucher-body {
  padding: 28px 32px;
}

/* ── Status badge ────────────────────────────────────────────────── */

.mp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.mp-status-badge--valid {
  background: #dcfce7;
  color: #15803d;
}

.mp-status-badge--used {
  background: #f3f4f6;
  color: #6b7280;
}

.mp-status-badge--expired {
  background: #fef2f2;
  color: #b91c1c;
}

/* ── Guest info ──────────────────────────────────────────────────── */

.mp-voucher-guest {
  margin-bottom: 24px;
}

.mp-voucher-guest p {
  margin: 0 0 4px;
  font-size: 15px;
  color: #374151;
}

.mp-voucher-guest-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 6px;
}

/* ── Voucher code display ────────────────────────────────────────── */

.mp-voucher-code-block {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 28px;
  text-align: center;
}

.mp-voucher-code-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 6px;
}

.mp-voucher-code-value {
  font-family: monospace;
  font-size: 13px;
  color: #374151;
  word-break: break-all;
}

/* ── QR code ─────────────────────────────────────────────────────── */

.mp-voucher-qr {
  text-align: center;
  margin-bottom: 20px;
}

.mp-voucher-qr img {
  display: block;
  margin: 0 auto 10px;
  border-radius: 8px;
}

.mp-voucher-qr-hint {
  font-size: 13px;
  color: #6b7280;
}

/* ── Used / expired message ──────────────────────────────────────── */

.mp-voucher-used-msg {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  padding: 12px 0 4px;
}

/* ── Validation page ─────────────────────────────────────────────── */

.mp-validate-header {
  background: var(--hp-navy, #1a3a5c);
  color: #fff;
  padding: 28px 32px 24px;
}

.mp-validate-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 6px;
}

.mp-validate-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.mp-validate-body {
  padding: 28px 32px;
}

.mp-validate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 15px;
}

.mp-validate-row:last-of-type {
  border-bottom: none;
}

.mp-validate-key {
  color: #6b7280;
  font-size: 13px;
}

.mp-validate-val {
  color: #111827;
  font-weight: 500;
}

/* ── Confirm action ──────────────────────────────────────────────── */

.mp-confirm-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.mp-btn-confirm {
  display: inline-block;
  padding: 13px 32px;
  background: var(--hp-green, #2a7a4b);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.mp-btn-confirm:hover {
  background: #1f5e38;
}

.mp-btn-confirm:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.mp-already-used {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
  color: #6b7280;
  font-size: 15px;
  margin-top: 24px;
}

/* ── Confirmation page ────────────────────────────────────────────── */

.mp-confirm-page-header {
  padding: 28px 32px 24px;
  color: #fff;
}

.mp-confirm-page-header--confirmed { background: var(--hp-green, #2a7a4b); }
.mp-confirm-page-header--pending   { background: var(--hp-navy, #1a3a5c); }
.mp-confirm-page-header--failed    { background: #b91c1c; }
.mp-confirm-page-header--refunded  { background: #6b7280; }

.mp-confirm-page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.mp-confirm-page-message {
  font-size: 16px;
  color: #374151;
  margin: 0 0 24px;
  line-height: 1.6;
}

/* ── Demo banner ──────────────────────────────────────────────────── */

.mp-demo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fef9c3;
  border-bottom: 2px solid #fde047;
  padding: 12px 40px;
  font-size: 14px;
  font-weight: 500;
  color: #713f12;
}

.mp-demo-banner-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Demo landing page ────────────────────────────────────────────── */

.mp-demo-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

@media (max-width: 800px) {
  .mp-demo-wrap {
    padding: 32px 20px 60px;
  }
  .mp-demo-banner {
    padding: 12px 20px;
  }
}

.mp-demo-header {
  margin-bottom: 48px;
}

.mp-demo-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--hp-navy, #1a3a5c);
  margin: 8px 0 12px;
  line-height: 1.15;
}

.mp-demo-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
  max-width: 580px;
}

/* ── Flow stepper ─────────────────────────────────────────────────── */

.mp-demo-flow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.mp-demo-flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mp-demo-flow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hp-navy, #1a3a5c);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mp-demo-flow-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.mp-demo-flow-arrow {
  font-size: 20px;
  color: #d1d5db;
  flex-shrink: 0;
}

/* ── Three columns ────────────────────────────────────────────────── */

.mp-demo-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .mp-demo-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.mp-demo-col {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 28px 32px;
}

.mp-demo-col-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.mp-demo-col-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hp-navy, #1a3a5c);
  margin: 0 0 10px;
}

.mp-demo-col-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 24px;
  line-height: 1.6;
}

/* ── Demo steps inside columns ────────────────────────────────────── */

.mp-demo-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mp-demo-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mp-demo-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mp-demo-step strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.mp-demo-step p {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 10px;
  line-height: 1.5;
}

.mp-demo-note {
  font-size: 12px !important;
  color: #9ca3af !important;
  font-style: italic;
}

/* ── Demo CTA buttons ─────────────────────────────────────────────── */

.mp-demo-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.mp-demo-btn--primary {
  background: var(--hp-green, #2a7a4b);
  color: #fff;
}

.mp-demo-btn--primary:hover {
  background: #1f5e38;
  color: #fff;
}

.mp-demo-btn--secondary {
  background: #f3f4f6;
  color: var(--hp-navy, #1a3a5c);
  border: 1px solid #e5e7eb;
}

.mp-demo-btn--secondary:hover {
  background: #e5e7eb;
  color: var(--hp-navy, #1a3a5c);
}

/* ── Setup-needed box ─────────────────────────────────────────────── */

.mp-demo-setup-needed {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14px;
  color: #92400e;
}

.mp-demo-setup-title {
  font-weight: 700;
  margin: 0 0 8px;
  font-size: 15px;
}

.mp-demo-setup-needed ol {
  margin: 8px 0 16px 16px;
  padding: 0;
}

.mp-demo-setup-needed li {
  margin-bottom: 4px;
}

/* ── Demo note inside listing page ───────────────────────────────── */

.mp-demo-step-note {
  margin-top: 36px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 16px 20px;
}

.mp-demo-step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #15803d;
  margin: 0 0 6px;
}

.mp-demo-step-note p:last-child {
  font-size: 14px;
  color: #166534;
  margin: 0;
  line-height: 1.55;
}

/* ── Demo listing card accent ─────────────────────────────────────── */

.mp-listing-card--demo {
  border-color: #fde047;
  box-shadow: 0 4px 24px rgba(253,224,71,0.18);
}

/* ── Admin operator list notice ───────────────────────────────────── */

.mp-admin-notice {
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.mp-admin-notice--pending {
  background: #fefce8;
  border: 1px solid #fde047;
  color: #713f12;
}

/* ── State badge colors (admin tables) ────────────────────────────── */

.mp-state-badge--pending {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* ── Operator listing form — price row ────────────────────────────── */

.mp-form-row-inline {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

/* ── Browse / discovery page (/aml/booking) ──────────────────────── */

.mp-browse-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}

@media (max-width: 800px) {
  .mp-browse-wrap {
    padding: 32px 20px 60px;
  }
}

.mp-browse-header {
  margin-bottom: 48px;
}

.mp-browse-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--hp-navy, #1a3a5c);
  margin: 8px 0 12px;
  line-height: 1.15;
}

.mp-browse-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
  max-width: 560px;
}

/* ── Card grid ───────────────────────────────────────────────────── */

.mp-browse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .mp-browse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .mp-browse-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Individual card ─────────────────────────────────────────────── */

.mp-browse-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(26,58,92,0.06);
  transition: box-shadow 0.18s, transform 0.18s;
}

.mp-browse-card:hover {
  box-shadow: 0 6px 28px rgba(26,58,92,0.13);
  transform: translateY(-2px);
}

/* Top accent colour by service type */
.mp-browse-card--kayak     { border-top: 4px solid #0ea5e9; }
.mp-browse-card--sdraio    { border-top: 4px solid #f59e0b; }
.mp-browse-card--ombrellone{ border-top: 4px solid #8b5cf6; }
.mp-browse-card--yoga      { border-top: 4px solid #10b981; }
.mp-browse-card--altro     { border-top: 4px solid var(--hp-navy, #1a3a5c); }

/* ── Type badge ──────────────────────────────────────────────────── */

.mp-browse-card-type {
  display: inline-block;
  margin: 20px 20px 0;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #f3f4f6;
  color: #374151;
  width: fit-content;
}

/* ── Card body ───────────────────────────────────────────────────── */

.mp-browse-card-body {
  padding: 16px 20px 0;
  flex: 1;
}

.mp-browse-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hp-navy, #1a3a5c);
  margin: 0 0 4px;
  line-height: 1.3;
}

.mp-browse-card-operator {
  font-size: 13px;
  color: #9ca3af;
  margin: 0 0 18px;
}

.mp-browse-card-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 14px;
}

.mp-browse-price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--hp-navy, #1a3a5c);
  line-height: 1;
}

.mp-browse-price-currency {
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
}

.mp-browse-price-per {
  font-size: 13px;
  color: #9ca3af;
}

.mp-browse-card-capacity {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 10px;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 6px;
}

/* ── Card footer ─────────────────────────────────────────────────── */

.mp-browse-card-footer {
  padding: 16px 20px 20px;
}

.mp-browse-btn {
  display: block;
  text-align: center;
  padding: 11px 20px;
  background: var(--hp-green, #2a7a4b);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}

.mp-browse-btn:hover {
  background: #1f5e38;
  color: #fff;
}

/* ── Empty state ─────────────────────────────────────────────────── */

.mp-browse-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.mp-browse-empty-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hp-navy, #1a3a5c);
  margin: 0 0 10px;
}
