/**
 * ============================================================================
 * FOOD OS - WARM CULINARY MODERNISM DESIGN SYSTEM
 * Hệ quy chuẩn giao diện Ẩm Thực Thông Minh & Game Hóa
 * Dựa trên tài liệu quy chuẩn DESIGN.md & mẫu stitch_ai_culinary_experience_platform
 * ============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..700&family=Epilogue:wght@600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
  /* Core Color Tokens (Men Lam + Gạo + Gốm Sứ Thẩm Mỹ Tối) */
  --color-bg-deep: #0f1613;
  --color-surface-panel: #16221d;
  --color-card-dark: #1a2722;
  --color-card-border: rgba(255, 255, 255, 0.08);

  /* Men lam (xanh men sứ / celadon - màu nhấn chủ lực) */
  --color-men-lam: #2e7366;
  --color-men-lam-hover: #378576;
  --color-men-lam-dark: #225a50;
  --color-men-lam-subtle: rgba(46, 115, 102, 0.2);

  /* Màu gạo (kem ngả vàng ấm cúng bếp Việt) */
  --color-gao: #e8e0cc;
  --color-gao-muted: #9aa8a1;
  --color-gao-light: #f5eedc;

  /* Nghệ vàng (trang trí nhỏ, không cạnh tranh chú ý) */
  --color-nghe: #d99a38;
  --color-nghe-subtle: rgba(217, 154, 56, 0.15);

  /* Semantic FoodOS variables */
  --md-sys-color-primary: #2e7366;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #378576;
  --md-sys-color-on-primary-container: #ffffff;

  --md-sys-color-secondary: #2e7366;
  --md-sys-color-tertiary: #d99a38;

  --md-sys-color-surface: #0f1613;
  --md-sys-color-surface-dim: #0a0f0d;
  --md-sys-color-surface-container-lowest: #16221d;
  --md-sys-color-surface-container-low: #131c18;
  --md-sys-color-surface-container: #16221d;
  --md-sys-color-surface-container-high: #1a2722;
  --md-sys-color-surface-container-highest: #202f29;

  --md-sys-color-on-surface: #e8e0cc;
  --md-sys-color-on-surface-variant: #9aa8a1;
  --md-sys-color-outline: rgba(255, 255, 255, 0.15);
  --md-sys-color-outline-variant: rgba(255, 255, 255, 0.08);
  --md-sys-color-error: #e06c6c;

  /* Typography Families */
  --font-display: 'Fraunces', Georgia, serif;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}

/* Hide Alpine.js uninitialized elements */
[x-cloak] {
  display: none !important;
}

/* Global Reset & Base Typography */
html, body {
  background-color: var(--color-bg-deep, #0f1613);
  color: var(--color-gao, #e8e0cc);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* SỬA LỖI MÀU CHỮ TOÀN CỤC TRÊN NỀN DARK THEME */
p, span, li, dt, dd {
  color: inherit;
}
.text-muted, .text-secondary, small.text-muted, .text-muted.small {
  color: #a7b6ae !important;
}
.text-body, .text-body-emphasis, .text-dark {
  color: #f7f3eb !important;
}
.text-body-secondary {
  color: #a7b6ae !important;
}

/* FORM CONTROLS & LABELS TRÊN NỀN TỐI */
label, .form-label, .col-form-label {
  color: #f7f3eb !important;
  font-weight: 500;
  font-size: 14px;
}
.form-check-label {
  color: #d8e2dc !important;
  font-size: 14px;
}
.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-radius: 10px;
}
.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.09) !important;
  border-color: var(--color-men-lam, #2e7366) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(46, 115, 102, 0.3) !important;
}
.form-control::placeholder {
  color: rgba(232, 224, 204, 0.5) !important;
}
.form-select option {
  background-color: #16221d !important;
  color: #f7f3eb !important;
}
.input-group-text {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: var(--color-men-lam, #2e7366) !important;
}

/* BREADCRUMB */
.breadcrumb-item, .breadcrumb-item a {
  color: #a7b6ae !important;
}
.breadcrumb-item.active {
  color: #f7f3eb !important;
}

/* CARD & BACKGROUND TIỆN ÍCH */
.card {
  background-color: var(--color-surface-panel, #16221d);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-gao, #e8e0cc);
}
.bg-body-secondary {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

h1, h2, h3, h4, .font-heading, .font-display-hero, .font-headline-lg, .font-headline-md, .font-headline-sm {
  font-family: var(--font-display, 'Fraunces', serif);
  color: var(--color-gao, #e8e0cc);
  letter-spacing: -0.01em;
}

/* Material Symbols Styling */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  display: inline-block;
}
.material-symbols-outlined.fill-1,
.material-symbols-outlined[style*="'FILL' 1"] {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Header Tối Men Gốm */
.foodos-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: rgba(15, 22, 19, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.foodos-nav-link {
  color: var(--color-gao-muted, #9aa8a1);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.foodos-nav-link:hover {
  color: var(--color-gao, #e8e0cc);
  background-color: rgba(255, 255, 255, 0.05);
}
.foodos-nav-link.active {
  color: var(--color-gao, #e8e0cc);
  background-color: rgba(46, 115, 102, 0.25);
  font-weight: 600;
}

/* Nút Đăng nhập cho người dùng mới (Header) */
.btn-header-login {
  background-color: #8ec5b8;
  color: #0d1512 !important;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-header-login:hover {
  background-color: #a4d5ca;
  box-shadow: 0 4px 14px rgba(142, 197, 184, 0.35);
  color: #000000 !important;
}

/* Streak Pill Thu Nhỏ Tinh Tế (Bỏ Lv.14 theo mẫu) */
.streak-pill-compact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gao, #e8e0cc);
}
.streak-pill-compact .streak-text {
  font-size: 12.5px;
  color: var(--color-gao-muted, #9aa8a1);
}

/* Hero Section */
.hero-ceramic {
  padding-top: 56px;
  padding-bottom: 48px;
  position: relative;
}

.sub-tag-hero {
  color: var(--color-men-lam, #2e7366);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  display: inline-block;
}

.hero-main-title {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-gao, #e8e0cc);
  max-width: 780px;
  margin-bottom: 16px;
}
.hero-main-title .emphasize-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--color-gao-light, #f5eedc);
  text-decoration: underline wavy rgba(46, 115, 102, 0.45) 2px;
  text-underline-offset: 6px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--color-gao-muted, #9aa8a1);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ========================================================================= */
/* KHỐI FINDER TRUNG TÂM (GỘP TÌM KIẾM + TỦ LẠNH) */
/* ========================================================================= */
.finder-card {
  background-color: var(--color-surface-panel, #16221d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  max-width: 780px;
  width: 100%;
}

.finder-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 6px 8px 6px 16px;
  transition: all 0.25s ease;
}
.finder-search-row:focus-within {
  border-color: var(--color-men-lam, #2e7366);
  box-shadow: 0 0 0 3px rgba(46, 115, 102, 0.2);
}

.finder-search-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-gao, #e8e0cc);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 6px 0;
}
.finder-search-input::placeholder {
  color: rgba(154, 168, 161, 0.6);
}

/* Nút Men Lam Chủ Lực: "Gợi ý cho tôi" */
.btn-men-lam {
  background-color: var(--color-men-lam, #2e7366);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 10px 22px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-men-lam:hover {
  background-color: var(--color-men-lam-hover, #378576);
  box-shadow: 0 4px 14px rgba(46, 115, 102, 0.4);
}

/* Khu Vực Chips Nguyên Liệu Đang Có */
.finder-chips-section {
  padding-top: 18px;
}
.finder-chips-label {
  font-size: 12px;
  color: var(--color-gao-muted, #9aa8a1);
  margin-bottom: 10px;
  font-weight: 500;
}

.finder-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ingredient-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gao, #e8e0cc);
  transition: all 0.2s ease;
}
.ingredient-chip:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.ingredient-chip .chip-qty {
  color: var(--color-gao-muted, #9aa8a1);
  font-weight: 400;
}
.ingredient-chip .chip-close {
  background: transparent;
  border: none;
  color: var(--color-gao-muted, #9aa8a1);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transition: all 0.15s ease;
}
.ingredient-chip .chip-close:hover {
  color: #ff7878;
  background-color: rgba(255, 120, 120, 0.15);
}

/* Nút Quét Ảnh Tủ Lạnh */
.btn-scan-fridge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background-color: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: var(--color-gao-muted, #9aa8a1);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-scan-fridge:hover {
  border-color: var(--color-men-lam, #2e7366);
  color: var(--color-gao, #e8e0cc);
  background-color: rgba(46, 115, 102, 0.08);
}

/* Chân Khối Finder: Khớp Món Nhanh */
.finder-bottom-bar {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.finder-bottom-text {
  font-size: 13px;
  color: var(--color-gao-muted, #9aa8a1);
}
.finder-bottom-text strong {
  color: var(--color-gao, #e8e0cc);
}

.btn-view-matches {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gao, #e8e0cc);
  font-size: 13px;
  font-weight: 500;
  border-radius: 9999px;
  padding: 7px 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-view-matches:hover {
  background-color: rgba(46, 115, 102, 0.25);
  border-color: var(--color-men-lam, #2e7366);
  color: #ffffff;
}

/* ========================================================================= */
/* GIAO DIỆN NGƯỜI DÙNG LẦN ĐẦU (EMPTY STATE & 3 BƯỚC ONBOARDING) */
/* ========================================================================= */
.suggestion-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  margin-bottom: 8px;
  background-color: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.suggestion-pill-row:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-add-quick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(46, 115, 102, 0.35);
  color: #8ec5b8;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.btn-add-quick:hover {
  background-color: var(--color-men-lam, #2e7366);
  color: #ffffff;
  transform: scale(1.1);
}

.onboarding-steps-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.onboarding-steps-title {
  font-size: 13px;
  color: var(--color-gao-muted, #9aa8a1);
  margin-bottom: 16px;
}
.onboarding-steps-title strong {
  color: var(--color-gao, #e8e0cc);
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.step-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #b87c2b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-text-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-gao, #e8e0cc);
  margin-bottom: 3px;
}
.step-text-desc {
  font-size: 12px;
  color: var(--color-gao-muted, #9aa8a1);
  line-height: 1.45;
}

/* Gợi Ý Nhanh Bên Dưới Finder */
.quick-start-row {
  margin-top: 18px;
  font-size: 13px;
  color: var(--color-gao-muted, #9aa8a1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.quick-start-link {
  color: var(--color-gao, #e8e0cc);
  text-decoration: none;
  border-bottom: 1px dotted rgba(232, 224, 204, 0.35);
  transition: all 0.2s ease;
}
.quick-start-link:hover {
  color: var(--color-men-lam-hover, #378576);
  border-bottom-color: var(--color-men-lam, #2e7366);
}

/* ========================================================================= */
/* SECTION MÓN ĐANG ĐƯỢC NẤU NHIỀU NHẤT HÔM NAY */
/* ========================================================================= */
.popular-section {
  padding-top: 32px;
  padding-bottom: 60px;
}

.popular-header-title {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-gao, #e8e0cc);
  margin-bottom: 0;
}

.popular-header-link {
  font-size: 13.5px;
  color: var(--color-gao-muted, #9aa8a1);
  text-decoration: none;
  transition: color 0.2s ease;
}
.popular-header-link:hover {
  color: var(--color-men-lam, #2e7366);
}

/* 3 Card Món Ăn Phong Cách Men Gốm Sứ */
.recipe-card-ceramic {
  background-color: var(--color-surface-panel, #16221d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}
.recipe-card-ceramic:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Visual Plate Banner (3 Màu: Nghệ Đất, Men Lam, Vàng Gạo) */
.ceramic-plate-banner {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ceramic-plate-banner.theme-nghe {
  background: #b57328;
  color: rgba(255, 255, 255, 0.85);
}
.ceramic-plate-banner.theme-men-lam {
  background: #387c70;
  color: rgba(255, 255, 255, 0.85);
}
.ceramic-plate-banner.theme-gao {
  background: #be9d6e;
  color: rgba(255, 255, 255, 0.85);
}

.plate-icon-art {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plate-icon-art svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* Card Body */
.recipe-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.recipe-meta-chef {
  font-size: 12.5px;
  color: var(--color-gao-muted, #9aa8a1);
  margin-bottom: 8px;
}

.recipe-title-ceramic {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-gao, #e8e0cc);
  margin-bottom: 8px;
}
.recipe-title-ceramic a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.recipe-title-ceramic a:hover {
  color: var(--color-men-lam-hover, #378576);
}

.recipe-desc-ceramic {
  font-size: 13px;
  color: var(--color-gao-muted, #9aa8a1);
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-card-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.recipe-cooked-count {
  font-size: 12px;
  color: var(--color-gao-muted, #9aa8a1);
}

.btn-cook-ceramic {
  background-color: transparent;
  border: 1px solid var(--color-men-lam, #2e7366);
  color: var(--color-gao, #e8e0cc);
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 9999px;
  padding: 5px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-cook-ceramic:hover {
  background-color: var(--color-men-lam, #2e7366);
  color: #ffffff;
}

/* ========================================================================= */
/* DÒNG LINK NHỎ CUỐI TRANG (THAY THẾ BANNER CỒNG KỀNH) */
/* ========================================================================= */
.home-sub-links {
  padding: 36px 0 50px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: var(--color-gao-muted, #9aa8a1);
}
.home-sub-link-item {
  color: var(--color-gao-muted, #9aa8a1);
  text-decoration: none;
  transition: color 0.2s ease;
}
.home-sub-link-item:hover {
  color: var(--color-gao, #e8e0cc);
}

/* Footer & Mobile Bottom Nav đồng bộ nền tối */
.foodos-footer {
  background-color: var(--color-bg-deep, #0f1613);
  padding-top: 48px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
}
.foodos-footer a {
  color: var(--color-gao-muted, #9aa8a1);
  text-decoration: none;
  transition: color 0.2s ease;
}
.foodos-footer a:hover {
  color: var(--color-gao, #e8e0cc);
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 22, 19, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1050;
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-gao-muted, #9aa8a1);
  text-decoration: none;
  padding: 4px 10px;
  transition: all 0.2s ease;
}
.mobile-bottom-item.active {
  color: var(--color-men-lam, #2e7366);
  font-weight: 600;
}
.mobile-bottom-item .material-symbols-outlined {
  font-size: 22px;
  margin-bottom: 2px;
}

/* Thanh chuyển đổi vai trò kiểm tra trực quan */
.role-tester-bar {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 1060;
  background-color: rgba(22, 34, 29, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  font-size: 12px;
}
.role-tester-label {
  color: var(--color-gao-muted, #9aa8a1);
  font-size: 11.5px;
}
.role-btn {
  color: var(--color-gao, #e8e0cc);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
  font-weight: 500;
}
.role-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.role-btn.active {
  background-color: var(--color-men-lam, #2e7366);
  color: #ffffff;
  font-weight: 600;
}
@media (max-width: 768px) {
  .role-tester-bar {
    bottom: 72px;
    right: 10px;
    font-size: 11px;
    padding: 4px 8px;
  }
}
