/* ============================================================================
 * GIASU.AIHOT.VN — BỘ GIAO DIỆN CHUẨN HUKE88 CHO 3 HỆ THỐNG:
 * 1. Đăng nhập / Đăng ký OTP & Hồ sơ Học viên VIP (#giasu-auth-modal)
 * 2. Cổng Thanh toán VietQR & Đối soát Tự động GPM Pay (#giasu-cashier-modal)
 * 3. Trợ lý AI Gia Sư 1:1 Trực tuyến 24/7 (#giasu-chatbot-widget)
 * Font chuẩn Antigravity: Google Sans >= 12px, tabular-nums
 * ============================================================================ */

/* ================= 1. NÚT ĐĂNG NHẬP / ĐĂNG KÝ TRÊN HEADER & TỐI ƯU HEADER LAPTOP ================= */
@media (max-width: 1560px) and (min-width: 769px) {
  .huke-header-inner {
    padding: 0 16px !important;
    gap: 10px !important;
  }
  .huke-header-left {
    gap: 14px !important;
  }
  .huke-nav-links {
    gap: 12px !important;
  }
  .huke-nav-item {
    font-size: 0.84rem !important;
  }
  .huke-search-wrap {
    width: 205px !important;
  }
  .huke-header-right {
    gap: 12px !important;
  }
}

.huke-guest-auth-wrap {
  display: none !important;
  align-items: center;
  gap: 8px;
}
.huke-guest-auth-wrap.visible {
  display: inline-flex !important;
}
.huke-header-login-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 99px;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  color: #222222;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}
.huke-header-login-btn:hover {
  border-color: #ff7800;
  color: #ff7800;
  background: #fffaf5;
}
.huke-header-reg-btn {
  height: 34px;
  padding: 0 16px;
  border-radius: 99px;
  border: none;
  background: linear-gradient(90deg, #ffd100 0%, #ffb800 100%);
  color: #111111;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(255, 184, 0, 0.35);
  transition: all 0.16s ease;
  white-space: nowrap;
}
.huke-header-reg-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 184, 0, 0.48);
}

/* ================= 2. LỚP NỀN MODAL CHUNG (.giasu-sys-backdrop) ================= */
.giasu-sys-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.giasu-sys-backdrop.open {
  display: flex;
  opacity: 1;
}

/* ================= 3. MODAL ĐĂNG NHẬP / ĐĂNG KÝ / HỒ SƠ (#giasu-auth-modal) ================= */
.giasu-auth-dialog {
  width: 100%;
  max-width: 850px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  display: grid;
  grid-template-columns: 330px 1fr;
  border: 1px solid rgba(255, 209, 0, 0.25);
  animation: giasuModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes giasuModalPop {
  from {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Cột trái: Banner thương hiệu Huke88 Đen - Vàng Hoàng Kim */
.giasu-auth-left {
  background: linear-gradient(160deg, #111827 0%, #1e293b 55%, #0f172a 100%);
  color: #ffffff;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.giasu-auth-left::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 0, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.giasu-auth-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 209, 0, 0.16);
  border: 1px solid rgba(255, 209, 0, 0.45);
  color: #ffd100;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.giasu-auth-left h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 8px;
}
.giasu-auth-left p {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 18px;
}
.giasu-auth-perk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.giasu-auth-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.42;
}
.giasu-auth-perk-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 209, 0, 0.2);
  border: 1px solid rgba(255, 209, 0, 0.4);
  color: #ffd100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.giasu-auth-left-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  font-size: 0.75rem;
  color: #94a3b8;
}
.giasu-auth-demo-vip-btn {
  width: 100%;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 209, 0, 0.16);
  border: 1px solid rgba(255, 209, 0, 0.5);
  color: #ffd100;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: center;
}
.giasu-auth-demo-vip-btn:hover {
  background: #ffd100;
  color: #111111;
}

/* Cột phải: Khung Form Đăng nhập / Đăng ký */
.giasu-auth-right {
  padding: 28px 32px 26px;
  background: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.giasu-auth-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.giasu-auth-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(90deg);
}
.giasu-auth-right-head {
  margin-bottom: 14px;
  padding-right: 36px;
}
.giasu-auth-right-head h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 2px;
}
.giasu-auth-right-head p {
  font-size: 0.8rem;
  color: #64748b;
}

/* Thanh 3 Tab chuyển chế độ */
.giasu-auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.giasu-auth-tab {
  border: none;
  background: transparent;
  padding: 8px 6px;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.giasu-auth-tab:hover {
  color: #111827;
}
.giasu-auth-tab.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* Các ô nhập liệu chuẩn Huke88 */
.giasu-field-group {
  margin-bottom: 13px;
}
.giasu-field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}
.giasu-field-input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #111827;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.giasu-field-input:focus {
  outline: none;
  border-color: #f59e0b;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 209, 0, 0.25);
}
.giasu-otp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.giasu-send-otp-btn {
  height: 42px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1.5px solid #00b268;
  background: #e6f7f0;
  color: #009958;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.giasu-send-otp-btn:hover:not(:disabled) {
  background: #00b268;
  color: #ffffff;
}
.giasu-send-otp-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.giasu-demo-otp-hint {
  display: none;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  color: #92400e;
  font-size: 0.78rem;
  line-height: 1.4;
}
.giasu-demo-otp-hint.visible {
  display: block;
}

/* Nút Submit chính Vàng Huke88 */
.giasu-auth-submit-btn {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #ffd100 0%, #ffb800 100%);
  color: #111111;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 184, 0, 0.32);
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.giasu-auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 184, 0, 0.45);
}

/* Hộp chuyển nhanh tài khoản VIP dưới chân form */
.giasu-quick-vip-box {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #475569;
}
.giasu-quick-vip-box button {
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid #f59e0b;
  background: #fffbeb;
  color: #b45309;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.giasu-quick-vip-box button:hover {
  background: #ffd100;
  color: #111111;
}

/* ================= 4. CỔNG THANH TOÁN VIETQR & GPM PAY (#giasu-cashier-modal) ================= */
.giasu-cashier-dialog {
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.42);
  border: 1px solid #e2e8f0;
  animation: giasuModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.giasu-cashier-header {
  background: linear-gradient(90deg, #111827 0%, #1e293b 100%);
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid #ffd100;
}
.giasu-cashier-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.giasu-cashier-badge {
  background: #ffd100;
  color: #111111;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.giasu-cashier-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}
.giasu-cashier-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.giasu-cashier-close:hover {
  background: #ef4444;
  border-color: #ef4444;
}
.giasu-cashier-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: stretch;
}
.giasu-cashier-qr-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border: 2px solid #00b268;
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 178, 104, 0.08);
}
.giasu-cashier-qr-card img {
  width: 226px;
  height: 226px;
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #dcfce7;
  margin: 10px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.giasu-cashier-status-pill {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.giasu-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  display: inline-block;
  flex-shrink: 0;
  animation: giasuDotPulse 1.2s infinite ease-in-out;
}
@keyframes giasuDotPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.55; }
  50% { transform: scale(1.3); opacity: 1; }
}
.giasu-cashier-info h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}
.giasu-cashier-sub {
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.45;
}
.giasu-bank-detail-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.giasu-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  padding-bottom: 9px;
  border-bottom: 1px dashed #e2e8f0;
}
.giasu-bank-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.giasu-bank-lbl {
  color: #64748b;
  font-weight: 500;
}
.giasu-bank-val {
  color: #111827;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.giasu-copy-mini {
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}
.giasu-copy-mini:hover {
  border-color: #00b268;
  background: #e6f7f0;
  color: #009958;
}
.giasu-cashier-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.giasu-cashier-verify-btn {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #00b268 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 178, 104, 0.28);
  transition: all 0.15s ease;
}
.giasu-cashier-verify-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 178, 104, 0.38);
}
.giasu-paid-success-box {
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #22c55e;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}
.giasu-paid-icon {
  font-size: 2.8rem;
  margin-bottom: 8px;
}
.giasu-paid-success-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #14532d;
  margin-bottom: 6px;
}
.giasu-paid-success-box p {
  font-size: 0.88rem;
  color: #166534;
  max-width: 580px;
  margin: 0 auto 16px;
}

/* ================= 5. WIDGET CHATBOT TRỢ LÝ AI 24/7 (#giasu-chatbot-widget) ================= */
.giasu-chatbot-fab-wrap {
  position: fixed;
  right: 76px;
  bottom: 18px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.giasu-chatbot-tip {
  max-width: 275px;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #ffd100;
  border-radius: 12px;
  padding: 10px 26px 10px 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  position: relative;
}
.giasu-chatbot-tip-close {
  position: absolute;
  top: 6px;
  right: 8px;
  color: #94a3b8;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
}
.giasu-chatbot-tip-close:hover {
  color: #ef4444;
}
.giasu-chatbot-fab {
  height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 99px;
  border: 2px solid #ffd100;
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35);
  transition: all 0.18s ease;
}
.giasu-chatbot-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.45);
}
.giasu-chatbot-fab-badge {
  background: #ffd100;
  color: #111111;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 99px;
}

/* Cửa sổ Chat AI */
.giasu-chatbot-window {
  position: fixed;
  right: 76px;
  bottom: 80px;
  width: 410px;
  max-width: calc(100vw - 24px);
  height: 575px;
  max-height: calc(100vh - 105px);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.32);
  z-index: 960;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: giasuModalPop 0.18s ease;
}
.giasu-chatbot-window.open {
  display: flex;
}
.giasu-chat-header {
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  color: #ffffff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 2px solid #ffd100;
}
.giasu-chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.giasu-chat-bot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffd100;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.giasu-chat-bot-info h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1px;
}
.giasu-chat-bot-info p {
  font-size: 0.75rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 5px;
}
.giasu-chat-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}
.giasu-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.giasu-chat-hdr-btn {
  height: 28px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.14s ease;
}
.giasu-chat-hdr-btn:hover {
  background: #ffd100;
  border-color: #ffd100;
  color: #111111;
}
.giasu-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.giasu-chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 92%;
}
.giasu-chat-msg.assistant,
.giasu-chat-msg.bot {
  align-self: flex-start;
}
.giasu-chat-msg.user {
  align-self: flex-end;
}
.giasu-chat-bubble {
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 0.83rem;
  line-height: 1.5;
  word-break: break-word;
}
.giasu-chat-msg.assistant .giasu-chat-bubble,
.giasu-chat-msg.bot .giasu-chat-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.giasu-chat-msg.user .giasu-chat-bubble {
  background: linear-gradient(90deg, #00b268 0%, #059669 100%);
  color: #ffffff;
  border-top-right-radius: 4px;
  font-weight: 500;
}
.giasu-chat-typing {
  padding: 8px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
}

/* Thẻ khóa học / VIP / Đơn hàng đính kèm trong tin nhắn Chatbot */
.giasu-chat-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.giasu-chat-card-item {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 3.5px solid #f59e0b;
  border-radius: 8px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.giasu-chat-card-item:hover {
  background: #fffbeb;
  border-color: #f59e0b;
}
.giasu-chat-card-title {
  font-size: 0.79rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 2px;
}
.giasu-chat-card-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #dc2626;
}
.giasu-chat-card-btn {
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #111827;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
}
.giasu-chat-card-btn:hover {
  background: #ffd100;
  border-color: #f59e0b;
  color: #111111;
}

/* Dải câu hỏi gợi ý & Ô nhập chat */
.giasu-chat-quick-bar {
  padding: 8px 10px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
}
.giasu-chat-quick-pill {
  padding: 5px 10px;
  border-radius: 99px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.14s ease;
}
.giasu-chat-quick-pill:hover {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #b45309;
}
.giasu-chat-input-bar {
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.giasu-chat-input {
  flex: 1;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  color: #111827;
}
.giasu-chat-input:focus {
  outline: none;
  border-color: #00b268;
}
.giasu-chat-send-btn {
  width: 40px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #ffd100 0%, #ffb800 100%);
  color: #111111;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.giasu-chat-send-btn:hover {
  background: #f59e0b;
}

/* ================= 6. RESPONSIVE MOBILE CHUẨN (< 768px) ================= */
@media (max-width: 768px) {
  .giasu-auth-dialog {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .giasu-auth-left {
    padding: 18px 20px;
  }
  .giasu-auth-perk-list {
    display: none;
  }
  .giasu-auth-right {
    padding: 20px 18px;
  }
  .giasu-cashier-body {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .giasu-chatbot-fab-wrap {
    bottom: 74px;
    right: 12px;
  }
  .giasu-chatbot-tip {
    display: none;
  }
  .giasu-chatbot-window {
    right: 8px;
    left: 8px;
    bottom: 72px;
    width: auto;
    height: 75vh;
  }
}
