@import url("wing.css");

@font-face{
  font-family: 'DroidSans';
  src: url('DroidSans.woff') format('woff');
  /*font license Apache V2.00: https://www.fontsquirrel.com/license/droid-sans*/
}

@font-face{
  font-family: 'IBMVGA';
  src: url('PxPlus_IBM_VGA_8x16.ttf') format('truetype');
  /* VileR's old school font pack - int10h.org */
}

@font-face{
  font-family: 'H1Weird';
  src: url('h1Font.ttf') format('truetype');
}

/* {
  "TIP_OVER_TEAL" :
  #00d16d
    { "Hue" : 0.42, "Saturation" : 1.00 },
  "OVERFIT_ORANGE" :
    { "Hue" : 0.05, "Saturation" : 0.95 },
  "UNCANNY_YELLOW" :
    { "Hue" : 0.11, "Saturation" : 1.00 },
  "NON_LINEAR_LIME" :
    { "Hue" : 0.21, "Saturation" : 1.00 },
  "SINGULARITY_SAPPHIRE" :
    { "Hue" : 0.57, "Saturation" : 1.00 },
  "FALSE_POSITIVE_PURPLE" :
  #e237e6
    { "Hue" : 0.83, "Saturation" : 0.76 },
  "CONFUSION_MATRIX_GREEN" :
    { "Hue" : 0.30, "Saturation" : 1.00 }
} */

:root {
  --bg-color: #1e1e1e;
  --body-font-family: 'DroidSans', sans-serif;
  --bg-color-alt: rgba(196,196,196,1);        /* light gray #C4C4C4*/
  --button-color: rgba(75,75,75,1);        /* dark gray #4B4B4B */
  --button-color-alt: rgba(164,164,164,1);    /* light gray #A4A4A4 */
  --fg-color: #00ff80;            /* light green 33ED6D */
  --medium-battery: #ced100;        /* bright yellow */
  --low-battery: #ff0000;        /* bright red */
  --fg-color-alt: rgba(51,237,109,.05);        /* light green 33ED6D */
  --text-color: rgba(255,255,255,1);        /* white #FFFFFF */
  --text-color-alt: rgba(34,34,34,1);        /* black #000000 */
}

/* Modified icon styles */
.selectedicon {
  color: var(--fg-color);
}

.notselectedicon {
  color: var(--fg-color);
  filter: drop-shadow(0 0 8px var(--fg-color));
}

.notselectedicon:hover {
  color: var(--text-color); /* White for hover */
}

.main-nav-child:hover .selectedicon {
  color: var(--fg-color);
}

.selectedicon, .notselectedicon {
  transition: all 0s ease-in-out;
}

.dropdown {
  position: relative;
  display: inline-block;
}

button:disabled, button[type="submit"]:disabled {
  background: var(--bg-color);
  color : var(--bg-color-alt);
}
button, button[type="submit"] {
  font-family: var(--body-font-family);
  font-size: 0.8em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 170px;
  border: 2px solid var(--fg-color);
  background-color: var (--button-color);
  color: var(--text-color);
  transition: border-color 0.3s, background-color 0.3s;
}

button:hover, button[type="submit"]:disabled {
  border-color: var(--fg-color-alt);
  background-color: var(--fg-color);
  color: var(--text-color-alt);
}

/* Manual botSdkInfo card */
.manual-botinfo-card {
  margin: 14px auto 0 auto;
  padding: 14px 16px;
  max-width: 560px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(0,0,0,0.2);
}

.manual-botinfo-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Modal */
.wp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.wp-modal {
  width: 100%;
  max-width: 420px;
  background: #2d2d2d;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  color: var(--text-color);
}

.wp-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

button.danger {
  border-color: #ff4d4d;
}

button.danger:hover {
  background-color: #ff4d4d;
  border-color: #ff4d4d;
  color: #111;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-color);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px var(--fg-color-alt);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

input[type="text"], input[type="file"], select {
  background-color: #2d2d2d;
  color: #ffffff;
  font-family: var(--body-font-family);
  font-size: 1.0em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 2px solid var(--fg-color);
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type="text"]:hover, input[type="file"]:hover, select:hover,
input[type="text"]:focus, input[type="file"]:focus, select:focus {
  border-color: white;
  border: 2px solid;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type='text']:disabled {
  cursor: not-allowed;
}

.small-hr {
  border: 1px solid #3e3e3e;
  width: 30%;
}

.log-hr {
  margin-bottom: 50px;
}

input[type="file"] {
  width: auto;
}

/* input[type="text"] {
  width: ;
} */

select {
  width: auto;
}

body {
  background-color: var(--bg-color);
  font-family: var(--body-font-family);
  font-size: 1.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  flex-wrap: wrap;
  text-align: center;
  padding-top: env(safe-area-inset-top);
}


h1, h2, h3, h4, small, p, li, label {
  font-family: var(--body-font-family);
  color: var(--text-color);
}

h2, h3 {
  margin-top: 0px;
  margin-bottom: 0px;
}

.desc {
  color: var(--bg-color-alt);
}

h1 {
  color: var(--fg-color);
  font-family: "H1Weird", sans-serif;
  font-size: 3em;
  font-weight: bold;
  letter-spacing: 0em;
  text-align: center;
}

textarea {
  background-color: #2d2d2d;
  color: #ffffff;
  font-family: var(--body-font-family);
  font-size: 0.9em;
  height: 280px;
  border: 2px solid var(--fg-color);
  box-sizing: border-box;
  transition: border-color 0.3s;
}

textarea:hover, textarea:focus {
  border-color: white;
  border: 2px solid;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

/* p {
  font-size: 1.2em;
} */

.content {
  display: none;
}

.wrap {
  overflow: hidden !important;
  white-space: nowrap !important;
}

hr {
  border: 2px solid #3e3e3e;
  /* background-image: linear-gradient(to right, var(--fg-color-alt), var(--fg-color), var(--fg-color-alt)); */
}

a {
  color:var(--fg-color);
}
a:hover {
  text-decoration: none;
  color: var(--fg-color);
}
/*
ul {
  list-style-type:none;
} */

ul, li {
  /* list-style-type: none; */
  list-style-position:inside;
  margin:0;
  padding:0;
}

.tinput {
  width: 315px !important;
  background-color: var(--button-color) !important;
  color: var(--text-color) !important;
  border: 2px solid var(--fg-color); /* accent color */
}

.tinputauth {
  width: 499px !important;
  background-color: var(--button-color) !important;
  color: var(--text-color) !important;
  border: 2px solid var(--fg-color); /* accent color */
}

canvas{
  width:750px !important;
  height:400px !important;
}

/* RADIO BUTTON ######################### */
input[type='radio'] {
  appearance: none;
  top: 13.333333px;
  right: 50%;
  bottom: 0px;
  left: 0;
  margin-top: 0px;
  height: 40px;
  width: 40px;
  transition: all .2s ease;
  background: var(--button-color);
  border: none;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1000;
  border-radius: 50%;
  border: 1px solid var(--button-color-alt);
}

input[type='radio']:checked:after {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--fg-color);
  content: '';
  display: inline-block;
}

input[type='radio']:disabled {
  cursor: not-allowed;
}

input[type='radio']:disabled:after {
  background-color: var(--button-color-alt);
  cursor: not-allowed;
}

/* ###################################### */
#username, #password {
  width: 499px !important;
  background-color: var(--bg-color-alt) !important;
  color: var(--text-color) !important;
  border: 2px solid var(--fg-color); /* accent color */
}

#botAuth {
  color: var(--text-color);
}

#content {
  width: 950px !important;
  /* word-break:break-all !important; */
  /* word-wrap: break-all !important; */
  white-space:normal !important;
}
#outer {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 100vh; /* Keeps things at the top*/
  align-items: start;
}

#botStats {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

/* a simple gif loading from /assets/cloudface.gif and is 60x60px */
.botLoader {
  background-image: url('/assets/cloudface.gif');
  background-size: 60px 60px;
  background-position: center;
  background-clip: border-box;
  background-repeat: no-repeat;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.batteryContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  height: 60px;
  padding-bottom: 15px;
  gap: 15px;
  cursor: pointer;
}

.batteryContainer:hover .tooltip {
  display: block;
}

.tooltip {
  position: absolute;
  display: none;
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: 5px;
  padding: 5px;
  z-index: 1000;
  margin-top: 145px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.batteryOutline {
  outline: 2px solid var(--text-color);
  outline-offset: 2px;
  border-radius: 5px;
  width: 100px;
  height: 40px;
  position: relative;
}
.batteryOutline::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: var(--button-color);
  border-radius: 5px;
}
.batteryOutline::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 102px;
  width: 6px;
  height: 18px;
  background-color: var(--text-color);
}

.vectorFace {
  height: 60px;
  width: 60px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.batteryLevel {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: var(--button-color-alt);
  border-radius: 5px;
}

.battery0 {
  background-color: var(--low-battery);
}

.battery1 {
  background-color: var(--medium-battery);
}

.battery3, .battery2  {
  background-color: var(--fg-color);
}

.charging {
  position: absolute;
  top: 0px;
  left: 30px;
  width: 40px;
  height: 40px;
  /* content is an svg of a lightning bolt */
  content: url('data:image/svg+xml;utf8,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 60"><polygon points="20,0 5,33 24,33 15,60 35,27 16,27" fill="white"/></svg>');
  /* svg drop shadow */
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}

.chargeTimeRemaining {
  position: absolute;
  bottom: 0px;
  left: 3px;
  font-size: 0.6em;
  color: white;
  text-shadow: 0 0 4px rgba(0, 0, 0, 1);
}

.main-nav-parent {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 1rem auto;
  padding: 1rem;
  text-align: center;
  width: 100%;
  max-width: 950px;
}

.main-nav-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  border: 1px solid white;
  padding: 8px 12px;
  vertical-align: top;
  width: auto;
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 85px;
  transition: all 0.3s ease-in-out;
  width: 85px;
}

.main-nav-child:has(.selectedicon) {
  background: rgba(25, 25, 25, 0.9);
  border: 1px solid var(--fg-color);
  box-shadow: 0 0 15px rgba(0, 255, 128, 0.1);
}

.main-nav-child:hover {
  transform: translateY(-2px);
  border-color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1)
}

.main-nav-child i {
  font-size: 32px;
  margin-bottom: 8px;
  transition: all 0.3s ease-in-out;
}

.main-nav-child a {
  width: 100%;
  text-decoration: none;
  font-size: 100%;
  color: var(--bg-color-alt);
}

.main-nav-child a:hover {
  color: var(--text-color);
}

.main-nav-child a i {
  text-decoration: none;
  font-size: 60px;
  /*padding-left: 20px;
  padding-right: 20px;*/
  padding-bottom: 10px;
}

.main-nav-child a img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  object-fit: contain;
}

/* no horizontal scroll on mobile, grid instead of line*/

@media screen and (max-width: 768px) {
  .main-nav-parent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    padding: 0.5rem;
    margin: 0;
    width: 100%;
  }
  
  #outer {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  #content {
    width: 100% !important;
    max-width: 100vw;
    padding: 0 10px;
    box-sizing: border-box;
  }
}

input[type='checkbox'] {
  appearance: none;
  width: 25px;
  height: 25px;
  background-color: var(--button-color);
  border: 2px solid var(--fg-color); /* accent color */
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

input[type='checkbox']:checked {
  background-color: var(--fg-color);
}

input[type='checkbox']:checked:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 12px;
  border: solid var(--text-color);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.checkbox-label {
  padding-top: 3px;
  margin-left: 5px;
  word-break: break-word;
}

/* Intent guide: chữ sáng trên nền tối + code không dùng nền sáng wing.css */
.intent-guide {
  color: rgba(245, 246, 248, 0.98);
}
.intent-guide .ig-text-muted,
.intent-guide p.ig-text-muted {
  color: rgba(230, 235, 240, 0.96) !important;
}
.intent-guide .ig-text-muted em {
  color: rgba(205, 214, 224, 0.95);
}
.intent-guide code {
  padding: 0.15rem 0.45rem;
  margin: 0 0.12rem;
  font-size: 86%;
  white-space: normal;
  word-break: break-word;
  vertical-align: baseline;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #e8edf2 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 4px;
  font-family: Consolas, Monaco, Menlo, monospace;
}
.intent-guide .ig-kp-list {
  margin: 4px 0 0;
  padding-left: 1.15em;
  color: rgba(248, 250, 252, 0.98);
}
.intent-guide .ig-kp-list li {
  margin: 3px 0;
  line-height: 1.45;
}
.intent-guide .ig-kp-empty {
  opacity: 0.65;
  color: rgba(220, 226, 232, 0.9);
}
.intent-guide .ig-spotlight-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 1em;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 255, 128, 0.07);
  border: 1px solid rgba(0, 255, 128, 0.22);
}
.intent-guide .ig-spotlight-head > i {
  font-size: 1.65rem;
  color: var(--fg-color);
  margin-top: 2px;
}
.intent-guide .ig-spotlight-title {
  margin: 0 0 4px 0;
  color: var(--fg-color);
}
.intent-guide .ig-spot-group {
  margin-bottom: 1.1em;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}
.intent-guide .ig-spot-group-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  background: rgba(0, 255, 128, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: bold;
  color: var(--fg-color);
}
.intent-guide .ig-spot-group-hd i {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.intent-guide .ig-spot-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.intent-guide .ig-spot-title-main {
  color: var(--fg-color);
  font-size: 1.02em;
}
.intent-guide .ig-spot-title-sub {
  font-weight: normal;
  font-size: 0.88em;
  opacity: 0.85;
  color: rgba(215, 222, 230, 0.98);
}
.intent-guide .ig-spot-group-body {
  padding: 8px 12px 12px;
}
.intent-guide .ig-spot-intent {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr 1fr;
  gap: 10px 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}
.intent-guide .ig-spot-intent:last-child {
  border-bottom: none;
}
.intent-guide .ig-spot-intent-name {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88em;
}
.intent-guide .ig-spot-intent-name i {
  color: var(--fg-color);
  margin-top: 3px;
  flex-shrink: 0;
}
.intent-guide .ig-spot-kp-col .ig-mini {
  color: rgba(195, 205, 215, 0.95) !important;
}
@media (max-width: 900px) {
  .intent-guide .ig-spot-intent {
    grid-template-columns: 1fr;
  }
}

/* Voice intent guide (index.html → Intent Guide) */
.intent-guide details {
  margin: 0.75em 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.5em 0.75em;
}
.intent-guide summary {
  cursor: pointer;
  font-weight: bold;
  color: var(--fg-color);
}
.intent-guide .ig-hdr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  opacity: 0.85;
  font-size: 0.85em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
  margin: 0.5em 0 6px 0;
}
.intent-guide .ig-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 0.92em;
  margin: 0.35em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.35em;
}
.intent-guide .ig-row:last-child {
  border-bottom: none;
}
@media (max-width: 520px) {
  .intent-guide .ig-hdr,
  .intent-guide .ig-row {
    grid-template-columns: 1fr;
  }
}

/* Intent guide — full table & blackjack cards */
.intent-guide .ig-page-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.intent-guide .ig-page-logo {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(0, 255, 128, 0.15), rgba(0, 255, 128, 0.05));
  border: 1px solid rgba(0, 255, 128, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--fg-color);
}
.intent-guide .ig-bj-hero {
  text-align: center;
  margin: 1em 0 1.25em;
  padding: 12px;
  border-radius: 10px;
  background: rgba(0, 255, 128, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.intent-guide .ig-bj-suits {
  display: inline-flex;
  gap: 10px;
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text-color);
}
.intent-guide .ig-bj-title {
  margin: 0 0 6px 0;
  color: var(--fg-color);
}
.intent-guide .ig-bj-lead {
  margin: 0;
  font-size: 0.92em;
}
.intent-guide .ig-bj-card {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}
.intent-guide .ig-bj-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-weight: bold;
  color: var(--fg-color);
}
.intent-guide .ig-bj-card-head i {
  font-size: 1.15rem;
}
.intent-guide .ig-code {
  font-family: monospace;
  font-size: 0.82em;
  font-weight: normal;
  opacity: 0.95;
  color: var(--text-color);
}
.intent-guide .ig-bj-note {
  margin: 8px 0 10px;
  line-height: 1.45;
}
.intent-guide .ig-mini {
  display: inline-block;
  font-size: 0.75em;
  opacity: 0.9;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(195, 205, 215, 0.95);
}
.intent-guide .ig-kp-block {
  margin-bottom: 10px;
}
.intent-guide .ig-kp-block div {
  line-height: 1.5;
  word-break: break-word;
}
.intent-guide .ig-kp-sep {
  opacity: 0.45;
}
.intent-guide .ig-bj-kp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .intent-guide .ig-bj-kp-grid {
    grid-template-columns: 1fr;
  }
}
.intent-guide .ig-lang-label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 0.9em;
}
.intent-guide .ig-bj-extra {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}
.intent-guide .ig-exact {
  margin: 6px 0 0;
  font-size: 0.85em;
  opacity: 0.95;
  color: rgba(230, 235, 240, 0.95);
}
.intent-guide .ig-full-title {
  margin: 1.25em 0 0.5em;
  color: var(--fg-color);
}
.intent-guide .ig-table-wrap {
  overflow-x: auto;
  margin: 8px 0 1em;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.intent-guide table.ig-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88em;
}
.intent-guide .ig-table th,
.intent-guide .ig-table td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(240, 242, 245, 0.98);
}
.intent-guide .ig-table td small {
  color: rgba(200, 208, 218, 0.92);
}
.intent-guide .ig-table thead th {
  background: rgba(0, 255, 128, 0.08);
  color: var(--fg-color);
  font-weight: bold;
}
.intent-guide .ig-th-icon {
  width: 36px;
}
.intent-guide .ig-td-icon {
  color: var(--fg-color);
  font-size: 1rem;
  text-align: center;
}
.intent-guide .ig-td-name code {
  font-size: 0.92em;
}
.intent-guide .ig-badge {
  display: inline-block;
  font-size: 0.72em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 180, 80, 0.2);
  color: #ffc266;
  vertical-align: middle;
}
/* Bảng intent: hiển thị đầy đủ — không cuộn trong ô (cuộn cả trang). */
.intent-guide .ig-kp-full {
  line-height: 1.45;
  padding-right: 4px;
}
.intent-guide details.ig-details {
  margin: 12px 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.intent-guide details.ig-details > summary.ig-details-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 14px;
  background: rgba(0, 255, 128, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: bold;
  color: var(--fg-color);
  user-select: none;
}
.intent-guide details.ig-details > summary.ig-details-sum::-webkit-details-marker {
  display: none;
}
.intent-guide details.ig-details > summary.ig-details-sum::after {
  content: "▼";
  margin-left: auto;
  opacity: 0.75;
  transition: transform 0.15s ease;
  font-size: 0.65em;
  line-height: 1;
}
.intent-guide details.ig-details[open] > summary.ig-details-sum::after {
  transform: rotate(180deg);
}
.intent-guide .ig-details-sum > i:first-child {
  font-size: 1.15rem;
  opacity: 0.95;
}
.intent-guide .ig-details-sum span {
  font-size: 1.05em;
}
.intent-guide .ig-details-sum small {
  width: 100%;
  font-weight: normal;
  opacity: 0.85;
  color: rgba(215, 222, 230, 0.98);
  padding-left: 1.75rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .intent-guide .ig-details-sum small {
    width: auto;
    margin-left: auto;
    padding-left: 0;
    flex: 1 1 auto;
    text-align: right;
  }
}
.intent-guide .ig-details-body {
  padding: 12px 14px 14px;
}
.intent-guide .ig-details-intro {
  margin: 0 0 10px 0;
  font-size: 0.92em;
}
.intent-guide .ig-details-intro > i:first-child {
  margin-right: 8px;
  color: var(--fg-color);
  opacity: 0.95;
}
.intent-guide .ig-collapse-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.intent-guide .ig-btn-ig {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 128, 0.35);
  background: rgba(0, 255, 128, 0.08);
  color: rgba(240, 245, 248, 0.98);
  font-family: var(--body-font-family);
  font-size: 0.9em;
}
.intent-guide .ig-btn-ig:hover {
  background: rgba(0, 255, 128, 0.15);
  border-color: var(--fg-color);
}
.intent-guide .ig-btn-ig small {
  opacity: 0.85;
}
.intent-guide .ig-bj-note strong {
  color: #fff;
  font-weight: 600;
}
