/* ClinicOS Booking Cascade Layers v0.9.61 */
@layer base, polish, print;
﻿:root {
  --primary: #00796b;
  --primary-dark: #00695c;
  --primary-text: #0f766e;
  --primary-accent: #0d9488;
  --primary-mid: #00897b;
  --primary-soft: #e0f2f1;
  --primary-surface: #f0fdfa;
  --primary-surface-hover: #ccfbf1;
  --primary-border: #b2dfdb;
  --primary-border-soft: #99f6e4;
  --primary-ring: rgba(0, 121, 107, 0.22);
}


:root {
  --primary: var(--primary, #00796b);
  --primary-hover: var(--primary-mid, #00897b);
  --primary-light: var(--primary-soft, #e0f2f1);
  --primary-border: var(--primary-border, #b2dfdb);
  --text-main: #0f172a;
  --text-navy: #1e293b;
  --text-muted: #64748b;
  --bg-page: #f4f6fb;
  --card-bg: #ffffff;
  --card-radius: 14px;
  --border-subtle: #e2e8f0;
  --border-dashed: #e2e8f0;
}


@keyframes pulseLiveDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}


@keyframes fadeInTicket {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes popIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@layer base {


/* =========================================================================
   PHÒNG KHÁM NHI HAPPY CARE - BOOKING TEST STYLESHEET (booking-test.css)
   Phiên bản Đặt Lịch Thế Hệ Mới - Chuẩn Giao Diện Thẻ Ứng Dụng Ngân Hàng
   Phụ trách: BS. Hà Hoài Nam
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}


body {
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 40px;
}


/* =========================================================================
   2. HEADER PHÒNG KHÁM CHÍNH THỨC (CLINIC HEADER TRUYỀN THỐNG)
   Giữ nguyên 100% nhận diện: Tên phòng khám, Google Maps, Địa chỉ, Hotline & Bác sĩ
   ========================================================================= */
.clinic-header {
  background: linear-gradient(135deg, var(--primary-mid, #00897b), var(--primary-dark, #00695c));
  color: #ffffff;
  padding: 10px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}


.clinic-header-inner {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}


.clinic-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 0 0 4px 0;
  text-transform: uppercase;
}


.clinic-name a {
  color: #ffffff;
  text-decoration: none;
}


.clinic-name a:hover {
  opacity: 0.95;
}


.clinic-header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  padding-top: 5px;
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
}


.clinic-col-left {
  text-align: left;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.clinic-col-right {
  text-align: right;
  flex: 0 0 auto;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.clinic-line {
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.clinic-line strong {
  font-weight: 700;
  color: #ffffff;
}


.clinic-line a {
  color: inherit;
  text-decoration: none;
}


.clinic-maps-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 7px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  transition: all 0.2s ease;
  width: fit-content;
}


.clinic-maps-link:hover {
  background: rgba(255, 255, 255, 0.28);
}


/* 2B. HEADER PHỤ TRỢ (FALLBACK DÀNH CHO APP SLIM NẾU DÙNG) */
.bank-app-header,
.bank-header-slim {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 0;
  z-index: 999;
}


.bank-back-chevron {
  color: #1e293b;
  text-decoration: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}


.bank-back-chevron:hover {
  background: #f1f5f9;
}


.bank-header-title-box {
  text-align: center;
  flex: 1;
}


.bank-header-title-box h1 {
  font-size: 15.5px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.2px;
  margin: 0;
  line-height: 1.2;
}


.bank-header-title-box p {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  margin: 2px 0 0 0;
}


/* 3. KHUNG CHÍNH (CONTAINER) */
.booking-container {
  max-width: 500px;
  margin: 12px auto 0 auto;
  padding: 0 12px;
}


/* =========================================================================
   THANH TRẠNG THÁI & TIÊU ĐỀ SIÊU GỌN (CAPSULE STATUS BAR)
   Thay thế thẻ cồng kềnh trước đây bằng dải capsule mỏng nhẹ ~36px
   ========================================================================= */
.booking-status-capsule {
  background: linear-gradient(135deg, var(--primary-surface, #f0fdfa) 0%, #e6fffa 100%);
  border: 1.2px solid #5eead4;
  border-radius: 10px;
  padding: 7px 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 121, 107, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}


.capsule-left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
}


.capsule-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary, #00796b);
  letter-spacing: 0.2px;
  white-space: nowrap;
}


.capsule-sep {
  color: #94a3b8;
  font-size: 11px;
}


.live-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseLiveDot 1.8s infinite;
  flex-shrink: 0;
}


.live-status-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-text, #0f766e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.live-badge-count {
  background: var(--primary, #00796b);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}


/* =========================================================================
   THỜI GIAN KHÁM SIÊU GỌN: 2 LỰA CHỌN PHƯƠNG ÁN 3
   [⚡ Lấy số ngay]  và  [🗓️ Hẹn ngày khác ⌵]
   ========================================================================= */
.bank-time-compact-card {
  padding: 8px 10px;
  margin-bottom: 11px;
}


.time-quick-pills.time-pills-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}


.time-pills-2col .time-pill-btn {
  background: #f8fafc;
  border: 1.2px solid #cbd5e1;
  border-radius: 9px;
  height: 38px;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
}


.time-pills-2col .time-pill-btn:hover {
  border-color: var(--primary);
  background: #f0fdf4;
}


.time-pills-2col .time-pill-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 121, 107, 0.28);
}


/* DẢI GỢI Ý BÉ KHÁM LẠI (NẰM NGAY DƯỚI TÊN BÉ CỰC KỲ TIỆN DỤNG) */
.family-recall-inline {
  background: #f0fdf4;
  border: 1px dashed #86efac;
  border-radius: 7px;
  padding: 4px 10px;
  margin: 2px 14px 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}


.family-recall-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #166534;
  white-space: nowrap;
}


.family-chips-track {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}


.family-chip-btn {
  background: #ffffff;
  border: 1.2px solid #bbf7d0;
  color: #15803d;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


.family-chip-btn:hover,
.family-chip-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 121, 107, 0.22);
}


.family-chip-btn.btn-new-baby {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #475569;
}


.family-chip-btn.forget-device {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
  font-weight: 600;
}


.family-chip-btn.forget-device:hover {
  background: #ffe4e6;
  color: #9f1239;
  border-color: #fda4af;
  box-shadow: none;
}


.family-verify-hint {
  background: #fefce8;
  border: 1px dashed #fde047;
  color: #854d0e;
  font-size: 11.5px;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 10px;
  margin: 2px 14px 8px 14px;
}


/* =========================================================================
   CÁC THẺ COMPOUND KIỂU NGÂN HÀNG (BANK CARDS)
   ========================================================================= */
.bank-section-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-navy);
  margin: 14px 4px 6px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.1px;
}


.bank-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}


.bank-card:focus-within {
  border-color: var(--primary-border, #b2dfdb);
  box-shadow: 0 4px 14px rgba(0, 121, 107, 0.08);
}


.bank-divider {
  border-bottom: 1px dashed var(--border-dashed);
  margin: 0 14px;
}


/* =========================================================================
   FLOATING LABELS THÔNG MINH CHUẨN APP NGÂN HÀNG (SMART FLOATING INPUTS)
   Khi trống: Placeholder lớn ở giữa ô
   Khi focus hoặc có chữ: Nhãn thu nhỏ bay lên góc trên bên trái
   ========================================================================= */
.bank-floating-cell {
  position: relative;
  padding: 6px 14px 4px 14px;
  min-height: 53px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s ease;
  box-sizing: border-box;
}


.bank-floating-cell:focus-within {
  background: #fafcfe;
}


.bank-floating-inner {
  position: relative;
  flex: 1;
  min-width: 0;
}


.bank-floating-label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13.5px;
  font-weight: 400;
  color: #94a3b8;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.2;
  text-transform: none;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


.bank-floating-label.is-always-top {
  top: 1px;
  transform: translateY(0);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--primary-text, #0f766e);
  letter-spacing: normal;
  text-transform: none;
  max-width: 100%;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


.bank-floating-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px; /* Giảm 1.5px (1-2 size) cho giao diện điền thông tin gọn gàng */
  font-weight: 700;
  color: #0f172a;
  padding-top: 14px;
  padding-bottom: 2px;
  padding-left: 0;
  padding-right: 0;
  line-height: 1.3;
  font-family: inherit;
}


/* HIỆU ỨNG NHÃN BAY: KHI INPUT FOCUS HOẶC KHI ĐÃ CÓ CHỮ (:not(:placeholder-shown) hoặc .has-val) */
.bank-floating-input:focus ~ .bank-floating-label,
.bank-floating-input:not(:placeholder-shown) ~ .bank-floating-label,
.bank-floating-cell.has-val .bank-floating-label {
  top: 1px;
  transform: translateY(0);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--primary-text, #0f766e);
  letter-spacing: normal;
  text-transform: none;
  max-width: 100%;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


/* ĐẶC THÙ CHO TEXTAREA TRIỆU CHỨNG CỦA BÉ + DẢI CHIP GỢI Ý FULL-WIDTH */
.bank-cell-symptoms-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: background 0.15s ease;
}


.bank-cell-symptoms-wrap:focus-within {
  background: #fafcfe;
}


.bank-cell-textarea {
  align-items: flex-start;
  padding-top: 6px;
  padding-bottom: 2px;
  height: auto;
  min-height: 46px;
  background: transparent;
}


.bank-cell-textarea .bank-icon-circle {
  align-self: flex-start;
  margin-top: 3px;
}


.bank-cell-textarea .bank-cell-right {
  align-self: flex-start;
  margin-top: 5px;
}


/* KHI CHƯA NHẬP (TRỐNG): DÒNG GỢI Ý CĂN THẲNG TẮP VỚI TÂM ICON NHỊP TIM */
.bank-cell-textarea .bank-floating-label {
  top: 11px;
  transform: none;
}


/* KHI FOCUS HOẶC ĐÃ CÓ CHỮ: NHÃN BAY GỌN LÊN ĐẦU */
.bank-cell-textarea .bank-floating-input:focus ~ .bank-floating-label,
.bank-cell-textarea .bank-floating-input:not(:placeholder-shown) ~ .bank-floating-label,
.bank-cell-textarea.has-val .bank-floating-label {
  top: 0px;
  transform: translateY(0);
  font-size: 10.5px;
}


.bank-floating-textarea {
  min-height: 32px;
  height: 32px;
  resize: none;
  overflow-y: hidden;
  padding-top: 12px;
  padding-bottom: 2px;
  line-height: 1.35;
}


/* DẢI CHIP TRIỆU CHỨNG NHANH 1 CHẠM - RỘNG RÃI 1 HÀNG TRÊN WEB, 3x2 GỌN ĐẸP TRÊN MOBILE */
.symptom-chips-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 2px 14px 10px 14px;
  width: 100%;
  box-sizing: border-box;
}


.symptom-chip {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 4px 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}


.symptom-chip:hover {
  background: var(--primary-soft, #e0f2f1);
  color: var(--primary, #00796b);
  border-color: #80cbc4;
  transform: translateY(-1px);
}


.symptom-chip:active {
  transform: scale(0.96);
}


/* BIỂU TƯỢNG VÒNG TRÒN NỀN MINT ĐỒNG BỘ CHUYÊN NGHIỆP */
.bank-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-soft, #e0f2f1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 10px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}


.bank-icon-circle svg {
  stroke: var(--primary, #00796b);
  transition: stroke 0.2s ease, transform 0.2s ease;
}


.bank-icon-circle.sm {
  width: 26px;
  height: 26px;
  margin-right: 7px;
}


.bank-floating-cell:focus-within .bank-icon-circle {
  background: var(--primary, #00796b);
  color: #ffffff;
  box-shadow: 0 2px 7px rgba(0, 121, 107, 0.28);
}


.bank-floating-cell:focus-within .bank-icon-circle svg,
.bank-floating-cell:focus-within .bank-icon-circle svg * {
  stroke: #ffffff;
  transform: scale(1.08);
}


.bank-cell-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 8px;
}


/* NÚT XÓA [✕] CHUẨN APP NGÂN HÀNG (TỰ ĐỘNG HIỆN KHI CÓ CHỮ) */
.bank-btn-clear {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #ffffff;
  border: none;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.6);
  flex-shrink: 0;
  padding: 0;
}


.bank-floating-input:not(:placeholder-shown) ~ .bank-cell-right .bank-btn-clear,
.bank-floating-cell.has-val .bank-btn-clear {
  opacity: 0.85;
  pointer-events: auto;
  transform: scale(1);
}


.bank-btn-clear:hover {
  opacity: 1;
  background: #64748b;
}


/* BADGES & ICONS NHẸ NHÀNG */
.bank-badge-zalo-slim {
  font-size: 10.5px;
  color: var(--primary, #00796b);
  font-weight: 700;
  background: var(--primary-soft, #e0f2f1);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--primary-border, #b2dfdb);
}


.bank-age-badge-slim {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #bae6fd;
  white-space: nowrap;
}


.bank-cell-icon {
  font-size: 16px;
  opacity: 0.85;
}


/* GIỚI TÍNH - DÒNG RIÊNG BIỆT 100% RỘNG RÃI & THOÁNG ĐẸP */
.gender-block-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}


.gender-label-text {
  font-size: 13.5px;
  font-weight: 400;
  color: #64748b;
  letter-spacing: normal;
}


.gender-toggle-wrap {
  display: flex;
  gap: 8px;
  width: auto;
  min-width: 170px;
  max-width: 210px;
}


.btn-gender {
  flex: 1;
  height: 33px;
  padding: 0 12px;
  border: 1.2px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}


.btn-gender:hover {
  border-color: var(--primary);
}


.btn-gender.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 121, 107, 0.25);
}


.bank-floating-micro-fixed {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--primary-text, #0f766e);
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 2px;
  line-height: 1.2;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


/* DÒNG HÌNH THỨC KHÁM SLIM */
.exam-type-toggle-slim {
  display: flex;
  gap: 8px;
  flex: 1;
  margin-left: 8px;
}


.exam-type-pill-slim {
  flex: 1;
  height: 31px;
  background: #f8fafc;
  border: 1.2px solid #cbd5e1;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}


.exam-type-pill-slim:hover {
  background: #ffffff;
  border-color: var(--primary);
}


.exam-type-pill-slim.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 121, 107, 0.25);
}


.exam-type-pill-slim .exam-type-icon {
  stroke: #475569;
  flex-shrink: 0;
  transition: stroke 0.15s ease;
}


.exam-type-pill-slim.active .exam-type-icon,
#btnExamTypeNew.active .exam-type-icon,
#btnExamTypeRe.active .exam-type-icon {
  stroke: #ffffff;
}


/* DÒNG PHẢN HỒI / CẢNH BÁO SĐT VÀ DỮ LIỆU NHẬP */
.bank-field-feedback {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px 6px 14px;
  line-height: 1.35;
  transition: all 0.2s ease;
  animation: fadeIn 0.15s ease;
}


.bank-field-feedback.is-warning {
  color: #b45309;
  background: #fffbeb;
  border-top: 1px dashed #fde68a;
  display: flex;
  align-items: center;
  gap: 5px;
}


.bank-field-feedback.is-error {
  color: #b91c1c;
  background: #fef2f2;
  border-top: 1px dashed #fecaca;
  display: flex;
  align-items: center;
  gap: 5px;
}


.bank-field-feedback.is-valid {
  color: #047857;
  background: #f0fdf4;
  border-top: 1px dashed #bbf7d0;
  display: flex;
  align-items: center;
  gap: 5px;
}


.bank-floating-cell.has-warning {
  background: #fffdf5;
}


.bank-floating-cell.has-error {
  background: #fff5f5;
}


.bank-cell-valid-check {
  color: #059669;
  font-size: 14px;
  font-weight: 900;
  display: none;
  background: #e6fffa;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #5eead4;
  text-align: center;
  line-height: 19px;
  align-items: center;
  justify-content: center;
}


.bank-floating-cell.is-valid .bank-cell-valid-check {
  display: inline-flex;
}


/* THỜI GIAN KHÁM: QUICK PILLS */
.time-quick-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}


.time-quick-btn {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.time-quick-btn:hover {
  border-color: var(--primary);
  background: #f0fdf4;
}


.time-quick-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 121, 107, 0.3);
}


.time-quick-btn.primary-now {
  grid-column: span 2;
  font-size: 13.5px;
  padding: 10px;
}


/* KHAY CHỌN NGÀY VÀ KHUNG GIỜ CHI TIẾT (DRAWER) */
.custom-time-drawer {
  background: #f8fafc;
  border-top: 1px dashed var(--border-dashed);
  display: none;
  padding-bottom: 6px;
}


.bank-drawer-date-cell {
  position: relative;
  padding: 8px 14px 6px 14px;
  min-height: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}


.bank-date-custom-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}


.bank-date-custom-display {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  padding-top: 13px;
  line-height: 1.2;
}


.bank-date-custom-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}


.bank-drawer-slots-block {
  padding: 10px 14px 14px 14px;
  height: auto;
  min-height: auto;
  display: block;
  box-sizing: border-box;
}


/* 3 KHUNG GIỜ CHUẨN THAM CHIẾU TỪ TRANG CHÍNH - FIT 100% KHÔNG TRÀN */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
  width: 100%;
  box-sizing: border-box;
}


.slot-pill {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  color: #1e293b;
  min-width: 0;
  box-sizing: border-box;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}


.slot-pill .slot-time-text {
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: -0.2px;
}


.slot-pill .slot-sub {
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
}


.slot-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0fdf4;
}


.slot-pill.active {
  background: var(--primary, #00796b);
  border-color: var(--primary, #00796b);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 121, 107, 0.25);
}


.slot-pill.active .slot-sub {
  color: rgba(255, 255, 255, 0.85);
}


.slot-pill.disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.6;
}


.slot-pill.disabled .slot-sub {
  color: #94a3b8;
}




/* HÌNH THỨC KHÁM: KHÁM MỚI / TÁI KHÁM */
.exam-type-toggle {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}


.exam-type-pill {
  flex: 1;
  height: 34px;
  background: #f8fafc;
  border: 1.2px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}


.exam-type-pill:hover {
  background: #ffffff;
  border-color: var(--primary);
}


.exam-type-pill.active,
.exam-type-pill-slim.active,
#btnExamTypeNew.active,
#btnExamTypeRe.active {
  background: var(--primary, #00796b);
  border-color: var(--primary, #00796b);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 121, 107, 0.25);
}


.exam-type-pill.active.re-exam,
.exam-type-pill-slim.active.re-exam {
  background: var(--primary, #00796b);
  border-color: var(--primary, #00796b);
  color: #ffffff;
}


/* ĐỒNG BỘ 100% CÁC NÚT ĐANG CHỌN (ACTIVE) TOÀN HỆ THỐNG BOOKING */
.time-pill-btn.active,
.time-quick-btn.active,
.family-chip-btn.active,
.btn-gender.active,
.slot-pill.active {
  background: var(--primary, #00796b);
  border-color: var(--primary, #00796b);
  color: #ffffff;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 121, 107, 0.25);
}


/* =========================================================================
   HÀNG 2 NÚT HÀNH ĐỘNG ĐÁY MÀN HÌNH (GIỐNG HỆT ẢNH APP NGÂN HÀNG)
   ========================================================================= */
.bank-bottom-actions {
  display: flex;
  margin-top: 20px;
  margin-bottom: 24px;
}


.btn-bank-submit {
  width: 100%;
  height: 52px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary, #00796b) 0%, var(--primary-mid, #00897b) 100%);
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 121, 107, 0.35);
  transition: all 0.15s ease;
}


.btn-bank-submit:hover {
  background: linear-gradient(135deg, var(--primary-dark, #00695c) 0%, var(--primary, #00796b) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 121, 107, 0.45);
}


.btn-bank-submit:active {
  transform: translateY(0);
}


/* 4. TẤM VÉ HẸN ĐIỆN TỬ (ACTIVE TICKET CARD) */
.ticket-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  border: 2px solid var(--primary);
  box-shadow: 0 8px 30px rgba(0, 121, 107, 0.15);
  padding: 22px 18px;
  display: none;
  animation: fadeInTicket 0.35s ease;
}


.ticket-header {
  text-align: center;
  border-bottom: 1.5px dashed #cbd5e1;
  padding-bottom: 14px;
  margin-bottom: 14px;
}


.ticket-stt-big {
  font-size: 52px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin: 6px 0;
  letter-spacing: -1px;
}


.ticket-status-pill {
  display: inline-block;
  background: #f0fdf4;
  color: var(--primary, #00796b);
  border: 1px solid #86efac;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}


.ticket-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 16px;
}


.ticket-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.ticket-info-lbl {
  color: var(--text-muted);
  font-weight: 500;
}


.ticket-info-val {
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
}


.ticket-actions-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  border-top: 1.5px dashed #cbd5e1;
  padding-top: 14px;
}


.btn-ticket-action {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}


.btn-ticket-action.save-img {
  background: linear-gradient(135deg, var(--primary, #00796b) 0%, #004d40 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 121, 107, 0.28);
}


.btn-ticket-action.save-img:hover {
  background: linear-gradient(135deg, var(--primary-mid, #00897b) 0%, var(--primary-dark, #00695c) 100%);
  transform: translateY(-1px);
}


.btn-ticket-action.zalo {
  background: #0068ff;
  color: #ffffff;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 104, 255, 0.25);
}


.btn-ticket-action.zalo:hover {
  background: #0056d6;
}


.btn-ticket-action.maps {
  background: #ffffff;
  color: var(--text-main);
  border: 1.5px solid #cbd5e1;
}


.btn-ticket-action.maps:hover {
  background: #f1f5f9;
}


.btn-ticket-action.reset {
  background: var(--primary-light);
  color: var(--primary, #00796b);
  border: 1.5px solid var(--primary-border);
}


.btn-ticket-action.reset:hover {
  background: var(--primary-surface-hover, #ccfbf1);
}


.ticket-actions-subrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}


.ticket-actions-subrow .btn-ticket-action {
  padding: 10px 8px;
  font-size: 13px;
  margin-top: 0;
  white-space: nowrap;
}


.btn-ticket-action.cancel {
  background: #fff5f5;
  color: #b91c1c;
  border: 1.2px solid #fecaca;
  margin-top: 0;
}


.btn-ticket-action.cancel:hover {
  background: #fee2e2;
  border-color: #f87171;
}


/* HIỆU ỨNG LOADING MỜ (SKELETON SHIMMER) CHO STATUS BAR */
.skeleton-shimmer {
  background: linear-gradient(90deg, #e2e8f0 25%, #f8fafc 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.4s infinite ease-in-out;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
}

.skeleton-shimmer#liveStatusText {
  width: 130px;
  height: 13px;
}

.skeleton-shimmer#liveWaitingBadge {
  width: 48px;
  height: 18px;
}


/* FOOTER THÔNG TIN PHÒNG KHÁM */
.booking-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}


.booking-footer strong {
  color: #334155;
}


/* ĐỒNG NHẤT BIỂU TƯỢNG NÚT CHỮ V (CHEVRON V-ICON) */
.chevron-v-icon {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(0deg);
}

.chevron-v-icon.is-collapsed {
  transform: rotate(-90deg);
}


/* MODAL CẢNH BÁO TRÙNG LỊCH TRONG NGÀY */
.duplicate-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.duplicate-modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 20px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  text-align: center;
  border: 1.5px solid #f59e0b;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.duplicate-modal-icon {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 8px;
}

.duplicate-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.duplicate-modal-body {
  background: #fffbeb;
  border: 1px dashed #fcd34d;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #334155;
  text-align: left;
  line-height: 1.5;
  margin-bottom: 10px;
}

.duplicate-modal-body strong {
  color: #0f172a;
}

.duplicate-old-stt {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-weight: 900;
  font-size: 16px;
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid #fde68a;
}

.duplicate-modal-notice {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.4;
}

.duplicate-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-dup-confirm {
  height: 46px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-dup-confirm:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.btn-dup-keep {
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-dup-keep:hover {
  background: #f1f5f9;
  color: #0f172a;
}





/* =========================================================================
   PHIÊN BẢN 1A: BOARDING PASS SIÊU GỌN (VỪA 1 MÀN HÌNH + QR TÁI ĐẶT LỊCH)
   ========================================================================= */
.ticket-card.ticket-card-v1a {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 4px;
}


.bp-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--primary, #0d9488);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.13);
}


.bp-top {
  background: linear-gradient(135deg, var(--primary-dark, #0f5c57) 0%, var(--primary, #0d9488) 100%);
  color: #ffffff;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}


.bp-clinic {
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.2;
}


.bp-hotline {
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}


.v1a-num-wrap {
  padding: 9px 12px 7px;
  text-align: center;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
}


.v1a-lbl {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}


.v1a-num {
  font-size: 44px;
  font-weight: 900;
  color: var(--primary-dark, #0f5c57);
  line-height: 1.02;
  margin: 1px 0 5px;
}


.v1a-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857;
  font-size: 11px;
  font-weight: 700;
  padding: 2.5px 10px;
  border-radius: 999px;
}


.v1a-live .live-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2.5px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}


.v1a-name-bar {
  margin: 2px 12px 7px;
  padding: 6px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}


.v1a-name {
  font-size: 14px;
  font-weight: 900;
  color: var(--primary-dark, #0f5c57);
}


.v1a-type {
  font-size: 10.5px;
  font-weight: 800;
  color: #0f766e;
  background: #ccfbf1;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}


.v1a-grid {
  padding: 0 12px 7px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}


.v1a-cell {
  display: flex;
  flex-direction: column;
}


.v1a-k {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
}


.v1a-v {
  font-size: 12.2px;
  color: #0f172a;
  font-weight: 800;
  margin-top: 1px;
}


.v1a-v-time {
  color: #ea580c;
}


.bp-tear {
  position: relative;
  height: 14px;
  display: flex;
  align-items: center;
  background: #ffffff;
}


.bp-tear::before,
.bp-tear::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-page, #f1f5f9);
  border: 1.5px solid var(--primary, #0d9488);
  top: 0;
}


.bp-tear::before { left: -8px; }

.bp-tear::after { right: -8px; }


.bp-tear-line {
  width: 100%;
  border-top: 1.5px dashed #94a3b8;
  margin: 0 10px;
}


.bp-qr-zone {
  background: #f0fdfa;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
}


.bp-qr-box {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  background: #ffffff;
  border: 2px solid var(--primary, #0d9488);
  border-radius: 10px;
  padding: 4px;
}


.bp-qr-box img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 3px;
}


.bp-qr-text {
  flex: 1;
  min-width: 0;
}


.bp-qr-badge {
  display: inline-block;
  background: var(--primary-dark, #0f5c57);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
}


.bp-qr-title {
  font-size: 12.2px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}


.bp-qr-sub {
  font-size: 10.8px;
  color: #475569;
  margin-top: 2px;
  line-height: 1.35;
}


.bp-foot {
  background: var(--primary-dark, #0f5c57);
  color: #e2f5f2;
  font-size: 10.5px;
  text-align: center;
  padding: 5px 10px;
  font-weight: 600;
}


.bp-actions-stack {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}


.bp-btn-primary {
  width: 100%;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: var(--primary-dark, #0f5c57);
  color: #ffffff;
  font-size: 12.8px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(15, 92, 87, 0.22);
}


.bp-btn-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}


.bp-btn-sync {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  height: 36px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}


.bp-btn-sync:hover {
  background: #f0fdfa;
  border-color: var(--primary, #0d9488);
  color: var(--primary-dark, #0f5c57);
}


.bp-cancel-wrap {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  text-align: center;
}


.bp-cancel-link {
  font-size: 10.8px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}


.bp-cancel-link:hover {
  color: #dc2626;
}
}
@layer polish {


@media (max-width: 767px) {
  .clinic-header {
    display: none !important;
  }
  .booking-container {
    padding-top: 8px;
  }
}

@media (max-width: 440px) {
  .clinic-header {
    padding: 8px 12px 10px 12px;
  }
  .clinic-name {
    font-size: 15.5px;
  }
  .clinic-header-grid {
    flex-direction: row;
    gap: 4px;
  }
  .clinic-line {
    font-size: 11px;
  }
  .clinic-maps-link {
    font-size: 11px;
    padding: 1px 6px;
  }}


@media (max-width: 480px) {
  .bank-floating-input {
    font-size: 16px; /* Tăng cỡ chữ nhập liệu trên mobile dễ đọc & chống tự zoom trên iOS */
  }
  .bank-floating-textarea {
    min-height: 36px;
  }}


@media (max-width: 480px) {
  .symptom-chips-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 3px 14px 10px 14px;
  }
  .symptom-chip {
    padding: 5px 4px;
    font-size: 11.5px;
    border-radius: 10px;
  }}


@media (max-width: 360px) {
  .symptom-chips-row {
    gap: 5px;
  }
  .symptom-chip {
    padding: 4.5px 3px;
    font-size: 11px;
    gap: 2px;
  }}


@media (max-width: 380px) {
  .gender-label-text {
    font-size: 12.5px;
  }
  .gender-toggle-wrap {
    min-width: 140px;
    gap: 6px;
  }
  .btn-gender {
    height: 31px;
    font-size: 11.5px;
    padding: 0 6px;
  }}


@media (max-width: 360px) {
  .slots-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }}

@media (max-width: 480px) {
  .clinic-line {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 11.5px;
    line-height: 1.35;
  }
  .clinic-col-right {
    white-space: normal;
  }
  .bank-floating-input {
    font-size: 16px;
  }
  .capsule-left {
    flex-wrap: wrap;
    row-gap: 2px;
  }
  .live-status-text {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 11.5px;
  }
  .time-pills-2col .time-pill-btn {
    font-size: 12.5px;
    padding: 0 6px;
    gap: 4px;
    white-space: nowrap;
  }
  .time-pills-2col .chevron-v-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
  .bank-bottom-actions {
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: linear-gradient(to top, #f4f6fb 76%, rgba(244, 246, 251, 0));
    padding: 10px 0 10px;
    margin-top: 12px;
    margin-bottom: 6px;
  }
}
}


/* === HERO SAVE TICKET CTA (AMBER-ORANGE CONTRAST + SHIMMER) === */
.bp-btn-save-hero {
  position: relative;
  overflow: hidden;
  height: auto !important;
  min-height: 58px;
  padding: 10px 16px;
  margin-top: 6px;
  margin-bottom: 4px;
  border: none !important;
  outline: none;
  border-radius: 14px !important;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.30) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s ease;
}

.bp-btn-save-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-22deg);
  animation: bpHeroShimmer 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bpHeroShimmer {
  0%, 62% { left: -120%; }
  100% { left: 160%; }
}

.bp-btn-save-hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.38) !important;
}

.bp-btn-save-hero:active {
  transform: scale(0.985);
}

.bp-btn-save-hero.is-saved {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.24) !important;
}

.bp-btn-save-hero.is-saved::after {
  animation: none;
}

.bp-save-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1px;
  color: #ffffff;
}

.bp-save-sub {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fef3c7;
  line-height: 1.35;
  text-wrap: balance;
}

.bp-save-chunk {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.bp-save-5s {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.2px;
}

.bp-btn-save-hero.is-saved .bp-save-sub {
  color: #d1fae5;
}

.bp-btn-grid-2x2 .bp-btn-sync {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}


/* === DATE PICKER CLICK-ANYWHERE & QUICK DATE CHIPS === */
.bank-date-custom-input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.quick-date-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 2px 10px 2px;
}

.quick-date-chip {
  flex: 1;
  min-width: 90px;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.14s ease;
}

.quick-date-chip:hover {
  border-color: var(--primary, #0d9488);
  background: #f0fdfa;
}

.quick-date-chip.active {
  background: var(--primary, #0d9488);
  border-color: var(--primary, #0d9488);
  color: #ffffff;
}
