/* Brand font: Inter (Google Sans-like, full Vietnamese glyphs)
   Google Sans / Product Sans thiếu dấu tiếng Việt → trình duyệt trộn font fallback. */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap&subset=vietnamese");

:root {
  --font-brand: "Inter", "Google Sans", system-ui, -apple-system, "Segoe UI",
    sans-serif;
  --bs-body-font-family: var(--font-brand);
  --bs-font-sans-serif: var(--font-brand);
}

html,
body,
#root,
.main-page-wrapper {
  font-family: var(--font-brand) !important;
}

* {
  font-family: var(--font-brand) !important;
}

.fa,
.fa *,
[class^="fa-"],
i.fa,
.fa:before,
.fa:after {
  font-family: FontAwesome !important;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
  font-family: Flaticon !important;
}

.slick-arrow:before,
.slick-dots li button:before {
  font-family: slick !important;
}

.font-gilroy-bold,
.font-gilroy-semibold,
.font-gilroy-light,
.font-gordita,
.font-rubik,
.font-recoleta,
.hero-heading,
.hero-sub-heading,
.title-style-thirteen,
.title-style-thirteen *,
.title-style-thirteen h2,
.title-style-thirteen h2 span,
.title-style-thirteen .upper-title,
.title-style-nine,
.title-style-nine *,
.title-style-two,
.title-style-two *,
.navbar-nav,
.navbar-nav *,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
label,
div,
strong,
b,
em,
small {
  font-family: var(--font-brand) !important;
}

/* Large titles: medium */
.hero-heading,
.hero-banner-twelve .hero-heading,
.title-style-thirteen h2,
.title-style-thirteen h2 span,
.title-style-nine h2,
.title-style-two h2,
.fancy-hero-two .heading,
.fancy-hero-three .heading,
h1,
h2 {
  font-weight: 500 !important;
  letter-spacing: -0.02em;
}

.font-gilroy-bold,
h3,
h4,
h5,
h6 {
  font-weight: 600 !important;
}

/* —— Header: luôn nền tối như home (theme-menu-seven khi sticky) ——
   Base theme gán .theme-main-menu { background:#fff } và
   .sticky-menu.fixed { background:#fff } → chữ trắng bị mất trên nền trắng.
   Home chỉ đọc được vì bg-none + hero tối; trang nội dung cần solid #242424. */
.theme-main-menu.theme-menu-seven,
.theme-main-menu.sticky-menu.theme-menu-seven,
.theme-main-menu.sticky-menu.fixed.theme-menu-seven,
.theme-main-menu.theme-menu-seven.bg-none {
  background: #242424 !important;
  box-shadow: none !important;
  z-index: 9999;
}

.theme-menu-seven .navbar-nav .nav-item .nav-link,
.theme-menu-seven .right-widget .signIn-action,
.theme-menu-seven .right-widget .signIn-action span {
  color: #fff !important;
}

.theme-menu-seven .toggler-menu span,
.theme-menu-seven .toggler-menu span:before,
.theme-menu-seven .toggler-menu span:after {
  background: #fff !important;
}

.theme-menu-seven .navbar-collapse {
  background: #242424 !important;
}

.page-shell {
  padding-top: 90px;
  min-height: 60vh;
  background: #f7f9fc;
}

.main-page-wrapper.p0 {
  padding-top: 0 !important;
}

.page-hero-anphat {
  background: linear-gradient(135deg, #0b1220 0%, #152238 55%, #0ea5e9 160%);
  color: #fff;
  padding: 110px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-anphat .theme-btn-twelve {
  margin-top: 28px;
}

.page-hero-anphat .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.page-hero-anphat h1,
.page-hero-anphat h2 {
  color: #fff !important;
  font-weight: 500 !important;
  font-size: clamp(22px, 2.6vw, 32px) !important;
  line-height: 1.35;
  margin: 0 auto 12px;
  max-width: 920px;
}

.page-hero-anphat p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Demo eKYC */
.demo-ekyc-page .demo-panel {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e8eef5;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  padding: 28px;
  height: 100%;
}

.demo-ekyc-page .demo-panel h5 {
  font-size: 18px;
  margin-bottom: 18px;
  color: #0f172a;
}

.demo-ekyc-page .form-group {
  margin-bottom: 16px;
}

.demo-ekyc-page .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.demo-ekyc-page .form-group input[type="file"] {
  width: 100%;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  background: #f8fafc;
}

.demo-ekyc-page .demo-submit {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: #0ea5e9;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 18px;
  transition: background 0.2s ease;
}

.demo-ekyc-page .demo-submit:hover {
  background: #0284c7;
}

.demo-ekyc-page .demo-result-empty {
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #94a3b8;
  border: 1px dashed #dbe3ee;
  border-radius: 16px;
  background: #fafbfc;
  padding: 32px;
}

.demo-ekyc-page .demo-result-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8eef5;
  padding: 20px;
}

.demo-ekyc-page .demo-result-card label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.demo-ekyc-page .demo-result-card img {
  border-radius: 10px;
  margin-bottom: 12px;
}

.demo-ekyc-page .checkout-section {
  padding-top: 40px !important;
  padding-bottom: 80px !important;
  background: #f7f9fc;
}

.pricing-section-one > .pricing-table-area {
  padding-top: 48px;
}

.feature-blog-one.blog-page-bg {
  padding-top: 48px;
}

.blog-page-bg {
  padding-top: 40px !important;
  padding-bottom: 80px !important;
  background: #f4f7fb !important;
}

.api-guide-article .post-meta {
  padding: 36px 40px 48px !important;
  border-radius: 16px !important;
  max-width: none;
}

@media (min-width: 1200px) {
  .api-guide-article .post-meta {
    padding: 44px 56px 56px !important;
  }
}

.api-guide-content {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #334155;
  text-align: left !important;
}

.api-guide-content p,
.api-guide-content li,
.api-guide-content div {
  font-size: 16px !important;
  line-height: 1.75 !important;
  text-align: left !important;
}

/* Dùng class thay vì h2/h3 — theme set h2 tới 40–68px */
.api-guide-content .guide-title,
.api-guide-article .api-guide-content .guide-title,
.cms-content.api-guide-content .guide-title {
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: #0f172a !important;
  margin: 28px 0 10px !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
}

.api-guide-content .guide-subtitle,
.api-guide-article .api-guide-content .guide-subtitle,
.cms-content.api-guide-content .guide-subtitle {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: #0f172a !important;
  margin: 22px 0 8px !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
}

.api-guide-content .guide-title code,
.api-guide-content .guide-subtitle code {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0369a1 !important;
  background: #f0f9ff !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.api-guide-content h1,
.api-guide-content h2,
.api-guide-content h3,
.api-guide-content h4,
.api-guide-article.blog-details-post-v1 .post-meta h1,
.api-guide-article.blog-details-post-v1 .post-meta h2,
.api-guide-article.blog-details-post-v1 .post-meta h3,
.api-guide-article.blog-details-post-v1 .post-meta h4 {
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  margin: 24px 0 10px !important;
  padding-top: 0 !important;
  letter-spacing: 0 !important;
}

.api-guide-content pre {
  background: transparent;
  color: #e2e8f0;
  border-radius: 0;
  padding: 0;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.api-guide-content .code-block {
  margin: 16px 0 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid #1e293b;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.api-guide-content .code-block__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #111827;
  border-bottom: 1px solid #1e293b;
}

.api-guide-content .code-block__dots {
  display: inline-flex;
  gap: 5px;
  margin-right: 4px;
}

.api-guide-content .code-block__dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}

.api-guide-content .code-block__dots i:nth-child(1) {
  background: #f87171;
}
.api-guide-content .code-block__dots i:nth-child(2) {
  background: #fbbf24;
}
.api-guide-content .code-block__dots i:nth-child(3) {
  background: #34d399;
}

.api-guide-content .code-block__lang {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8 !important;
  margin-right: auto !important;
  font-family: var(--font-brand) !important;
}

.api-guide-content .code-block__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  font-family: var(--font-brand) !important;
}

.api-guide-content .code-block__copy:hover {
  background: #334155;
  border-color: #475569;
}

.api-guide-content .code-block__copy.is-copied {
  background: #065f46;
  border-color: #059669;
  color: #ecfdf5;
}

.api-guide-content .code-block__copy span {
  font-size: 12px !important;
  color: inherit !important;
  font-family: inherit !important;
}

.api-guide-content .code-block pre {
  margin: 0 !important;
  padding: 16px 18px 18px !important;
  background: transparent !important;
  color: #e2e8f0 !important;
  overflow-x: auto;
  font-size: 13px !important;
  line-height: 1.65 !important;
  text-align: left !important;
}

.api-guide-content .code-block pre code {
  background: transparent !important;
  color: #e2e8f0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  white-space: pre;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

.api-guide-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.api-guide-content p code,
.api-guide-content li code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
}

.api-guide-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.api-guide-content a {
  color: #0284c7;
  text-decoration: underline;
}

.demo-hero-links .theme-btn-twelve {
  min-width: 140px;
  text-align: center;
}

