/*
 * Rifqa Super Platform — Responsive CSS
 * Mobile-first & desktop media queries for seamless touch and desktop UX
 */

@media (max-width: 1024px) {
  .booking-container {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

  .voucher-details-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .voucher-qr-container {
    margin: 0 auto;
  }

  .meta-row {
    text-align: right;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 0.85rem;
    align-items: stretch;
  }

  .brand-wrapper {
    justify-content: center;
  }

  .nav-tabs {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding: 0.25rem;
    scrollbar-width: none;
  }

  .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .hotels-grid {
    grid-template-columns: 1fr;
  }

  .bed-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .voucher-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .voucher-actions {
    flex-direction: column;
  }

  .voucher-actions button {
    width: 100%;
  }

  #toast-container {
    left: 10px;
    right: 10px;
    top: 10px;
  }

  .toast {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .bed-matrix {
    grid-template-columns: 1fr;
  }

  .selection-summary-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-banner {
    padding: 1.5rem 0 2.5rem;
  }
}
