/* ==========================================================================
   FALCON CLUB - 3-STEP PRIVATE SESSION REGISTRATION STYLESHEET
   Extends booking.css & membership-registration.css for visual consistency.
   ========================================================================== */

:root {
  --ps-primary: #c71010;
  --ps-primary-hover: #a00d25;
  --ps-dark: #111114;
  --ps-bg: #FAF9F9;
  --ps-card-bg: #FFFFFF;
  --ps-border: #EAEAEA;
  --ps-text: #111111;
  --ps-text-muted: #6B7280;
  --ps-accent-green: #10B981;
}

/* Stepper Indicator Container */
.ps-flow-wrapper {
  max-width: 920px;
  margin: 0 auto;
}

/* Coach Selection Grid in Step 1 */
.ps-coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.ps-coach-card {
  background: #ffffff;
  border: 2px solid var(--ps-border);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.ps-coach-card:hover {
  border-color: var(--ps-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(199, 16, 16, 0.08);
}

.ps-coach-card.selected {
  border-color: var(--ps-primary);
  background: #FFF5F5;
  box-shadow: 0 8px 20px rgba(199, 16, 16, 0.12);
}

.ps-coach-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ps-coach-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ps-text);
  margin-bottom: 4px;
}

.ps-coach-role {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ps-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.ps-coach-rate {
  font-size: 0.85rem;
  font-weight: 800;
  color: #374151;
  background: #F3F4F6;
  padding: 4px 10px;
  border-radius: 20px;
}

.ps-coach-card.selected .ps-coach-rate {
  background: var(--ps-primary);
  color: #ffffff;
}

.ps-coach-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.ps-coach-card.selected .ps-coach-check {
  background: var(--ps-primary);
}

/* Time Slot Selection Grid in Step 2 */
.ps-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.ps-slot-btn {
  background: #ffffff;
  border: 1.5px solid var(--ps-border);
  border-radius: 12px;
  padding: 12px 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ps-text);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.ps-slot-btn:hover {
  border-color: var(--ps-primary);
  color: var(--ps-primary);
}

.ps-slot-btn.selected {
  background: var(--ps-primary);
  color: #ffffff;
  border-color: var(--ps-primary);
  box-shadow: 0 4px 14px rgba(199, 16, 16, 0.3);
}

/* Payment Method Tabs & Panels in Step 2 */
.ps-pay-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 20px;
}

.ps-pay-tab {
  background: #ffffff;
  border: 1.5px solid var(--ps-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  user-select: none;
}

.ps-pay-tab:hover {
  border-color: var(--ps-primary);
  color: var(--ps-primary);
}

.ps-pay-tab.active {
  background: #FFF5F5;
  border-color: var(--ps-primary);
  color: var(--ps-primary);
  box-shadow: 0 4px 12px rgba(199, 16, 16, 0.12);
}

.ps-pay-panel {
  background: #ffffff;
  border: 1.5px solid var(--ps-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

/* Duration Options */
.ps-duration-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.ps-duration-chip {
  flex: 1;
  min-width: 100px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1.5px solid var(--ps-border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.ps-duration-chip:hover {
  border-color: var(--ps-primary);
}

.ps-duration-chip.selected {
  border-color: var(--ps-primary);
  background: #FFF5F5;
  color: var(--ps-primary);
}

/* MEMBERSHIP PROMO POPUP / BANNER IN STEP 2 */
.ps-membership-banner {
  background: linear-gradient(135deg, #111114 0%, #1A1A24 100%);
  border: 1.5px solid rgba(199, 16, 16, 0.4);
  border-radius: 20px;
  padding: 24px;
  margin: 28px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.ps-membership-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(199, 16, 16, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.ps-mb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(199, 16, 16, 0.2);
  border: 1px solid rgba(199, 16, 16, 0.6);
  color: #FF6B6B;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.ps-mb-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ps-mb-title span {
  color: #00E676;
}

.ps-mb-desc {
  font-size: 0.88rem;
  color: #9CA3AF;
  margin-bottom: 18px;
  line-height: 1.5;
  max-width: 600px;
}

.ps-mb-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ps-mb-btn-primary {
  background: var(--ps-primary);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(199, 16, 16, 0.4);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.ps-mb-btn-primary:hover {
  background: var(--ps-primary-hover);
  transform: translateY(-1px);
}

.ps-mb-btn-secondary {
  color: #D1D5DB;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: underline;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
}

.ps-mb-btn-secondary:hover {
  color: #ffffff;
}

/* MODAL POPUP FOR MEMBERSHIP (TRIGGERABLE) */
.ps-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ps-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ps-modal-box {
  background: #ffffff;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.ps-modal-overlay.active .ps-modal-box {
  transform: translateY(0) scale(1);
}

.ps-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F3F4F6;
  border: none;
  font-size: 1.4rem;
  color: #4B5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ps-modal-close:hover {
  background: #E5E7EB;
  color: #111111;
}

.ps-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #FFF5F5;
  border: 1.5px solid #FFE0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.ps-modal-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--ps-text);
  margin-bottom: 10px;
}

.ps-modal-desc {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* STEP 3 CONFIRMATION TICKET PASS DESIGN */
.ps-ticket-container {
  max-width: 680px;
  margin: 0 auto;
}

.ps-ticket-card {
  background: #ffffff;
  border: 2px solid var(--ps-dark);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  position: relative;
}

.ps-ticket-header {
  background: var(--ps-dark);
  color: #ffffff;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-ticket-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ps-ticket-badge {
  background: var(--ps-primary);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 50px;
}

.ps-ticket-body {
  padding: 32px 30px;
  background: #ffffff;
}

.ps-ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.ps-ticket-field {
  display: flex;
  flex-direction: column;
}

.ps-ticket-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9CA3AF;
  margin-bottom: 4px;
}

.ps-ticket-val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ps-text);
}

.ps-ticket-divider {
  height: 1px;
  background: repeating-linear-gradient(to right, #E5E7EB, #E5E7EB 8px, transparent 8px, transparent 14px);
  margin: 20px 0;
}

.ps-ticket-footer {
  background: #FAF9F9;
  border-top: 1.5px solid var(--ps-border);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-ticket-barcode {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

/* Action Buttons below Ticket */
.ps-action-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.ps-btn-download-png {
  background: var(--ps-primary);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(199, 16, 16, 0.35);
  transition: all 0.25s ease;
}

.ps-btn-download-png:hover {
  background: var(--ps-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(199, 16, 16, 0.45);
}

.ps-btn-secondary-action {
  background: #ffffff;
  color: var(--ps-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 16px 28px;
  border-radius: 14px;
  border: 2px solid var(--ps-border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.ps-btn-secondary-action:hover {
  border-color: var(--ps-dark);
  background: #F9FAFB;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .ps-ticket-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ps-ticket-header, .ps-ticket-body, .ps-ticket-footer {
    padding: 20px;
  }
  .ps-ticket-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .ps-ticket-barcode {
    align-items: flex-start;
  }
  .ps-action-btns {
    flex-direction: column;
  }
  .ps-btn-download-png, .ps-btn-secondary-action {
    width: 100%;
    justify-content: center;
  }
}
