.page-withdraw {
  background: linear-gradient(180deg, #eef5ff 0%, #f9fcff 100%);
  min-height: 100vh;
}

.page-withdraw--accounts .withdraw-account-card {
  margin-top: 0;
}

.page-withdraw [data-withdraw-phase="apply"][hidden] {
  display: none !important;
}

.withdraw-main {
  padding: 14px 16px calc(28px + env(safe-area-inset-bottom, 0px));
}

.withdraw-balance-card {
  padding: 20px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #095dff 0%, #0039d8 72%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 57, 216, 0.22);
  margin-bottom: 14px;
}

.withdraw-balance-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.withdraw-balance-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 32px;
  font-weight: 800;
}

.withdraw-balance-card small {
  font-size: 12px;
  opacity: 0.85;
}

.withdraw-form {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(8, 21, 55, 0.06);
}

.withdraw-account-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(8, 21, 55, 0.06);
  margin-bottom: 14px;
  scroll-margin-top: 74px;
}

.account-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.account-card-head h2 {
  margin: 0;
  font-size: 16px;
  color: #081537;
}

.account-settings-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #eef4ff;
  color: #0a53db;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.account-settings-btn svg {
  width: 20px;
  height: 20px;
}

.account-settings-btn[hidden] {
  display: none;
}

.account-bind-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.account-bind-btn {
  border: 1px solid #cbdcf8;
  border-radius: 10px;
  background: #f7faff;
  color: #0a4ac9;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  font-family: inherit;
}

.account-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.account-list li {
  border: 1px solid #dde8fb;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fbfdff;
}

.account-list li.is-selected {
  border-color: #0a53db;
  background: #f2f7ff;
  box-shadow: 0 0 0 2px rgba(10, 83, 219, 0.1);
}

.account-list li.is-selected .account-use-btn {
  background: #0a53db;
  color: #fff;
}

.account-meta {
  flex: 1;
}

.account-meta strong {
  display: block;
  color: #081537;
  font-size: 14px;
}

.account-meta small {
  display: block;
  margin-top: 4px;
  color: #5a6f94;
  font-size: 12px;
}

.account-use-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: #0a53db;
  background: #e8f0ff;
  font-size: 12px;
  font-weight: 700;
}

.account-empty-state {
  text-align: center;
  padding: 28px 16px 24px;
  border: 1px dashed #cddcf6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.account-empty-state[hidden] {
  display: none;
}

.account-empty-state__illus {
  width: 120px;
  margin: 0 auto 12px;
}

.account-empty-state__illus svg {
  width: 100%;
  height: auto;
  display: block;
}

.account-empty-state__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #081537;
}

.account-empty-state__desc {
  margin: 8px 0 0;
  font-size: 13px;
  color: #5a6f94;
  line-height: 1.5;
}

.account-empty-state__cta {
  margin-top: 18px;
  width: 100%;
  max-width: 220px;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #095dff, #0039d8);
  box-shadow: 0 6px 16px rgba(0, 57, 216, 0.22);
}

.account-list[hidden] {
  display: none;
}

.withdraw-form .field {
  display: block;
  margin-bottom: 14px;
}

.withdraw-form .field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #081537;
}

.withdraw-form .field b {
  color: #c41e22;
}

.withdraw-form .input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #d8e3f5;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fbff;
}

.withdraw-form .input-wrap:focus-within {
  border-color: #0052d9;
  box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.12);
}

.withdraw-form input,
.withdraw-form select {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}

.withdraw-form .input-wrap em {
  padding: 0 12px;
  color: #5a6f94;
  font-style: normal;
}

.withdraw-tip {
  margin: 0 0 14px;
  font-size: 12px;
  color: #5a6f94;
  line-height: 1.5;
}

.withdraw-account-pick {
  margin: 0 0 12px;
  border: 1px dashed #cddcf6;
  border-radius: 10px;
  background: #f8fbff;
  padding: 10px 12px;
  color: #405274;
  font-size: 13px;
}

.withdraw-account-pick strong {
  color: #081537;
}

.withdraw-compliance {
  margin-top: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 18px rgba(8, 21, 55, 0.06);
}

.withdraw-compliance h2 {
  margin: 0 0 10px;
  color: #081537;
  font-size: 15px;
}

.withdraw-compliance ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: #42547a;
  font-size: 12px;
  line-height: 1.7;
}

.withdraw-compliance li + li {
  margin-top: 6px;
}

.withdraw-submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #095dff, #0039d8);
  cursor: pointer;
}

.withdraw-submit:disabled {
  opacity: 0.55;
}

.withdraw-history {
  margin-top: 18px;
}

.withdraw-history h2 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #081537;
}

.withdraw-history ul {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(8, 21, 55, 0.06);
}

.withdraw-history li {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(13, 59, 151, 0.06);
}

.withdraw-history li:last-child {
  border-bottom: none;
}

.wh-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wh-top strong {
  font-size: 16px;
  color: #081537;
}

.wh-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
}

.wh-status.pending {
  background: rgba(230, 122, 46, 0.12);
  color: #e67a2e;
}

.wh-status.approved {
  background: rgba(45, 157, 107, 0.12);
  color: #2d9d6b;
}

.wh-status.rejected {
  background: rgba(180, 83, 9, 0.12);
  color: #b45309;
}

.wh-meta {
  margin: 6px 0 0;
  font-size: 12px;
  color: #5a6f94;
}

.wh-empty {
  text-align: center;
  color: #5a6f94;
}

.bind-drawer[hidden] {
  display: none;
}

.bind-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.bind-drawer__mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 21, 55, 0.45);
}

.bind-drawer__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #fafdff 0%, #ffffff 18%);
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 30px rgba(8, 21, 55, 0.2);
}

.bind-drawer__handle {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #d6e0f2;
  margin: 0 auto 10px;
}

.bind-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.bind-drawer__head h3 {
  margin: 0;
  color: #081537;
  font-size: 16px;
}

.bind-drawer__close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #edf3ff;
  color: #224682;
  font-size: 18px;
  line-height: 1;
}

.bind-form .field {
  margin-bottom: 12px;
}

.bind-form .field > span {
  color: #081537;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}

.bind-form .field b {
  color: #c41e22;
}

.bind-form .input-wrap {
  border: 1px solid #d7e4f8;
  border-radius: 12px;
  background: #f7faff;
  display: flex;
  align-items: center;
}

.bind-form .input-wrap:focus-within {
  border-color: #0a53db;
  box-shadow: 0 0 0 2px rgba(10, 83, 219, 0.12);
}

.bind-form input {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font-size: 15px;
  color: #081537;
  outline: none;
}

.bind-form-tip {
  margin: 2px 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #5a6f94;
}

.page-profile .btn-checkin.is-done {
  opacity: 0.72;
  background: #5a6f94;
}

.account-bind-row[hidden] {
  display: none;
}

.account-item {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.account-item.is-selectable {
  cursor: pointer;
}

.account-item.is-selectable:active {
  transform: scale(0.995);
}

.account-item.is-verified {
  border-color: #b8d4f5;
}

.account-item.is-pending {
  border-color: #f0d9b8;
  background: #fffcf7;
}

.account-item.is-rejected {
  border-color: #f0c4c4;
  background: #fffafa;
}

.account-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.account-item__head strong {
  font-size: 14px;
  color: #081537;
}

.account-item__no {
  margin: 4px 0 0;
  font-size: 12px;
  color: #5a6f94;
}

.account-item__note {
  margin: 6px 0 0;
  font-size: 12px;
  color: #c41e22;
}

.account-item__hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #e67a2e;
}

.field-bank-only[hidden] {
  display: none;
}

.account-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.account-badge--approved {
  background: rgba(45, 157, 107, 0.14);
  color: #2d9d6b;
}

.account-badge--pending {
  background: rgba(230, 122, 46, 0.14);
  color: #e67a2e;
}

.account-badge--rejected {
  background: rgba(196, 30, 34, 0.1);
  color: #c41e22;
}

.account-item__main {
  flex: 1;
  min-width: 0;
}

.account-settings-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.account-settings-item {
  border: 1px solid #dde8fb;
  border-radius: 12px;
  padding: 14px;
  background: #fbfdff;
}

.account-settings-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.account-settings-item__head strong {
  font-size: 14px;
  color: #081537;
}

.account-settings-item__no {
  margin: 6px 0 0;
  font-size: 13px;
  color: #405274;
  word-break: break-all;
}

.account-settings-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.account-settings-action {
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  background: #eef4ff;
  color: #0a53db;
}

.account-settings-action--primary {
  background: #0a53db;
  color: #fff;
}

.account-settings-action--danger {
  background: #fff0f0;
  color: #c41e22;
}

.account-default-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f4f8ff;
  border: 1px solid #d6e4f8;
  transition: border-color 0.2s, background 0.2s;
}

.account-default-option.is-checked {
  background: #e8f0ff;
  border-color: #0a53db;
}

.account-default-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.account-default-option__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #b8c9e8;
  background: #fff;
  flex-shrink: 0;
  position: relative;
}

.account-default-option.is-checked .account-default-option__dot {
  border-color: #0a53db;
}

.account-default-option.is-checked .account-default-option__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #0a53db;
}

.account-default-option__text {
  font-size: 13px;
  font-weight: 600;
  color: #081537;
}

.account-default-option:has(input:disabled) {
  opacity: 0.85;
  cursor: default;
}

.account-settings-muted {
  font-size: 12px;
  color: #8c94a3;
}

.account-settings-empty {
  text-align: center;
  color: #5a6f94;
  font-size: 13px;
  padding: 20px;
}

.account-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.account-steps li {
  border: none;
  padding: 0;
  background: none;
  font-size: 10px;
  color: #8c94a3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.account-steps li span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8e3f5;
}

.account-steps li.is-done span {
  background: #2d9d6b;
}

.account-steps li.is-active {
  color: #0a53db;
  font-weight: 700;
}

.account-steps li.is-active span {
  background: #0a53db;
  box-shadow: 0 0 0 3px rgba(10, 83, 219, 0.2);
}

.account-progress {
  margin-top: 8px;
}

.account-progress__bar {
  height: 6px;
  border-radius: 999px;
  background: #e8eef8;
  overflow: hidden;
}

.account-progress__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #095dff, #0039d8);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.account-progress small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #5a6f94;
}

.withdraw-viral-card {
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #083d96 0%, #0052d9 55%, #004098 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 57, 216, 0.2);
  overflow: hidden;
}

.withdraw-viral-card[hidden] {
  display: none;
}

.viral-card__inner {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.viral-card__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffe566;
}

.viral-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.viral-card__meter {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.viral-card__meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.viral-card__meter-head strong {
  font-size: 14px;
  color: #ffe566;
}

.viral-card__meter-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.viral-card__meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe566, #ffc107);
  transition: width 0.35s ease;
}

.viral-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.viral-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  border: 0;
}

.viral-btn--primary {
  background: #fff;
  color: #0052d9;
}

.viral-btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.bind-drawer__sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: #5a6f94;
}

.bind-drawer__head {
  align-items: flex-start;
}

body.bind-drawer-open {
  overflow: hidden;
}
