#hpo-license-test-qr-app {
  --hpo-primary: #0868d8;
  --hpo-primary-dark: #0755b5;
  --hpo-primary-light: #eaf3ff;
  --hpo-primary-soft: #f5f9ff;
  --hpo-heading: #101828;
  --hpo-text: #344054;
  --hpo-muted: #667085;
  --hpo-border: #d9e2ec;
  --hpo-border-light: #e9eef4;
  --hpo-white: #ffffff;
  --hpo-error: #d92d20;
  --hpo-error-bg: #fff4f3;
  --hpo-success: #067647;
  --hpo-success-bg: #ecfdf3;
  --hpo-warning: #9a5b00;
  --hpo-warning-bg: #fff8e7;
  width: 100%;
  max-width: 1180px;
  margin: 28px auto;
  padding: 0 14px;
  color: var(--hpo-text);
  box-sizing: border-box;
}

#hpo-license-test-qr-app *,
#hpo-license-test-qr-app *::before,
#hpo-license-test-qr-app *::after {
  box-sizing: border-box;
}

#hpo-license-test-qr-app input,
#hpo-license-test-qr-app button {
  font-family: inherit;
}

#hpo-license-test-qr-app svg {
  display: block;
  width: 100%;
  height: 100%;
}

#hpo-license-test-qr-app .hpo-lookup-card,
#hpo-license-test-qr-app .hpo-payment-document {
  overflow: hidden;
  border: 1px solid var(--hpo-border);
  border-radius: 16px;
  background: var(--hpo-white);
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.08);
}

#hpo-license-test-qr-app .hpo-lookup-header {
  display: flex;
  min-height: 128px;
  padding: 26px 34px;
  align-items: center;
  gap: 18px;
  color: var(--hpo-white);
  background:
    radial-gradient(
      circle at 85% -40%,
      rgba(255, 255, 255, 0.18),
      transparent 42%
    ),
    linear-gradient(135deg, #0754b7 0%, #0878ea 100%);
}

#hpo-license-test-qr-app .hpo-header-icon {
  display: flex;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  padding: 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

#hpo-license-test-qr-app .hpo-header-content {
  min-width: 0;
}

#hpo-license-test-qr-app .hpo-lookup-title {
  margin: 0 0 6px;
  padding: 0;
  color: #ffffff !important;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-shadow: none;
}

#hpo-license-test-qr-app .hpo-lookup-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 15px;
  line-height: 1.5;
}

#hpo-license-test-qr-app .hpo-lookup-body {
  padding: 24px 30px 27px;
}

#hpo-license-test-qr-app .hpo-form-label {
  display: block;
  margin: 0 0 9px;
  color: var(--hpo-heading);
  font-size: 14px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-required {
  color: var(--hpo-error);
}

#hpo-license-test-qr-app .hpo-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0;
}

#hpo-license-test-qr-app .hpo-input-wrap {
  position: relative;
  min-width: 0;
}

#hpo-license-test-qr-app .hpo-input-icon {
  position: absolute;
  top: 50%;
  left: 17px;
  z-index: 2;
  width: 23px;
  height: 23px;
  color: #667085;
  transform: translateY(-50%);
  pointer-events: none;
}

#hpo-license-test-qr-app .hpo-input {
  display: block;
  width: 100%;
  height: 55px;
  margin: 0;
  padding: 0 18px 0 52px;
  border: 1px solid var(--hpo-border);
  border-right: 0;
  border-radius: 9px 0 0 9px;
  background: #ffffff;
  color: var(--hpo-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 55px;
  outline: none;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#hpo-license-test-qr-app .hpo-input::placeholder {
  color: #98a2b3;
  font-size: 15px;
  font-weight: 400;
}

#hpo-license-test-qr-app .hpo-input:focus {
  position: relative;
  z-index: 3;
  border-color: var(--hpo-primary);
  box-shadow: 0 0 0 4px rgba(8, 104, 216, 0.11);
}

#hpo-license-test-qr-app .hpo-search-button {
  display: flex;
  min-height: 55px;
  margin: 0;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 0 9px 9px 0;
  background: linear-gradient(135deg, #0878ea, #075bc6);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

#hpo-license-test-qr-app .hpo-search-button:hover {
  filter: brightness(0.96);
  box-shadow: 0 7px 16px rgba(8, 104, 216, 0.22);
}

#hpo-license-test-qr-app .hpo-search-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

#hpo-license-test-qr-app .hpo-search-button-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

#hpo-license-test-qr-app .hpo-form-help {
  display: block;
  margin-top: 7px;
  color: var(--hpo-muted);
  font-size: 12px;
  line-height: 1.45;
}

#hpo-license-test-qr-app .hpo-message {
  display: none;
  margin-top: 15px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

#hpo-license-test-qr-app .hpo-message.is-loading {
  display: block;
  border: 1px solid #b7d7f8;
  background: #eef6ff;
  color: #0755a5;
}

#hpo-license-test-qr-app .hpo-message.is-error {
  display: block;
  border: 1px solid #f2b8b5;
  background: var(--hpo-error-bg);
  color: var(--hpo-error);
}

#hpo-license-test-qr-app .hpo-message.is-success {
  display: block;
  border: 1px solid #a6dfc3;
  background: var(--hpo-success-bg);
  color: var(--hpo-success);
}

#hpo-license-test-qr-app .hpo-payment-document {
  margin-top: 22px;
  padding: 22px;
}

#hpo-license-test-qr-app .hpo-payment-document[hidden] {
  display: none !important;
}

#hpo-license-test-qr-app .hpo-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 1fr);
  gap: 20px;
}

#hpo-license-test-qr-app .hpo-information-card,
#hpo-license-test-qr-app .hpo-qr-card,
#hpo-license-test-qr-app .hpo-payment-guide {
  overflow: hidden;
  border: 1px solid var(--hpo-border);
  border-radius: 12px;
  background: #ffffff;
}

#hpo-license-test-qr-app .hpo-section-heading {
  display: flex;
  min-height: 57px;
  padding: 14px 17px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--hpo-border);
  color: var(--hpo-primary);
}

#hpo-license-test-qr-app .hpo-section-heading h3 {
  margin: 0;
  padding: 0;
  color: var(--hpo-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

#hpo-license-test-qr-app .hpo-section-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

#hpo-license-test-qr-app .hpo-info-table {
  width: 100%;
}

#hpo-license-test-qr-app .hpo-info-row {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  min-height: 88px;
  align-items: stretch;
  border-bottom: 1px solid var(--hpo-border-light);
}

#hpo-license-test-qr-app .hpo-info-row:last-child {
  border-bottom: 0;
}

#hpo-license-test-qr-app .hpo-info-row[hidden] {
  display: none !important;
}

#hpo-license-test-qr-app .hpo-info-label {
  display: flex;
  min-width: 0;
  height: 100%;
  padding: 14px 20px;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--hpo-border-light);
  color: var(--hpo-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

#hpo-license-test-qr-app .hpo-row-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  color: var(--hpo-primary);
}

#hpo-license-test-qr-app .hpo-info-value {
  display: flex;
  min-width: 0;
  height: 100%;
  margin-top: 12px;
  padding: 14px 20px;
  align-items: center;
  color: var(--hpo-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#hpo-license-test-qr-app .hpo-uppercase {
  text-transform: uppercase;
}

#hpo-license-test-qr-app .hpo-amount-row {
  background: #fffafa;
}

#hpo-license-test-qr-app .hpo-amount-row .hpo-info-label,
#hpo-license-test-qr-app .hpo-amount-row .hpo-row-icon {
  color: var(--hpo-error);
}

#hpo-license-test-qr-app .hpo-amount-value {
  color: var(--hpo-error);
  font-size: 19px;
}

#hpo-license-test-qr-app .hpo-qr-content {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  align-items: center;
}

#hpo-license-test-qr-app .hpo-document-qr-wrap {
  display: flex;
  width: 250px;
  min-height: 250px;
  padding: 13px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd8e3;
  border-radius: 11px;
  background: #ffffff;
}

#hpo-license-test-qr-app .hpo-document-qr {
  display: flex;
  width: 216px;
  min-height: 216px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

#hpo-license-test-qr-app .hpo-document-qr img,
#hpo-license-test-qr-app .hpo-document-qr canvas {
  display: block;
  width: 200px !important;
  max-width: 100%;
  height: 200px !important;
  object-fit: contain;
}

#hpo-license-test-qr-app .hpo-qr-description {
  min-width: 0;
}

#hpo-license-test-qr-app .hpo-bank-app {
  display: flex;
  padding: 0 0 18px;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--hpo-border-light);
}

#hpo-license-test-qr-app .hpo-bank-app-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  color: var(--hpo-primary-dark);
}

#hpo-license-test-qr-app .hpo-bank-app strong {
  display: block;
  margin-bottom: 8px;
  color: var(--hpo-heading);
  font-size: 14px;
  line-height: 1.4;
}

#hpo-license-test-qr-app .hpo-bank-app p,
#hpo-license-test-qr-app .hpo-qr-warning p,
#hpo-license-test-qr-app .hpo-important-note p {
  margin: 0;
  color: var(--hpo-text);
  font-size: 12px;
  line-height: 1.55;
}

#hpo-license-test-qr-app .hpo-qr-warning {
  display: flex;
  margin-top: 18px;
  padding: 15px;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #efd293;
  border-radius: 9px;
  background: var(--hpo-warning-bg);
}

#hpo-license-test-qr-app .hpo-warning-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: #c17a00;
}

#hpo-license-test-qr-app .hpo-qr-warning strong {
  display: block;
  margin-bottom: 7px;
  color: #604000;
  font-size: 13px;
}

#hpo-license-test-qr-app .hpo-payment-guide {
  margin-top: 20px;
}

#hpo-license-test-qr-app .hpo-guide-heading {
  border-bottom: 0;
}

#hpo-license-test-qr-app .hpo-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  padding: 0 18px 18px;
  align-items: stretch;
}

#hpo-license-test-qr-app .hpo-payment-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

#hpo-license-test-qr-app .hpo-payment-step {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 12px 9px;
  text-align: center;
}

#hpo-license-test-qr-app .hpo-payment-step:not(:last-child)::after {
  position: absolute;
  top: 25px;
  right: -13px;
  width: 26px;
  border-top: 1px dashed #aebdcd;
  content: '';
}

#hpo-license-test-qr-app .hpo-step-number {
  position: absolute;
  top: 6px;
  left: 4px;
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hpo-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-step-icon {
  display: flex;
  width: 47px;
  height: 47px;
  margin: 0 auto 11px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e2ef;
  border-radius: 11px;
  color: var(--hpo-primary);
  background: #ffffff;
}

#hpo-license-test-qr-app .hpo-payment-step h4 {
  margin: 0 0 6px;
  padding: 0;
  color: var(--hpo-heading);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

#hpo-license-test-qr-app .hpo-payment-step p {
  margin: 0;
  color: var(--hpo-text);
  font-size: 11px;
  line-height: 1.5;
}

#hpo-license-test-qr-app .hpo-important-note {
  display: flex;
  padding: 17px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #efd293;
  border-radius: 10px;
  background: var(--hpo-warning-bg);
}

#hpo-license-test-qr-app .hpo-important-note strong {
  display: block;
  margin-bottom: 8px;
  color: #5c3c00;
  font-size: 13px;
}

#hpo-license-test-qr-app .hpo-citizen-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  margin-top: 20px;
  padding: 15px 18px;
  align-items: center;
  border: 1px solid #bad7f6;
  border-radius: 10px;
  background: linear-gradient(135deg, #f1f7ff, #eaf3ff);
}

#hpo-license-test-qr-app .hpo-citizen-content {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 11px;
}

#hpo-license-test-qr-app .hpo-note-icon {
  display: flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hpo-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-citizen-note h3 {
  margin: 0 0 6px;
  padding: 0;
  color: var(--hpo-primary-dark);
  font-size: 13px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-citizen-note p {
  margin: 0 0 3px;
  color: var(--hpo-text);
  font-size: 11px;
  line-height: 1.5;
}

#hpo-license-test-qr-app .hpo-result-footer {
  text-align: right;
}

#hpo-license-test-qr-app .hpo-result-footer span {
  display: block;
  margin-bottom: 4px;
  color: var(--hpo-text);
  font-size: 11px;
}

#hpo-license-test-qr-app .hpo-result-footer strong {
  display: block;
  color: var(--hpo-primary-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 1050px) {
  #hpo-license-test-qr-app .hpo-result-grid {
    grid-template-columns: 1fr;
  }

  #hpo-license-test-qr-app .hpo-guide-layout {
    grid-template-columns: 1fr;
  }

  #hpo-license-test-qr-app .hpo-important-note {
    max-width: none;
  }
}

@media (max-width: 799px) {
  #hpo-license-test-qr-app {
    margin: 15px auto;
    padding: 0 9px;
  }

  #hpo-license-test-qr-app .hpo-lookup-header {
    min-height: 0;
    padding: 20px 17px;
    align-items: flex-start;
    gap: 12px;
  }

  #hpo-license-test-qr-app .hpo-header-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    padding: 11px;
    border-radius: 12px;
  }

  #hpo-license-test-qr-app .hpo-lookup-title {
    margin-top: 1px;
    font-size: 20px;
    line-height: 1.3;
  }

  #hpo-license-test-qr-app .hpo-lookup-subtitle {
    font-size: 12px;
  }

  #hpo-license-test-qr-app .hpo-lookup-body {
    padding: 19px 16px 21px;
  }

  #hpo-license-test-qr-app .hpo-search-control {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #hpo-license-test-qr-app .hpo-input {
    height: 54px;
    border-right: 1px solid var(--hpo-border);
    border-radius: 9px;
    line-height: 54px;
  }

  #hpo-license-test-qr-app .hpo-search-button {
    min-height: 54px;
    border-radius: 9px;
    font-size: 14px;
  }

  #hpo-license-test-qr-app .hpo-payment-document {
    padding: 12px;
  }

  #hpo-license-test-qr-app .hpo-result-grid {
    gap: 12px;
  }

  #hpo-license-test-qr-app .hpo-section-heading {
    min-height: 52px;
    padding: 12px 14px;
  }

  #hpo-license-test-qr-app .hpo-section-heading h3 {
    font-size: 14px;
  }

  #hpo-license-test-qr-app .hpo-info-row {
    grid-template-columns: 40% minmax(0, 1fr);
    min-height: 60px;
  }

  #hpo-license-test-qr-app .hpo-info-label {
    padding: 12px 10px;
    gap: 8px;
    font-size: 12px;
  }

  #hpo-license-test-qr-app .hpo-row-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  #hpo-license-test-qr-app .hpo-info-value {
    padding: 12px 11px;
    font-size: 13px;
  }

  #hpo-license-test-qr-app .hpo-amount-value {
    font-size: 17px;
  }

  #hpo-license-test-qr-app .hpo-qr-content {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 16px 13px;
  }

  #hpo-license-test-qr-app .hpo-document-qr-wrap {
    width: 246px;
    min-height: 246px;
    max-width: 100%;
    margin: 0 auto;
  }

  #hpo-license-test-qr-app .hpo-qr-description {
    width: 100%;
  }

  #hpo-license-test-qr-app .hpo-payment-guide {
    margin-top: 12px;
  }

  #hpo-license-test-qr-app .hpo-guide-layout {
    gap: 14px;
    padding: 0 13px 14px;
  }

  #hpo-license-test-qr-app .hpo-payment-steps {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  #hpo-license-test-qr-app .hpo-payment-step {
    display: grid;
    grid-template-columns: 31px 43px minmax(0, 1fr);
    gap: 10px;
    padding: 11px;
    align-items: center;
    border: 1px solid var(--hpo-border-light);
    border-radius: 9px;
    text-align: left;
  }

  #hpo-license-test-qr-app .hpo-payment-step:not(:last-child)::after {
    display: none;
  }

  #hpo-license-test-qr-app .hpo-step-number {
    position: static;
    width: 27px;
    height: 27px;
  }

  #hpo-license-test-qr-app .hpo-step-icon {
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 9px;
  }

  #hpo-license-test-qr-app .hpo-payment-step h4 {
    margin-bottom: 3px;
    font-size: 12px;
  }

  #hpo-license-test-qr-app .hpo-payment-step p {
    font-size: 11px;
  }

  #hpo-license-test-qr-app .hpo-important-note {
    padding: 14px;
  }

  #hpo-license-test-qr-app .hpo-citizen-note {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 12px;
    padding: 14px;
  }

  #hpo-license-test-qr-app .hpo-result-footer {
    padding-top: 12px;
    border-top: 1px solid #c8dcf3;
    text-align: center;
  }
}

@media (max-width: 390px) {
  #hpo-license-test-qr-app .hpo-lookup-title {
    font-size: 17px;
  }

  #hpo-license-test-qr-app .hpo-lookup-subtitle {
    font-size: 11px;
  }

  #hpo-license-test-qr-app .hpo-info-row {
    grid-template-columns: 38% minmax(0, 1fr);
  }

  #hpo-license-test-qr-app .hpo-info-label {
    padding-right: 7px;
    padding-left: 7px;
    gap: 6px;
  }

  #hpo-license-test-qr-app .hpo-info-value {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
  }

  #hpo-license-test-qr-app .hpo-document-qr-wrap {
    width: 224px;
    min-height: 224px;
  }

  #hpo-license-test-qr-app .hpo-document-qr {
    width: 198px;
    min-height: 198px;
  }

  #hpo-license-test-qr-app .hpo-document-qr img,
  #hpo-license-test-qr-app .hpo-document-qr canvas {
    width: 182px !important;
    height: 182px !important;
  }
}

@media print {
  #hpo-license-test-qr-app {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  #hpo-license-test-qr-app .hpo-lookup-card,
  #hpo-license-test-qr-app .hpo-message {
    display: none !important;
  }

  #hpo-license-test-qr-app .hpo-payment-document {
    margin: 0;
    padding: 10px;
    border: 0;
    box-shadow: none;
  }

  #hpo-license-test-qr-app .hpo-payment-step:not(:last-child)::after {
    display: none;
  }
}

/* =========================
   TYPOGRAPHY UPDATE - TĂNG CỠ CHỮ VÀ ĐỘ ĐẬM
========================= */
#hpo-license-test-qr-app {
  font-size: 16px;
}

#hpo-license-test-qr-app .hpo-lookup-subtitle {
  font-size: 17px;
  font-weight: 600;
}

#hpo-license-test-qr-app .hpo-form-label {
  font-size: 16px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-input::placeholder {
  font-size: 16px;
  font-weight: 500;
}

#hpo-license-test-qr-app .hpo-search-button {
  font-size: 16px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-form-help {
  font-size: 14px;
  font-weight: 600;
}

#hpo-license-test-qr-app .hpo-message {
  font-size: 15px;
  font-weight: 700;
}

#hpo-license-test-qr-app .hpo-section-heading h3 {
  font-size: 17px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-info-label {
  font-size: 15px;
  font-weight: 700;
}

#hpo-license-test-qr-app .hpo-info-value {
  font-size: 16px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-bank-app strong,
#hpo-license-test-qr-app .hpo-qr-warning strong,
#hpo-license-test-qr-app .hpo-important-note strong {
  font-size: 16px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-bank-app p,
#hpo-license-test-qr-app .hpo-qr-warning p,
#hpo-license-test-qr-app .hpo-important-note p {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
}

#hpo-license-test-qr-app .hpo-payment-step h4 {
  font-size: 15px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-payment-step p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

#hpo-license-test-qr-app .hpo-citizen-note h3 {
  font-size: 16px;
  font-weight: 800;
}

#hpo-license-test-qr-app .hpo-citizen-note p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

#hpo-license-test-qr-app .hpo-result-footer span {
  font-size: 13px;
  font-weight: 600;
}

#hpo-license-test-qr-app .hpo-result-footer strong {
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 799px) {
  #hpo-license-test-qr-app .hpo-lookup-subtitle {
    font-size: 14px;
    font-weight: 600;
  }

  #hpo-license-test-qr-app .hpo-form-label,
  #hpo-license-test-qr-app .hpo-search-button {
    font-size: 15px;
  }

  #hpo-license-test-qr-app .hpo-form-help {
    font-size: 13px;
  }

  #hpo-license-test-qr-app .hpo-section-heading h3 {
    font-size: 16px;
  }

  #hpo-license-test-qr-app .hpo-info-label {
    font-size: 13px;
    font-weight: 700;
  }

  #hpo-license-test-qr-app .hpo-info-value {
    font-size: 14px;
  }

  #hpo-license-test-qr-app .hpo-payment-step h4 {
    font-size: 14px;
  }

  #hpo-license-test-qr-app .hpo-payment-step p,
  #hpo-license-test-qr-app .hpo-bank-app p,
  #hpo-license-test-qr-app .hpo-qr-warning p,
  #hpo-license-test-qr-app .hpo-important-note p,
  #hpo-license-test-qr-app .hpo-citizen-note p {
    font-size: 13px;
  }
}

/* =====================================================
   HƯỚNG DẪN THANH TOÁN - BẢN HOÀN CHỈNH
===================================================== */
#hpo-license-test-qr-app .hpo-payment-guide {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #d5e1ee;
  border-radius: 16px;
  background: #fff;
}
#hpo-license-test-qr-app .hpo-guide-heading {
  min-height: 66px;
  padding: 18px 24px;
  border-bottom: 1px solid #e4ebf3;
  background: #fff;
}
#hpo-license-test-qr-app .hpo-guide-heading h3 {
  color: #0868d8;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.2px;
}
#hpo-license-test-qr-app .hpo-guide-heading .hpo-section-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}
#hpo-license-test-qr-app .hpo-guide-content {
  padding: 24px;
}
#hpo-license-test-qr-app .hpo-payment-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
#hpo-license-test-qr-app .hpo-payment-step {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 245px;
  margin: 0;
  padding: 25px 18px 22px;
  flex-direction: column;
  align-items: center;
  border: 1px solid #d8e3ef;
  border-radius: 15px;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 72%);
  text-align: center;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
#hpo-license-test-qr-app .hpo-payment-step:hover {
  border-color: #9bc6f5;
  transform: translateY(-3px);
  box-shadow: 0 13px 30px rgba(8, 104, 216, 0.11);
}
#hpo-license-test-qr-app .hpo-payment-step::before,
#hpo-license-test-qr-app .hpo-payment-step::after,
#hpo-license-test-qr-app .hpo-payment-step:not(:last-child)::after {
  display: none !important;
  content: none !important;
}
#hpo-license-test-qr-app .hpo-step-number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0878ea, #075bc6);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 5px 13px rgba(8, 104, 216, 0.25);
}
#hpo-license-test-qr-app .hpo-step-icon {
  display: flex;
  width: 76px;
  height: 76px;
  margin: 4px auto 19px;
  padding: 19px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe1f5;
  border-radius: 22px;
  background: #eaf4ff;
  color: #0870df;
}
#hpo-license-test-qr-app .hpo-step-content {
  width: 100%;
}
#hpo-license-test-qr-app .hpo-payment-step h4 {
  margin: 0 0 10px;
  padding: 0;
  color: #101828;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
}
#hpo-license-test-qr-app .hpo-payment-step p {
  margin: 0;
  color: #344054;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}
#hpo-license-test-qr-app .hpo-combined-note {
  margin: 0 0 20px;
  padding: 22px 24px;
  border: 1px solid #efc46c;
  border-radius: 15px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff4d9 100%);
  box-shadow: 0 8px 22px rgba(154, 91, 0, 0.06);
}
#hpo-license-test-qr-app .hpo-combined-note-heading {
  display: flex;
  margin-bottom: 17px;
  align-items: center;
  gap: 12px;
}
#hpo-license-test-qr-app .hpo-combined-note-icon {
  display: flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #d92d20;
}
#hpo-license-test-qr-app .hpo-combined-note-heading h3 {
  margin: 0;
  padding: 0;
  color: #d92d20 !important;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
}
#hpo-license-test-qr-app .hpo-combined-note-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
#hpo-license-test-qr-app .hpo-combined-note-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  align-items: flex-start;
  border-top: 1px dashed rgba(154, 91, 0, 0.25);
}
#hpo-license-test-qr-app .hpo-combined-note-item:first-child {
  padding-top: 0;
  border-top: 0;
}
#hpo-license-test-qr-app .hpo-combined-note-item:last-child {
  padding-bottom: 0;
}
#hpo-license-test-qr-app .hpo-note-check {
  display: flex;
  width: 25px;
  height: 25px;
  margin-top: 1px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d92d20;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
#hpo-license-test-qr-app .hpo-combined-note-item p {
  margin: 0;
  color: #49320f;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.65;
}
#hpo-license-test-qr-app .hpo-important-note,
#hpo-license-test-qr-app .hpo-citizen-note,
#hpo-license-test-qr-app .hpo-result-footer {
  display: none !important;
}
@media (max-width: 1050px) {
  #hpo-license-test-qr-app .hpo-payment-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #hpo-license-test-qr-app .hpo-payment-step {
    min-height: 225px;
  }
}
@media (max-width: 799px) {
  #hpo-license-test-qr-app .hpo-guide-heading {
    min-height: 58px;
    padding: 15px 16px;
  }
  #hpo-license-test-qr-app .hpo-guide-heading h3 {
    font-size: 19px;
  }
  #hpo-license-test-qr-app .hpo-guide-heading .hpo-section-icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }
  #hpo-license-test-qr-app .hpo-guide-content {
    padding: 14px;
  }
  #hpo-license-test-qr-app .hpo-payment-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  #hpo-license-test-qr-app .hpo-payment-step {
    display: grid;
    grid-template-columns: 38px 62px minmax(0, 1fr);
    min-height: 0;
    padding: 16px;
    align-items: center;
    gap: 13px;
    text-align: left;
  }
  #hpo-license-test-qr-app .hpo-payment-step:hover {
    transform: none;
  }
  #hpo-license-test-qr-app .hpo-step-number {
    position: static;
    width: 34px;
    height: 34px;
    border-width: 0;
  }
  #hpo-license-test-qr-app .hpo-step-icon {
    width: 58px;
    height: 58px;
    margin: 0;
    padding: 14px;
    border-radius: 16px;
  }
  #hpo-license-test-qr-app .hpo-payment-step h4 {
    margin-bottom: 5px;
    font-size: 16px;
  }
  #hpo-license-test-qr-app .hpo-payment-step p {
    font-size: 14px;
    line-height: 1.55;
  }
  #hpo-license-test-qr-app .hpo-combined-note {
    margin: 0 0 14px;
    padding: 18px 16px;
  }
  #hpo-license-test-qr-app .hpo-combined-note-heading {
    margin-bottom: 12px;
  }
  @media (max-width: 799px) {
  #hpo-license-test-qr-app .hpo-combined-note-heading h3 {
    color: #d92d20 !important;
    font-size: 16px !important;
    line-height: 1.3;
    letter-spacing: 0;
  }
}
  #hpo-license-test-qr-app .hpo-combined-note-item {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
  }
  #hpo-license-test-qr-app .hpo-note-check {
    width: 23px;
    height: 23px;
    font-size: 13px;
  }
  #hpo-license-test-qr-app .hpo-combined-note-item p {
    font-size: 14px;
    line-height: 1.6;
  }
}
@media (max-width: 390px) {
  #hpo-license-test-qr-app .hpo-payment-step {
    grid-template-columns: 34px 50px minmax(0, 1fr);
    gap: 9px;
    padding: 13px 11px;
  }
  #hpo-license-test-qr-app .hpo-step-number {
    width: 31px;
    height: 31px;
    font-size: 13px;
  }
  #hpo-license-test-qr-app .hpo-step-icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 13px;
  }
  #hpo-license-test-qr-app .hpo-payment-step h4 {
    font-size: 15px;
  }
  #hpo-license-test-qr-app .hpo-payment-step p {
    font-size: 13px;
  }
}
@media (max-width: 799px) {
  #hpo-license-test-qr-app .hpo-info-row {
    min-height: 72px;
  }

  #hpo-license-test-qr-app .hpo-info-label,
  #hpo-license-test-qr-app .hpo-info-value {
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.4;
  }
}