body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #f9fafb;
  color: #111827;
  margin: 0;
  padding: 0;
}

header {
  background-color: #2563eb;
  color: white;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 960px;
  margin: 3rem auto;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.filter-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-section input,
.filter-section select,
.filter-section label,
.filter-section button {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  flex: 1 1 220px;
  background-color: white;
}

.filter-section input[type="checkbox"] {
  flex: 0 0 auto;
  margin-right: 0.5rem;
}

.filter-section label {
  display: flex;
  align-items: center;
}

.filter-section button {
  background-color: #2563eb;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-section button:hover {
  background-color: #1d4ed8;
}

.filter-section button:nth-of-type(2) {
  background-color: #1e3a8a;
  color: white;
}

.filter-section button:nth-of-type(2):hover {
  background-color: #1e40af;
}

.wheelchair-card {
  background: #f3f4f6;
  padding: 1.00rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
}

.wheelchair-card img {
  max-width: 180px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.wheelchair-content {
  flex: 1;
  text-align: left;
}

.wheelchair-content h2 {
  margin: 0 0 0.5rem 0;
  color: #1e40af;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.wheelchair-content p {
  margin: 0.5rem 0;
  font-size: 0.975rem;
  line-height: 1.6;
  color: #374151;
}

button,
.filter-section button,
.print-button {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.25px;
  text-transform: capitalize;
}

.print-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #2563eb;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 25%;
  max-width: 300px;
  margin: 0 auto 2rem auto;
  display: block;
}

.print-button:hover {
  background-color: #1d4ed8;
  transform: scale(1.05);
}

.print-button:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .filter-section {
    flex-direction: column;
  }
  .wheelchair-card {
    flex-direction: column;
    text-align: center;
  }
  .wheelchair-card img {
    max-width: 100%;
  }
  .print-button {
    width: 100%;
  }
}

.print-only {
  display: none;
}

/* === Print Styles from Original CSS === */
@media print {
  .qr-image-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  .qr-wrapper.print-only {
    display: block !important;
    width: 120px;
    padding: 0.5rem;
    flex: 0 0 auto;
  }

  .print-qr {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .qr-image-wrap img:not(.print-qr) {
    max-width: 180px;
    height: auto;
    display: block;
    flex: 0 0 auto;
  }

  .wheelchair-content {
    display: block;
    margin-top: 0.5rem;
  }
}


.qr-wrapper {
  display: none;
}

  }



@media print {
  .qr-image-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  .qr-wrapper.print-only {
    display: block !important;
    width: 120px;
    padding: 0.5rem;
    flex: 0 0 auto;
  }

  .print-qr {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .qr-image-wrap img:not(.print-qr) {
    max-width: 180px;
    height: auto;
    display: block;
    flex: 0 0 auto;
  }

  .wheelchair-content {
    display: block;
    margin-top: 0.5rem;
  }
}




@media print {
  .qr-image-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
      .wheelchair-content p,
  .wheelchair-content h2 {
    line-height: 1.2 !important;
    margin-bottom: 0.4rem;
  }

  }

  .qr-wrapper.print-only {
    display: block !important;
    width: 120px;
    padding: 0.5rem;
    flex: 0 0 auto;
  }

  .print-qr {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .qr-image-wrap img:not(.print-qr) {
    max-width: 180px;
    height: auto;
    display: block;
    flex: 0 0 auto;
  }

  .wheelchair-content {
    display: block;
    margin-top: 0.5rem;
  }
}


@media print {
  .wheelchair-card {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    page-break-inside: avoid;
    background: white !important;
    border: 1px solid #ccc;
    padding: 0.50rem;
    font-size: 0.85rem;
  }

  .left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    flex-shrink: 0;
  }

  .qr-wrapper.print-only {
    display: block !important;
    width: 120px;
    padding: 0.5rem;
  }

  .print-qr {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .left-column img:not(.print-qr) {
    max-width: 180px;
    height: auto;
    display: block;
    margin-top: 0.5rem;
  }

  .wheelchair-content {
    flex: 1;
  }
}

@media print {
  .filter-section {
    display: none !important;
  }
}

@media print {
  a .print-only {
    display: block !important;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    word-break: break-word;
  }
}

@media print {
  .print-logo-only {
    display: block !important;
    text-align: center;
    margin-bottom: 1rem;
  }

  header a img.center-logo {
    display: none !important;
  }

  header,
  header h1,
  header h2,
  header a {
    color: #2563eb !important;
  }
}

.print-logo-only {
  display: none;
}
@media print {
  .print-hide {
    display: none !important;
  }
}
@media print {
  .wheelchair-card {
    display: none !important;
  }

  .wheelchair-card[style*="display: flex"] {
    display: flex !important;
  }
}

.recliner-card {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media print {
  .recliner-card {
    display: none !important;
  }

  .recliner-card[style*="display: flex"] {
    display: flex !important;
  }
}
