/* ==========================================================================
   RACHEL'S PALM BEACH & ORLANDO - AUTHORIZE.NET ACCEPT.JS PAYMENT FORM
   PCI-Compliant Client Tokenization Form & Security Badges
   ========================================================================== */

.payment-form-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.payment-security-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  margin-bottom: 8px;
}

.security-badge-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-size: 0.74rem;
  font-weight: 700;
  color: #166534;
}

.security-badge-left svg {
  color: #16A34A;
  width: 16px;
  height: 16px;
}

.security-cards-accepted {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-logo-icon {
  height: 16px;
  width: auto;
  opacity: 0.85;
}

/* Form Fields */
.payment-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.payment-field-label {
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.payment-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.payment-input {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #D1D5DB;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: #111317;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.payment-input:focus {
  border-color: #111317;
  box-shadow: 0 0 0 3px rgba(17, 19, 23, 0.1);
}

.payment-input.error {
  border-color: #DC2626;
  background: #FEF2F2;
}

.payment-input-icon {
  position: absolute;
  right: 14px;
  color: #9CA3AF;
  pointer-events: none;
}

.payment-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
}

.payment-error-hint {
  font-family: var(--font-primary);
  font-size: 0.70rem;
  color: #DC2626;
  font-weight: 600;
  display: none;
}

.payment-error-hint.visible {
  display: block;
}

/* Payment Processing Loading Spinner */
.payment-processing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.payment-processing-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.spinner-circle {
  width: 44px;
  height: 44px;
  border: 3.5px solid #E5E7EB;
  border-top-color: #111317;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.processing-text {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 700;
  color: #111317;
}

/* Success Confirmation Screen */
.booking-confirmed-card {
  text-align: center;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.confirmed-crest-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #111317;
  color: #E6002E;
  border: 1.5px solid #E6002E;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.confirmed-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: #111317;
  margin: 0;
  line-height: 1.15;
}

.confirmed-desc {
  font-family: var(--font-primary);
  font-size: 0.76rem;
  color: #4B5563;
  line-height: 1.35;
  max-width: 420px;
  margin: 0;
}

.confirmed-ticket-box {
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  padding: 10px 14px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  text-align: left;
}

.ticket-header {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  text-transform: uppercase;
  margin-bottom: 6px;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 4px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 2.5px 0;
  font-family: var(--font-primary);
  font-size: 0.76rem;
  color: #111317;
}

.ticket-row .ticket-lbl {
  color: #6B7280;
}
