:root {
  --account-orange: #f0670b;
  --account-orange-dark: #d94f00;
  --account-navy: #071b33;
  --account-ink: #101828;
  --account-muted: #667085;
  --account-line: #e1e5eb;
  --account-soft: #f4f6f9;
}

.account-main-nav {
  position: relative;
  z-index: 200;
  width: 100%;
  border-bottom: 3px solid var(--account-orange);
  background: #fff;
  color: var(--account-ink);
  box-shadow: 0 8px 30px rgba(7, 27, 51, .07);
}

.account-nav-container {
  width: min(1280px, calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.account-nav-logo img {
  display: block;
  width: 158px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.account-nav-desktop,
.account-nav-public,
.account-nav-actions {
  display: flex;
  align-items: center;
}

.account-nav-desktop {
  min-width: 0;
  justify-content: space-between;
  gap: 24px;
}

.account-nav-public {
  min-width: 0;
  gap: clamp(16px, 2vw, 30px);
}

.account-nav-link {
  position: relative;
  padding: 31px 0 28px;
  color: #475467;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.account-nav-link::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--account-orange);
  transition: right .2s ease;
}

.account-nav-link:hover,
.account-nav-link.active {
  color: var(--account-navy);
}

.account-nav-link:hover::after,
.account-nav-link.active::after {
  right: 0;
}

.account-nav-actions {
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.account-nav-auth,
.account-nav-deposit,
.account-user-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--account-line);
  border-radius: 2px;
  background: #fff;
  color: var(--account-navy);
  text-decoration: none;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.account-nav-auth {
  padding: 0 13px;
}

.account-nav-auth:hover {
  border-color: var(--account-orange);
  color: var(--account-orange);
}

.account-nav-deposit {
  padding: 0 16px;
  border-color: var(--account-orange);
  background: var(--account-orange);
  color: #fff;
}

.account-nav-deposit:hover {
  border-color: var(--account-orange-dark);
  background: var(--account-orange-dark);
}

.account-nav-actions .svg {
  width: 17px;
  height: 17px;
}

.account-user-menu {
  position: relative;
}

.account-user-button {
  min-width: 154px;
  padding: 0 10px 0 7px;
}

.account-user-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--account-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.account-user-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-user-chevron {
  width: 14px !important;
  height: 14px !important;
  margin-left: auto;
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.account-user-button[aria-expanded=true] .account-user-chevron {
  transform: rotate(-90deg);
}

.account-user-dropdown {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  width: 245px;
  padding: 8px;
  border: 1px solid var(--account-line);
  border-top: 4px solid var(--account-orange);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(7, 27, 51, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.account-user-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.account-dropdown-head {
  padding: 12px 13px 14px;
  display: grid;
  gap: 3px;
  border-bottom: 1px solid var(--account-line);
}

.account-dropdown-head strong {
  color: var(--account-navy);
  font-size: 13px;
}

.account-dropdown-head span {
  color: var(--account-orange);
  font-size: 10px;
  font-weight: 700;
}

.account-user-dropdown a {
  min-height: 42px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 3px solid transparent;
  border-radius: 6px;
  color: #475467;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.account-user-dropdown a:hover {
  border-left-color: var(--account-orange);
  background: #fff5ed;
  color: var(--account-navy);
}

.account-user-dropdown a.logout {
  color: #d92d20;
}

.account-user-dropdown a .svg {
  width: 17px;
  height: 17px;
  color: var(--account-orange);
}

.account-dropdown-divider,

.account-mobile-toggle,
.account-mobile-panel {
  display: none;
}

body.xt-account-page .cp-card-body .mb-4,
body.xt-account-page .cp-card-body .mb-5,
body.xt-account-page .cp-card-body .mb-6,
body.xt-account-page form .mb-4,
body.xt-account-page form .mb-5,
body.xt-account-page form .mb-6 {
  position: relative;
  margin-bottom: 24px !important;
}

body.xt-account-page .cp-card-body .mb-4 > label:first-child,
body.xt-account-page .cp-card-body .mb-5 > label:first-child,
body.xt-account-page .cp-card-body .mb-6 > label:first-child,
body.xt-account-page form .mb-4 > label:first-child,
body.xt-account-page form .mb-5 > label:first-child,
body.xt-account-page form .mb-6 > label:first-child {
  position: absolute !important;
  z-index: 4;
  top: -9px;
  left: 14px;
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
  width: auto;
  margin: 0 !important;
  padding: 0 7px;
  color: #4b5563 !important;
  background: linear-gradient(#fff, #fff);
  box-shadow: 0 0 0 3px #fff;
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.25;
  font-weight: 500 !important;
}

body.xt-account-page .cp-card-body .mb-4 > label:first-child span,
body.xt-account-page .cp-card-body .mb-5 > label:first-child span,
body.xt-account-page .cp-card-body .mb-6 > label:first-child span,
body.xt-account-page form .mb-4 > label:first-child span,
body.xt-account-page form .mb-5 > label:first-child span,
body.xt-account-page form .mb-6 > label:first-child span {
  margin-left: 0 !important;
}

body.xt-account-page .cp-card-body .mb-4:focus-within > label:first-child,
body.xt-account-page .cp-card-body .mb-5:focus-within > label:first-child,
body.xt-account-page .cp-card-body .mb-6:focus-within > label:first-child,
body.xt-account-page form .mb-4:focus-within > label:first-child,
body.xt-account-page form .mb-5:focus-within > label:first-child,
body.xt-account-page form .mb-6:focus-within > label:first-child {
  color: #f47a16 !important;
}

body.xt-account-page .cp-card-body .mb-4:has(> label:first-child + .cp-captcha-row) > label:first-child,
body.xt-account-page .cp-card-body .mb-5:has(> label:first-child + .cp-captcha-row) > label:first-child,
body.xt-account-page .cp-card-body .mb-6:has(> label:first-child + .cp-captcha-row) > label:first-child,
body.xt-account-page form .mb-4:has(> label:first-child + .cp-captcha-row) > label:first-child,
body.xt-account-page form .mb-5:has(> label:first-child + .cp-captcha-row) > label:first-child,
body.xt-account-page form .mb-6:has(> label:first-child + .cp-captcha-row) > label:first-child {
  left: 196px;
}

body.xt-account-page .cp-input-group {
  position: relative !important;
  min-height: 56px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid #c4cad3 !important;
  background: #fff !important;
  background-clip: padding-box !important;
  box-shadow: none !important;
  transition: border-color .18s ease, box-shadow .18s ease !important;
}

body.xt-account-page .cp-input-group:focus-within {
  border-color: #f47a16 !important;
  box-shadow: 0 0 0 1px rgba(244, 122, 22, .18) !important;
}

body.xt-account-page .cp-input-group.cp-error-border {
  border-color: #dc2626 !important;
}

body.xt-account-page .cp-input-icon {
  display: none !important;
}

body.xt-account-page .cp-input-group input,
body.xt-account-page .cp-password-wrapper input,
body.xt-account-page .cp-input-group select {
  position: relative;
  z-index: 1;
  height: 54px !important;
  padding: 0 18px !important;
  border: 0 !important;
  background: transparent !important;
  color: #172033 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;
}

body.xt-account-page .cp-input-group > input:first-child,
body.xt-account-page .cp-input-group > select:first-child,
body.xt-account-page .cp-input-group .cp-password-wrapper:first-child input {
  border-top-left-radius: 9px !important;
  border-bottom-left-radius: 9px !important;
}

body.xt-account-page .cp-input-group > input:last-child,
body.xt-account-page .cp-input-group > select:last-child,
body.xt-account-page .cp-input-group .cp-password-wrapper:last-child input {
  border-top-right-radius: 9px !important;
  border-bottom-right-radius: 9px !important;
}

body.xt-account-page .cp-input-group input:-webkit-autofill,
body.xt-account-page .cp-input-group input:-webkit-autofill:hover,
body.xt-account-page .cp-input-group input:-webkit-autofill:focus,
body.xt-account-page .cp-password-wrapper input:-webkit-autofill,
body.xt-account-page .cp-password-wrapper input:-webkit-autofill:hover,
body.xt-account-page .cp-password-wrapper input:-webkit-autofill:focus {
  -webkit-text-fill-color: #172033 !important;
  caret-color: #172033 !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  transition: background-color 9999s ease-out 0s !important;
}

body.xt-account-page .cp-password-wrapper {
  height: 54px !important;
}

body.xt-account-page .cp-password-wrapper input {
  padding-right: 46px !important;
}

body.xt-account-page .cp-input-group:has(> .cp-eye) > input {
  padding-right: 46px !important;
}

body.xt-account-page .cp-eye {
  right: 16px !important;
}

body.xt-account-page .cp-input-group input::placeholder,
body.xt-account-page .cp-password-wrapper input::placeholder {
  color: #c3c8d0 !important;
}

body.xt-account-page .cp-radio-group {
  min-height: 54px !important;
  height: auto !important;
  padding: 0 18px !important;
  background: transparent !important;
}

body.xt-account-page .cp-submit {
  min-height: 56px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #f79a45, #f47a16) !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

body.xt-account-page .cp-submit:hover {
  opacity: .96 !important;
  transform: translateY(-1px);
}

body.xt-account-page {
  background: #f7f9fd url('../../images/account/account-bg-bottom.jpg')
                bottom center / 100% auto repeat-x fixed !important;
}

body.xt-account-page #main-content {
  background: transparent !important;
}

.sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  color: #334155;
  margin-bottom: 4px;
  position: relative;
  transition: background .15s, color .15s;
  border: 1px solid transparent;
}

.sb-link::before {
  display: none;
}

.sb-link:hover {
  border-left-color: var(--account-orange);
  background: #fff5ed;
  color: var(--account-navy);
}

.sb-link:hover::before {
  background: transparent;
}

.sb-link.active {
  background: linear-gradient(135deg, #10265b, #1c3d7a);
  font-weight: 900;
  border-color: rgba(16, 38, 91, .20);
  box-shadow: 0 12px 24px rgba(16, 38, 91, .14);
  color: #ffffff;
}

.sb-link.active::before {
  display: none;
}

.sb-link.danger {
  color: #dc2626;
}

.sb-link.danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.sb-link.danger:hover::before {
  background: #ef4444;
}

.sb-icon {
  display: none !important;
}

.sb-group-label {
  font-size: 10px;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 10px 4px;
}

.sb-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 8px 4px;
}

.account-side-panel {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
}

.account-side-user {
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-side-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1e3a5f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0;
}

.account-side-user-copy {
  min-width: 0;
  flex: 1;
}

.account-side-user-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #10265b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-side-user-copy span {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.25;
}

.account-side-user-copy span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  flex-shrink: 0;
}

.account-side-nav {
  padding: 10px 8px;
}

.sb-link .svg {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
}

.sb-link .svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sb-link-payment {
  justify-content: space-between;
}

.sb-link-payment > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-link-payment small {
  font-size: 10px;
  font-weight: 800;
  background: #dbeafe;
  color: #1e40af;
  padding: 3px 7px;
  border-radius: 999px;
  letter-spacing: 0;
  line-height: 1;
}

.account-side-panel.sticky {
  position: sticky;
  top: 5rem;
}

.cp-wrap {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  padding: 0 12px;
}

.cp-input-group {
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}

.cp-input-group:focus-within {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67,97,238,0.10);
}

.cp-input-group.cp-error-border {
  border-color: #dc2626 !important;
}

.cp-input-icon {
  width: 40px;
  height: 40px;
  background: #eef2ff;
  border-right: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cp-input-icon i {
  color: #818cf8;
  font-size: 13px;
}

.cp-input-group input {
  flex: 1;
  height: 40px;
  padding: 0 36px 0 12px;
  font-size: 13px;
  outline: none;
  border: none;
  background: #fff;
  color: #0f172a;
  width: 100%;
}

.cp-input-group input::placeholder {
  color: #94a3b8;
}

.cp-password-wrapper {
  flex: 1;
  position: relative;
  height: 40px;
}

.cp-password-wrapper input {
  width: 100%;
  height: 40px;
  padding: 0 36px 0 12px;
  font-size: 13px;
  outline: none;
  border: none;
  background: #fff;
  color: #0f172a;
}

.cp-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
  z-index: 2;
}

.cp-eye:hover {
  color: #4361ee;
}

.cp-submit {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  box-shadow: 0 4px 14px rgba(67,97,238,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s, transform 0.15s;
  min-height: 58px;
}

.cp-submit:hover {
  opacity: 0.92;
}

.cp-submit:active {
  transform: scale(0.99);
}

.cp-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cp-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
 /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);*/
  width: 100%;
}

.cp-card-header {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cp-card-header-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cp-card-header-icon i {
  color: #4361ee;
  font-size: 14px;
}

.cp-card-header-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.cp-card-body {
  padding: 20px;
}

.cp-card-footer {
  padding: 11px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.cp-captcha-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cp-captcha-img {
  width: 126px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  object-fit: cover;
}

.cp-refresh-btn {
  width: 46px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cp-refresh-btn:hover {
  border-color: #4361ee;
  color: #4361ee;
  background: #eef2ff;
}

.cp-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  margin-top: -4px;
}

.cp-checkbox input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #4361ee;
  cursor: pointer;
}

.cp-checkbox label {
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
}

.error-message {
  color: #dc2626;
  font-size: 11px;
  margin-top: 4px;
  display: none;
}

.error-message:not(.hidden) {
  display: block;
}

.cp-alert {
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.cp-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.cp-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.cp-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.auth-portal {
  min-height: calc(100vh - 58px);
  padding: 72px 18px 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-shell {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(430px, 1fr);
  overflow: hidden;
  border: 1px solid rgba(214, 221, 232, .92);
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 34px 90px rgba(16, 38, 91, .13);
}

.auth-side {
  position: relative;
  overflow: hidden;
  padding: 42px 34px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 18, 44, .25), rgba(7, 18, 44, .86)),
            url('../../images/publisher-hero-ai.png') center/cover no-repeat;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
            linear-gradient(180deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .22;
  pointer-events: none;
}

.auth-side > * {
  position: relative;
  z-index: 1;
}

.auth-side-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  width: fit-content;
  border-color: rgba(255, 255, 255, .20);
}

.auth-side-title {
  margin: 22px 0 12px;
  color: #fff;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 48px;
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  max-width: 310px;
}

.auth-side-copy {
  margin: 0;
  max-width: 330px;
  color: rgba(255, 255, 255, .80);
  font-size: 14px;
  line-height: 1.75;
}

.auth-status {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, .18);
}

.auth-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.auth-status-row + .auth-status-row {
  margin-top: 10px;
}

.auth-status-row strong {
  color: #fff;
  font-weight: 800;
}

.auth-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.auth-trust-list {
  display: none;
  gap: 12px;
  margin-top: 28px;
}

.auth-trust-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.auth-trust-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.auth-trust-item span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.auth-form-panel {
  padding: 54px 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.auth-form-panel .cp-wrap {
  max-width: 500px;
  width: 100%;
}

.auth-form-panel .cp-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.auth-form-panel .cp-card-header {
  justify-content: flex-start;
  padding: 0 0 22px;
  border-bottom: 0;
  display: block;
  padding-bottom: 32px;
}

.auth-form-panel .cp-card-header-title {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
  color: #172033;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  line-height: 1.35;
}

.cp-card-header-sub {
  color: #94a3b8;
  font-size: 11px;
  margin-top: 2px;
  line-height: 1.6;
}

.auth-form-panel .cp-card-body {
  padding: 0;
}

.auth-policy-note {
  margin-top: 18px;
  padding: 13px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(67, 97, 238, 0.14);
  border-radius: 16px;
  color: #64748b;
  background: #f8fafc;
  font-size: 12.5px;
  line-height: 1.65;
  border-color: #eef2f7;
}

.auth-policy-note i {
  margin-top: 3px;
  color: #4361ee;
  flex-shrink: 0;
  display: none;
}

.auth-policy-note a {
  color: #3a0ca3;
  font-weight: 800;
  text-decoration: none;
}

.auth-policy-note a:hover {
  color: #4361ee;
  text-decoration: underline;
}

.auth-form-panel .cp-card-header-icon {
  display: none;
}

.cp-captcha-img,
    .cp-refresh-btn {
  height: 56px;
  border-radius: 10px;
}

.cp-submit i {
  display: none;
}

#loginForm > .mt-5 {
  margin-top: 22px !important;
  padding-top: 20px !important;
  border-top-color: #edf1f7 !important;
}

#loginForm > .mt-5 a,
    #loginForm > .mt-5 div {
  font-size: 13px !important;
}

.cp-input-group input:disabled {
  background: #f9fafb;
  color: #9ca3af;
}

.cp-radio-group {
  flex: 1;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  height: 40px;
}

.cp-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  margin: 0;
}

.cp-radio-group input[type="radio"] {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  accent-color: #4361ee;
}

#strengthPanel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px 12px;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.cp-btn-secondary {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #f6923a;
  background: #fff;
  color: #f68d32;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  min-height: 58px;
}

.cp-btn-secondary:hover {
  border-color: #f68d32;
  color: #f68d32;
  background: #f68d3263;
}

.step-indicator {
  transition: all 0.3s ease;
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  box-shadow: inset 0 0 0 1px #e5eaf2;
}

.step-indicator.active {
  background: linear-gradient(135deg, #f79a45, #f47a16) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(244, 122, 22, .22) !important;
}

.step-indicator.completed {
  background: #16a34a !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(22, 163, 74, .18) !important;
}

.cp-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  border-color: #e7edf5;
}

.cp-summary-title {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.cp-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #e2e8f0;
}

.cp-summary-row:last-child {
  border-bottom: none;
}

.cp-summary-label {
  color: #64748b;
}

.cp-summary-value {
  color: #0f172a;
  font-weight: 500;
}

.cp-terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e7edf5;
}

.cp-terms input {
  margin-top: 4px;
  accent-color: #4361ee;
}

.cp-terms label {
  font-size: 12px;
  color: #4b5563;
}

.cp-terms a {
  color: #4361ee;
  text-decoration: none;
}

.cp-terms a:hover {
  text-decoration: underline;
}

.cp-otp-row {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cp-otp-send {
  color: #4361ee;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.cp-otp-send:hover {
  background: #eef2ff;
}

.cp-otp-send.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.cp-otp-countdown {
  font-size: 11px;
  color: #94a3b8;
}

.register-portal {
  min-height: calc(100vh - 58px);
  padding: 72px 18px 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: radial-gradient(circle at 12% 10%, rgba(244, 122, 22, .10), transparent 24%),
            radial-gradient(circle at 86% 16%, rgba(67, 97, 238, .10), transparent 24%),
            linear-gradient(180deg, #f7f9fc 0%, #ffffff 48%, #f4f7fb 100%);*/
}

.register-shell {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, .76fr) minmax(560px, 1fr);
  overflow: hidden;
  border: 1px solid rgba(214, 221, 232, .92);
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 34px 90px rgba(16, 38, 91, .13);
}

.register-side {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 42px 34px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 18, 44, .20), rgba(7, 18, 44, .88)),
            url('../../images/publisher-hero-ai.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.register-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
            linear-gradient(180deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .22;
  pointer-events: none;
}

.register-side::after {
  content: '';
  position: absolute;
  right: -92px;
  bottom: -92px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 42px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
  display: none;
}

.register-side > * {
  position: relative;
  z-index: 1;
}

.register-side-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  width: fit-content;
  border-color: rgba(255, 255, 255, .20);
}

.register-side-title {
  margin: 22px 0 12px;
  color: #fff;
  font-family: "Roboto Condensed", "Be Vietnam Pro", Arial, sans-serif;
  font-size: 48px;
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  max-width: 330px;
}

.register-side-copy {
  margin: 0;
  max-width: 350px;
  color: rgba(255, 255, 255, .80);
  font-size: 14px;
  line-height: 1.75;
}

.register-process {
  display: none;
  gap: 12px;
  margin-top: 30px;
}

.register-process-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.register-process-num {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.register-process-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 850;
}

.register-process-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.register-side-note {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, .18);
}

.register-side-note strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.register-side-note span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.register-form-panel {
  padding: 54px 58px;
  background: #fff;
}

.register-form-panel .cp-wrap {
  max-width: 610px;
  width: 100%;
}

.register-form-panel .cp-card {
  border-radius: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.register-form-panel .cp-card-header {
  padding: 0 0 22px;
  border-bottom: 0;
  display: block;
  padding-bottom: 30px;
}

.register-form-panel .cp-card-header-title {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
  color: #172033;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  line-height: 1.35;
}

.register-form-panel .cp-card-header-sub {
  font-size: 15px;
  color: #6b7280;
  margin-top: 8px;
  line-height: 1.6;
}

.register-form-panel .cp-card-body {
  padding: 0;
}

.register-policy-note {
  margin-top: 18px;
  padding: 13px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(67, 97, 238, 0.14);
  border-radius: 16px;
  color: #64748b;
  background: #f8fafc;
  font-size: 12.5px;
  line-height: 1.65;
  border-color: #eef2f7;
}

.register-policy-note i {
  margin-top: 3px;
  color: #4361ee;
  flex-shrink: 0;
  display: none;
}

.register-policy-note a {
  color: #3a0ca3;
  font-weight: 800;
  text-decoration: none;
}

.register-policy-note a:hover {
  color: #4361ee;
  text-decoration: underline;
}

.register-form-panel .cp-card-header-icon {
  display: none;
}

.register-form-panel .cp-card-body > .mb-8 {
  margin-bottom: 34px !important;
}

.register-form-panel .relative > .absolute.top-5 {
  top: 18px !important;
}

.step-indicator + span {
  color: #667085 !important;
  font-size: 12px !important;
}

#submitBtn i {
  display: none;
}

.register-form-panel .cp-card-body > .mt-6 {
  margin-top: 22px !important;
  padding-top: 20px !important;
  border-top-color: #edf1f7 !important;
}

.register-form-panel .cp-card-body > .mt-6 a,
    .register-form-panel .cp-card-body > .mt-6 span {
  font-size: 13px !important;
}


.cp-tab {
  flex: 1;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: #94a3b8;
  transition: all 0.2s;
}

.cp-tab.active {
  color: #4361ee;
  border-bottom-color: #4361ee;
}

.cp-tab:hover:not(.active) {
  color: #64748b;
}

.forgot-portal {
  min-height: calc(100vh - 58px);
  padding: 72px 18px 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: radial-gradient(circle at 12% 10%, rgba(244, 122, 22, .10), transparent 24%),
            radial-gradient(circle at 86% 16%, rgba(67, 97, 238, .10), transparent 24%),
            linear-gradient(180deg, #f7f9fc 0%, #ffffff 48%, #f4f7fb 100%);*/
}

.forgot-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(500px, 1fr);
  overflow: hidden;
  border: 1px solid rgba(214, 221, 232, .92);
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 34px 90px rgba(16, 38, 91, .13);
}

.forgot-side {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 42px 34px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 18, 44, .22), rgba(7, 18, 44, .88)),
            url('../../images/publisher-hero-ai.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.forgot-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
            linear-gradient(180deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .22;
  pointer-events: none;
}

.forgot-side::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 238px;
  height: 238px;
  border-radius: 50%;
  border: 42px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
  display: none;
}

.forgot-side > * {
  position: relative;
  z-index: 1;
}

.forgot-side-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  width: fit-content;
  border-color: rgba(255, 255, 255, .20);
}

.forgot-side-title {
  margin: 22px 0 12px;
  color: #fff;
  font-family: "Roboto Condensed", "Be Vietnam Pro", Arial, sans-serif;
  font-size: 48px;
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  max-width: 320px;
}

.forgot-side-copy {
  margin: 0;
  max-width: 350px;
  color: rgba(255, 255, 255, .80);
  font-size: 14px;
  line-height: 1.75;
}

.forgot-process {
  display: none;
  gap: 12px;
  margin-top: 30px;
}

.forgot-process-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.forgot-process-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.forgot-process-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 850;
}

.forgot-process-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.forgot-side-note {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, .18);
}

.forgot-side-note strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.forgot-side-note span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.forgot-form-panel {
  padding: 54px 58px;
  background: #fff;
}

.forgot-form-panel .cp-wrap {
  max-width: 560px;
  width: 100%;
}

.forgot-form-panel .cp-card {
  border-radius: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.forgot-form-panel .cp-card-header {
  padding: 0 0 22px;
  border-bottom: 0;
  display: block;
  padding-bottom: 32px;
}

.forgot-form-panel .cp-card-header-title {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
  color: #172033;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  line-height: 1.35;
}

.forgot-form-panel .cp-card-header-sub {
  font-size: 15px;
  color: #6b7280;
  margin-top: 8px;
  line-height: 1.6;
}

.forgot-form-panel .cp-card-body {
  padding: 0;
}

.forgot-security-note {
  margin-top: 18px;
  padding: 13px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(67, 97, 238, 0.14);
  border-radius: 16px;
  color: #64748b;
  background: #f8fafc;
  font-size: 12.5px;
  line-height: 1.65;
  border-color: #eef2f7;
}

.forgot-security-note i {
  margin-top: 3px;
  color: #4361ee;
  flex-shrink: 0;
  display: none;
}

.forgot-form-panel .cp-card-header-icon {
  display: none;
}

#forgotForm > .mt-6 {
  margin-top: 22px !important;
  padding-top: 20px !important;
  border-top-color: #edf1f7 !important;
}

#forgotForm > .mt-6 a,
    #forgotForm > .mt-6 span {
  font-size: 13px !important;
}

body.xt-account-page :is(
  button,
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  .btn,
  .pb-btn,
  .cp-submit,
  .cp-refresh-btn,
  .cp-otp-send,
  .verify-sms-button,
  .account-nav-deposit,
  .account-nav-auth,
  .account-user-button,
  .payment-btn,
  .history-filter,
  .cp-input-group,
  .cp-password-wrapper,
  .cp-captcha-img,
  .cp-alert,
  .badge,
  [class*="badge-"],
  .account-sidebar,
  .account-side-panel,
  .sidebar-card,
  .profile-banner,
  .d-card,
  .cp-card,
  .auth-shell,
  .register-shell,
  .forgot-shell,
  .auth-side,
  .register-side,
  .forgot-side,
  .auth-form-panel,
  .register-form-panel,
  .forgot-form-panel,
  .payment-card,
  .history-card,
  .result-card,
  .guardian-card,
  .pending-bar,
  .account-user-menu,
  .account-mobile-menu,
  .cp-card-header-icon,
  .auth-trust-icon,
  .forgot-process-icon,
  .register-process-num,
  .step-indicator,
  .auth-policy-note,
  .register-policy-note,
  .forgot-security-note,
  .swal2-popup,
  #verifyModalContent,
  .verify-modal-popup,
  .zalo-otp-panel,
  .zalo-otp-digit,
  .zalo-otp-verify,
  .verify-sms-code
) {
  border-radius: 6px !important;
}

body.xt-account-page :is(
  .status-dot,
  .account-user-avatar,
  .pb-avatar,
  .verify-waiting-spinner,
  input[type="radio"],
  input[type="checkbox"]
) {
  border-radius: 50% !important;
}

body.xt-account-page .cp-refresh-btn .svg,
body.xt-account-page #refreshCaptcha .svg {
  display: inline-flex !important;
  width: 18px !important;
  height: 18px !important;
  color: currentColor !important;
  pointer-events: none;
}

body.xt-account-page .cp-refresh-btn .svg svg,
body.xt-account-page #refreshCaptcha .svg svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body.xt-account-page :is(.cp-refresh-btn, #refreshCaptcha):hover .svg {
  transform: rotate(90deg);
  transition: transform .22s ease;
}

.verify-modal-popup {
  width: min(760px,calc(100vw - 24px))!important;
  padding: 0!important;
  border-radius: 22px!important;
  overflow: hidden!important;
  background: #fff!important;
  box-shadow: 0 24px 70px rgba(15,23,42,.22)!important;
}

.verify-modal-popup .swal2-title {
  margin: 0!important;
  padding: 30px 58px 10px!important;
  color: #0f172a!important;
  font-size: 22px!important;
  font-weight: 800!important;
  line-height: 1.35!important;
}

.verify-modal-popup .swal2-html-container {
  margin: 0!important;
  padding: 0 34px 30px!important;
  color: #334155!important;
  overflow: visible!important;
}

.verify-modal-popup .swal2-close {
  top: 14px!important;
  right: 16px!important;
  width: 38px!important;
  height: 38px!important;
  border-radius: 999px!important;
  color: #94a3b8!important;
  font-size: 28px!important;
}

.verify-modal-popup .swal2-close:hover {
  background: #f1f5f9!important;
  color: #4361ee!important;
}

.verify-modal-popup .swal2-actions {
  display: none!important;
}

.verify-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.verify-modal-icon {
  width: 58px;
  height: 58px;
  margin: 4px auto 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#4361ee,#7c3aed);
  color: #fff;
  box-shadow: 0 14px 28px rgba(67,97,238,.24);
}

.verify-modal-icon i {
  font-size: 22px;
}

.verify-modal-copy,.zalo-otp-copy {
  max-width: 620px;
  margin: 0 auto 18px;
  text-align: center;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.verify-modal-copy strong,.zalo-otp-copy strong {
  color: #be123c;
  font-size: 20px;
  font-weight: 800;
}

.zalo-otp-panel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.zalo-otp-digits {
  display: flex;
  gap: 10px;
}

.zalo-otp-digit {
  width: 50px;
  height: 58px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-size: 25px;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  outline: none;
  transition: border-color .18s,box-shadow .18s,transform .18s;
}

.zalo-otp-digit:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67,97,238,.12);
  transform: translateY(-1px);
}

.zalo-otp-verify {
  height: 50px;
  min-width: 132px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: #4361ee;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(67,97,238,.24);
  transition: background .18s,transform .18s;
}

.zalo-otp-verify:hover {
  background: #314bdc;
}

.zalo-otp-verify:active {
  transform: translateY(1px);
}

.zalo-otp-verify:disabled {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

.zalo-otp-expire {
  margin-top: 16px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.zalo-otp-expire strong {
  display: inline-block;
  min-width: 58px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.zalo-hidden-deny {
  display: none!important;
}

.zalo-otp-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.zalo-otp-link {
  color: #4361ee;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.zalo-otp-link:hover {
  text-decoration: underline;
}

.zalo-otp-link[aria-disabled="true"] {
  color: #94a3b8!important;
  text-decoration: none!important;
}

.sms-verify-popup .swal2-icon {
  display: none!important;
}

.sms-verify-popup b,.sms-verify-popup strong {
  color: #be123c;
  font-weight: 800;
}

.sms-verify-popup small,.verify-modal-note {
  display: block;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.verify-sms-code,.sms-verify-popup b:nth-of-type(2) {
  display: inline-block;
  margin: 12px auto;
  padding: 14px 18px;
  border-radius: 14px;
  background: #eef2ff;
  color: #1e1b4b!important;
  border: 1px solid #c7d2fe;
  font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
}

.verify-sms-button {
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: #4361ee;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(67,97,238,.22);
  transition: background .18s,transform .18s;
}

.verify-sms-button:hover {
  background: #314bdc;
}

.verify-sms-button:active {
  transform: translateY(1px);
}

.verify-waiting {
  position: relative;
  display: grid!important;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: center;
  overflow: hidden;
  text-align: left!important;
  background: linear-gradient(180deg,#f8fafc,#fff)!important;
}

.verify-waiting-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #c7d2fe;
  border-top-color: #4361ee;
  animation: verifySpin .85s linear infinite;
}

.verify-waiting-text {
  color: #1e293b;
  font-size: 14px;
  font-weight: 800;
}

.verify-waiting small {
  grid-column: 2;
  display: block!important;
  margin: 0!important;
  padding: 0!important;
  border: 0!important;
  background: transparent!important;
  color: #64748b!important;
  font-size: 12px!important;
  font-weight: 600!important;
}

.verify-waiting-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

.verify-waiting-dots i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #4361ee;
  animation: verifyDot 1.15s ease-in-out infinite;
}

.verify-waiting-dots i:nth-child(2) {
  animation-delay: .15s;
}

.verify-waiting-dots i:nth-child(3) {
  animation-delay: .3s;
}

.verify-waiting-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg,transparent,#4361ee,transparent);
  animation: verifyBar 1.6s ease-in-out infinite;
}







.iphone-mockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 24px;
  margin-top: 40px;
  animation: floatPhone 3s ease-in-out infinite;
}

@keyframes floatPhone{

        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    
}

.iphone-body {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: clamp(35px, 8vw, 48px);
  padding: clamp(10px, 3vw, 16px) clamp(5px, 2vw, 8px);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.4), 
                    0 0 0 clamp(6px, 2vw, 10px) #3d3d5c, 
                    0 0 0 clamp(10px, 3vw, 16px) #2d2d44,
                    inset 0 0 0 2px rgba(255,255,255,0.1);
  position: relative;
}

.iphone-body::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border-radius: clamp(33px, 7.5vw, 46px);
  background: linear-gradient(135deg, #4a4a6a 0%, #2a2a4a 100%);
  z-index: 0;
}

.action-button {
  position: absolute;
  left: -2px;
  top: 120px;
  width: 3px;
  height: 28px;
  background: #4a4a6a;
  border-radius: 2px 0 0 2px;
  z-index: 2;
}

.volume-up {
  position: absolute;
  left: -2px;
  top: 160px;
  width: 3px;
  height: 32px;
  background: #4a4a6a;
  border-radius: 2px 0 0 2px;
  z-index: 2;
}

.volume-down {
  position: absolute;
  left: -2px;
  top: 200px;
  width: 3px;
  height: 32px;
  background: #4a4a6a;
  border-radius: 2px 0 0 2px;
  z-index: 2;
}

.side-button {
  position: absolute;
  right: -2px;
  top: 140px;
  width: 3px;
  height: 80px;
  background: #4a4a6a;
  border-radius: 0 2px 2px 0;
  z-index: 2;
}

.iphone-screen {
  position: relative;
  background: #fff;
  border-radius: clamp(28px, 6vw, 40px);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.dynamic-island {
  background: #000;
  height: clamp(30px, 6vw, 36px);
  border-radius: clamp(18px, 4vw, 24px);
  margin: clamp(8px, 2vw, 10px) clamp(10px, 2.5vw, 12px) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(10px, 3vw, 16px);
  position: relative;
}

.dynamic-island-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dynamic-island-left .time {
  color: #fff;
  font-size: clamp(10px, 2.5vw, 12px);
  font-weight: 600;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

.dynamic-island-center {
  width: clamp(60px, 20vw, 100px);
  height: clamp(16px, 3.5vw, 20px);
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
}

.dynamic-island-right {
  display: flex;
  align-items: center;
  gap: 3px;
}

.dynamic-island-right i {
  color: #fff;
  font-size: clamp(8px, 2vw, 10px);
}

.battery-bar {
  width: clamp(14px, 4vw, 18px);
  height: clamp(7px, 2vw, 9px);
  background: #fff;
  border-radius: 3px;
  position: relative;
}

.battery-bar::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 2px;
  width: 2px;
  height: 3px;
  background: #fff;
  border-radius: 1px;
}

.messages-header {
  background: #e5e5ea;
  padding: clamp(8px, 2.5vw, 12px) clamp(12px, 3vw, 16px);
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
  border-bottom: 0.5px solid #c6c6c8;
}

.back-btn {
  width: clamp(28px, 7vw, 32px);
  height: clamp(28px, 7vw, 32px);
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(13px, 3.5vw, 16px);
  color: #007aff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
  min-width: 0;
}

.contact-avatar {
  width: clamp(32px, 8vw, 42px);
  height: clamp(32px, 8vw, 42px);
  background: linear-gradient(135deg, #34c759, #28a745);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(14px, 3.5vw, 18px);
  box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
  flex-shrink: 0;
}

.contact-name {
  flex: 1;
  min-width: 0;
}

.contact-name h4 {
  font-size: clamp(13px, 3.5vw, 16px);
  font-weight: 600;
  color: #000;
  margin: 0;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-name p {
  font-size: clamp(9px, 2.5vw, 11px);
  color: #8e8e93;
  margin: 2px 0 0;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.call-btn, .facetime-btn {
  width: clamp(30px, 7.5vw, 38px);
  height: clamp(30px, 7.5vw, 38px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(13px, 3.5vw, 16px);
  flex-shrink: 0;
}

.call-btn {
  background: #34c759;
  box-shadow: 0 2px 6px rgba(52, 199, 89, 0.3);
}

.facetime-btn {
  background: #007aff;
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.3);
}

.chat-area {
  padding: clamp(12px, 4vw, 20px) clamp(12px, 4vw, 16px);
  background: #f8f8fc;
  min-height: clamp(320px, 60vh, 420px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 16px);
}

.message-in {
  display: flex;
  justify-content: flex-start;
}

.bubble-in {
  max-width: 85%;
  background: #e5e5ea;
  border-radius: 20px 20px 20px 5px;
  padding: clamp(8px, 2.5vw, 10px) clamp(10px, 3vw, 14px);
}

.bubble-in .sender {
  font-size: clamp(10px, 2.5vw, 11px);
  font-weight: 600;
  color: #007aff;
  margin-bottom: 4px;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

.bubble-in .text {
  font-size: clamp(12px, 3.5vw, 14px);
  color: #000;
  line-height: 1.4;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  word-break: break-word;
}

.bubble-in .time {
  font-size: clamp(8px, 2vw, 9px);
  color: #8e8e93;
  margin-top: 6px;
  text-align: right;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

.message-out {
  display: flex;
  justify-content: flex-end;
}

.bubble-out {
  max-width: 85%;
  background: #007aff;
  border-radius: 20px 20px 5px 20px;
  padding: clamp(8px, 2.5vw, 10px) clamp(10px, 3vw, 14px);
}

.bubble-out .text {
  font-size: clamp(12px, 3.5vw, 14px);
  color: #fff;
  line-height: 1.4;
  font-family: 'SF Mono', 'Courier New', monospace;
  font-weight: 500;
  letter-spacing: 0.3px;
  word-break: break-word;
}

.bubble-out .time {
  font-size: clamp(8px, 2vw, 9px);
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  text-align: right;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

.sms-highlight {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: clamp(10px, 2.5vw, 12px);
  padding: clamp(8px, 2vw, 10px);
  margin: 8px 0;
  text-align: center;
}

.sms-highlight .label {
  font-size: clamp(9px, 2.5vw, 10px);
  color: #15803d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
}

.sms-code {
  font-size: clamp(13px, 4vw, 17px);
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  display: inline-block;
  padding: clamp(4px, 1.5vw, 6px) clamp(12px, 3vw, 16px);
  border-radius: 24px;
  word-break: break-all;
}

.home-indicator {
  width: clamp(80px, 25vw, 120px);
  height: 5px;
  background: #000;
  border-radius: 3px;
  margin: 10px auto 8px;
  opacity: 0.3;
}

.cp-button {
  width: 100%;
  height: clamp(40px, 8vw, 44px);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: clamp(11px, 3vw, 13px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  box-shadow: 0 4px 14px rgba(67,97,238,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
}

.cp-button:hover {
  opacity: 0.92;
  transform: scale(0.99);
  color: #fff;
  text-decoration: none;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.step-number {
  width: 28px;
  height: 28px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-number span {
  color: #4361ee;
  font-size: 12px;
  font-weight: 700;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

.step-text {
  font-size: clamp(11px, 3vw, 13px);
  color: #334155;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.4;
}

.step-text strong {
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
}

.button-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.button-group .cp-button {
  flex: 1;
  min-width: 0;
}

body.xt-account-page .cp-wrap {
  max-width: 980px;
}

body.xt-account-page .cp-wrap > div[style*="background:#fff"] {
  overflow: visible !important;
  border: 1px solid #e6edf6 !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, #fff, #fbfcff) !important;
  box-shadow: 0 24px 65px rgba(15,23,42,0.08) !important;
}

body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:first-child {
  padding: 30px 34px 18px !important;
  border-bottom: 0 !important;
  display: block !important;
}

body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:first-child > div:first-child {
  display: none !important;
}

body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:first-child > div:last-child > div:first-child {
  color: #17213c !important;
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
}

body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:first-child > div:last-child > div:last-child {
  max-width: 520px;
  margin-top: 10px !important;
  color: #6b7280 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:nth-child(2) {
  padding: 16px 34px 34px !important;
}

body.xt-account-page #changePasswordForm > .mb-4,
body.xt-account-page #changePasswordForm > .mb-5 {
  margin-bottom: 18px !important;
}

body.xt-account-page #strengthPanel {
  margin-top: 12px;
  padding: 16px;
  border-radius: 14px;
  border-color: #e6edf6;
  background: #fbfcff;
}

body.xt-account-page #changePasswordForm > .mb-5:has(#captcha) > div[style*="display:flex"] {
  gap: 12px !important;
  align-items: stretch !important;
}

body.xt-account-page #changePasswordForm img[alt="captcha"] {
  width: 128px !important;
  height: 56px !important;
  border-radius: 10px !important;
  border-color: #d9e1ec !important;
  background: #f8fafc !important;
}

body.xt-account-page #changePasswordForm #refreshCaptcha {
  width: 48px !important;
  height: 56px !important;
  border-radius: 10px !important;
  border-color: #d9e1ec !important;
  color: #f26d17 !important;
}

body.xt-account-page #changePasswordForm .cp-submit i {
  display: none !important;
}

body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:last-child {
  padding: 18px 34px 26px !important;
  background: transparent !important;
  border-top: 1px solid #eef3f8 !important;
}

body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:last-child a {
  color: #f26d17 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.cp-input-group input, 
    .cp-input-group select {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  border: none;
  background: #fff;
  color: #0f172a;
}

.cp-input-group input[type="date"] {
  text-transform: uppercase;
}

.cp-input-group input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

body.xt-account-page #formUpdate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.xt-account-page #formUpdate > .mb-5,
    body.xt-account-page #formUpdate > button,
    body.xt-account-page #formUpdate > .mb-4:has(#fullnameGroup),
    body.xt-account-page #formUpdate > .mb-4:has(#genderGroup),
    body.xt-account-page #formUpdate > .mb-4:has(#birthdayGroup),
    body.xt-account-page #formUpdate > .mb-4:has(#emailGroup) {
  grid-column: 1 / -1;
}

body.xt-account-page #formUpdate > .mb-4,
    body.xt-account-page #formUpdate > .mb-5 {
  margin-bottom: 0 !important;
}

body.xt-account-page #formUpdate .text-xs.mt-1 {
  margin: 8px 0 0 4px !important;
  color: #7a8596 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

body.xt-account-page #formUpdate .text-xs.mt-1 i {
  display: none !important;
}

body.xt-account-page #formUpdate > .mb-5:has(#captchaGroup) > div[style*="display:flex"] {
  gap: 12px !important;
  align-items: stretch !important;
}

body.xt-account-page #formUpdate img[alt="captcha"] {
  width: 128px !important;
  height: 56px !important;
  border-radius: 10px !important;
  border-color: #d9e1ec !important;
  background: #f8fafc !important;
}

body.xt-account-page #formUpdate #refreshCaptcha {
  width: 48px !important;
  height: 56px !important;
  border-radius: 10px !important;
  border-color: #d9e1ec !important;
  color: #f26d17 !important;
}

body.xt-account-page #formUpdate .cp-submit i {
  display: none !important;
}

@keyframes verifySpin{
to{transform:rotate(360deg)}
}

@keyframes verifyDot{
0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}
}

@keyframes verifyBar{
0%{transform:translateX(-100%)}100%{transform:translateX(100%)}
}

.profile-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 55%, #2563eb 100%);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.profile-banner::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.profile-banner::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.pb-avatar {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.pb-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.pb-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.pb-meta-item {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pb-meta-item strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.pb-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.pb-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.pb-btn:hover {
  opacity: 0.85;
}

.pb-btn-white {
  background: #fff;
  color: #1e40af;
}

.pb-btn-outline {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25) !important;
}

.dash-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.d-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.d-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.d-card-title {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.d-card-title i {
  color: #2563eb;
  font-size: 14px;
}

.d-card-action {
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.d-card-action:hover {
  text-decoration: underline;
}

.d-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #f8fafc;
  gap: 12px;
}

.d-row:last-child {
  border-bottom: none;
}

.d-label {
  font-size: 12px;
  color: #94a3b8;
  width: 130px;
  flex-shrink: 0;
}

.d-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  flex: 1;
}

.d-value.muted {
  color: #94a3b8;
  font-weight: 400;
  font-style: italic;
}

.d-value.small {
  font-size: 13px;
}

.d-card-foot {
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 20px;
}

.d-card-foot a {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.d-card-foot a:hover {
  text-decoration: none;
  color: #0536a0ff;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-green {
  background: #dcfce7;
  color: #15803d;
}

.badge-red {
  background: #fee2e2;
  color: #dc2626;
}

.badge-amber {
  background: #fef3c7;
  color: #b45309;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.pending-bar {
  padding: 14px 20px;
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.pending-bar-label {
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 3px;
}

.pending-bar-val {
  font-size: 14px;
  font-weight: 700;
  color: #78350f;
}

body.xt-account-page .profile-banner {
  background: linear-gradient(135deg, rgba(247, 127, 0, 0.92), rgba(230, 57, 70, 0.9)),
        linear-gradient(135deg, #16234d, #1e3a8a);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

body.xt-account-page .profile-banner::before,
body.xt-account-page .profile-banner::after {
  background: rgba(255,255,255,0.12);
}

body.xt-account-page .pb-avatar {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #fff;
  border: 0;
  color: #18356f;
  box-shadow: 0 14px 30px rgba(15,23,42,0.18);
}

body.xt-account-page .pb-name {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.30;
  letter-spacing: -0.02em;
}

body.xt-account-page .pb-meta {
  gap: 10px;
}

body.xt-account-page .pb-meta-item {
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.86);
  font-weight: 700;
}

body.xt-account-page .pb-btn {
  min-height: 42px;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 800;
}

body.xt-account-page .pb-btn-white {
  color: #f26d17;
  box-shadow: 0 12px 24px rgba(15,23,42,0.12);
}

body.xt-account-page .pb-btn-outline {
  background: rgba(15,23,42,0.16);
  border-color: rgba(255,255,255,0.32) !important;
}

body.xt-account-page .dash-cards {
  gap: 18px;
}

body.xt-account-page .d-card {
  border-color: #e6edf6;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.07);
}

body.xt-account-page .d-card-head {
  padding: 22px 24px 18px;
}

body.xt-account-page .d-card-title {
  color: #16234d;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: none;
}

body.xt-account-page .d-card-title i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff2e8;
  color: #f26d17;
}

body.xt-account-page .d-row {
  padding: 16px 24px;
  border-bottom-color: #eef3f8;
}

body.xt-account-page .d-label {
  color: #718096;
  font-size: 13px;
  font-weight: 700;
}

body.xt-account-page .d-value {
  color: #17213c;
  font-size: 15px;
}

body.xt-account-page .d-card-foot {
  padding: 16px 24px;
  background: #fbfcff;
}

body.xt-account-page .d-card-foot a,
body.xt-account-page .d-card-action {
  color: #f26d17;
  font-weight: 800;
}

body.xt-account-page .badge {
  border-radius: 999px;
  font-size: 11px;
  padding: 5px 10px;
}

body.xt-account-page .pending-bar {
  background: #fff8ed;
  border-top-color: #ffd7ad;
}

.pay-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px 40px;
}

.pay-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 55%, #2563eb 100%);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.pay-banner::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.pay-banner::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.pay-banner-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.pay-banner-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.pay-banner-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.pay-banner-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pay-banner-sub strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.pay-balance {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.pay-balance-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pay-balance-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #4361ee;
}

.pay-balance-label {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.pay-balance-value {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.pay-balance-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 24px;
}

.pay-promo-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.pay-promo-banner i {
  color: #f59e0b;
  font-size: 22px;
}

.pay-promo-banner-content {
  flex: 1;
  font-size: 14px;
  color: #92400e;
}

.pay-promo-banner-content strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 4px;
}

.promo-datetime {
  font-size: 11px;
  color: #b45309;
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.promo-datetime span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.promo-datetime i {
  font-size: 11px;
  margin-right: 3px;
}

.pay-promo-countdown {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 24px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.pay-promo-countdown.upcoming {
  background: #e0e7ff;
  color: #3730a3;
}

.pay-promo-countdown.active {
  background: #fffbeb;
  color: #d97706;
}

.pay-promo-countdown.ended {
  background: #fee2e2;
  color: #dc2626;
}

.pay-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.pay-card-head {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-card-title {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-card-title i {
  color: #2563eb;
  font-size: 14px;
}

.pay-card-body {
  padding: 24px;
}

.pay-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
}

.pay-tab {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 40px;
  color: #64748b;
  transition: all 0.15s;
}

.pay-tab.active {
  background: #eef2ff;
  color: #2563eb;
}

.pay-tab:hover:not(.active) {
  color: #1e293b;
  background: #f8fafc;
}

.pay-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pay-pkg {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  position: relative;
}

.pay-pkg:hover {
  border-color: #818cf8;
  background: #f5f3ff;
  transform: translateY(-2px);
}

.pay-pkg.selected {
  border-color: #2563eb;
  background: #eef2ff;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

.pay-selected-check {
  position: absolute;
  top: 10px;
  left: 12px;
  color: #2563eb;
  font-size: 16px;
  display: none;
}

.pay-pkg.selected .pay-selected-check {
  display: block;
}

.pay-pkg-amount {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.pay-pkg-coin {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
}

.pay-pkg-coin i {
  font-size: 11px;
  margin-right: 4px;
}

.pay-pkg-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 24px;
  letter-spacing: 0.05em;
}

.pay-pkg-promo {
  font-size: 11px;
  color: #f59e0b;
  margin-top: 6px;
  font-weight: 600;
}

.pay-pkg-empty {
  grid-column: span 3;
  text-align: center;
  padding: 48px;
  color: #94a3b8;
}

.pay-pkg-empty i {
  font-size: 48px;
  opacity: 0.5;
  margin-bottom: 12px;
  display: block;
}

.pay-custom {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.pay-custom-label {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-custom-badge {
  background: #e0e7ff;
  color: #3730a3;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 16px;
}

.pay-custom-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-custom-input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: all 0.15s;
}

.pay-custom-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

.pay-custom-suffix {
  font-weight: 600;
  color: #64748b;
  font-size: 16px;
}

.pay-custom-note {
  font-size: 12px;
  color: #64748b;
  margin-top: 12px;
}

.pay-method {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pay-method img {
  height: 36px;
}

.pay-method-fallback {
  display: none;
  align-items: center;
  gap: 8px;
  background: #005baa;
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.pay-method-text {
  font-size: 12px;
  color: #64748b;
}

.pay-method-text strong {
  color: #0f172a;
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.pay-summary {
  background: #f0f4ff;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.pay-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 6px 0;
}

.pay-summary-row .label {
  color: #64748b;
}

.pay-summary-row .value {
  font-weight: 700;
  color: #0f172a;
}

.pay-summary-row.promo .value {
  color: #f59e0b;
}

.pay-summary-row.total .value {
  font-size: 16px;
  color: #2563eb;
}

.pay-summary-divider {
  border: none;
  border-top: 1px dashed #c7d2fe;
  margin: 8px 0;
}

.pay-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pay-submit:hover {
  opacity: 0.9;
}

.pay-submit:active {
  transform: scale(0.98);
}

.pay-submit:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  transform: none;
  opacity: 0.7;
}

.pay-notes {
  margin-top: 20px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 12px;
  color: #92400e;
  line-height: 1.7;
}

.pay-notes i {
  color: #f59e0b;
  margin-right: 6px;
  font-size: 14px;
}

.pay-card-foot {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

.pay-card-foot a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.pay-card-foot a:hover {
  text-decoration: underline;
}

.hist-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.hist-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.hist-card-header {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hist-card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hist-card-header-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hist-card-header-icon i {
  color: #4361ee;
  font-size: 14px;
}

.hist-card-header-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.hist-card-header-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.hist-table {
  width: 100%;
  border-collapse: collapse;
}

.hist-table th {
  padding: 10px 16px;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.hist-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: #0f172a;
  border-bottom: 1px solid #f8fafc;
  vertical-align: middle;
}

.hist-table tr:last-child td {
  border-bottom: none;
}

.hist-table tr:hover td {
  background: #f8fafc;
}

.badge-success {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef9c3;
  color: #854d0e;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.badge-failed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fee2e2;
  color: #dc2626;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.txn-ref {
  font-family: monospace;
  font-size: 11px;
  color: #64748b;
}

.hist-empty {
  padding: 40px 20px;
  text-align: center;
  color: #94a3b8;
}

.hist-empty i {
  font-size: 36px;
  margin-bottom: 12px;
  color: #cbd5e1;
}

.hist-empty p {
  font-size: 13px;
}

.hist-pagination {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #64748b;
}

.hist-pag-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}

.hist-pag-btn:hover {
  border-color: #4361ee;
  color: #4361ee;
  background: #eef2ff;
}

.hist-pag-btn.disabled {
  pointer-events: none;
  opacity: 0.4;
}

.result-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.result-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.result-header {
  padding: 32px 24px 24px;
}

.result-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-icon-wrap.success {
  background: #dcfce7;
}

.result-icon-wrap.failed {
  background: #fee2e2;
}

.result-icon-wrap i {
  font-size: 32px;
}

.result-icon-wrap.success i {
  color: #16a34a;
}

.result-icon-wrap.failed  i {
  color: #dc2626;
}

.result-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.result-message {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.result-detail {
  margin: 0 24px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid #f1f5f9;
}

.result-row:last-child {
  border-bottom: none;
}

.result-row .label {
  color: #64748b;
}

.result-row .value {
  font-weight: 700;
  color: #0f172a;
}

.result-row .value.green {
  color: #16a34a;
}

.result-row .value.blue {
  color: #4361ee;
}

.result-coin-banner {
  margin: 0 24px 20px;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-coin-banner i {
  font-size: 24px;
  color: #4361ee;
}

.result-coin-banner .label {
  font-size: 11px;
  color: #6366f1;
  font-weight: 600;
}

.result-coin-banner .val {
  font-size: 22px;
  font-weight: 800;
  color: #3730a3;
}

.result-actions {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-btn-primary {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(67,97,238,0.25);
  transition: opacity 0.15s;
  text-decoration: none;
}

.result-btn-primary:hover {
  opacity: 0.92;
}

.result-btn-secondary {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.15s;
}

.result-btn-secondary:hover {
  border-color: #4361ee;
  color: #4361ee;
  background: #eef2ff;
}

.result-pending {
  margin: 0 24px 20px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  color: #92400e;
  line-height: 1.6;
}

.result-pending i {
  color: #f59e0b;
}

@media (max-width:1160px) {
  .account-nav-container {
    grid-template-columns: 155px minmax(0, 1fr);
  }
  
  .account-nav-logo img {
    width: 145px;
  }
  
  .account-nav-public {
    gap: 16px;
  }
  
  .account-nav-auth {
    padding: 0 9px;
  }
}

@media (max-width:980px) {
  .account-nav-container {
    height: 72px;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }
  
  .account-nav-desktop {
    display: none;
  }
  
  .account-mobile-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    display: block;
    border: 1px solid var(--account-line);
    background: #fff;
    color: var(--account-navy);
    cursor: pointer;
  }
  
  .account-mobile-toggle span {
    position: absolute;
    top: 20px;
    left: 9px;
    width: 24px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  
  .account-mobile-toggle span:first-child {
    transform: translateY(-7px);
  }
  
  .account-mobile-toggle span:last-child {
    transform: translateY(7px);
  }
  
  .account-mobile-toggle[aria-expanded=true] span:first-child {
    transform: rotate(45deg);
  }
  
  .account-mobile-toggle[aria-expanded=true] span:nth-child(2) {
    opacity: 0;
  }
  
  .account-mobile-toggle[aria-expanded=true] span:last-child {
    transform: rotate(-45deg);
  }
  
  .account-mobile-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    display: block;
    overflow-y: auto;
    border-top: 1px solid var(--account-line);
    background: #fff;
    box-shadow: 0 22px 45px rgba(7, 27, 51, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  }
  
  .account-mobile-panel.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  
  .account-mobile-inner {
    width: min(100% - 32px, 680px);
    margin: 0 auto;
    padding: 14px 0 22px;
  }
  
  .account-mobile-inner > a {
    min-height: 48px;
    padding: 0 8px;
    display: grid;
    grid-template-columns: 22px 1fr 18px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #edf0f3;
    color: #344054;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
  }
  
  .account-mobile-inner > a.active,
    .account-mobile-inner > a:hover {
    color: var(--account-orange);
  }
  
  .account-mobile-inner > a.deposit {
    margin-top: 8px;
    padding: 0 14px;
    border-radius: 6px;
    border: 0;
    background: var(--account-orange);
    color: #fff;
  }
  
  .account-mobile-inner > a.logout {
    color: #d92d20;
  }
  
  .account-mobile-inner > a .svg {
    width: 18px;
    height: 18px;
  }
  
  .account-mobile-inner > a .svg:last-child {
    justify-self: end;
    width: 15px;
    height: 15px;
  }
  
  
  
  
  
}

@media (max-width:640px) {
  .account-nav-container {
    width: min(100% - 28px, 1280px);
  }
  
  .account-nav-logo img {
    width: 136px;
    height: 38px;
  }
}

@media (max-width: 560px) {
  body.xt-account-page .cp-card-body .mb-4:has(> label:first-child + .cp-captcha-row) > label:first-child,
      body.xt-account-page .cp-card-body .mb-5:has(> label:first-child + .cp-captcha-row) > label:first-child,
      body.xt-account-page .cp-card-body .mb-6:has(> label:first-child + .cp-captcha-row) > label:first-child,
      body.xt-account-page form .mb-4:has(> label:first-child + .cp-captcha-row) > label:first-child,
      body.xt-account-page form .mb-5:has(> label:first-child + .cp-captcha-row) > label:first-child,
      body.xt-account-page form .mb-6:has(> label:first-child + .cp-captcha-row) > label:first-child {
    left: 14px;
  }
  
  body.xt-account-page .cp-card-body .mb-4,
      body.xt-account-page .cp-card-body .mb-5,
      body.xt-account-page .cp-card-body .mb-6,
      body.xt-account-page form .mb-4,
      body.xt-account-page form .mb-5,
      body.xt-account-page form .mb-6 {
    margin-bottom: 22px !important;
  }
}

@media (max-width: 900px) {
  .auth-portal {
    align-items: flex-start;
    padding-top: 34px;
  }
  
  .auth-shell {
    grid-template-columns: 1fr;
  }
  
  .auth-side {
    padding: 28px;
  }
  
  .auth-side-title {
    font-size: 34px;
  }
}

@media (max-width: 560px) {
  .auth-portal {
    padding: 20px 12px 44px;
  }
  
  .auth-side {
    display: none;
  }
  
  .auth-form-panel {
    padding: 24px 18px;
  }
  
  .auth-shell {
    border-radius: 16px;
  }
  
  .cp-captcha-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .auth-portal {
    padding-top: 34px;
  }
  
  .auth-shell {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  
  .auth-side {
    min-height: 260px;
    padding: 34px;
  }
  
  .auth-form-panel {
    padding: 42px 34px;
  }
}

@media (max-width: 560px) {
  .auth-shell {
    border-radius: 22px;
  }
  
  .auth-form-panel {
    padding: 34px 20px 28px;
  }
  
  .auth-form-panel .cp-card-header-title {
    font-size: 26px;
  }
  
  .cp-captcha-row {
    align-items: stretch;
  }
  
  .cp-captcha-row .cp-input-group {
    flex-basis: 100%;
  }
}

@media (max-width: 980px) {
  .register-shell {
    grid-template-columns: 1fr;
  }
  
  .register-side {
    padding: 30px;
  }
  
  .register-side-title {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .register-portal {
    padding: 20px 12px 44px;
  }
  
  .register-side {
    display: none;
  }
  
  .register-form-panel {
    padding: 24px 18px;
  }
  
  .register-shell {
    border-radius: 16px;
  }
  
  .cp-captcha-row,
          .cp-radio-group {
    flex-wrap: wrap;
  }
}


/* Separate account actions from the primary mobile navigation. */
.account-mobile-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 980px) {
  .account-mobile-actions {
    display: flex;
  }

  .account-user-menu-mobile {
    display: block;
    position: relative;
    flex: 0 0 auto;
    width: auto;
  }

  .account-mobile-user-toggle {
    width: 146px;
    min-width: 146px;
    max-width: 146px;
    height: 40px;
    min-height: 40px;
    justify-content: flex-start;
    padding: 0 8px 0 6px;
    gap: 7px;
    border: 1px solid var(--account-line);
    background: #fff;
  }

  .account-mobile-user-toggle > .svg:first-child {
    width: 19px;
    height: 19px;
    color: var(--account-orange);
  }

  .account-mobile-user-toggle .account-user-avatar {
    width: 28px;
    height: 28px;
  }

  .account-mobile-user-toggle .account-user-name {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 76px;
    overflow: hidden;
    color: var(--account-navy);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-mobile-user-toggle .account-user-chevron {
    display: inline-flex;
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    margin-left: auto;
  }

  .account-mobile-user-dropdown {
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(310px, calc(100vw - 32px));
    z-index: 240;
    box-shadow: 0 18px 45px rgba(7,27,51,.16);
  }

  .account-mobile-user-dropdown.open {
    display: block;
  }

  .account-mobile-user-dropdown .account-dropdown-head span {
    white-space: normal;
  }

  .account-mobile-user-dropdown a.deposit {
    color: var(--account-orange);
  }
}

@media (max-width: 460px) {
  .account-nav-container {
    width: calc(100% - 24px);
    grid-template-columns: minmax(112px, 1fr) auto;
    gap: 10px;
  }

  .account-nav-logo img {
    width: 128px;
    height: 36px;
  }

  .account-mobile-actions {
    gap: 6px;
  }

  .account-mobile-user-toggle {
    width: 124px;
    min-width: 124px;
    max-width: 124px;
  }

  .account-mobile-user-toggle .account-user-name {
    max-width: 55px;
  }
}

@media (max-width: 980px) {
  .register-portal {
    padding-top: 34px;
    align-items: flex-start;
  }
  
  .register-shell {
    grid-template-columns: 1fr;
    max-width: 660px;
  }
  
  .register-side {
    min-height: 260px;
    padding: 34px;
  }
  
  .register-form-panel {
    padding: 42px 34px;
  }
}

@media (max-width: 640px) {
  .register-shell {
    border-radius: 22px;
  }
  
  .register-form-panel {
    padding: 34px 20px 28px;
  }
  
  .register-form-panel .cp-card-header-title {
    font-size: 26px;
  }
  
  .cp-captcha-row {
    align-items: stretch;
  }
  
  .cp-captcha-row .cp-input-group {
    flex-basis: 100%;
  }
  
  .cp-radio-group {
    gap: 12px;
  }
  
  .step-indicator {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 980px) {
  .forgot-shell {
    grid-template-columns: 1fr;
  }
  
  .forgot-side {
    padding: 30px;
  }
  
  .forgot-side-title {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .forgot-portal {
    padding: 20px 12px 44px;
  }
  
  .forgot-side {
    display: none;
  }
  
  .forgot-form-panel {
    padding: 24px 18px;
  }
  
  .forgot-shell {
    border-radius: 16px;
  }
  
  .cp-captcha-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .forgot-portal {
    padding-top: 34px;
  }
  
  .forgot-shell {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  
  .forgot-side {
    min-height: 260px;
    padding: 34px;
  }
  
  .forgot-form-panel {
    padding: 42px 34px;
  }
}

@media (max-width: 640px) {
  .forgot-shell {
    border-radius: 22px;
  }
  
  .forgot-form-panel {
    padding: 34px 20px 28px;
  }
  
  .forgot-form-panel .cp-card-header-title {
    font-size: 26px;
  }
  
  .cp-captcha-row {
    align-items: stretch;
  }
  
  .cp-captcha-row .cp-input-group {
    flex-basis: 100%;
  }
}



@media (max-width: 480px) {
  .cp-card-body {
    padding: 16px;
  }
  
  .step-item {
    gap: 10px;
  }
  
  .step-number {
    width: 24px;
    height: 24px;
  }
  
  .step-number span {
    font-size: 10px;
  }
  
  .messages-header {
    gap: 8px;
  }
  
  .contact-info {
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .action-button,
          .volume-up,
          .volume-down,
          .side-button {
    display: none;
  }
  
  .iphone-body {
    padding: 8px 4px;
  }
}

@media (max-width: 760px) {
  body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:first-child,
      body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:nth-child(2),
      body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:last-child {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  
  body.xt-account-page #strengthPanel > div:last-child {
    grid-template-columns: 1fr !important;
  }
  
  body.xt-account-page #changePasswordForm > .mb-5:has(#captcha) > div[style*="display:flex"] {
    flex-wrap: wrap;
  }
  
  body.xt-account-page #changePasswordForm .cp-input-group:has(#captcha) {
    flex-basis: 100% !important;
  }
}

@media (max-width: 760px) {
  body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:first-child,
          body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:nth-child(2),
          body.xt-account-page .cp-wrap > div[style*="background:#fff"] > div:last-child {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  
  body.xt-account-page #formUpdate {
    display: block;
  }
  
  body.xt-account-page #formUpdate > .mb-4,
          body.xt-account-page #formUpdate > .mb-5 {
    margin-bottom: 18px !important;
  }
  
  body.xt-account-page #formUpdate > .mb-5:has(#captchaGroup) > div[style*="display:flex"] {
    flex-wrap: wrap;
  }
  
  body.xt-account-page #formUpdate #captchaGroup {
    flex-basis: 100% !important;
  }
}

@media (max-width:700px) {
  .verify-modal-popup .swal2-title {
    padding: 26px 42px 8px!important;
    font-size: 19px!important;
  }
  
  .verify-modal-popup .swal2-html-container {
    padding: 0 18px 24px!important;
  }
  
  .zalo-otp-panel {
    flex-direction: column;
    padding: 16px 12px;
  }
  
  .zalo-otp-digits {
    gap: 7px;
  }
  
  .zalo-otp-digit {
    width: 42px;
    height: 50px;
    font-size: 22px;
  }
  
  .zalo-otp-verify {
    width: 180px;
    margin: 4px 0 0;
  }
  
  .zalo-otp-links {
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }
  
  .verify-modal-copy,.zalo-otp-copy {
    font-size: 14px;
  }
  
  .verify-modal-copy strong,.zalo-otp-copy strong {
    font-size: 18px;
  }
  
  .verify-sms-code,.sms-verify-popup b:nth-of-type(2) {
    font-size: 20px;
    letter-spacing: 1px;
  }
}

@media (max-width: 640px) {
  .profile-banner {
    flex-wrap: wrap;
  }
  
  .pb-actions {
    width: 100%;
  }
  
  .pb-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .dash-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.xt-account-page .profile-banner {
    padding: 24px;
    border-radius: 16px;
  }
  
  body.xt-account-page .pb-avatar {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }
  
  body.xt-account-page .pb-meta-item {
    width: 100%;
  }
  
  body.xt-account-page .d-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  
  body.xt-account-page .d-label {
    width: auto;
  }
}

@media (max-width: 640px) {
  .pay-packages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pay-packages {
    grid-template-columns: 1fr;
  }
}

/* Match account form width to the dashboard content column on mobile/tablet. */
@media (max-width: 1023px) {
  body.xt-account-page :is(#changePasswordForm, #formUpdate) {
    width: 100%;
    max-width: none;
  }

  body.xt-account-page :is(#changePasswordForm, #formUpdate) .cp-input-group {
    width: 100%;
  }

  body.xt-account-page .lg\:col-span-9 > .cp-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 640px) {
  body.xt-account-page .max-w-7xl.mx-auto.px-4 {
    width: 100%;
    max-width: none;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  body.xt-account-page .lg\:col-span-9 > .cp-wrap > div[style*="background:#fff"] {
    width: 100%;
  }
}
