/**
 * SOC Enterprise — chỉ override màu chủ đạo megahost.
 * Layout/HTML/CSS gốc giữ nguyên 100%.
 */
:root {
  --primary-color: #2563eb !important;
  --fs-color-primary: #2563eb !important;
  --fs-color-alert: #2563eb !important;
  --fs-experimental-link-color: #2563eb !important;
  --fs-experimental-link-color-hover: #1d4ed8 !important;
  --soc-overlay: rgba(37, 99, 235, 0.5);
}

/* Hero overlay: đỏ → xanh chủ đạo */
.banner .overlay,
#banner-1118150871 .overlay {
  background-color: var(--soc-overlay) !important;
}

/* Hero full-bleed — Flatsome .section mặc định padding L/R 30px → viền trắng */
#section_2034450092 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hero text box — bỏ width 64% từ ≥550px (tablet) để full ngang */
@media (min-width: 550px) {
  #text-box-1473283050 {
    width: 100% !important;
  }
}

/* BIG SALE banner — ảnh nền + lớp phủ xanh nhẹ (không che hết pattern) */
.message-box.wn-footer-message .message-box-bg-image {
  background-image: url("/wp-content/uploads/2024/12/BG-trangchu-01-1024x269.png?v=12") !important;
  background-size: cover !important;
  background-position: center center !important;
}

.message-box.wn-footer-message::before {
  display: none !important;
}

.message-box.wn-footer-message .message-box-bg-overlay {
  background: linear-gradient(
    100deg,
    rgba(37, 99, 235, 0.72) 0%,
    rgba(37, 99, 235, 0.45) 50%,
    rgba(29, 78, 216, 0.2) 100%
  ) !important;
}

.button.alert,
.button.primary,
.btn-login-bevel,
.wn-form-domain button[type="submit"],
.wn-domain-item-label,
.wn-dich-vu-item .wn-dich-vu-badge,
.wn-dich-vu-item .button.alert,
[data-text-color="alert"],
.text-alert {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
}

/* .is-outline lấy màu chữ từ --fs-color-alert (đã bị override thành xanh ở trên)
   => chữ trùng màu nền. Ép chữ trắng cho các nút solid/outline dùng biến này. */
.button.alert,
.button.alert.is-outline,
.button.primary,
.btn-login-bevel,
.wn-form-domain button[type="submit"] {
  color: #fff !important;
}

.button.alert:hover,
.button.primary:hover,
.wn-form-domain button[type="submit"]:hover {
  background-color: #1d4ed8 !important;
}

span[data-text-color="alert"],
h2 span[data-text-color="alert"],
.text-alert {
  color: #2563eb !important;
  background: transparent !important;
}

/* Logo SOC WORLD — icon + text cùng hàng như logo ảnh cũ */
#logo {
  width: auto !important;
  max-width: none !important;
}

#logo a,
#logo a.soc-world-logo {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px;
  max-width: none !important;
  text-decoration: none;
  line-height: 1;
}

#logo img.header-logo-dark {
  display: none !important;
}

#logo img.header_logo.header-logo,
.soc-world-logo__icon {
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  max-height: 56px !important;
  flex-shrink: 0;
  object-fit: contain;
}

.soc-world-logo {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}

.img-inner.dark > .soc-world-logo {
  display: inline-flex !important;
}

.soc-world-logo__text {
  display: inline !important;
  font-family: "Radio Canada", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #1e293b;
  white-space: nowrap !important;
}

.soc-world-logo__text strong {
  display: inline !important;
  color: #2563eb;
  font-weight: 700;
}

.soc-world-logo--footer .soc-world-logo__text {
  color: #f8fafc;
}

.soc-world-logo--footer .soc-world-logo__text strong {
  color: #60a5fa;
}

@media (max-width: 849px) {
  #logo img.header_logo.header-logo,
  .soc-world-logo__icon {
    width: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
  }

  .soc-world-logo__text {
    font-size: 1.1rem;
  }
}

@media (max-width: 549px) {
  #logo img.header_logo.header-logo,
  .soc-world-logo__icon {
    width: 38px !important;
    height: 38px !important;
    max-height: 38px !important;
  }

  .soc-world-logo__text {
    font-size: 0.95rem;
  }
}

.accordion .accordion-title .wn-faq-number,
.wn-faq .accordion-item .badge,
.wn-faq-number {
  background-color: #2563eb !important;
}

/* Divider đỏ rgb(239, 31, 38) → xanh chủ đạo */
.is-divider[style*="239, 31, 38"],
.is-divider[style*="239,31, 38"],
.is-divider[style*="239,31,38"] {
  background-color: #2563eb !important;
}

/* Modal đăng ký đại lý */
body.soc-agent-modal-open {
  overflow: hidden;
}

.soc-agent-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.soc-agent-modal.is-open {
  display: flex;
}

.soc-agent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.soc-agent-modal__panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
  padding: 1.75rem 1.5rem 1.5rem;
}

.soc-agent-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.soc-agent-modal__close:hover {
  background: #e2e8f0;
}

.soc-agent-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2563eb;
}

.soc-agent-modal__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  line-height: 1.3;
  color: #0f172a;
}

.soc-agent-modal__lead {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.6;
}

.soc-agent-modal__benefits {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: #334155;
  line-height: 1.55;
}

.soc-agent-modal__benefits li + li {
  margin-top: 0.35rem;
}

.soc-agent-modal__plans {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 549px) {
  .soc-agent-modal__plans {
    grid-template-columns: 1fr;
  }
}

.soc-agent-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.soc-agent-plan:hover,
.soc-agent-plan:focus-visible {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

.soc-agent-plan--featured {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

.soc-agent-plan__badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: #2563eb;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.soc-agent-plan__label {
  font-weight: 600;
  color: #0f172a;
}

.soc-agent-plan__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
}

.soc-agent-plan__hint {
  font-size: 0.8rem;
  color: #64748b;
}

.soc-agent-modal__transfer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
}

.soc-agent-modal__transfer h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #0f172a;
}

.soc-agent-modal__transfer-intro,
.soc-agent-modal__note {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
}

.soc-agent-transfer-list {
  margin: 0 0 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.soc-agent-transfer-list > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: #f8fafc;
  border-radius: 8px;
}

.soc-agent-transfer-list dt {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.soc-agent-transfer-list dd {
  margin: 0;
  font-size: 0.9rem;
  color: #0f172a;
}

.soc-agent-transfer-list code {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  background: #e2e8f0;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

[data-soc-agent-register] {
  cursor: pointer;
}

/* Widget liên hệ slideContact — thu gọn chỉ icon, click mở rộng mới hiện chữ */
.wn-contact-float {
  display: none !important;
}

.slideContact:not(.active) {
  right: 0 !important;
}

.slideContact:not(.active) .box_content {
  width: auto;
  padding: 10px 8px 10px 10px;
  overflow: hidden;
}

.slideContact:not(.active) .box_content .item {
  width: 36px;
  height: 36px;
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 36px;
  background-position: center !important;
  background-size: 26px !important;
}

.slideContact:not(.active) .box_content .item + .item {
  margin-top: 6px;
}

.slideContact.active {
  right: 0 !important;
}

.slideContact.active .box_content {
  min-width: 210px;
}

.slideContact.active .box_content .item {
  width: auto;
  height: auto;
  padding: 10px 12px 10px 47px !important;
  color: #111 !important;
  font-size: 15px !important;
  line-height: 1.2;
  background-position: left center !important;
  white-space: nowrap;
}

@media (max-width: 550px) {
  .slideContact:not(.active),
  .slideContact.active {
    right: 0 !important;
  }
}

.wn-contact-float-link img {
  object-fit: contain;
}

/* YouTube thay Messenger trong slideContact */
.slideContact .box_content .item.item_youtube {
  background: url("/images/social/icon-youtube.svg") no-repeat left center !important;
  background-size: 26px !important;
  font-weight: 500;
}

.slideContact:not(.active) .box_content .item.item_youtube {
  background-position: center !important;
}

/* Icon liên hệ Zalo/Facebook/Phone trong slideContact — cơ chế CSS var lazy-load gốc
   của theme không ổn định, ép hiển thị icon rõ ràng giống YouTube */
.slideContact .box_content .item.item_zalo {
  background: url("/wp-content/uploads/2025/07/icon-zalo.webp") no-repeat left center !important;
  background-size: 26px !important;
}

.slideContact .box_content .item.item_facebook {
  background: url("/wp-content/uploads/2025/07/icon-fb.webp") no-repeat left center !important;
  background-size: 26px !important;
}

.slideContact .box_content .item.item_phone {
  background: url("/wp-content/uploads/2025/07/icon-phone.webp") no-repeat left center !important;
  background-size: 26px !important;
}

.slideContact:not(.active) .box_content .item.item_zalo,
.slideContact:not(.active) .box_content .item.item_facebook,
.slideContact:not(.active) .box_content .item.item_phone {
  background-position: center !important;
}

/* Ô tìm kiếm tên miền (hero trang chủ) bị lệch/co hẹp ở tablet do class "md-x5" gốc,
   và banner-layers ép height:100% làm cắt bảng kết quả tra cứu tên miền dài */
@media screen and (min-width: 550px) and (max-width: 849px) {
  .md-x5 {
    left: unset !important;
  }
  .banner-layers {
    height: auto !important;
    max-height: none !important;
  }
}

/* Panel tra cứu tên miền — full width, contrast cao, chống Flatsome override */
.soc-domain-panel {
  position: relative;
  z-index: 40;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0.85rem 0 0;
  padding: 0;
  background: #0b1220 !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.32);
  overflow: hidden;
  text-align: left;
  clear: both;
  font-family: inherit;
}

.soc-domain-panel *,
.soc-domain-panel *::before,
.soc-domain-panel *::after {
  box-sizing: border-box;
}

.soc-domain-panel[hidden] {
  display: none !important;
}

.banner.soc-domain-banner-open,
section.soc-domain-banner-open {
  overflow: visible !important;
}

.banner.soc-domain-banner-open .banner-inner.fill,
.banner.soc-domain-banner-open .banner-layers,
.banner.soc-domain-banner-open .text-box,
.banner.soc-domain-banner-open .text-inner,
.banner.soc-domain-banner-open .col-inner {
  overflow: visible !important;
}

html.soc-domain-results-open .banner.soc-domain-banner-open .banner-bg.fill {
  bottom: 0;
  height: auto !important;
}

.soc-domain-panel__inner {
  background: #0b1220 !important;
  color: #e2e8f0 !important;
}

.soc-domain-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -2px;
}

.soc-domain-panel__toolbar {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem 0.4rem;
  background: #0b1220 !important;
}

.soc-domain-panel__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-width: 0;
  gap: 0.45rem;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent !important;
}

.soc-domain-panel__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  background: #111827 !important;
  color: #94a3b8 !important;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  padding: 0.45rem 0.6rem !important;
  min-height: 36px;
  cursor: pointer;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.soc-domain-panel__tab.is-active {
  color: #fff !important;
  background: #2563eb !important;
  border-color: #2563eb !important;
}

.soc-domain-panel__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 700;
}

.soc-domain-panel__settings {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 10px !important;
  background: #111827 !important;
  color: #94a3b8 !important;
  cursor: pointer;
  padding: 0 !important;
  box-shadow: none !important;
}

.soc-domain-panel__settings:hover {
  color: #e2e8f0 !important;
  border-color: rgba(96, 165, 250, 0.55) !important;
}

.soc-domain-panel__filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0.35rem 0.65rem 0.35rem;
  background: #0b1220 !important;
}

.soc-domain-panel__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  background: #111827 !important;
  color: #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 0.38rem 0.55rem !important;
  min-height: 34px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none !important;
  text-transform: none !important;
}

.soc-domain-panel__filter.is-active {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}

.soc-domain-panel__summary {
  padding: 0.35rem 0.85rem 0.65rem;
  background: #0b1220 !important;
}

.soc-domain-panel__status {
  margin: 0 !important;
  font-size: 0.84rem;
  color: #94a3b8 !important;
  background: transparent !important;
}

.soc-domain-panel__avail {
  color: #4ade80 !important;
  font-weight: 700;
  background: transparent !important;
}

.soc-domain-panel__progress {
  margin: 0.55rem 0.85rem 0.15rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
}

.soc-domain-panel__progress[hidden] {
  display: none !important;
}

.soc-domain-panel__progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.soc-domain-panel__progress-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: #60a5fa !important;
  font-size: 0.88rem;
  font-weight: 600;
}

.soc-domain-panel__progress-ico {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  animation: soc-domain-spin 0.9s linear infinite;
}

@keyframes soc-domain-spin {
  to {
    transform: rotate(360deg);
  }
}

.soc-domain-panel__progress-pct {
  flex-shrink: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: #94a3b8 !important;
}

.soc-domain-panel__progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
}

.soc-domain-panel__progress-bar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #3b82f6;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease-out;
}

.soc-domain-sort {
  display: inline-flex !important;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
  margin: 0 !important;
  padding: 0.15rem 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  letter-spacing: inherit !important;
  text-transform: uppercase !important;
  cursor: pointer;
  box-shadow: none !important;
}

.soc-domain-sort--right {
  margin-left: auto !important;
}

.soc-domain-sort:hover:not(:disabled) {
  color: #60a5fa !important;
  background: transparent !important;
}

.soc-domain-sort:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.soc-domain-sort__ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.55;
  color: #94a3b8;
}

.soc-domain-sort.is-active .soc-domain-sort__ico {
  opacity: 1;
  color: #60a5fa;
}

.soc-domain-panel .soc-domain-table__th--name,
.soc-domain-panel .soc-domain-table__th--price {
  color: #93c5fd !important;
}

.soc-domain-panel__table-wrap {
  max-height: min(96vh, 840px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #0b1220 !important;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0 0 14px 14px;
  /* chừa bo góc phải để không cắt "Thao tác" / WHOIS */
  padding: 0 0.35rem 0.35rem;
  box-sizing: border-box;
}

.soc-domain-panel .soc-domain-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
  background: #0b1220 !important;
  color: #e2e8f0 !important;
  table-layout: fixed !important;
}

.soc-domain-panel .soc-domain-table thead,
.soc-domain-panel .soc-domain-table tbody,
.soc-domain-panel .soc-domain-table tr {
  background: transparent !important;
}

.soc-domain-panel .soc-domain-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8 !important;
  background: #111827 !important;
  padding: 0.7rem 0.5rem !important;
  border: none !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
  overflow: hidden;
  white-space: nowrap;
}

/* Domain lấy phần còn lại; status/giá/thao tác gói sát nội dung — giảm khoảng trống giữa cột */
.soc-domain-panel .soc-domain-table__th--name {
  width: auto;
  text-align: left !important;
  padding-left: 0.65rem !important;
}

.soc-domain-panel .soc-domain-table__th--status {
  width: 9.75rem;
  text-align: left !important;
}

.soc-domain-panel .soc-domain-table__th--price {
  width: 7.5rem;
  text-align: right !important;
}

.soc-domain-panel .soc-domain-table__th--action {
  width: 6.25rem;
  text-align: right !important;
  padding-right: 0.65rem !important;
  overflow: visible !important;
}

.soc-domain-panel .soc-domain-table td {
  padding: 0.6rem 0.5rem !important;
  border: none !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1) !important;
  vertical-align: middle;
  background: transparent !important;
  color: #e2e8f0 !important;
  overflow: hidden;
}

.soc-domain-panel .soc-domain-table__name {
  color: #f8fafc !important;
  width: auto;
  max-width: none;
  padding-left: 0.65rem !important;
}

.soc-domain-panel .soc-domain-table__status {
  width: 9.75rem;
  text-align: left !important;
}

.soc-domain-panel .soc-domain-table__price {
  width: 7.5rem;
  text-align: right !important;
  white-space: nowrap;
}

.soc-domain-panel .soc-domain-table__action {
  width: 6.25rem;
  text-align: right !important;
  padding-right: 0.65rem !important;
  overflow: visible !important;
}

.soc-domain-panel .soc-domain-table__row--premium td {
  background: rgba(245, 158, 11, 0.1) !important;
}

.soc-domain-panel .soc-domain-table__row--available td {
  background: rgba(16, 185, 129, 0.04) !important;
}

.soc-domain-panel .soc-domain-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.06) !important;
}

.soc-domain-panel .soc-domain-table__row--premium:hover td {
  background: rgba(245, 158, 11, 0.16) !important;
}

.soc-domain-panel .soc-domain-table__row--available:hover td {
  background: rgba(16, 185, 129, 0.12) !important;
}

.soc-domain-panel .soc-domain-table__row--pending {
  opacity: 0.9;
}

.soc-domain-panel .soc-domain-table__domain {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
}

.soc-domain-panel .soc-domain-copy {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.75rem !important;
  height: 1.75rem !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #94a3b8 !important;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none !important;
}

.soc-domain-panel .soc-domain-copy:hover {
  color: #60a5fa !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.soc-domain-panel .soc-domain-copy.is-copied {
  color: #4ade80 !important;
}

.soc-domain-panel .soc-domain-table__domain-name {
  display: block;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #f8fafc !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  box-shadow: none !important;
}

.soc-domain-panel .soc-domain-table__domain-name:hover {
  color: #93c5fd !important;
}

.soc-domain-panel .soc-domain-table__status {
  width: 9.75rem;
  text-align: left !important;
}

.soc-domain-panel .soc-domain-table__price {
  width: 7.5rem;
  text-align: right !important;
  white-space: nowrap;
}

.soc-domain-panel .soc-domain-table__action {
  width: 6.25rem;
  text-align: right !important;
  padding-right: 0.65rem !important;
  overflow: visible !important;
}

.soc-domain-panel .soc-domain-table__action-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 2rem;
  padding-right: 0.15rem;
}

.soc-domain-panel .soc-domain-price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}

.soc-domain-panel .soc-domain-price--available {
  color: #34d399 !important;
}

.soc-domain-panel .soc-domain-price--premium {
  color: #fbbf24 !important;
}

.soc-domain-panel .soc-domain-price--muted {
  color: #94a3b8 !important;
  font-weight: 500;
}

.soc-domain-panel .soc-domain-table__empty {
  text-align: center;
  color: #94a3b8 !important;
  background: #0b1220 !important;
  padding: 1.5rem 1rem !important;
}

.soc-domain-panel .soc-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.soc-domain-panel .soc-domain-badge svg {
  flex-shrink: 0;
  display: block;
}

.soc-domain-panel .soc-domain-badge--pending {
  background: rgba(37, 99, 235, 0.14) !important;
  color: #60a5fa !important;
}

.soc-domain-panel .soc-domain-badge--available {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #6ee7b7 !important;
}

.soc-domain-panel .soc-domain-badge--premium {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fcd34d !important;
}

.soc-domain-panel .soc-domain-badge--taken {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

.soc-domain-panel .soc-domain-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  min-width: 0;
  min-height: 2rem;
  padding: 0.35rem 0.85rem !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none !important;
  text-transform: none !important;
  line-height: 1.2;
}

.soc-domain-panel .soc-domain-btn--buy {
  background: #f59e0b !important;
  color: #111827 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25), 0 6px 16px rgba(245, 158, 11, 0.25) !important;
}

.soc-domain-panel .soc-domain-btn:hover {
  background: #1d4ed8 !important;
  color: #fff !important;
}

.soc-domain-panel .soc-domain-btn--buy:hover {
  background: #fbbf24 !important;
  color: #111827 !important;
}

.soc-domain-panel .soc-domain-btn--ghost {
  background: transparent !important;
  color: #93c5fd !important;
  border-color: rgba(147, 197, 253, 0.55) !important;
  box-shadow: none !important;
}

.soc-domain-panel .soc-domain-btn--ghost:hover {
  background: rgba(37, 99, 235, 0.18) !important;
  color: #bfdbfe !important;
}

.soc-domain-panel .soc-domain-whois {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 2rem;
  margin: 0 !important;
  padding: 0.35rem 0.5rem !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #94a3b8 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase !important;
  cursor: pointer;
  box-shadow: none !important;
  white-space: nowrap;
}

.soc-domain-panel .soc-domain-whois:hover {
  color: #60a5fa !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.soc-domain-panel .soc-domain-action-spacer {
  display: inline-block;
  min-width: 4.25rem;
  min-height: 2rem;
}

.soc-domain-panel .soc-domain-muted {
  color: #94a3b8 !important;
  font-size: 0.88rem;
  background: transparent !important;
}

html.soc-domain-results-open {
  overflow-x: hidden;
}

@media (max-width: 640px) {
  .soc-domain-panel__filters {
    grid-template-columns: 1fr;
  }

  .soc-domain-panel__tab {
    font-size: 0.78rem;
    padding: 0.4rem 0.45rem !important;
  }

  .soc-domain-panel .soc-domain-table th:nth-child(3),
  .soc-domain-panel .soc-domain-table td:nth-child(3) {
    display: none;
  }
}

.soc-domain-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.soc-domain-modal.is-open {
  align-items: safe center;
  opacity: 1;
  pointer-events: auto;
}

.soc-domain-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.soc-domain-modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: #111827;
  color: #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.soc-domain-modal__panel--buy {
  width: min(640px, 100%);
}

.soc-domain-modal__panel--advanced {
  width: min(480px, calc(100% - 1.5rem));
  max-height: min(90vh, 640px);
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.soc-domain-advanced__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 48px;
  margin: 0;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.soc-domain-advanced__head h2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  text-align: center;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #f8fafc !important;
  white-space: nowrap;
  pointer-events: none;
}

.soc-domain-advanced__link {
  position: relative;
  z-index: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 1.5rem !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #94a3b8 !important;
  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.soc-domain-advanced__link:hover {
  color: #e2e8f0 !important;
  background: transparent !important;
}

.soc-domain-advanced__link--primary {
  color: #3b82f6 !important;
  font-weight: 600 !important;
}

.soc-domain-advanced__link--primary:hover {
  color: #60a5fa !important;
}

.soc-domain-advanced__form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 0.95rem 1rem 1.15rem;
  overflow-y: auto;
}

.soc-domain-advanced__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.soc-domain-advanced__form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0 !important;
  font-size: 0.875rem;
  color: #cbd5e1 !important;
  font-weight: 500;
}

.soc-domain-advanced__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #f1f5f9 !important;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

.soc-domain-advanced__hint-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.soc-domain-advanced__hint {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #94a3b8 !important;
  cursor: help;
  box-shadow: none !important;
  line-height: 1 !important;
}

.soc-domain-advanced__hint:hover,
.soc-domain-advanced__hint-wrap:focus-within .soc-domain-advanced__hint {
  color: #60a5fa !important;
  background: transparent !important;
}

.soc-domain-advanced__tooltip {
  position: fixed;
  z-index: 100001;
  box-sizing: border-box;
  max-width: calc(100vw - 20px);
  padding: 0.5rem 0.625rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.5rem;
  background: #111827;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  white-space: normal;
  visibility: hidden;
}

.soc-domain-advanced__tooltip[hidden] {
  display: none !important;
}

.soc-domain-advanced__select-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.soc-domain-advanced__form label::before,
.soc-domain-advanced__form label::after,
.soc-domain-advanced__field::before,
.soc-domain-advanced__field::after,
.soc-domain-advanced__select-wrap::before,
.soc-domain-advanced__select-wrap::after {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

.soc-domain-advanced__chevron {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  z-index: 3;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-top: 0;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.soc-domain-advanced__chevron svg {
  display: block;
  width: 12px;
  height: 8px;
}

.soc-domain-advanced__form .soc-domain-advanced__select,
.soc-domain-advanced__form select.soc-domain-advanced__select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 2.25rem 0 0.75rem !important;
  line-height: 40px !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  background-image: none !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.soc-domain-advanced__form .soc-domain-advanced__select:focus {
  outline: none !important;
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.22) !important;
}

.soc-domain-advanced__form .soc-domain-advanced__select option {
  background: #0f172a;
  color: #f1f5f9;
}

.soc-domain-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.soc-domain-modal__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #60a5fa;
  font-weight: 700;
}

.soc-domain-modal__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: #f8fafc;
}

.soc-domain-buy__price {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #4ade80;
}

.soc-domain-buy__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: start;
}

@media (max-width: 640px) {
  .soc-domain-buy__grid {
    grid-template-columns: 1fr;
  }
}

.soc-domain-buy__qr {
  background: #fff;
  border-radius: 12px;
  padding: 0.5rem;
  text-align: center;
}

.soc-domain-buy__qr img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}

.soc-domain-buy__info p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.soc-domain-buy__info code {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
  cursor: pointer;
}

.soc-domain-buy__info code.is-copied {
  background: rgba(34, 197, 94, 0.22);
  color: #4ade80;
}

/* Modal đăng ký/thanh toán 4 bước (openCheckoutModal) — theo đúng mẫu register-modal.tsx source cũ */
.soc-domain-modal__panel--checkout {
  width: min(680px, 100%);
  max-height: none;
  margin: auto 0;
  padding: 0;
  border-radius: 20px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.soc-domain-modal__panel--checkout .soc-domain-modal__close {
  position: static !important;
  flex-shrink: 0;
  box-sizing: border-box !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  border: 1.5px solid rgba(96, 165, 250, 0.55) !important;
  background: transparent !important;
  color: #e2e8f0;
  font-size: 1.1rem;
  line-height: 1 !important;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.soc-domain-modal__panel--checkout .soc-domain-modal__close:hover {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.08);
  color: #f1f5f9;
}

.soc-checkout-header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.1rem 1.1rem 1.35rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.soc-checkout-header__main {
  min-width: 0;
  flex: 1;
}

.soc-checkout-header h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

.soc-checkout-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.soc-checkout-header__subtitle {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #94a3b8;
}

.soc-checkout-stepper-wrap {
  flex-shrink: 0;
  margin: 0 1.35rem;
  margin-top: 1.15rem;
  padding: 0.85rem 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.soc-checkout-stepper {
  position: relative;
}

.soc-checkout-stepper__track {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  overflow: hidden;
}

.soc-checkout-stepper__track-fill {
  height: 100%;
  border-radius: 999px;
  background: #3b82f6;
  transition: width 0.4s ease;
}

.soc-checkout-stepper__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.soc-checkout-stepper__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.soc-checkout-stepper__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #0f172a;
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.soc-checkout-stepper__item.is-active .soc-checkout-stepper__dot {
  transform: scale(1.08);
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22), 0 0 16px rgba(59, 130, 246, 0.45);
}

.soc-checkout-stepper__item.is-done .soc-checkout-stepper__dot {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.soc-checkout-stepper__label {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.65);
}

.soc-checkout-stepper__item.is-active .soc-checkout-stepper__label {
  color: #f1f5f9;
  font-weight: 600;
}

.soc-checkout-stepper__item.is-done .soc-checkout-stepper__label {
  color: rgba(96, 165, 250, 0.85);
  font-weight: 500;
}

.soc-checkout-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.35rem;
}

.soc-domain-btn--full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  margin: 0;
  text-align: center;
  padding: 0 1.1rem;
  border-radius: 12px;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.soc-domain-btn--full:hover {
  background: #2563eb;
}

.soc-domain-btn--full:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.soc-checkout-confirm {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.soc-checkout-confirm__card {
  padding: 1.25rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.02));
}

.soc-checkout-confirm__head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.soc-checkout-confirm__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
}

.soc-checkout-confirm__info {
  flex: 1;
  min-width: 0;
}

.soc-checkout-confirm__label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #60a5fa;
  font-weight: 700;
}

.soc-checkout-confirm__info h3 {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #f8fafc;
  word-break: break-word;
}

.soc-checkout-confirm__sub {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
  font-family: monospace;
}

.soc-checkout-confirm__price {
  flex-shrink: 0;
  text-align: right;
}

.soc-checkout-confirm__price-label {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
}

.soc-checkout-confirm__price strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #60a5fa;
}

.soc-checkout-confirm__rows {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.88rem;
}

.soc-checkout-confirm__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
  color: #94a3b8;
}

.soc-checkout-confirm__row span:last-child {
  color: #e2e8f0;
  font-weight: 500;
}

.soc-checkout-confirm__row--total {
  margin-top: 0.3rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.soc-checkout-confirm__row--total span:last-child {
  color: #60a5fa;
  font-weight: 800;
}

.soc-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.soc-checkout-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: #e2e8f0;
  font-weight: 500;
}

.soc-checkout-form__field {
  position: relative;
}

.soc-checkout-form__field-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: #94a3b8;
  pointer-events: none;
}

.soc-checkout-form input,
.soc-checkout-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  color: #f1f5f9;
  font-size: 0.9rem;
  font-family: inherit;
  line-height: 1.3;
  box-sizing: border-box;
}

.soc-checkout-form input {
  height: 2.85rem;
}

.soc-checkout-form__field input {
  padding-left: 2.35rem;
}

.soc-checkout-form__group {
  display: flex;
  flex-direction: column;
}

.soc-checkout-form__field.is-invalid input {
  border-color: #f87171;
}

.soc-checkout-form__field.is-invalid input:focus {
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.22);
}

.soc-checkout-field-error {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #f87171;
}

.soc-checkout-form__field-icon svg {
  display: block;
}

.soc-checkout-form input:focus,
.soc-checkout-form textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.22);
}

.soc-checkout-error {
  margin: 0;
  font-size: 0.82rem;
  color: #f87171;
}

.soc-checkout-form__actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.soc-checkout-form__actions .soc-domain-btn--ghost {
  flex: 1;
}

.soc-checkout-form__actions .soc-domain-btn--full {
  flex: 2;
}

.soc-domain-btn--ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 50px;
  margin: 0;
  padding: 0 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: transparent;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.soc-domain-btn--ghost:hover {
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
}

.soc-checkout-payment {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.soc-checkout-payment__top {
  text-align: center;
}

.soc-checkout-payment__timer {
  margin: 0;
  font-family: monospace;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #2dd4bf;
}

.soc-checkout-payment__timer.is-warning {
  color: #f59e0b;
}

.soc-checkout-payment__timer.is-urgent {
  color: #f87171;
}

.soc-checkout-payment__desc {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.soc-checkout-payment__hint {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: #64748b;
}

.soc-checkout-payment__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.soc-checkout-payment__qr {
  background: #fff;
  border-radius: 16px;
  padding: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.soc-checkout-payment__qr img {
  display: block;
  width: 260px;
  height: 260px;
  object-fit: contain;
}

.soc-checkout-payment__bank {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
  text-align: center;
}

.soc-checkout-details {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}

.soc-checkout-details > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.soc-checkout-details > summary::-webkit-details-marker {
  display: none;
}

.soc-checkout-details > summary .soc-checkout-details__chevron {
  transition: transform 0.2s ease;
  color: #94a3b8;
}

.soc-checkout-details[open] > summary .soc-checkout-details__chevron {
  transform: rotate(180deg);
}

.soc-checkout-details__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0.75rem 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding-top: 0.6rem;
}

.soc-checkout-copy-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem 0.6rem;
}

.soc-checkout-copy-row__label {
  flex: 0 0 auto;
  width: 108px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #94a3b8;
  font-weight: 600;
}

.soc-checkout-copy-row__value {
  min-width: 0;
  flex: 1;
  font-size: 0.88rem;
  font-weight: 500;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soc-checkout-copy-row__value.is-mono {
  font-family: monospace;
}

.soc-checkout-copy-row__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  cursor: pointer;
}

.soc-checkout-copy-row__btn:hover {
  background: rgba(59, 130, 246, 0.2);
}

.soc-checkout-copy-row__btn.is-copied {
  background: rgba(45, 212, 191, 0.18);
  color: #2dd4bf;
}

.soc-checkout-copy-hint {
  margin: 0;
  padding: 0 0.25rem;
  font-size: 0.76rem;
  color: #94a3b8;
}

.soc-checkout-waiting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  font-size: 0.85rem;
  color: #f1f5f9;
}

.soc-checkout-success {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.soc-checkout-success__card {
  padding: 1.25rem;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 16px;
  background: rgba(45, 212, 191, 0.08);
  font-size: 0.9rem;
}

.soc-checkout-success__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  color: #2dd4bf;
  font-weight: 700;
}

.soc-checkout-success__head span {
  color: #f8fafc;
}

.soc-checkout-success__ref {
  margin: 0 0 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-family: monospace;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.soc-checkout-success__ref strong {
  color: #60a5fa;
  font-weight: 800;
}

.soc-checkout-success__desc {
  margin: 0;
  color: #94a3b8;
  line-height: 1.55;
}

.soc-checkout-success__desc a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
}

.soc-whois-field {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.9rem;
}

.soc-whois-field__label {
  flex: 0 0 130px;
  text-transform: capitalize;
  font-weight: 600;
  color: #94a3b8;
}

.soc-whois-field__value {
  color: #e2e8f0;
  word-break: break-word;
  white-space: pre-line;
}

.soc-whois-external {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.soc-whois-external a {
  color: #60a5fa;
}

@media (max-width: 700px) {
  .soc-domain-panel .soc-domain-table th:nth-child(3),
  .soc-domain-panel .soc-domain-table td:nth-child(3) {
    display: none;
  }
}

/* Menu tài khoản đã đăng nhập ở header (soc-auth-header.js) — thay nút "Đăng nhập" */
li.header-button-1 {
  visibility: hidden;
}

.soc-user-menu {
  position: relative;
  display: inline-flex;
}

.soc-user-menu__trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: none;
  background: #60a5fa;
  color: #0b1220;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
}

.soc-user-menu__trigger:hover {
  filter: brightness(1.05);
}

.soc-user-menu__avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.soc-user-menu__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 100000;
  min-width: 220px;
  background: #111827;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 0.4rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.soc-user-menu__email {
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  margin-bottom: 0.25rem;
  word-break: break-all;
}

.soc-user-menu__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border: none;
  background: none;
  color: #cbd5e1;
  font-size: 0.88rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.soc-user-menu__item:hover {
  background: rgba(96, 165, 250, 0.14);
  color: #f1f5f9;
}

.soc-user-menu__item--danger:hover {
  background: rgba(248, 113, 113, 0.14);
  color: #f87171;
}

/* Homepage hero banner text-box: Flatsome's md-x5/lg-x5 responsive classes set
   left: 5% without an offsetting transform, while the box keeps width: 100%.
   That overflows it 5% past the container's right edge, shifting the search
   box and TLD cards visibly right of center. Force it back to centered. */
#text-box-1473283050 {
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  /* It's absolutely positioned, so width:100% (set by the page's own
     responsive rules) resolves against the container's padding-box,
     ignoring the container's own side padding entirely. Below the 1220px
     breakpoint the container has no extra margin from centering, so that
     overflow made the search box/cards touch the viewport edges. Subtract
     64px for a 32px gutter on each side. */
  width: calc(100% - 64px) !important;
}

/* Same instance's own inline style (min-width:550px) also adds a right-only
   25px padding to .text-inner, nudging the search box/TLD cards ~12px left
   of true center within the now-centered box. Zero it out. */
#text-box-1473283050 .text-inner {
  padding: 0 !important;
}

/* TLD promo cards row: Flatsome's grid uses row{margin:0 -15px} + col{padding:0 15px}
   as gutters, but the negative margin only shifts the row left instead of
   stretching it both ways, leaving empty space on the right. Replace with
   flex + gap so the cards sit flush against both edges. */
#row-1191897706 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  margin: 0 !important;
  max-width: 100% !important;
}
#row-1191897706 > .col {
  flex: 1 1 calc(50% - 10px) !important;
  max-width: calc(50% - 10px) !important;
  padding: 0 !important;
}
@media (min-width: 850px) {
  #row-1191897706 > .col {
    flex: 1 1 calc(25% - 15px) !important;
    max-width: calc(25% - 15px) !important;
  }
}

/* The wrapping full-width column also has its own 15px left/right gutter,
   which insets the cards row 15px on each side inside the (now-flush)
   hero container. Zero that too so the cards reach both edges. */
#col-715832981 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* The outer row wrapping this whole column has the same margin:0 -15px
   gutter bug (shifts the block 15px left instead of stretching both ways),
   pulling the cards cluster left inside the hero. Zero it too. */
#row-708025464 {
  margin: 0 !important;
}

/* Header/nav used the theme's default 15px container gutter while the hero
   above got bumped to 32px, so the two no longer line up on the left edge.
   Match the header to the hero's 32px. */
#header .container {
  padding-left: 32px !important;
  padding-right: 32px !important;
}

/* Top-level nav items used justify-content:space-between, which stretches
   short labels (TRANG CHỦ, TÊN MIỀN...) across the full bar width with very
   large, uneven gaps. Pack them from the left (flush with the logo/hero
   edge, like before) with a tighter gap instead. A fixed gap made the bar
   overflow and wrap to a second row at narrower widths right above the
   mobile-menu breakpoint, so scale the gap down with viewport width instead
   of using one fixed value. */
.header-bottom-nav {
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: clamp(8px, 2vw, 32px) !important;
  /* Safety net: if items still don't fit at the min gap, scroll horizontally
     instead of wrapping to a second row or overflowing the header. */
  overflow-x: auto !important;
}
