#booking-profile-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#booking-profile-modal.active {
  display: flex;
}

.bp-modal-box {
  background: #111;
  border-radius: 20px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 189, 89, 0.2);
  position: relative;
  animation: bpIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #fff !important;
}

@keyframes bpIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.bp-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

html[lang="ar"] .bp-close {
  right: auto;
  left: 16px;
}

.bp-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.bp-header {
  text-align: center;
  margin-bottom: 26px;
}

.bp-header .bp-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(255, 189, 89, 0.15), rgba(255, 189, 89, 0.05));
  border: 1px solid rgba(255, 189, 89, 0.25);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.6rem;
  color: #ffbd59;
}

.bp-header h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: #fff;
  font-family: inherit;
}

.bp-header p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
}

#booking-profile-modal .bp-field {
  margin-bottom: 18px;
}

#booking-profile-modal .bp-field label {
  display: block !important;
  margin-bottom: 7px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: inherit !important;
}

#booking-profile-modal .bp-field label span.req {
  color: #ffbd59 !important;
  margin-left: 3px;
}

html[lang="ar"] #booking-profile-modal .bp-field label span.req {
  margin-left: 0;
  margin-right: 3px;
}

#booking-profile-modal .bp-field input,
#booking-profile-modal .bp-field select,
#booking-profile-modal .bp-field textarea {
  width: 100% !important;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  transition: border-color 0.2s, background 0.2s !important;
  outline: none !important;
  box-sizing: border-box !important;
  height: auto !important;
  margin-bottom: 0 !important;
}

#booking-profile-modal .bp-field input::placeholder,
#booking-profile-modal .bp-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

#booking-profile-modal .bp-field input:focus,
#booking-profile-modal .bp-field select:focus,
#booking-profile-modal .bp-field textarea:focus {
  border-color: #ffbd59 !important;
  background: rgba(255, 189, 89, 0.08) !important;
  box-shadow: 0 0 0 3px rgba(255, 189, 89, 0.12) !important;
}

#booking-profile-modal .bp-field select {
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

#booking-profile-modal .bp-field select option {
  background: #1a1a1a !important;
  color: #fff !important;
}

#booking-profile-modal .bp-field textarea {
  resize: none !important;
  min-height: 70px !important;
}

#booking-profile-modal .bp-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

#booking-profile-modal .bp-pay-option {
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px;
  padding: 12px 10px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255, 255, 255, 0.05) !important;
}

#booking-profile-modal .bp-pay-option:hover {
  border-color: rgba(255, 189, 89, 0.5) !important;
  background: rgba(255, 189, 89, 0.08) !important;
}

#booking-profile-modal .bp-pay-option.selected {
  border-color: #ffbd59 !important;
  background: rgba(255, 189, 89, 0.14) !important;
}

#booking-profile-modal .bp-pay-option.bp-pay-disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none;
  position: relative;
  filter: grayscale(60%);
}

#booking-profile-modal .bp-pay-option.bp-pay-disabled:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.pay-coming-soon {
  display: inline-block;
  margin-top: 6px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: inherit !important;
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0);
  }
}

html[lang="ar"] .pay-coming-soon {
  font-size: 0.72rem !important;
  letter-spacing: 0;
}

#booking-profile-modal .bp-pay-option .pay-icon {
  font-size: 1.4rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #ffbd59 !important;
  width: 40px;
  height: 40px;
  background: rgba(255, 189, 89, 0.12) !important;
  border-radius: 10px;
  margin: 0 auto 8px;
}

#booking-profile-modal .bp-pay-option .pay-icon i {
  font-size: 1.2rem;
  color: #ffbd59 !important;
}

#booking-profile-modal .bp-pay-option .pay-icon-img {
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
  width: auto;
  height: auto;
}

#booking-profile-modal .bp-pay-option .pay-icon-img img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

/* Card payment image is wide/horizontal — show it wider */
#booking-profile-modal .bp-pay-option[data-value="visa_mastercard"] .pay-icon-img img {
  width: 100%;
  max-width: 120px;
  height: auto;
  min-height: 28px;
}

#booking-profile-modal .bp-pay-option .pay-label {
  font-size: 0.82rem !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  display: block !important;
}

#booking-profile-modal .bp-pay-option .pay-sub {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-family: inherit !important;
  margin-top: 3px;
  line-height: 1.3 !important;
  display: block !important;
}

#booking-profile-modal .bp-pay-option .pay-sub span {
  color: rgba(255, 255, 255, 0.6) !important;
}

#bp-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ffbd59, #e6aa50);
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(255, 189, 89, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.5px;
}

#bp-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(255, 189, 89, 0.5);
}

#bp-submit-btn:active {
  transform: scale(0.98);
}

#bp-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

html[lang="ar"] .bp-modal-box {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .bp-payment-grid {
  direction: rtl;
}