/* GuestHouse Manager – Public Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=DM+Sans:wght@300;400;500;600&display=swap');

.ghm-public-wrap { font-family: 'DM Sans', sans-serif; max-width: 960px; margin: 0 auto; }

/* ----- Booking Form ----- */
.ghm-booking-form-wrap { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 32px; box-shadow: 0 4px 32px rgba(0,0,0,.08); }
.ghm-booking-form-wrap h2 { font-family: 'Playfair Display', serif; font-size: 24px; color: #1a1a2e; margin: 0 0 24px; }
.ghm-bform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ghm-bform-field { display: flex; flex-direction: column; gap: 6px; }
.ghm-bform-field.span-2 { grid-column: span 2; }
.ghm-bform-field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: #6b7280; }
.ghm-bform-field input,
.ghm-bform-field select,
.ghm-bform-field textarea { border: 1.5px solid #e5e7eb; border-radius: 8px; padding: 10px 14px; font-size: 14px; font-family: 'DM Sans', sans-serif; outline: none; transition: border-color .2s; color: #1a1a2e; background: #fafafa; }
.ghm-bform-field input:focus,
.ghm-bform-field select:focus,
.ghm-bform-field textarea:focus { border-color: #c9a84c; background: #fff; }
.ghm-bform-submit { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg,#c9a84c,#e8c97a); color: #1a1a2e; font-weight: 700; font-size: 15px; padding: 13px 32px; border-radius: 9px; border: none; cursor: pointer; transition: all .2s; margin-top: 8px; }
.ghm-bform-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201,168,76,.4); }
.ghm-bform-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.ghm-amount-preview { background: linear-gradient(135deg,#1a1a2e,#2a2f42); color: #fff; border-radius: 9px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.ghm-amount-preview .label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.6); }
.ghm-amount-preview .value { font-size: 24px; font-weight: 700; color: #e8c97a; }
.ghm-form-section-divider { border: none; border-top: 1.5px solid #f3f4f6; margin: 20px 0; }
.ghm-form-steps { display: flex; gap: 0; margin-bottom: 28px; }
.ghm-form-step { flex: 1; text-align: center; padding: 10px; border-bottom: 2px solid #e5e7eb; color: #9ca3af; font-size: 13px; font-weight: 500; transition: all .2s; }
.ghm-form-step.active { border-bottom-color: #c9a84c; color: #c9a84c; font-weight: 600; }
.ghm-form-step.done { border-bottom-color: #3ecf8e; color: #3ecf8e; }

/* ----- Rooms List ----- */
.ghm-rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.ghm-room-pub-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; transition: all .25s; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.ghm-room-pub-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.12); border-color: #c9a84c; }
.ghm-room-pub-card .card-img { height: 160px; background: linear-gradient(135deg,#1a1a2e 0%,#2a3055 100%); display: flex; align-items: center; justify-content: center; color: #c9a84c; font-size: 48px; }
.ghm-room-pub-card .card-body { padding: 18px 20px; }
.ghm-room-pub-card .card-type { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; margin-bottom: 4px; }
.ghm-room-pub-card .card-name { font-family: 'Playfair Display', serif; font-size: 18px; color: #1a1a2e; margin-bottom: 10px; }
.ghm-room-pub-card .card-feats { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ghm-room-pub-card .card-feats span { font-size: 12px; color: #6b7280; display: flex; align-items: center; gap: 4px; }
.ghm-room-pub-card .card-amenities-pub { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.ghm-room-pub-card .card-amenities-pub span { background: #f3f4f6; border-radius: 4px; padding: 2px 8px; font-size: 11px; color: #6b7280; }
.ghm-room-pub-card .card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #f3f4f6; }
.ghm-room-pub-card .card-price { font-size: 22px; font-weight: 700; color: #c9a84c; }
.ghm-room-pub-card .card-price small { font-size: 12px; color: #9ca3af; font-weight: 400; }
.ghm-room-pub-card .card-book-btn { background: #1a1a2e; color: #fff; border: none; border-radius: 7px; padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; font-family: 'DM Sans', sans-serif; text-decoration: none; display: inline-block; }
.ghm-room-pub-card .card-book-btn:hover { background: #c9a84c; color: #1a1a2e; }

/* ----- Confirmation ----- */
.ghm-confirmation-wrap { max-width: 580px; margin: 0 auto; text-align: center; }
.ghm-confirmation-icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg,#3ecf8e,#22c55e); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 36px; color: #fff; }
.ghm-confirmation-wrap h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: #1a1a2e; margin-bottom: 8px; }
.ghm-confirmation-wrap p { color: #6b7280; margin-bottom: 24px; }
.ghm-conf-ref { background: linear-gradient(135deg,#1a1a2e,#2a3055); color: #e8c97a; font-size: 22px; font-weight: 700; letter-spacing: 2px; padding: 14px 28px; border-radius: 10px; display: inline-block; margin-bottom: 24px; font-family: monospace; }
.ghm-conf-details { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; text-align: left; margin-bottom: 24px; }
.ghm-conf-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.ghm-conf-row:last-child { border-bottom: none; }
.ghm-conf-row .conf-label { color: #9ca3af; }
.ghm-conf-row .conf-value { font-weight: 600; color: #1a1a2e; }

/* ----- Alerts ----- */
.ghm-alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin: 12px 0; display: flex; align-items: center; gap: 10px; }
.ghm-alert.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.ghm-alert.error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.ghm-alert.info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

/* Spinner */
.ghm-pub-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(26,26,46,.2); border-top-color: #c9a84c; border-radius: 50%; animation: ghm-spin .7s linear infinite; }
@keyframes ghm-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .ghm-bform-grid { grid-template-columns: 1fr; }
  .ghm-bform-field.span-2 { grid-column: span 1; }
  .ghm-booking-form-wrap { padding: 20px; }
  .ghm-rooms-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Paystack Payment Options
================================================================ */

/* Summary box on step 3 */
.ghm-booking-summary-box {
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

/* Payment method wrapper */
.ghm-payment-method-wrap { margin-bottom: 22px; }
.ghm-payment-method-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6b7280;
  margin: 0 0 12px;
}

/* Payment options */
.ghm-payment-options { display: flex; flex-direction: column; gap: 10px; }

.ghm-pay-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s;
  background: #fff;
  position: relative;
}
.ghm-pay-option:hover { border-color: #c9a84c; background: #fffdf5; }
.ghm-pay-option--selected,
.ghm-pay-option input:checked ~ * { border-color: #00C3F7; background: #f0fdff; }
.ghm-pay-option--selected { border-color: #00C3F7 !important; background: #f0fdff !important; }

/* Hide the native radio visually but keep it accessible */
.ghm-pay-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom radio dot */
.ghm-pay-option::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: auto;
  transition: all .2s;
}
.ghm-pay-option--selected::after {
  border-color: #00C3F7;
  background: #00C3F7;
  box-shadow: inset 0 0 0 3px #fff;
}

.ghm-pay-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ghm-pay-details { flex: 1; }
.ghm-pay-details strong { display: block; font-size: 14px; color: #111827; font-weight: 600; }
.ghm-pay-details small  { display: block; font-size: 12px; color: #6b7280; margin-top: 2px; }

.ghm-pay-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #ecfdf5;
  color: #059669;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  margin-right: 8px;
}

/* Terms checkbox */
.ghm-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.5;
}
.ghm-terms-check input {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #c9a84c;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Paystack-themed submit button */
.ghm-bform-submit--paystack {
  background: linear-gradient(135deg, #00C3F7, #0099CC) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ghm-bform-submit--paystack:hover {
  box-shadow: 0 6px 20px rgba(0,195,247,.4) !important;
  transform: translateY(-2px);
}

/* Paystack confirmation icon */
.ghm-confirmation-icon--paystack {
  background: linear-gradient(135deg, #00C3F7, #0099CC) !important;
}

/* Confirmation page tweaks */
.ghm-conf-row .conf-value strong { font-size: inherit; }

@media (max-width: 480px) {
  .ghm-pay-option { padding: 12px 14px; gap: 10px; }
  .ghm-pay-badge  { display: none; }
}
