/* ============================================
   PATIENT DETAILS PAGE STYLES
   ============================================ */

/* Main Container */
.booking-main {
  padding: 80px 1rem 2rem;
  background: var(--light-blue);
  min-height: 100vh;
}

.booking-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .booking-container {
    display: flex;
    flex-direction: column-reverse;
    padding: 1rem;
    overflow-x: hidden;
  }
  .test-summary, .patient-form-section {
    width: 100%;
    box-sizing: border-box;
  }
  .test-summary {
    margin-bottom: 1rem;
  }
}

/* Test Summary Section */
.test-summary {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.test-summary h2 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0;
}

.test-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

/* Test Card */
.test-card-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.test-card-compact:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

.test-icon-compact {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.test-info-compact {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.test-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.test-name-compact {
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
}

.test-price-compact {
  font-weight: 800;
  font-size: 1.1rem;
  color: #2563eb;
}

.summary-remove-btn {
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.summary-remove-btn:hover {
  border-color: #ef4444;
  background: #fff5f5;
  color: #dc2626;
}

/* Per-test collapsible sections */
.param-section-compact,
.faq-section-compact,
.lab-section-compact {
  margin: 0.5rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.param-section-compact summary,
.faq-section-compact summary,
.lab-section-compact summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1e293b;
}

.param-summary-compact::after,
.faq-summary-compact::after,
.lab-summary-compact::after {
  content: "";
  margin-left: auto;
  border: 5px solid transparent;
  border-top-color: #64748b;
  transition: transform 0.2s ease;
}

.param-section-compact[open] .param-summary-compact::after,
.faq-section-compact[open] .faq-summary-compact::after,
.lab-section-compact[open] .lab-summary-compact::after {
  transform: rotate(180deg);
}

.param-list-compact,
.faq-list-compact,
.lab-list-compact {
  padding: 0.75rem 1rem;
}

.param-item-compact,
.faq-item-compact,
.lab-item-compact {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #475569;
  border-bottom: 1px dashed #e2e8f0;
}

.param-item-compact:last-child,
.faq-item-compact:last-child,
.lab-item-compact:last-child {
  border-bottom: none;
}

/* Price breakdown styling */
.lab-sidebar-price-breakdown {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  border: 1px solid #e2e8f0;
}

.confirm-price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.confirm-price-label {
  color: #64748b;
}

.confirm-mrp-struck {
  text-decoration: line-through;
  color: #94a3b8;
}

.confirm-save-row {
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
}

.confirm-save-badge {
  background: #dcfce7;
  color: #166534;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.confirm-price-value {
  color: #1e293b;
  font-weight: 500;
}

.confirm-pay-row {
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 2px solid #e2e8f0;
}

.confirm-pay-label {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}

.amount-paid {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2563eb;
}

/* Pre-Test Information */
.pre-test-info {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}

.pre-test-title {
  font-size: 1rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pre-test-title::before {
  content: "⚠️";
}

/* Parameters & Pre-Test Box */
.param-pretest-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.param-pretest-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
}

.param-pretest-section h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

#paramList, #preTestDisplay {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .param-pretest-box {
    grid-template-columns: 1fr;
  }
}

.pre-test-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pre-test-list li {
  padding: 0.5rem 0;
  color: #78350f;
  font-size: 0.875rem;
  border-bottom: 1px dashed #fde68a;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pre-test-list li:last-child {
  border-bottom: none;
}

.pre-test-list li::before {
  content: "✓";
  color: #d97706;
  font-weight: bold;
}

.empty-msg {
  color: #94a3b8;
  font-size: 0.875rem;
  text-align: center;
  padding: 0.75rem;
}

/* Test Info Simple Box (no tabs) */
.test-info-simple {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.simple-section {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.simple-section:last-child {
  border-bottom: none;
}

.simple-section h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.simple-section h4 i {
  color: #0284c7;
}

.param-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.param-tag {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.3);
}

.pretest-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pretest-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f0fdf4;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}

.pretest-item i {
  color: #10b981;
  margin-top: 2px;
}

.pretest-item span {
  font-size: 0.75rem;
  color: #166534;
  line-height: 1.4;
}

/* Patient Form Section */
.patient-form-section {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.patient-details-form h3 {
  font-size: 1.42rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.members-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.members-section-header p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.members-assignment-chip {
  flex-shrink: 0;
  padding: 0.625rem 0.9rem;
  border-radius: 999px;
  background: var(--very-light-blue);
  color: var(--primary-blue);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
}

.member-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.member-card {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.member-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--border-light);
}

.member-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.member-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--gradient-light);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.member-card-title h4 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-primary);
}

.member-card-title p {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.member-remove-btn {
  border: 1px solid var(--border-light);
  background: #f8fbfe;
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.member-remove-btn:hover {
  border-color: var(--primary-blue-light);
  color: var(--primary-blue);
  background: var(--very-light-blue);
}

.member-card-body {
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) minmax(0, 1.05fr);
}

.member-fields-panel,
.member-tests-panel {
  padding: 0.9rem;
}

.member-fields-panel {
  border-right: 1px solid var(--border-light);
}

.member-panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 0 0 0.7rem;
}

.member-inline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.member-tests-panel {
  background: #f8fbfe;
}

.member-tests-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.member-tests-panel-header .member-panel-title {
  margin-bottom: 0;
}

.member-add-test-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 156, 219, 0.35);
  background: #ffffff;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.member-add-test-btn:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.assigned-tests-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.test-assignment-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.62rem 0.7rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.test-assignment-item:hover {
  border-color: var(--primary-blue-light);
  box-shadow: 0 8px 20px rgba(45, 156, 219, 0.12);
  transform: translateY(-1px);
}

.test-assignment-item input {
  width: 15px;
  height: 15px;
  margin-top: 0.15rem;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

.test-assignment-copy {
  flex: 1;
}

.test-assignment-copy strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.94rem;
  margin-bottom: 0.1rem;
  line-height: 1.3;
}

.test-assignment-copy span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.test-assignment-price {
  flex-shrink: 0;
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.assignment-empty {
  margin: 0;
  padding: 1rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

.add-member-btn {
  margin-top: 1rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--border-light);
  background: var(--very-light-blue);
  color: var(--primary-blue);
  border-radius: 16px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-member-btn:hover {
  border-color: var(--primary-blue-light);
  background: var(--light-blue);
  transform: translateY(-1px);
}

.add-member-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.section-divider {
  height: 1px;
  margin: 1.5rem 0;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0) 0%, rgba(226, 232, 240, 1) 15%, rgba(226, 232, 240, 1) 85%, rgba(226, 232, 240, 0) 100%);
}

.booking-feedback {
  min-height: 1.2rem;
  margin-top: 1rem;
  color: var(--primary-blue);
  font-size: 1rem;
  font-weight: 600;
}

/* Form Group */
.form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

/* Input with Icon */
.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.input-icon input,
.input-icon textarea {
  width: 100%;
  padding: 0.62rem 0.7rem 0.62rem 2.1rem;
  border: 1px solid var(--border-light);
  border-radius: 9px;
  font-size: 0.94rem;
  font-family: var(--font-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-icon input:focus,
.input-icon textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.1);
}

/* Gender Options */
.gender-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gender-option {
  flex: 1 1 110px;
  min-width: 0;
}

.gender-option input {
  display: none;
}

.gender-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gender-option input:checked + span {
  border-color: var(--primary-blue);
  background: var(--light-blue);
  color: var(--primary-blue);
}

.member-gender-options .gender-option span {
  background: #fff;
}

.member-gender-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  align-items: center;
  width: 100%;
}

.member-gender-options .gender-option span {
  min-height: 34px;
  padding: 0.48rem 0.45rem;
  white-space: nowrap;
  font-size: 0.84rem;
  border-radius: 8px;
}

.member-gender-options .gender-option {
  flex: 1 1 0;
  min-width: 0;
}

.member-gender-options .gender-option i {
  font-size: 0.68rem;
}

.member-gender-options .gender-option span {
  justify-content: center;
  width: 100%;
}

.member-inline-grid .form-group {
  margin-bottom: 0;
}

/* Time Slots */
.time-slots {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.time-slot-group h4 {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.time-slot-group h4 i {
  margin-right: 0.375rem;
}

.time-slot-group:first-child h4 i {
  color: #F59E0B;
}

.time-slot-group:last-child h4 i {
  color: #6366F1;
}

.slot-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.slot-option input {
  display: none;
}

.slot-option span {
  display: block;
  padding: 0.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slot-option input:checked + span {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: var(--white);
}

/* Insurance Section */
.promo-box {
  background: var(--light-blue);
  padding: 1.25rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  text-align: center;
}

.promo-box h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.insurance-logos-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.insurance-logo-img {
  height: 30px;
  max-width: 80px;
  object-fit: contain;
}

.insurance-verify-btn {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.insurance-verify-btn:hover {
  background: #1d4ed8;
}

/* Submit Button */
.book-test-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1.5rem;
}

.book-test-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.mobile-booking-bar {
  display: none;
}

/* OTP Modal */
.lab-otp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lab-otp-modal-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
}

.lab-otp-modal-header h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.lab-otp-modal-phone {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.lab-otp-modal-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1.25rem;
  text-align: center;
  letter-spacing: 0.5rem;
  margin-bottom: 1rem;
}

.lab-otp-modal-timer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.lab-otp-modal-resend {
  background: none;
  border: none;
  color: var(--primary-blue);
  cursor: pointer;
  font-weight: 600;
}

.lab-otp-modal-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.lab-otp-modal-actions {
  display: flex;
  gap: 1rem;
}

.lab-otp-modal-verify {
  flex: 1;
  padding: 0.75rem;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.lab-otp-modal-cancel {
  flex: 1;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* FAQ Section */
.faq-section {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.faq-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-section h3 i {
  color: #3b82f6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.faq-item strong {
  font-size: 0.875rem;
  color: #1e293b;
  display: block;
  margin-bottom: 0.25rem;
}

.faq-item p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .test-summary-header,
  .members-section-header {
    flex-direction: column;
  }

  .test-summary-header {
    align-items: stretch;
  }

  .members-assignment-chip {
    width: 100%;
    text-align: center;
  }

  .member-card-body {
    grid-template-columns: 1fr;
  }

  .member-fields-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 640px) {
  .member-tests-panel-header {
    flex-direction: column;
    align-items: stretch;
  }

  .member-add-test-btn {
    width: 100%;
  }

  .member-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .slot-options {
    grid-template-columns: 1fr;
  }

  .member-gender-options {
    flex-wrap: nowrap;
  }

  .member-fields-panel,
  .member-tests-panel,
  .patient-form-section {
    padding: 1rem;
  }

  .mobile-booking-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(59, 130, 246, 0.16);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
    z-index: 120;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .mobile-booking-bar.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-book-test-btn {
    flex: 1;
    min-height: 48px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
  }

  .mobile-book-test-btn {
    background: var(--primary-blue);
    color: var(--white);
  }

  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
}
