/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/




.row-full-width-bio {
    padding: 0 20px !important;
}
.logo-left .logo {
    margin-left: 12px;
}
blockquote, dl, figure, form, ol, p, pre, ul {
    margin-bottom: .6em;
}



/* --- CUSTOM STATS GRID (Thay thế Stack) --- */

.bio-stats-grid {
    display: grid;
    /* Chia 3 cột bằng nhau tuyệt đối (33.33% mỗi cột) */
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px; /* Khoảng cách giữa các cột */
    width: max-content;
    align-items: center;
    padding: 10px 0; /* Đệm trên dưới chút cho thoáng */
}

/* Style cho từng khối (Item) */
.bio-stats-grid .bio-stat-item {
    display: flex;
    align-items: center; /* QUAN TRỌNG: Căn giữa Icon và Text theo trục dọc */
    justify-content: flex-start; /* Căn lề trái */
    /* Nếu muốn căn giữa nội dung trong ô 33% thì đổi thành center */
}

/* Style Icon */
.bio-stats-grid .bio-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px; /* Kích thước cố định để không bị méo */
    height: 22px;
    margin-right: 7px; /* Khoảng cách với chữ */
    color: #50c3a6; /* Màu xanh Teal chuẩn bài */
    flex-shrink: 0; /* Không cho phép icon bị bóp méo khi màn hình nhỏ */
}

.bio-stats-grid .bio-stat-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.8; /* Độ dày nét icon */
}

/* Style Text */
.bio-stats-grid .bio-stat-text {
    font-size: 13px;
    color: #444; /* Màu chữ xám đen */
    line-height: 1.3; /* Dòng vừa phải */
    font-weight: 400;
}

/* Responsive Mobile: Chuyển về 1 cột */
@media (max-width: 768px) {
    .bio-stats-grid {
        grid-template-columns: 1fr; /* 1 cột duy nhất */
        gap: 12px;
    }
}



/* ===== FORM CF7 TỔNG THỂ ===== */
.cf7-career-form {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding: 0px;
	margin-bottom: 2px !important;
	max-width: 720px;
}

.cf7-career-form .wpcf7-form {
  max-width: 720px;
  margin: 0 auto;
}


/* ===== LABEL ===== */
.cf7-career-form .cf7-field-label {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

/* ===== INPUT / SELECT / TEXTAREA ===== */
.cf7-career-form .cf7-input,
.cf7-career-form .wpcf7-text,
.cf7-career-form .wpcf7-email,
.cf7-career-form .wpcf7-tel,
.cf7-career-form select.wpcf7-select,
.cf7-career-form .wpcf7-textarea {
  width: 100%;
  margin-bottom: 2px !important;
  box-sizing: border-box;
  padding: 1px 14px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #111827;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.cf7-career-form .cf7-input::placeholder,
.cf7-career-form .wpcf7-textarea::placeholder {
  color: #9ca3af;
}

.cf7-career-form .cf7-input:focus,
.cf7-career-form .wpcf7-textarea:focus,
.cf7-career-form select.wpcf7-select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25);
}

/* ===== SELECT: VỊ TRÍ ỨNG TUYỂN ===== */
.cf7-career-form select.wpcf7-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

/* ===== TEXTAREA: GHI CHÚ THÊM ===== */
.cf7-career-form .wpcf7-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== FILE CV: NÚT GIẢ + INPUT THẬT ẨN ===== */
.cf7-career-form span.wpcf7-form-control-wrap[data-name="file-cv"] {
  position: relative;
  display: block;
  margin-top: 4px;
}

/* input file thật – phủ toàn bộ vùng, nhưng ẩn */
.cf7-career-form input.wpcf7-file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* nút giả phía ngoài */
.cf7-career-form span.wpcf7-form-control-wrap[data-name="file-cv"]::before {
  content: "⤴  File PDF or DOC";
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #111827;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  white-space: nowrap;
}

/* ===== SUBMIT: NÚT TEAL + ICON SVG ===== */
.cf7-career-form .wpcf7-submit {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 8px;
  
  /* Padding cân bằng, hoàn hảo cho icon-ký-tự */
  padding: 1px 18px; 
  
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Sẽ tạo khoảng cách giữa "➤" và "Gửi hồ sơ..." */

  font-size: 15px;
  font-weight: 500;
  text-transform: unset;
  letter-spacing: unset;

  background-color: #009689;
  color: #ffffff; /* Icon "➤" sẽ tự động nhận màu trắng này */
  cursor: pointer;

  box-shadow: 0 8px 18px rgba(2, 150, 164, 0.5);

  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

/* --- ĐÃ XÓA --- */
/* Khối CSS cho .wpcf7-submit::before đã được xóa 
   vì chúng ta không còn dùng nó nữa */

/* Các hiệu ứng :hover và :active vẫn giữ nguyên */
.cf7-career-form .wpcf7-submit:hover {
  background-color: #009689;
  box-shadow: 0 10px 22px rgba(2, 150, 164, 0.65);
  transform: translateY(-1px);
}

.cf7-career-form .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(2, 150, 164, 0.5);
}

/* ===== THÔNG BÁO CF7 ===== */
.cf7-career-form .wpcf7-response-output {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
}

@media (max-width: 767px) {
.cf7-career-form {
	padding: 0 19px;
	}
}




/* ===== BẢNG GIÁ ===== */
.aixh-ps-table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* Bảng chính */
.aixh-ps-table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important; /* xoá border ngoài của theme */=
}

/* Reset border cho TẤT CẢ ô trong bảng này */
.aixh-ps-table th,
.aixh-ps-table td {
  text-align: left;
  padding: 15px;
  white-space: nowrap;
  border: 0 !important;
  text-transform: unset !important;
  letter-spacing: normal !important;
  font-size: 1.0em !important;
}

/* CHỈ DÒNG 1 (thead) có line ở dưới */
.aixh-ps-table thead tr th,
.aixh-ps-table thead tr td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Dòng 2: “Giá / tháng” bình thường, không line */
.aixh-ps-table tbody th {
  font-weight: 400;
}

/* Mobile vẫn là bảng, chỉ cần kéo ngang */
@media (max-width: 767px) {
  .aixh-ps-table {
    min-width: 640px;
  }
}





/* ==== FORM FLAT SUBSCRIBE ==== */

.form-flat {
  width: 100%;                 /* ăn hết khu vực chứa */
  margin: 0 auto;
  display: flex;
  justify-content: center;     /* canh giữa khối form */
}

/* bỏ <br> phá layout ngang */
.form-flat p br {
  display: none;
}

/* Hàng input + nút */
.form-flat p {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  justify-content: center;
}

/* Chiều cao & bo góc dùng chung cho cả input + nút */
.form-flat input[type="email"],
.form-flat .wpcf7-submit.button {
  min-height: 36px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

/* Ô email – chiếm hết phần còn lại */
.form-flat input[type="email"] {
  flex: 1 1 auto;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  padding: 0 18px;
  background-color: #ffffff;
  color: #111827;
  outline: none;
  box-shadow: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.form-flat input[type="email"]::placeholder {
  color: #9ca3af;
}

.form-flat input[type="email"]:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25);
}

/* Nút submit – teal, cùng chiều cao với input */
.form-flat .wpcf7-submit.button {
  flex: 0 0 auto;
  padding: 0 32px;
  border: none;
  background-color: #58c0a8 !important;
  color: #ffffff !important;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.form-flat .wpcf7-submit.button:hover {
  background-color: #21866f !important;
  box-shadow: 0 14px 34px rgba(2, 150, 164, 0.7);
}

/* Cho hàng form làm mốc để định vị spinner */
.form-flat p {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  position: relative;              /* THÊM DÒNG NÀY */
}

/* Đưa spinner ra khỏi flex-flow, overlay nhẹ bên phải nút */
.form-flat .wpcf7-spinner {
  position: absolute;
  right: 8px;                      /* chỉnh xa/gần nút tuỳ ý */
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  pointer-events: none;
}


/* Mobile: ép nút xuống dòng, full width, giữ chiều cao đẹp */
@media (max-width: 640px) {
  .form-flat p {
    flex-direction: column;
    align-items: stretch;
	gap: 4px;
  }

  .form-flat .wpcf7-submit.button {
    width: 100%;
  }
}










/* --- AIHUB DASHBOARD CSS --- */

/* Reset cơ bản cho vùng chứa */
.aihub-dashboard-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    background-color: transparent;
    color: #333;
    line-height: 1.5;
}

/* Đảm bảo box-sizing chuẩn */
.aihub-dashboard-wrapper *, 
.aihub-dashboard-wrapper *::before, 
.aihub-dashboard-wrapper *::after {
    box-sizing: border-box;
}

/* --- HEADER --- */
.aihub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.aihub-title {
    font-size: 15px;
    font-weight: 300;
    color: #555;
    margin: 0 !important; /* !important để đè margin mặc định của Flatsome */
    padding: 0;
}

.aihub-status {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #28c76f;
    font-weight: 600;
}

.aihub-dot {
    position: relative;
    width: 8px;
    height: 8px;
    background-color: #28c76f;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 0 0 rgba(40, 199, 111, 0.3);
    animation: aihub-dot-pulse 1.6s ease-out infinite;
}

/* --- GRID SYSTEM (DESKTOP DEFAULT) --- */
.aihub-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Cột trên Desktop */
    gap: 13px;
    margin-bottom: 15px;
}

/* --- CARDS --- */
.aihub-card {
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
    border: none;
}

.aihub-card:hover {
    transform: translateY(-3px);
}

/* Màu nền các thẻ */
.aihub-card-blue { background-color: #eef6ff; }
.aihub-card-orange { background-color: #fff8ec; }
.aihub-card-green { background-color: #effff4; }
.aihub-card-red { background-color: #fff5f5; }

.aihub-card-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 400;
}

.aihub-card-value {
    font-size: 16px;
    font-weight: normal;
    color: #222;
    margin-bottom: 5px;
    line-height: 1.2;
}

/* Chỉ số tăng giảm */
.aihub-trend {
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.aihub-trend-up { color: #28c76f; }
.aihub-trend-down { color: #ea5455; }
.aihub-text-muted { color: #888; font-size: 12px; }

/* --- CHART SECTION --- */
.aihub-chart-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.aihub-chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100px;
    margin-top: 15px;
    gap: 8px;
}

.aihub-bar {
    background-color: #438ef3;
    border-radius: 4px 4px 0 0;
    flex: 1;
    transition: height 0.5s ease;
}

.aihub-bar:hover {
    opacity: 0.8;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 767px) {
    .aihub-stats-grid {

        gap: 15px;
    }
    
    .aihub-card-value {
        font-size: 15px;
    }
    
    .aihub-card {
        min-height: auto; /* Tự động chiều cao trên mobile */
    }
}


@keyframes aihub-dot-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 199, 111, 0.35);
    }
    70% {
        transform: scale(1.2);
        box-shadow: 0 0 0 8px rgba(40, 199, 111, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 199, 111, 0);
    }
}





/* ==== FitBlend CF7 contact form (v2) ==== */
.fitblend-contact-form {
  width: 100%;
}

/* Row 2 cột đầu */
.fitblend-contact-form .fitblend-row {
  display: flex;
  gap: 12px;
  margin-bottom: 3px;
}

.fitblend-contact-form .fitblend-row--2cols .fitblend-field {
  flex: 1 1 0;
}

/* Field chung */
.fitblend-contact-form .fitblend-field {
  margin-bottom: 4px; /* gần nhau hơn */
}

.fitblend-contact-form .fitblend-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;        /* label đậm 500 */
  color: #111827;
}

/* Input / textarea */
.fitblend-contact-form input[type="text"],
.fitblend-contact-form input[type="email"],
.fitblend-contact-form input[type="tel"],
.fitblend-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f5f5f7;
  font-size: 15px;
  color: #111827;
  outline: none;
  height: 45px;            /* ô nhập cao 36px */
  box-shadow: none;        /* bỏ shadow hoàn toàn */
  transition: border-color 0.18s ease, background 0.18s ease;
}

/* Textarea riêng: cao hơn, không ép height 36 */
.fitblend-contact-form textarea {
  height: 100px;
  resize: vertical;
}

/* Select (dropdown chọn gói) */
.fitblend-contact-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 36px 8px 12px; /* chừa chỗ bên phải cho icon */
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background-color: #f5f5f7;
  font-size: 15px;
  color: #111827;
  outline: none;
  height: 45px;
  box-shadow: none;
  transition: border-color 0.18s ease, background 0.18s ease;

  /* Ẩn arrow mặc định, dùng arrow custom */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Mũi tên xuống custom bằng SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}

/* Focus giống input */
.fitblend-contact-form select:focus {
  border-color: #1a73e8;
  background-color: #ffffff;
  box-shadow: none;
}

/* Option bên trong */
.fitblend-contact-form select option {
  color: #111827;
}


/* Placeholder */
.fitblend-contact-form ::placeholder {
  color: #9ca3af;
}

/* Focus */
.fitblend-contact-form input[type="text"]:focus,
.fitblend-contact-form input[type="email"]:focus,
.fitblend-contact-form input[type="tel"]:focus,
.fitblend-contact-form textarea:focus {
  border-color: #1a73e8;
  background: #ffffff;
  box-shadow: none;        /* không shadow khi focus */
}

/* Submit button */
.fitblend-contact-form .fitblend-submit-wrap {
  margin-top: 6px;
}

.fitblend-contact-form .wpcf7-submit {
  width: 100%;
  margin-bottom: 2px;
  border: none;
  border-radius: 8px;
  background: #1a73e8;
  color: #ffffff;
  height: 48px;            /* nút cao 48px */
  padding: 0 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-transform: none;    /* không ép UPPERCASE */
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.fitblend-contact-form .wpcf7-submit:hover {
  background: #1a73e8;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.45);
  transform: translateY(-1px);
}

/* CF7 error text */
.fitblend-contact-form .wpcf7-not-valid-tip {
  margin-top: 3px;
  font-size: 13px;
  color: #dc2626;
}

/* Global CF7 response message */
.fitblend-contact-form ~ .wpcf7-response-output {
  margin-top: 12px;
  border-radius: 8px;
  font-size: 14px;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .fitblend-contact-form .fitblend-row {
    flex-direction: column;
    gap: 8px;
  }
}







/* Card ngoài: full chiều cao col, có hover nổi lên */
.aixh-icon-card {
  margin: 0 auto;
  padding: 32px;
  border-radius: 18px;
  background: #f9fbff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;           /* full chiều cao col chứa nó */
  display: flex;
  border: 1px solid #ececec;
}

.aixh-icon-card__inner {
  flex: 1;
  border-radius: 18px;
  min-height: 230px;
  background: linear-gradient(135deg, #e6f0ff 0%, #f4f8ff 100%);
  display: flex;
  align-items: center;     /* giữa dọc */
  justify-content: center; /* giữa ngang */
}

/* Icon giữa, 80x80 */
.aixh-icon-card__icon {
  width: 90px;
  height: 90px;
  display: block;
  object-fit: contain;
}

/* Hover: card nổi lên */
.aixh-icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* Mobile */
@media (max-width: 480px) {
  .aixh-icon-card {
    padding: 20px;
    border-radius: 20px;
  }

  .aixh-icon-card__inner {
    min-height: 200px;
    border-radius: 20px;
  }
}





/* Nút pill trong suốt kiểu tag mềm */
.button.aixh-soft-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 5px 22px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;

  color: #58c0a8 !important;

  /* nền chuyển màu, hơi trong suốt */
  background: linear-gradient(
    277deg,
    rgba(88, 192, 168, 0.10),
    rgba(88, 192, 168, 0.20)
  ) !important;
  border: 1px solid rgba(88, 192, 168, 0.35) !important;

  box-shadow: none;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

/* Hover nhẹ nhàng hơn một xíu */
.button.aixh-soft-pill-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(88, 192, 168, 0.18),
    rgba(88, 192, 168, 0.38)
  ) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(88, 192, 168, 0.08);
}

/* Optional: bỏ viền đậm khi focus */
.button.aixh-soft-pill-btn:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(88, 192, 168, 0.45);
}


/* Nút pill trong suốt kiểu vàng tag mềm */
.button.aixh-soft-pill-btn-yl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #f6d96f !important;
    background: linear-gradient(349deg, rgb(132 114 46 / 37%), rgb(246 217 111 / 33%)) !important;
    box-shadow: none;
    transition: background 0.25s 
ease, transform 0.15s 
ease, box-shadow 0.25s 
ease;
}

/* Hover nhẹ nhàng hơn một xíu */
.button.aixh-soft-pill-btn-yl:hover {
  background: linear-gradient(
    135deg,
    rgba(88, 192, 168, 0.18),
    rgba(88, 192, 168, 0.38)
  ) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(88, 192, 168, 0.08);
}

/* Optional: bỏ viền đậm khi focus */
.button.aixh-soft-pill-btn-yl:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(88, 192, 168, 0.45);
}




/* Nút pill outline viền vàng */
.button.aixh-soft-pill-btn-vang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  color: #2a8b74 !important;

  /* nền chuyển màu, hơi trong suốt */
  background: linear-gradient(
    277deg,
    rgba(88, 192, 168, 0.10),
    rgba(88, 192, 168, 0.20)
  ) !important;
  border: 1px solid #f6d96f !important;
  box-shadow: none;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

/* Hover nhẹ nhàng hơn một xíu */
.button.aixh-soft-pill-btn-vang:hover {
  background: #ffeeb08d !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(88, 192, 168, 0.08);
}

/* Optional: bỏ viền đậm khi focus */
.button.aixh-soft-pill-btn-vang:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(88, 192, 168, 0.45);
}


/* Nút pill outline viền xanh đậm */
.button.aixh-soft-pill-btn-xanhdam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  color: #2a8b74 !important;

  /* nền chuyển màu, hơi trong suốt */
  background: linear-gradient(
    277deg,
    rgba(88, 192, 168, 0.10),
    rgba(88, 192, 168, 0.20)
  ) !important;
  border: 1px solid #2a8b74 !important;
  box-shadow: none;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

/* Hover nhẹ nhàng hơn một xíu */
.button.aixh-soft-pill-btn-xanhdam:hover {
  background: #8ffae19c !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(88, 192, 168, 0.08);
}

/* Optional: bỏ viền đậm khi focus */
.button.aixh-soft-pill-btn-xanhdam:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(88, 192, 168, 0.45);
}
/* Nút pill full viền vàng */
.button.aixh-soft-pill-btn-fullvang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
    color: #262626 !important;
    background: #f6d96f !important;
    border: 1px solid #f6d96f !important;
    box-shadow: none;
    transition: background 0.25s 
ease, transform 0.15s 
ease, box-shadow 0.25s 
ease;
}
/* Hover nhẹ nhàng hơn một xíu */
.button.aixh-soft-pill-btn-fullvang:hover {
  background: #ffe790 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(88, 192, 168, 0.08);
}
/* Optional: bỏ viền đậm khi focus */
.button.aixh-soft-pill-btn-fullvang:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(88, 192, 168, 0.45);
}
.section-gradient-den {
    background-image: linear-gradient(90deg, #262626 0%, #303130 100%) !important;
}





/* HỆ THỐNG BIOHACKING LAB */

/* Container Layout */

.bio-aihub-wrapper {

display: grid;

grid-template-columns: repeat(4, 1fr);

gap: 20px;

width: 100%;

margin-bottom: 30px;

}

@media (max-width: 1024px) { .bio-aihub-wrapper { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 550px) { .bio-aihub-wrapper { grid-template-columns: 1fr; } }



/* Card Style */

.bio-aihub-card {

background: #fff !important;

border-radius: 12px;

padding: 20px;

border: 1px solid transparent;

display: flex;

flex-direction: column;

justify-content: space-between;

box-shadow: 0 2px 10px rgba(0,0,0,0.02);

min-height: 140px;

transition: transform 0.3s ease, box-shadow 0.3s ease; /* Thêm hiệu ứng hover nhẹ */

}



/* Hiệu ứng nhấc nhẹ khi di chuột vào (Bonus) */

.bio-aihub-card:hover {

transform: translateY(-5px);

box-shadow: 0 5px 15px rgba(0,0,0,0.05);

}



/* Header Elements */

.bio-aihub-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5px; height: 24px; }

.bio-aihub-icon svg { width: 20px; height: 20px; stroke-width: 2; }

.bio-aihub-badge {

font-size: 12px; font-weight: 500; padding: 4px 10px;

border-radius: 20px; border: 1px solid #eee; color: #333; line-height: 1.2;

}



/* Body Content */

.bio-aihub-body { margin-bottom: 15px; }

.bio-aihub-value {

font-size: 28px !important; font-weight: 500 !important;

color: #333; line-height: 1.2; margin: 0 0 5px 0 !important;

}

.bio-aihub-label { font-size: 14px; color: #777; margin: 0; }



/* Progress Bar & Animation */

.bio-aihub-progress-track {

width: 100%; height: 6px; background-color: #eef5f3;

border-radius: 10px; overflow: hidden;

}



@keyframes bioLoadProgress {

from { width: 0; }

to { width: var(--percent); }

}



.bio-aihub-progress-bar {

height: 100%;

border-radius: 10px;

width: 0; /* Khởi đầu bằng 0 */

animation: bioLoadProgress 1.5s ease-out forwards;

}



/* Color Themes */

.bio-aihub-card.style-teal { border-color: #e0f2f1; }

.bio-aihub-card.style-teal .bio-aihub-icon { color: #50c3a6; }

.bio-aihub-card.style-teal .bio-aihub-progress-bar { background-color: #50c3a6; }



.bio-aihub-card.style-yellow { border-color: #fff8e1; }

.bio-aihub-card.style-yellow .bio-aihub-icon { color: #f6ce4e; }

.bio-aihub-card.style-yellow .bio-aihub-progress-bar { background-color: #50c3a6; }





/* --- PHẦN STYLE CHO KHỐI THEO DÕI HẰNG NGÀY --- */

/* 1. Panel chính */

.bio-daily-panel {

display: block !important;

padding: 25px 20px !important;

margin-bottom: 10px;

}



/* 2. Header Title */

.bio-daily-header {

margin-bottom: 6px;

}

.bio-daily-title {

font-size: 17px !important; /* Đã điều chỉnh nhỏ lại cho tinh tế */

font-weight: 500; /* Nét chữ thanh mảnh hơn */

margin-bottom: 5px !important;

color: #333;

line-height: 1.2;

}

.bio-daily-subtitle {

font-size: 14px;

color: #777;

margin: 0;

}



/* 3. Grid Layout */

.bio-daily-grid {

display: grid;

grid-template-columns: repeat(3, 1fr);

gap: 40px;

align-items: flex-end; /* Quan trọng: Căn đáy các cột */

}



/* Responsive Mobile */

@media (max-width: 768px) {

.bio-daily-grid {

grid-template-columns: 1fr;

gap: 30px;

}

}



/* --- XỬ LÝ CĂN CHỈNH THẲNG HÀNG --- */



/* Wrapper chứa cả 2 bên */

.bio-daily-info {

display: flex;

justify-content: space-between;

align-items: flex-end; /* Căn đáy (Baseline) để chữ và số thẳng hàng */

margin-bottom: 12px; /* Khoảng cách an toàn cho icon đẩy xuống */

line-height: 1;

}



/* Cụm bên trái: Icon + Label */

.bio-daily-label {

display: flex;

align-items: center;

font-weight: 500; /* Đồng bộ font weight */

color: #333;

font-size: 15px;

}



/* Wrapper của Icon */

.bio-icon-small {

display: flex;

align-items: center;

justify-content: center;

margin-right: 10px;

color: #50c3a6;

height: 20px;


/* Vị trí tinh chỉnh thủ công từ thực tế */

position: relative;

top: 8px; /* Đẩy icon xuống để cân mắt với chữ */

}



.bio-icon-small svg {

width: 18px;

height: 18px;

display: block;

}



/* Cụm bên phải: Số liệu */

.bio-daily-value {

font-size: 14px;

font-weight: 500;

color: #555;

position: relative;

bottom: 1px; /* Tinh chỉnh nhỏ để khớp đường chân chữ */

}





/* --- PHẦN STYLE BIỂU ĐỒ GIẤC NGỦ --- */

/* 1. Tổng quan Card */

.bio-sleep-chart-panel {

display: block !important;

padding: 25px 30px !important; /* Padding rộng hơn chút cho thoáng */

background: #fff;

border-radius: 12px;

}



/* 2. Header: Title & Subtitle */

.bio-chart-header {

margin-bottom: 30px;

}

.bio-daily-title {

font-size: 18px !important;

font-weight: 500; /* Đậm nét giống mẫu */

margin-bottom: 5px !important;

color: #333;

font-family: 'Playfair Display', serif; /* Font có chân cho Title */

}

.bio-chart-subtitle {

font-size: 14px;

color: #888; /* Màu xám nhạt */

margin: 0;

font-weight: 400;

}



/* 3. Container chứa biểu đồ (Giữ nguyên logic cũ vì đã ổn định) */

.bio-chart-container {

position: relative;

width: 100%;

height: 280px; /* Chiều cao vùng vẽ */

margin-top: 10px;

margin-bottom: 3px;

}



/* 4. Layer Grid (Lưới nền) */

.bio-chart-grid {

position: absolute;

top: 0; left: 30px; right: 0; bottom: 30px;

display: flex;

flex-direction: column;

justify-content: space-between;

z-index: 0;

}

.grid-line {

width: 100%;

border-bottom: 1px dashed #eee; /* Nét đứt mờ */

position: relative;

height: 1px;

}

.grid-line::before {

content: attr(data-label);

position: absolute;

left: -25px; top: -6px;

font-size: 14px; color: #999;

}



/* 5. Layer Bars (Cột dữ liệu) */

.bio-chart-bars-wrapper {

position: absolute;

top: 0; left: 30px; right: 0; bottom: 30px;

display: flex;

justify-content: space-between;

align-items: flex-end;

z-index: 1;

}



.bio-chart-col {

width: 13%;

height: 100%;

display: flex;

flex-direction: column;

justify-content: flex-end;

position: relative;

cursor: pointer;

}

.bio-chart-col:hover {

background-color: rgb(0 0 0 / 6%);

border-radius: 4px;

}



/* 6. Stacked Segments */

.bio-bar-stack {

width: 100%;

height: 100%;

display: flex;

flex-direction: column;

justify-content: flex-end;

padding: 0 4px; /* Khe hở cột */

pointer-events: none;

}

.bio-seg { width: 100%; transition: opacity 0.2s; }

.bio-seg:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; } /* Bo góc trên cùng */

.bio-seg:last-child { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } /* Bỏ bo góc dưới để khít nhau */



/* Màu sắc chuẩn mẫu mới */

.bg-deep { background-color: #50c3a6; } /* Teal */

.bg-rem { background-color: #f6ce4e; } /* Vàng */

.bg-light { background-color: #8cd7c8; } /* Xanh nhạt hơn chút cho giống mẫu */



/* 7. Label Ngày (Mon, Tue...) */

.bio-day-label {

position: absolute;

bottom: -25px;

width: 100%;

text-align: center;

font-size: 16px;

color: #666;

}



/* 8. FOOTER LEGEND (MỚI) */

.bio-chart-footer {

display: flex;

justify-content: center; /* Căn giữa */

gap: 25px; /* Khoảng cách giữa các mục */

margin-top: 5px;

padding-top: 10px;

}



.footer-legend-item {

display: flex;

align-items: center;

font-size: 14px;

color: #666; /* Màu chữ xám vàng nhẹ giống ảnh */

}

/* Style text màu vàng trong legend nếu cần, ở đây tôi để xám cho sang */



.legend-box {

width: 12px; height: 12px;

margin-right: 8px;

border-radius: 2px; /* Bo nhẹ góc vuông */

}



/* 9. Tooltip (Giữ nguyên) */

.bio-tooltip {

position: absolute;

bottom: 50%; left: 50%;

transform: translate(10px, 50%);

background: #fff;

padding: 10px;

border-radius: 6px;

box-shadow: 0 2px 15px rgba(0,0,0,0.15);

width: 130px;

z-index: 100;

opacity: 0; visibility: hidden;

transition: opacity 0.2s;

pointer-events: none;

border: 1px solid #eee;

}

.bio-chart-col:hover .bio-tooltip { opacity: 1; visibility: visible; }

.tooltip-header { font-weight: 700; margin-bottom: 5px; color: #333; border-bottom: 1px solid #eee; padding-bottom: 3px; font-size: 13px;}

.tooltip-row { font-size: 11px; display: flex; justify-content: space-between; margin-bottom: 3px; color: #555; }









/* --- PHẦN STYLE BIỂU ĐỒ ĐƯỜNG HRV --- */



/* 1. Panel & Header */

.bio-hrv-panel {

display: block !important;

padding: 25px 30px 40px 30px !important;

background: #fff;

border-radius: 12px;

}



/* 2. Chart Area - FIX LỖI LỆCH TRÁI */

.bio-line-chart-container {

position: relative;

width: 100%;

height: 270px;

margin-top: 30px;

margin-bottom: 30px;

overflow: visible; /* Để tooltip hiển thị ra ngoài */

/* Thêm padding 2 bên để điểm đầu và cuối không bị sát mép */

padding: 0 15px;

box-sizing: border-box; /* Đảm bảo padding không làm vỡ khung */

}



/* 3. Lớp vẽ đường Line (SVG) */

.bio-svg-line-layer {

position: absolute;

top: 0; left: 15px; right: 15px; /* SVG cũng cách lề tương ứng padding */

width: calc(100% - 30px); /* Trừ đi padding 2 bên */

height: 100%;

z-index: 1;

pointer-events: none;

overflow: visible;

}

.bio-chart-path {

fill: none;

stroke: #50c3a6;

stroke-width: 3;

stroke-linecap: round;

stroke-linejoin: round;

stroke-dasharray: 1000;

stroke-dashoffset: 1000;

animation: drawLine 2s ease-out forwards;

}

@keyframes drawLine { to { stroke-dashoffset: 0; } }



/* 4. Wrapper chứa các điểm */

.bio-point-wrapper {

position: absolute;

width: 30px; height: 30px;

margin-left: -15px;

margin-bottom: -15px;

z-index: 10;

cursor: pointer;

display: flex;

justify-content: center;

align-items: center;

}



/* 5. Chấm tròn */

.bio-point-dot {

width: 10px; height: 10px;

background-color: #50c3a6;

border: 2px solid #fff;

border-radius: 50%;

box-shadow: 0 2px 4px rgba(0,0,0,0.1);

transition: all 0.2s;

position: relative;

z-index: 2;

}



/* 6. Đường kẻ dọc - FIX LỖI TRÀN XUỐNG DƯỚI */

.bio-point-line {

position: absolute;

top: 10px; /* Bắt đầu ngay dưới chấm */

left: 50%;

width: 1px;

/* Height sẽ được set cứng trong HTML để chạm vừa đúng đáy */

background: repeating-linear-gradient(to bottom, #ddd 0, #ddd 4px, transparent 4px, transparent 8px);

opacity: 0;

transition: opacity 0.2s;

z-index: 1;

pointer-events: none;

}



/* 7. Hover Effect */

.bio-point-wrapper:hover { z-index: 100; }

.bio-point-wrapper:hover .bio-point-dot {

transform: scale(1.4);

background-color: #fff;

border-color: #50c3a6;

border-width: 3px;

}

.bio-point-wrapper:hover .bio-point-line { opacity: 1; }



/* 8. TOOLTIP - FIX LỖI CANH GIỮA & DƯ BR */

.bio-hrv-tooltip {

position: absolute;

bottom: 15px; left: 50%;

transform: translateX(-50%) translateY(10px);

background: #fff;

padding: 8px 12px;

border-radius: 6px;

box-shadow: 0 5px 20px rgba(0,0,0,0.15);

border: 1px solid #eee;

width: auto;

min-width: 90px;


/* FIX: Canh trái */

text-align: left;

white-space: nowrap;


opacity: 0; visibility: hidden;

transition: all 0.2s;

pointer-events: none;

z-index: 999;

}

/* Ẩn thẻ BR nếu WordPress tự sinh ra */

.bio-hrv-tooltip br { display: none; }



.bio-point-wrapper:hover .bio-hrv-tooltip {

opacity: 1; visibility: visible;

transform: translateX(-50%) translateY(0);

}



/* Nội dung Tooltip - FIX KHOẢNG CÁCH */

.hrv-date {

display: block;

font-size: 13px;

font-weight: 700;

color: #333;

margin-bottom: 4px; /* Tăng khoảng cách một chút cho thoáng */

line-height: 1.2;

}

.hrv-val {

display: block;

font-size: 14px;

font-weight: 500;

color: #50c3a6;

line-height: 1.2;

}



/* 9. Trục X */

.bio-axis-x {

position: absolute;

bottom: -30px; left: 15px; right: 15px; /* Cách lề theo padding container */

height: 20px;

}

.bio-axis-label {

position: absolute;

transform: translateX(-50%);

font-size: 14px;

color: #888;

text-align: center;

width: 40px;

}





/* --- CUSTOM FLATSOME TABS --- */
.bio-aihub-tabs .nav { 
    background-color: #f2f4f6; 
    border-radius: 50px; 
    padding: 4px; 
    display: flex; 
    width: 100%; 
    border: 1px solid #eee; 
    margin-bottom: 20px; 
    flex-wrap: wrap; /* Cho phép xuống dòng nếu chật */
}

.bio-aihub-tabs .tab { 
    flex-grow: 1; 
    flex-basis: 0; 
    margin: 0 !important; 
    text-align: center; 
    min-width: fit-content; /* Đảm bảo tab không bị bóp quá bé */
}

.bio-aihub-tabs .tab a { 
    border-radius: 50px !important; 
    padding: 6px 15px !important; /* Tăng padding ngang cho dễ bấm */
    font-weight: 500; 
    font-size: 14px; 
    color: #666; 
    background: transparent; 
    border: none !important; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 100%; 
    line-height: 1.2; 
    white-space: nowrap; /* Không cho chữ trong tab xuống dòng */
}

.bio-aihub-tabs .tab a:focus, 
.bio-aihub-tabs .tab a:active { outline: none; }

.bio-aihub-tabs .tab.active a { 
    background-color: #fff !important; 
    color: #333 !important; 
    box-shadow: 0 1px 4px rgba(0,0,0,0.08); 
}

.bio-aihub-tabs .tab:not(.active) a:hover { 
    background-color: rgba(255,255,255,0.5); 
    color: #444; 
}

/* RESPONSIVE MOBILE */
@media (max-width: 600px) { 
    .bio-aihub-tabs .nav { 
        padding: 5px; 
        border-radius: 12px; /* Bo góc vuông hơn chút khi xếp nhiều dòng */
        gap: 5px; /* Tạo khoảng cách giữa các tab khi xuống dòng */
    } 
    .bio-aihub-tabs .tab { 
        flex-basis: auto; /* Để tab co giãn theo nội dung */
        flex-grow: 1; /* Vẫn lấp đầy khoảng trống */
        width: 48%; /* Chia thành 2 cột (hoặc tự động) */
    }
    .bio-aihub-tabs .tab a { 
        padding: 8px 10px !important; 
        font-size: 13px; 
        border-radius: 8px !important; /* Bo góc nhỏ hơn cho mobile */
    } 
}







/* --- BIO PROTOCOL LIST (Checklist Ngủ ngon) --- */



.bio-protocol-list {

display: flex;

flex-direction: column;

gap: 10px; /* Khoảng cách giữa các mục */

width: 100%;

/* Không set padding container theo yêu cầu */

}



/* Style cho từng mục (Item 1-4) */

.bio-protocol-item {

background-color: #f7fcfc; /* Màu xanh siêu nhạt (Cyan tint) */

border-radius: 12px;

padding: 15px 20px;

display: flex;

align-items: flex-start; /* Căn hàng theo mép trên */

transition: transform 0.2s ease;

}



/* Hiệu ứng hover nhẹ (Optional) */

.bio-protocol-item:hover {

background-color: #f0fafa;

}



/* Số thứ tự tròn (1, 2, 3...) */

.bio-step-number {

width: 36px;

height: 36px;

background-color: #e0f2f1; /* Xanh nhạt đậm hơn nền chút */

color: #444;

font-size: 14px;

font-weight: 500;

border-radius: 50%;

display: flex;

justify-content: center;

align-items: center;

margin-right: 15px; /* Khoảng cách tới chữ */

flex-shrink: 0; /* Không bị bóp méo khi màn hình nhỏ */

margin-top: 2px; /* Căn chỉnh cho khớp dòng text đầu tiên */

}



/* Nội dung Text */

.bio-step-content {

flex-grow: 1;

}



.bio-step-title {

font-size: 15px;

font-weight: 500;

color: #222;

margin-bottom: 6px;

line-height: 1.3;

}



.bio-step-desc {

font-size: 14px;

color: #666;

line-height: 1.4;

font-weight: 400;

}



/* Style cho khối AI Gợi ý (Màu vàng) */

.bio-protocol-ai-note {

background-color: #fffaf0; /* Màu kem vàng nhạt */

border-radius: 12px;

padding: 15px 20px;

display: flex;

align-items: center; /* Căn giữa trục dọc */

margin-top: 5px; /* Cách xa các bước trên một chút */

border: 1px solid #fff3cd; /* Viền vàng rất nhạt */

}



.bio-ai-icon {

width: 20px;

height: 20px;

color: #f6ce4e; /* Màu vàng Gold của hệ thống */

margin-right: 12px;

flex-shrink: 0;

}



.bio-ai-icon svg {

width: 100%;

height: 100%;

}



.bio-ai-text {

font-size: 14px;

color: #444;

line-height: 1.4;

}



.bio-ai-text strong {

color: #d97706; /* Màu vàng đậm cho chữ AI Gợi ý */

font-weight: 500;

}



/* Responsive Mobile */

@media (max-width: 550px) {

.bio-protocol-item,

.bio-protocol-ai-note {

padding: 12px 15px; /* Giảm padding một chút trên mobile */

}

.bio-step-title {

font-size: 14px;

}

.bio-step-desc, .bio-ai-text {

font-size: 13px;

}

}





/* --- BIO ACTIVITY GRID (2 Cột) --- */



.bio-activity-grid {

display: grid;

grid-template-columns: repeat(2, 1fr); /* 2 Cột đều nhau */

gap: 20px; /* Khoảng cách giữa các ô */

width: 100%;

}



/* Style cho từng Card */

.bio-activity-card {

background-color: #fff;

border: 1px solid #eee; /* Viền mỏng màu xám nhạt */

border-radius: 12px;

padding: 20px;

display: flex;

flex-direction: column;

justify-content: space-between; /* Đẩy badge xuống đáy nếu nội dung ngắn */

transition: transform 0.2s, box-shadow 0.2s;

height: 100%; /* Để các ô cao bằng nhau */

}



/* Hiệu ứng hover nhẹ cho sinh động */

.bio-activity-card:hover {

transform: translateY(-3px);

box-shadow: 0 5px 15px rgba(0,0,0,0.03);

border-color: #e0f2f1; /* Đổi màu viền sang xanh nhạt khi hover */

}



/* Tiêu đề (Font có chân) */

.bio-activity-title {

font-size: 16px;

font-weight: 500;

color: #333;

margin-top: 0;

margin-bottom: 9px;

line-height: 1.3;

}



/* Nội dung mô tả */

.bio-activity-desc {

font-size: 14px;

color: #666;

line-height: 1.5;

margin-bottom: 7px;

}



/* Footer chứa Badge */

.bio-activity-footer {

margin-top: auto; /* Đẩy xuống dưới cùng */

}



/* Badge (Pill shape) */

.bio-time-badge {

display: inline-block;

padding: 2px 12px;

background-color: #fff;

border: 1px solid #d0d0d0;

border-radius: 50px;

font-size: 11px;

color: #444;

font-weight: 500;

}



/* Responsive Mobile: Chuyển về 1 cột */

@media (max-width: 768px) {

.bio-activity-grid {

grid-template-columns: 1fr;

gap: 15px;

}

}





/* --- COLD THERAPY & BENEFITS SECTION --- */



.bio-cold-container {

display: flex;

flex-direction: column;

gap: 15px; /* Khoảng cách giữa các khối */

width: 100%;

}



/* 1. Style cho thẻ Level (Beginner/Inter/Advanced) */

.bio-level-card {

background-color: #f9fcfb; /* Nền xanh mint cực nhạt */

border-radius: 12px;

padding: 20px 25px;

display: flex;

justify-content: space-between; /* Đẩy badge sang phải */

align-items: center;

border: 1px solid #f0f7f5; /* Viền mỏng */

transition: transform 0.2s;

}



.bio-level-card:hover {

transform: translateY(-2px);

background-color: #f0fafa;

}



.bio-level-content {

padding-right: 15px; /* Tránh chữ dính vào badge trên mobile */

}



.bio-level-title {

font-size: 17px;

font-weight: 500;

color: #333;

margin-top: 0;

margin-bottom: 5px;

}



.bio-level-desc {

font-size: 14px;

color: #666;

margin: 0;

line-height: 1.4;

}



/* Badge Level */

.bio-level-badge {

background-color: #50c3a6; /* Màu Teal chủ đạo */

color: #fff;

font-size: 12px;

font-weight: 500;

padding: 5px 12px;

border-radius: 20px;

white-space: nowrap; /* Không xuống dòng */

flex-shrink: 0;

box-shadow: 0 2px 5px rgba(80, 195, 166, 0.2);

}



/* 2. Style cho khối Lợi ích (Benefits) */

.bio-benefit-box {

background-color: #fffcf5; /* Nền kem vàng nhạt */

border-radius: 12px;

padding: 20px;

border: 1px solid #fbf6e6;

margin-top: 5px;

}



.bio-benefit-title {

font-size: 18px;

font-weight: 500;

color: #5d4037; /* Màu nâu đất đậm cho chữ tiêu đề vàng */

margin-top: 0;

margin-bottom: 10px;

}



.bio-benefit-list {

margin: 0;

padding-left: 1px; /* Thụt đầu dòng cho bullet points */

list-style-type: disc;

}



.bio-benefit-list li {

font-size: 15px;

color: #555;

margin-bottom: 8px;

line-height: 1.4;

}



.bio-benefit-list li::marker {

color: #999; /* Màu của dấu chấm tròn */

}



/* Responsive Mobile */

@media (max-width: 550px) {

.bio-level-card {

flex-direction: column; /* Xếp dọc trên mobile */

align-items: flex-start;

}

.bio-level-badge {

margin-top: 10px; /* Cách chữ một chút khi xuống dòng */

align-self: flex-start;

}

.bio-level-content {

padding-right: 0;

}

}





/* --- FOCUS STACK & PROTOCOLS --- */



.bio-focus-container {

display: flex;

flex-direction: column;

gap: 15px; /* Khoảng cách giữa các thẻ */

width: 100%;

}



/* Style cho từng Card */

.bio-stack-card {

background-color: #fff;

border: 1px solid #eee;

border-radius: 12px;

padding: 13px 14px;

transition: transform 0.2s, box-shadow 0.2s;

}



.bio-stack-card:hover {

transform: translateY(-2px);

box-shadow: 0 4px 12px rgba(0,0,0,0.03);

border-color: #e0f2f1; /* Hover đổi viền xanh nhẹ */

}



/* Header: Icon + Title */

.bio-stack-header {

display: flex;

align-items: center;

margin-bottom: 8px;

}



.bio-stack-icon {

width: 20px;

height: 20px;

margin-right: 10px;

display: flex;

align-items: center;

}

.bio-stack-icon svg { width: 100%; height: 100%; }



/* Màu icon */

.icon-teal { color: #50c3a6; } /* Xanh Teal */

.icon-gold { color: #f6ce4e; } /* Vàng Gold */



.bio-stack-title {

font-family: 'Playfair Display', serif; /* Font có chân */

font-size: 18px;

font-weight: 600;

color: #333;

margin: 0;

line-height: 1.2;

}



/* Subtitle (Mô tả ngắn) */

.bio-stack-subtitle {

font-size: 14px;

color: #777;

margin-bottom: 10px;

}



/* Danh sách Bullet Points */

.bio-stack-list {

margin: 0;

padding-left: 18px; /* Thụt lề đầu dòng */

list-style-type: disc; /* Dấu chấm tròn */

}



.bio-stack-list li {

font-size: 14px;

color: #555;

margin-bottom: 6px;

line-height: 1.5;

}

/* Màu dấu chấm (Marker color) */

.bio-stack-list li::marker {

color: #999; /* Chấm màu xám nhạt tinh tế */

}



/* Responsive */

@media (max-width: 550px) {

.bio-stack-card {

padding: 15px 20px;

}

.bio-stack-title {

font-size: 16px;

}

}







/* --- FOCUS STACK & PROTOCOLS (SIDEBAR LAYOUT FIXED) --- */



.bio-focus-container {

display: flex;

flex-direction: column;

gap: 25px; /* Tăng khoảng cách giữa các thẻ cho thoáng */

width: 100%;

}



/* Style cho từng Card */

.bio-stack-card {

display: flex; /* Bật chế độ 2 cột ngang */

align-items: flex-start; /* Căn hàng từ trên cùng */

width: 100%;

padding-bottom: 13px;

border-bottom: 1px solid #f0f0f0; /* Đường kẻ mờ ngăn cách các mục */

}

/* Bỏ đường kẻ ở mục cuối cùng */

.bio-stack-card:last-child {

border-bottom: none;

padding-bottom: 0;

}



/* CỘT TRÁI: Chứa Icon */

.bio-stack-left {

width: 40px; /* Độ rộng cố định cho cột icon */

min-width: 40px; /* Không cho phép bị co nhỏ hơn */

padding-top: 3px; /* Tinh chỉnh nhỏ để icon ngang hàng với Title */

}



.bio-stack-icon {

width: 24px;

height: 24px;

display: flex;

align-items: center;

justify-content: center;

}

.bio-stack-icon svg { width: 100%; height: 100%; }



/* Màu icon */

.icon-teal { color: #50c3a6; }

.icon-gold { color: #f6ce4e; }



/* CỘT PHẢI: Chứa toàn bộ nội dung text */

.bio-stack-right {

flex: 1; /* Chiếm toàn bộ phần còn lại */

}



/* Tiêu đề */

.bio-stack-title {

font-size: 16px;

font-weight: 500;

color: #333;

margin: 0 0 6px 0; /* Khoảng cách dưới tiêu đề */

line-height: 1.2;

}



/* Mô tả phụ (Subtitle) */

.bio-stack-subtitle {

font-size: 14px;

color: #666;

margin-bottom: 7px;

font-weight: 300;

}



/* Danh sách Bullet Points */

.bio-stack-list {

margin: 0;

/* Indent danh sách vào trong cột phải một chút */

padding-left: 0px;

list-style-type: disc; /* Dấu chấm tròn */

}



.bio-stack-list li {

font-size: 14px;

color: #555;

margin-bottom: 6px;

line-height: 1.4;

}



/* Màu của dấu chấm đầu dòng */

.bio-stack-list li::marker {

color: #888;

}



/* Responsive Mobile */

@media (max-width: 550px) {

.bio-stack-left { width: 30px; min-width: 30px; } /* Thu nhỏ cột icon trên mobile */

.bio-stack-title { font-size: 17px; }

}




/* --- 5 ELEMENTS GRID (NGŨ HÀNH) --- */
.bio-element-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; width: 100%; }
@media (max-width: 1024px) { .bio-element-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .bio-element-grid { grid-template-columns: 1fr; } }

.bio-element-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 25px 15px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.bio-element-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: #e0f2f1; }

.bio-elem-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; transition: transform 0.2s; }
.bio-elem-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.bio-element-card:hover .bio-elem-icon { transform: scale(1.1); }

.bio-elem-title { font-size: 18px; font-weight: 500; color: #333; margin-bottom: 2px; line-height: 1.2; }
.bio-elem-sub { font-size: 13px; color: #777; margin-bottom: 12px; font-weight: 400; }

.bio-elem-badge { border: 1px solid #f0f0f0; border-radius: 20px; padding: 4px 12px; font-size: 12px; color: #555; margin-bottom: 10px; background: #fafafa; font-weight: 500; }
.bio-elem-desc { font-size: 12px; color: #999; line-height: 1.4; }

/* Element Colors */
.is-wood .bio-elem-icon { background-color: #e8f5e9; color: #4caf50; }
.is-fire .bio-elem-icon { background-color: #ffebee; color: #ef5350; }
.is-earth .bio-elem-icon { background-color: #fff8e1; color: #8d6e63; }
.is-metal .bio-elem-icon { background-color: #f5f5f5; color: #78909c; }
.is-water .bio-elem-icon { background-color: #e3f2fd; color: #42a5f5; }


/* --- TEA RECIPES & AI NOTE (SVG FLEX FIX) --- */
.bio-tea-container { display: flex; flex-direction: column; gap: 15px; width: 100%; }

.bio-tea-card { background-color: #f9fcfb; border-radius: 12px; padding: 12px 20px; border: 1px solid #f0f7f5; transition: transform 0.2s; }
.bio-tea-card:hover { transform: translateY(-2px); background-color: #f0fafa; }

.bio-tea-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bio-tea-title { font-size: 17px; font-weight: 500; color: #333; margin: 0; }
.bio-tea-badge { font-size: 12px; padding: 4px 10px; border: 1px solid #e0e0e0; border-radius: 20px; color: #555; background: #fff; font-weight: 500; }

.bio-tea-ingredients { font-size: 14px; color: #666; margin-bottom: 9px; font-weight: 300; line-height: 1.4; }

.bio-tea-list { list-style: none; margin: 0; padding: 0; }
.bio-tea-list li { margin-bottom: 6px; margin-left: 0px !important; line-height: 1.0em;}

/* Flex Row cho Icon và Text */
.bio-tea-row { display: flex; align-items: center; gap: 2px; } /* Gap chuẩn */
.bio-tea-row span { font-size: 14px; color: #555; line-height: 1.4; } /* Text style */

/* Icon SVG Style */
.bio-tea-icon { width: 14px; height: 14px; color: #eab308; flex-shrink: 0; } 

/* AI Note Style Variant */
.bio-protocol-ai-note.bio-ai-tea-style { background-color: #fffbeb; border-color: #fef3c7; margin-top: 10px; }


/* --- HERB LIST (THẢO DƯỢC) --- */
.bio-herb-list { display: flex; flex-direction: column; gap: 15px; width: 100%; }

.bio-herb-card { background-color: #fff; border: 1px solid #eee; border-radius: 12px; padding: 13px; display: flex; align-items: flex-start; transition: transform 0.2s; }
.bio-herb-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.03); border-color: #e0f2f1; }

.bio-herb-icon-box { width: 40px; height: 40px; background-color: #e0f2f1; color: #50c3a6; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 12px; flex-shrink: 0; }
.bio-herb-icon-box svg { width: 22px; height: 22px; }

.bio-herb-content { flex-grow: 1; }

.bio-herb-title { font-size: 16px; font-weight: 500; color: #333; margin: 0 0 6px 0; line-height: 1.2; }
.bio-herb-desc { font-size: 13px; color: #666; margin-bottom: 7px; font-weight: 400; line-height: 1.4; }

.bio-herb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bio-tag-pill { font-size: 12px; padding: 3px 9px; border: 1px solid #e0e0e0; border-radius: 20px; color: #444; background: #fff; font-weight: 500; }

@media (max-width: 550px) { .bio-herb-card { padding: 15px; } .bio-herb-icon-box { width: 40px; height: 40px; margin-right: 12px; } .bio-herb-icon-box svg { width: 20px; height: 20px; } }


/* --- BREATHING EXERCISES (1 COLUMN STACK) --- */
.bio-breath-grid { display: flex; flex-direction: column; gap: 20px; width: 100%; }

.bio-breath-card { background: #f9fcfb; border-radius: 12px; padding: 20px; border: 1px solid #f0f7f5; display: flex; flex-direction: column; transition: transform 0.2s; }
.bio-breath-card:hover { transform: translateY(-3px); background-color: #f0fafa; }

/* Font weight 500 cho Title */
.bio-breath-title { font-size: 17px; font-weight: 500; color: #333; margin: 0 0 5px 0; line-height: 1.3; }
.bio-breath-sub { font-size: 13px; color: #666; margin-bottom: 15px; font-weight: 400; }

.bio-breath-list { margin: 0 0 5px 0; padding-left: 0px; flex-grow: 1; }
.bio-breath-list li { font-size: 14px; color: #555; margin-bottom: 8px; line-height: 1.3; }

.bio-breath-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
/* Font weight 300 cho Pill */
.bio-tag-pill.teal { background-color: #50c3a6; color: #fff; border: none; font-weight: 300; font-size: 12px; padding: 4px 12px; border-radius: 20px; }


/* --- MEDITATION LIST (FIXED ALIGNMENT) --- */
.bio-meditation-list { display: flex; flex-direction: column; gap: 15px; width: 100%; }

.bio-meditation-card { background-color: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px 25px; transition: transform 0.2s; }
.bio-meditation-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.03); border-color: #e0f2f1; }

.bio-med-header { display: flex; align-items: center; margin-bottom: 8px; }
.bio-med-icon { margin-right: 10px; font-size: 18px; line-height: 1; display: flex; align-items: center; } /* Căn giữa icon emoji */
.bio-med-title { font-size: 17px; font-weight: 500; color: #333; margin: 0; line-height: 1.2; }

.bio-med-desc { font-size: 15px; color: #555; margin-bottom: 12px; font-weight: 400; line-height: 1.4; }

/* Meta Footer Fix */
.bio-med-meta { display: flex; align-items: center; font-size: 13px; color: #888; font-weight: 400; line-height: 1; }
.bio-med-meta-icon { display: flex; align-items: center; margin-right: 8px; color: #aaa; } /* Wrapper icon giống header */
.bio-med-meta-icon svg { width: 14px; height: 14px; display: block; }



/* --- SCHEDULE LIST (LỊCH TRÌNH) --- */
.bio-schedule-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.bio-schedule-item { display: flex; align-items: center; gap: 10px; }

.bio-schedule-badge { background-color: #50c3a6; color: #fff; font-size: 11px; font-weight: 500; padding: 2px 9px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; text-align: center; }

.bio-schedule-text { font-size: 14px; color: #555; line-height: 1.4; }

@media (max-width: 550px) { .bio-schedule-item { align-items: flex-start; } .bio-schedule-badge { margin-top: 2px; } }
