@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=IBM+Plex+Sans+Condensed:wght@500;600;700&family=Montserrat:wght@700;800;900&family=Vina+Sans&display=swap&subset=vietnamese");

:root {
  --bg: #eef2f6;
  --surface: #ffffff;
  --surface-soft: #f6f9fc;
  --line: #d5deea;
  --text: #102033;
  --muted: #5d6d80;
  --primary: #0a4b88;
  --primary-2: #0f67ba;
  --accent: #168269;
  --danger: #b33a3a;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(16, 46, 77, 0.08);
}

body.vbtheme {
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif !important;
}

body.vbtheme h2,
body.vbtheme .vb-section-head h2,
body.vbtheme .wp-block-heading {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
}

body.vbtheme h3,
body.vbtheme .widget-title,
body.vbtheme .vb-card h3 {
  font-family: "IBM Plex Sans Condensed", "Segoe UI", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.15px;
}

/* Forum title typography: thick, premium, high contrast */
body.vbtheme .vb-page-head h1,
body.vbtheme .vb-hero h1,
body.vbtheme .vb-topic-single h1,
body.vbtheme .vb-topic-headline h2 {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}

* { box-sizing: border-box; }

body.vbtheme {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f4f7fb 0%, #ecf1f7 100%);
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-2); }

.vb-wrap {
  width: min(1560px, calc(100% - 40px));
  margin: 0 auto;
}

.vb-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(120deg, #083863, #0a4b88 55%, #0f67ba);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Fix sticky header gap when WordPress admin bar is visible */
.admin-bar .vb-header {
  top: 32px;
}

.vb-header-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px 0 12px;
}

.vb-logo {
  display: inline-flex;
  flex-direction: column;
  color: #fff;
}

body.vbtheme .vb-header .vb-logo > span {
  font-family: "Vina Sans", "Montserrat", sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(28px, 4.5vw, 38px);
  line-height: 0.98;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: block;
}

.vb-logo-image img {
  max-width: 240px;
  height: auto;
  display: block;
}

.vb-logo small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.3;
}

.vb-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vb-nav a,
.vb-user-actions a {
  color: #f7fbff;
  font-weight: 600;
  font-size: 14px;
}

.vb-nav a {
  padding: 8px 11px;
  border-radius: 8px;
}

.vb-nav a:hover { background: rgba(255,255,255,0.14); }

.vb-user-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.vb-signup,
.vb-logout {
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 12px;
  border-radius: 999px;
}

.vb-user-actions a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

@media (min-width: 1024px) {
  .vb-user-actions {
    justify-self: end;
  }
}

.vb-main { padding: 22px 0 34px; }

.vb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.vb-content, .vb-sidebar { min-width: 0; }
.vb-sidebar { display: grid; gap: 12px; }

.vb-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.vb-kicker {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: #e7f0fb;
  color: #0d4f92;
}

.vb-hero {
  background: linear-gradient(118deg, #0a4b88 0%, #0e5ea9 45%, #0d7f94 100%);
  color: #fff;
}

.vb-hero h1 {
  margin: 8px 0 8px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.03;
  font-family: "Barlow Condensed", sans-serif;
}

.vb-hero p { margin: 0 0 14px; color: #deedff; max-width: 900px; }

.vb-search {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.vb-search input,
.vb-search select,
.vb-topic-form input,
.vb-topic-form textarea,
.vb-topic-form select,
.vb-lookup-form input,
.vb-report-form input {
  width: 100%;
  border: 1px solid #c2d0e2;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

.vb-hero .vb-search input,
.vb-hero .vb-search select {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.27);
  color: #fff;
}

.vb-hero .vb-search input::placeholder { color: #dfebfb; }
.vb-hero .vb-search option { color: #12263a; }

.vb-btn,
.vb-search button,
.vb-topic-form button,
.vb-report-form button,
.vb-lookup-form button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--primary), var(--primary-2));
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vb-btn-outline {
  background: #e9f1fb;
  color: #0c4a85;
  border: 1px solid #c8d9ed;
}

.vb-hero-stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.vb-hero-stats div {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 10px 12px;
}

.vb-hero-stats strong {
  font-size: 26px;
  line-height: 1;
  font-family: "Barlow Condensed", sans-serif;
  display: inline-block;
  margin-right: 6px;
  vertical-align: baseline;
}

.vb-hero-stats span {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #eaf4ff;
  vertical-align: baseline;
}

.vb-section-head {
  margin: 16px 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.vb-section-head h2 {
  margin: 0;
  font-size: 24px;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.3px;
}

.vb-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.vb-section-item {
  border-left: 4px solid #0d5da7;
  padding-left: 14px;
}

.vb-section-item h3 { margin: 0 0 4px; font-size: 18px; }
.vb-section-item p { margin: 0; color: var(--muted); font-size: 14px; }

.vb-home-panels {
  margin: 14px 0;
  display: grid;
  gap: 12px;
}

.vb-page-head h1 { margin: 6px 0; font-size: clamp(30px, 4vw, 40px); font-family: "Barlow Condensed", sans-serif; }
.vb-page-head p { margin: 0; color: var(--muted); }

/* Bearing data archive hero */
.vb-page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #c8d9eb;
  border-radius: 18px;
  padding: 24px 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(27, 131, 203, 0.12), transparent 45%),
    radial-gradient(circle at 0 100%, rgba(15, 103, 186, 0.11), transparent 52%),
    linear-gradient(135deg, #ffffff 0%, #f5faff 100%);
  box-shadow:
    0 16px 34px rgba(8, 47, 84, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.vb-page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #0a4b88, #0f67ba, #1c9bc5);
}

.vb-page-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.2px;
  font-family: "Barlow Condensed", sans-serif;
  color: #0a2b4a;
}

.vb-page-hero p {
  margin: 0;
  max-width: 880px;
  color: #37536e;
  font-size: 18px;
  line-height: 1.5;
}

.vb-page-hero-chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vb-page-hero-chips span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c2d7ef;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.85);
  color: #134b7b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

.vb-form-row { display: grid; grid-template-columns: 1fr; gap: 10px; }

.vb-topic-item { margin-bottom: 12px; background: #fff; }

.vb-topic-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.vb-topic-headline h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-family: "Barlow Condensed", sans-serif;
}

.vb-topic-meta {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.vb-topic-meta span {
  background: #f0f5fb;
  border: 1px solid #dce5f0;
  padding: 4px 8px;
  border-radius: 999px;
}

.vb-hot-pill,
.vb-badge {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.vb-badge { background: #e8f2fd; color: #0b569c; }
.vb-hot-pill {
  background: #e5f5ef;
  color: #146d57;
  padding: 7px 14px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.vb-topic-actions,
.vb-topic-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.vb-topic-actions-row .vb-btn {
  padding: 7px 14px;
  min-height: 34px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.1;
}

.vb-topic-body {
  line-height: 1.7;
  color: #1a2a3d;
}

/* Single topic hero header */
.vb-topic-single {
  position: relative;
  overflow: hidden;
  border-color: #cfdced;
  background:
    radial-gradient(circle at 100% 0, rgba(20, 103, 186, 0.09), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.vb-topic-single::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0a4b88, #0f67ba, #17a1a1);
}

.vb-topic-single .vb-breadcrumb {
  margin-top: 6px;
  margin-bottom: 10px;
  color: #58708a;
}

.vb-topic-single .vb-kicker {
  margin-bottom: 10px;
  box-shadow: inset 0 0 0 1px #c9daee;
}

.vb-topic-single h1 {
  margin: 0 0 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: #0a2643;
  max-width: 1100px;
}

.vb-topic-single .vb-topic-meta {
  margin: 0 0 14px;
}

.vb-topic-single .vb-topic-meta span {
  background: #edf4fb;
  border: 1px solid #d1deec;
  color: #355470;
  font-weight: 500;
}

.vb-topic-single .vb-badge {
  background: #e3f2eb;
  border-color: #bde4d4;
  color: #0f6e51;
}

/* Make Tra Cuu Vong Bi All shortcode blend with VongBi Community theme */
.vb-lookup-modern .bci-wrap {
  margin-top: 10px;
}

.vbtheme .bci-search label {
  display: block;
  font-weight: 700;
  color: #183451;
  margin: 0 0 8px;
}

.vbtheme .bci-search input[type="text"],
.vbtheme .bci-search select {
  width: 100%;
  border: 1px solid #c2d0e2;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

.vbtheme .bci-search button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--primary), var(--primary-2));
  cursor: pointer;
}

.vbtheme .bci-results .bci-table,
.vbtheme .bci-results .bci-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.vbtheme .bci-mobile-cards {
  display: none;
}

/* Hero lookup uses plugin form but keeps hero visual style */
.vb-hero-lookup .bci-search {
  margin-top: 10px;
}

.vb-hero-lookup .bci-search label {
  color: #e7f2ff;
}

.vb-hero-lookup .bci-search input[type="text"],
.vb-hero-lookup .bci-search select {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.27);
  color: #fff;
}

.vb-hero-lookup .bci-search input[type="text"]::placeholder {
  color: #dfebfb;
}

.vb-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vb-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed #d4deea;
}

.vb-list li:last-child { border-bottom: 0; }

.vb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-tags a {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  background: #e7f0fb;
  color: #0d528f;
}

.vb-breadcrumb {
  margin: 4px 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.vb-breadcrumb a { color: #0c5ca7; }

@media (max-width: 768px) {
  .vbtheme .bci-results {
    overflow: visible;
  }

  .vbtheme .bci-results .bci-table {
    display: none !important;
  }

  .vbtheme .bci-mobile-cards {
    display: block !important;
    margin-top: 10px;
  }

  .vbtheme .bci-mobile-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 10px 18px rgba(10, 49, 90, 0.08);
  }

  .vbtheme .bci-mobile-card + .bci-mobile-card {
    margin-top: 10px;
  }

  .vbtheme .bci-mobile-card__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
  }

  .vbtheme .bci-mobile-card__head strong {
    color: #0f3157;
    font-size: 17px;
    line-height: 1.2;
  }

  .vbtheme .bci-mobile-card__head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eaf4ff;
    border: 1px solid #c5daf0;
    color: #14466f;
    font-size: 12px;
    font-weight: 800;
  }

  .vbtheme .bci-mobile-card__row + .bci-mobile-card__row {
    margin-top: 8px;
  }

  .vbtheme .bci-mobile-card__row label {
    display: block;
    margin-bottom: 4px;
    color: #5d738d !important;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .vbtheme .bci-mobile-card__row span {
    display: block;
    color: #0f2338;
    font-size: 14px;
    line-height: 1.55;
    white-space: normal;
  }
}

.vb-pagination { margin-top: 10px; }
.vb-pagination .page-numbers {
  display: inline-flex;
  min-width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  border: 1px solid #c8d8e9;
  border-radius: 9px;
  font-weight: 700;
  color: #154d83;
}

.vb-pagination .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.vb-notify-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  background: #f5d64b;
  color: #2a3648;
}

.vb-footer {
  margin-top: 18px;
  background: linear-gradient(120deg, #083863, #0a4b88 55%, #0f67ba);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.vb-footer-grid {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.vb-footer h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-family: "Barlow Condensed", sans-serif;
  color: #f2f8ff;
}

.vb-footer p {
  margin: 0;
  color: #d7e8fa;
}

.vb-footer a {
  color: #ffffff;
  font-weight: 600;
}

.vb-footer-block {
  display: grid;
  gap: 10px;
}

.vb-footer-text p {
  margin: 0;
  color: #d7e8fa;
  line-height: 1.7;
}

.vb-footer-media img {
  max-width: 180px;
  height: auto;
  border-radius: 12px;
  display: block;
}

.vb-footer-links {
  display: grid;
  gap: 8px;
}

.vb-footer-links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.vb-footer-bottom-text {
  padding: 0 0 14px;
  text-align: right;
  color: #d7e8fa;
  font-size: 13px;
  line-height: 1.6;
}

/* Comment + search widget polish */
.comment-respond {
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 14px;
  padding: 18px;
}

.comment-reply-title {
  margin: 0 0 10px;
  font-size: 34px;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1;
  color: #0e2d4a;
}

.comment-notes,
.logged-in-as {
  margin: 0 0 12px;
  color: #5d6d80;
  font-size: 14px;
}

.comment-form {
  display: grid;
  gap: 10px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1a3855;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  border: 1px solid #c4d1e0;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #f9fbfe;
}

.comment-form textarea {
  min-height: 160px;
  resize: vertical;
}

.comment-form .submit,
.search-form .search-submit {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--primary), var(--primary-2));
  cursor: pointer;
}

.comment-form .submit:hover,
.search-form .search-submit:hover {
  filter: brightness(1.05);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.search-form label {
  margin: 0;
}

.search-form .search-field {
  width: 100%;
  border: 1px solid #c4d1e0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #f9fbfe;
}

/* Sidebar/Search widget redesign (classic + block widget) */
.widget_search,
.wp-block-search {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #d5dfeb;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(10, 52, 95, 0.06);
}

.widget_search .widget-title,
.wp-block-search .wp-block-search__label {
  display: block;
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1;
  font-family: "Barlow Condensed", sans-serif;
  color: #103254;
}

.widget_search .search-form,
.wp-block-search .wp-block-search__inside-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.widget_search .search-field,
.wp-block-search .wp-block-search__input {
  width: 100%;
  height: 46px;
  border: 1px solid #c0cfe0;
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: #12314f;
}

.widget_search .search-field:focus,
.wp-block-search .wp-block-search__input:focus {
  outline: none;
  border-color: #2a78c4;
  box-shadow: 0 0 0 3px rgba(42, 120, 196, 0.14);
}

.widget_search .search-submit,
.wp-block-search .wp-block-search__button {
  height: 46px;
  min-width: 110px;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #0a4b88, #0f67ba);
  cursor: pointer;
}

.widget_search .search-submit:hover,
.wp-block-search .wp-block-search__button:hover {
  filter: brightness(1.06);
}

@media (min-width: 760px) {
  .vb-search { grid-template-columns: 1.8fr 1fr auto; }
  .vb-hero-stats { grid-template-columns: repeat(3, 1fr); }
  .vb-section-grid { grid-template-columns: repeat(2, 1fr); }
  .vb-form-row { grid-template-columns: 1fr 1fr; }
  .vb-home-panels { grid-template-columns: 1fr 1fr; }
  .vb-footer-grid { grid-template-columns: 1.1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .vb-header-inner {
    grid-template-columns: minmax(280px, 1.35fr) minmax(220px, 0.9fr) minmax(260px, 1.1fr);
    align-items: center;
  }

  .vb-grid { grid-template-columns: 1fr; }

  .vb-section-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 782px) {
  .admin-bar .vb-header {
    top: 46px;
  }

  .vb-page-hero {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .vb-page-hero h1 {
    margin-top: 8px;
    font-size: clamp(32px, 11vw, 44px);
  }

  .vb-page-hero p {
    font-size: 15px;
  }
}

.vb-comments {
  display: grid;
  gap: 18px;
}

.vb-comments-header {
  display: grid;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.vb-comments-header h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  color: #123a64;
}

.vb-comments-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.vb-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.vb-comment-list .children {
  list-style: none;
  margin: 16px 0 0 24px;
  padding: 0 0 0 18px;
  border-left: 2px solid #d9e7f4;
  display: grid;
  gap: 14px;
}

.vb-comment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid #d6e1ee;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(16, 46, 77, 0.06);
}

.vb-comments img.avatar,
.vb-comments .avatar,
.vb-comments .comment-author .avatar {
  display: none !important;
}

.vb-comment-main {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.vb-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vb-comment-author-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vb-comment-author {
  font-size: 18px;
  color: #133b66;
}

.vb-comment-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e8f4eb;
  color: #1e7b48;
}

.vb-comment-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.vb-comment-date span {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf4fb;
  color: #285a89;
  font-weight: 600;
}

.vb-comment-body {
  color: #1c2f44;
  line-height: 1.8;
  font-size: 15px;
}

.vb-comment-body p {
  margin: 0 0 12px;
}

.vb-comment-body p:last-child {
  margin-bottom: 0;
}

.vb-comment-pending {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #f2d596;
  background: linear-gradient(135deg, #fff9e8 0%, #fff2cf 100%);
  color: #845308;
}

.vb-comment-pending strong {
  font-size: 14px;
}

.vb-comment-pending span {
  font-size: 14px;
  line-height: 1.6;
}

.vb-comment-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.vb-comment-reply a,
.vb-comment-edit a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf4fb;
  color: #0b4f90;
  font-size: 13px;
  font-weight: 700;
}

.vb-comment-edit a {
  background: #fceeee;
  color: #a53333;
}

.vb-comments-empty {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed #cad8e8;
  border-radius: 16px;
  background: #f7fbff;
  color: var(--muted);
}

.vb-comment-form-title {
  margin: 0 0 12px;
  font-size: 24px;
  color: #123a64;
}

.vb-comment-note {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.vb-comment-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.vb-comment-form label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: #173b63;
}

.vb-comment-form input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]),
.vb-comment-form textarea {
  width: 100%;
  border: 1px solid #cbd8e7;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.vb-comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.vb-comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 160px;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--primary), var(--primary-2));
  cursor: pointer;
}

.vb-comment-form .form-submit {
  margin: 0;
}

.vb-comments-locked {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #d8e4f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fd 100%);
}

.vb-comments-locked strong {
  font-size: 18px;
  color: #123a64;
}

.vb-comments-locked span {
  color: var(--muted);
  line-height: 1.7;
}

.vb-comments-locked-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.vb-comments-auth-box {
  margin-top: 4px;
}

.vb-comments-auth-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #cfdeee;
  border-radius: 14px;
  background: #fff;
}

.vb-comments-auth-form[hidden] {
  display: none !important;
}

.vb-comments-auth-form label {
  display: block;
  font-weight: 700;
  color: #14385f;
  margin-bottom: 2px;
}

.vb-comments-auth-form input {
  width: 100%;
  border: 1px solid #c9d8e8;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fbfdff;
}

.vb-comments-auth-form button[type="submit"] {
  justify-self: start;
}

.vb-auth-hidden-submit {
  display: none !important;
}

.vb-comments-auth-help {
  display: block;
  margin-top: 4px;
  padding: 10px 12px;
  border-left: 4px solid #f2b705;
  border-radius: 8px;
  background: #fff8db;
  color: #684b00;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.vb-comments-auth-notice,
.vb-comment-form-message {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.vb-comments-auth-notice.is-error,
.vb-comment-form-message.is-error {
  background: #fff3f3;
  border: 1px solid #f0c5c5;
  color: #9d2e2e;
}

.vb-comments-auth-notice.is-success,
.vb-comment-form-message.is-success {
  background: #edf9f2;
  border: 1px solid #bfe8cb;
  color: #1a6b3e;
}

@media (max-width: 767px) {
  .vb-comment-card {
    grid-template-columns: 1fr;
  }

  .vb-comment-list .children {
    margin-left: 12px;
    padding-left: 12px;
  }
}

.vb-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vb-profile-form {
  display: grid;
  gap: 14px;
}

.vb-profile-form label {
  display: grid;
  gap: 8px;
  color: #15375d;
  font-weight: 700;
}

.vb-field-note {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}

.vb-profile-form input,
.vb-profile-form textarea {
  width: 100%;
  border: 1px solid #cad7e6;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.vb-profile-form textarea {
  resize: vertical;
}

.vb-profile-form button {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--primary), var(--primary-2));
  cursor: pointer;
}

.vb-profile-list {
  display: grid;
  gap: 12px;
}

.vb-profile-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #d7e1ed;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.vb-profile-item h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.vb-profile-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.vb-profile-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e9f2fc;
  color: #0d4f8f;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.vb-profile-alert {
  display: grid;
  gap: 6px;
  border: 1px solid #b7e4c1;
  background: #e9f8ee;
  color: #19663a;
}

.vb-profile-alert-error {
  border-color: #f0b9bd;
  background: #fdf0f1;
  color: #a53034;
}

.vb-profile-section {
  position: relative;
}

.vb-profile-section.is-loading {
  opacity: 0.62;
  transition: opacity 0.2s ease;
}

.vb-profile-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.vb-profile-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #cfe0f1;
  background: #f4f8fc;
  color: #0d4f8f;
  font-weight: 700;
}

.vb-profile-pagination a.is-active {
  border-color: #0d5aa7;
  background: linear-gradient(140deg, #0a4b88, #0f67ba);
  color: #fff;
}

@media (max-width: 900px) {
  .vb-profile-grid {
    grid-template-columns: 1fr;
  }

  .vb-profile-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
