/* RAALC — Booking Service Guidelines & Terms notification */

.booking-guidelines-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 17, 41, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.booking-guidelines-overlay.show {
  opacity: 1;
  visibility: visible;
}

.booking-guidelines-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: min(92vh, 760px);
  overflow-y: auto;
  padding: 2rem 1.75rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(165deg, #002147 0%, #001229 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  text-align: center;
  animation: booking-guidelines-in 0.45s ease-out;
}

@keyframes booking-guidelines-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.booking-guidelines-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

[dir="rtl"] .booking-guidelines-close {
  right: auto;
  left: 0.75rem;
}

.booking-guidelines-close:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #D4AF37;
}

.booking-guidelines-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.booking-guidelines-brand .brand {
  color: #D4AF37;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.booking-guidelines-brand .divider {
  width: 1px;
  height: 1.25rem;
  background: #D4AF37;
  opacity: 0.7;
}

.booking-guidelines-brand .sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.booking-guidelines-icon {
  font-size: 1.85rem;
  margin: 0.25rem 0 0.6rem;
  line-height: 1;
}

.booking-guidelines-headline {
  color: #D4AF37;
  font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 0.3rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.booking-guidelines-subhead {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.82rem, 2.6vw, 0.95rem);
  font-weight: 500;
  margin: 0 0 1rem;
}

.booking-guidelines-section {
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
  word-break: normal;
}

.booking-guidelines-section.ar {
  direction: rtl;
  text-align: right;
  font-family: "Tajawal", "Cairo", system-ui, sans-serif;
}

.booking-guidelines-section.en {
  direction: ltr;
  text-align: left;
  font-family: "Inter", system-ui, sans-serif;
}

.booking-guidelines-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.booking-guidelines-list li {
  position: relative;
  color: #e8eef5;
  font-size: clamp(0.8rem, 2.4vw, 0.9rem);
  line-height: 1.7;
  font-weight: 400;
  padding-inline-start: 1.25rem;
  margin-bottom: 0.6rem;
}

.booking-guidelines-list li::before {
  content: "\25C6"; /* diamond */
  position: absolute;
  inset-inline-start: 0;
  top: 0.05em;
  color: #D4AF37;
  font-size: 0.6em;
  line-height: 1.9;
}

.booking-guidelines-list li strong {
  color: #fff;
  font-weight: 600;
}

.booking-guidelines-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
  color: #D4AF37;
  font-size: 0.45rem;
}

.booking-guidelines-separator .line {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(to right, transparent, #D4AF37, transparent);
}

.booking-guidelines-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.booking-guidelines-cta {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #D4AF37 0%, #b8942e 100%);
  color: #001229;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.booking-guidelines-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

.booking-guidelines-cta-line + .booking-guidelines-cta-line {
  display: block;
  font-size: 0.82em;
  margin-top: 0.15em;
  font-weight: 600;
}

.booking-guidelines-dismiss {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.booking-guidelines-dismiss:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
}

.booking-guidelines-dismiss:focus,
.booking-guidelines-cta:focus,
.booking-guidelines-close:focus {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}
