/* ============================================================
   CHATELITE — PREMIUM ENTERPRISE WALLET
   Blue Gradient / Fintech Style
   ============================================================ */

.wallet-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.09), transparent 28%),
    #f5f8fc;
  color: #0f172a;
}

.wallet-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 110px;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.wallet-page-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.wallet-header-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, #2563eb 0%, #1d4ed8 48%, #0ea5e9 100%);
  box-shadow:
    0 12px 30px rgba(37, 99, 235, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wallet-header-icon svg {
  width: 27px;
  height: 27px;
}

.wallet-page-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.wallet-page-subtitle {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   UNIVERSAL CARD HEADING
   ============================================================ */

.wallet-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.wallet-card-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.wallet-card-heading p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

/* ============================================================
   WALLET SELECTOR CARD
   ============================================================ */

.wallet-selector-card {
  position: relative;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 10px 35px rgba(15, 23, 42, 0.055),
    0 2px 8px rgba(15, 23, 42, 0.025);
}

.wallet-selector-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

/* ============================================================
   WALLET SELECTOR BUTTON
   ============================================================ */

.wallet-selector {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  appearance: none;
}

.wallet-selector:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08);
}

.wallet-selector.active {
  border-color: #2563eb;
  background:
    linear-gradient(
      145deg,
      #eff6ff 0%,
      #ffffff 70%
    );
  box-shadow:
    0 8px 24px rgba(37, 99, 235, 0.12),
    inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.wallet-selector-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
}

.wallet-selector-icon svg {
  width: 20px;
  height: 20px;
}

.wallet-selector-main-icon {
  background:
    linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
}

.wallet-selector-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.wallet-selector-text strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wallet-selector-text small {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.wallet-selector-check {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e2e8f0;
  color: transparent;
  font-size: 12px;
  font-weight: 900;
  transition: 0.2s ease;
}

.wallet-selector.active .wallet-selector-check {
  background: #2563eb;
  color: #fff;
}

/* ============================================================
   WALLET TONES
   ============================================================ */

.wallet-tone-chat {
  color: #2563eb;
  background: #eff6ff;
}

.wallet-tone-transcription {
  color: #7c3aed;
  background: #f5f3ff;
}

.wallet-tone-translation {
  color: #0891b2;
  background: #ecfeff;
}

.wallet-tone-videos {
  color: #dc2626;
  background: #fef2f2;
}

.wallet-tone-surveys {
  color: #059669;
  background: #ecfdf5;
}

.wallet-tone-hotelreviews {
  color: #d97706;
  background: #fffbeb;
}

/* ============================================================
   MAIN BALANCE CARD
   ============================================================ */

.wallet-balance-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin-bottom: 20px;
  padding: 34px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(56, 189, 248, 0.28),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(59, 130, 246, 0.25),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #0f2f72 0%,
      #1746a2 45%,
      #075985 100%
    );
  box-shadow:
    0 20px 45px rgba(30, 64, 175, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.wallet-balance-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -120px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.wallet-balance-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: 15px;
  top: -100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.wallet-balance-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  top: -170px;
  left: 30%;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  filter: blur(30px);
  pointer-events: none;
}

.wallet-balance-icon {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.wallet-balance-icon svg {
  width: 22px;
  height: 22px;
}

.wallet-balance-currency {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.wallet-balance-value {
  position: relative;
  z-index: 2;
  display: block;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -1.5px;
}

.wallet-balance-label {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

/* ============================================================
   WITHDRAWAL CARD
   ============================================================ */

.wallet-withdrawal-card {
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.055);
}

/* ============================================================
   AMOUNT FIELD
   ============================================================ */

.wallet-amount-field {
  margin-top: 24px;
}

.wallet-amount-field label {
  display: block;
  margin-bottom: 9px;
  color: #334155;
  font-size: 13px;
  font-weight: 750;
}

.wallet-amount-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 66px;
  border: 1.5px solid #dbe3ee;
  border-radius: 15px;
  background: #f8fafc;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.wallet-amount-input-wrap:focus-within {
  border-color: #2563eb;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.09);
}

.wallet-input-currency {
  padding-left: 19px;
  color: #2563eb;
  font-size: 15px;
  font-weight: 800;
}

.wallet-amount-input {
  width: 100%;
  height: 100%;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 23px;
  font-weight: 750;
}

.wallet-amount-input::placeholder {
  color: #94a3b8;
  font-size: 16px;
  font-weight: 500;
}

.wallet-amount-input::-webkit-outer-spin-button,
.wallet-amount-input::-webkit-inner-spin-button {
  margin: 0;
}

/* ============================================================
   STATUS
   ============================================================ */

.wallet-withdrawal-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 13px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  transition: 0.2s ease;
}

.wallet-withdrawal-status.is-valid {
  background: #ecfdf5;
  color: #047857;
}

.wallet-withdrawal-status.is-invalid {
  background: #fff7ed;
  color: #c2410c;
}

.wallet-status-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-status-icon svg {
  width: 17px;
  height: 17px;
}

.wallet-status-message {
  flex: 1;
}

/* ============================================================
   CALCULATION CARD
   ============================================================ */

.wallet-calculation-card {
  margin-top: 20px;
  padding: 6px 18px;
  border: 1px solid #e5eaf1;
  border-radius: 16px;
  background: #f8fafc;
}

.wallet-calculation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
  border-bottom: 1px solid #e7edf4;
}

.wallet-calculation-row:last-child {
  border-bottom: 0;
}

.wallet-calculation-row > span {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.wallet-calculation-value {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.wallet-calculation-highlight {
  margin: 4px -10px;
  padding: 0 10px;
  border-radius: 11px;
  background: #eff6ff;
}

.wallet-calculation-highlight > span {
  color: #2563eb;
  font-weight: 750;
}

.wallet-receive-value {
  color: #2563eb;
  font-size: 16px;
}

.wallet-calculation-remaining .wallet-calculation-value {
  color: #64748b;
}

/* ============================================================
   WITHDRAW BUTTON
   ============================================================ */

.wallet-withdraw-btn {
  width: 100%;
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: #cbd5e1;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  cursor: not-allowed;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.wallet-withdraw-btn.is-ready {
  background:
    linear-gradient(
      135deg,
      #2563eb 0%,
      #1d4ed8 48%,
      #0284c7 100%
    );
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(37, 99, 235, 0.22);
}

.wallet-withdraw-btn.is-ready:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.28);
}

.wallet-withdraw-btn.is-ready:active {
  transform: translateY(0);
}

.wallet-withdraw-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-withdraw-btn-icon svg {
  width: 19px;
  height: 19px;
}

/* ============================================================
   SECURITY NOTE
   ============================================================ */

.wallet-security-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 19px 20px;
  border: 1px solid #bfdbfe;
  border-radius: 17px;
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #f8fbff 100%
    );
}

.wallet-security-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #dbeafe;
  color: #2563eb;
}

.wallet-security-icon svg {
  width: 19px;
  height: 19px;
}

.wallet-security-note strong {
  display: block;
  margin-bottom: 4px;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
}

.wallet-security-note p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

/* ============================================================
   FEE BREAKDOWN
   ============================================================ */

.wallet-fee-breakdown {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 10px 32px rgba(15, 23, 42, 0.045);
}

.wallet-fee-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 22px;
  border-bottom: 1px solid #e8edf3;
  background:
    linear-gradient(
      135deg,
      #f8fbff 0%,
      #fff 100%
    );
}

.wallet-fee-heading-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #dbeafe;
  color: #2563eb;
}

.wallet-fee-heading-icon svg {
  width: 18px;
  height: 18px;
}

.wallet-fee-heading strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.wallet-fee-heading span:not(.wallet-fee-heading-icon) {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
}

.wallet-fee-list {
  padding: 4px 22px;
}

.wallet-fee-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #edf1f5;
}

.wallet-fee-row:last-child {
  border-bottom: 0;
}

.wallet-fee-row span {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.wallet-fee-row strong {
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
}

.wallet-task-fee-note {
  margin: 0 22px 20px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {
  .wallet-selector-scroll {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 720px) {
  .wallet-page {
    width: min(100% - 24px, 600px);
    padding-top: 22px;
    padding-bottom: 95px;
  }

  .wallet-page-header {
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 20px;
  }

  .wallet-header-icon {
    width: 47px;
    height: 47px;
    flex-basis: 47px;
    border-radius: 14px;
  }

  .wallet-header-icon svg {
    width: 22px;
    height: 22px;
  }

  .wallet-page-title {
    font-size: 22px;
  }

  .wallet-page-subtitle {
    margin-top: 5px;
    font-size: 12px;
  }

  .wallet-selector-card,
  .wallet-withdrawal-card {
    padding: 19px;
    border-radius: 17px;
  }

  .wallet-card-heading {
    margin-bottom: 17px;
  }

  .wallet-selector-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 2px 7px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .wallet-selector-scroll::-webkit-scrollbar {
    display: none;
  }

  .wallet-selector {
    width: 220px;
    min-width: 220px;
    scroll-snap-align: start;
  }

  .wallet-balance-card {
    min-height: 190px;
    padding: 25px;
    border-radius: 20px;
  }

  .wallet-balance-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .wallet-balance-value {
    font-size: 38px;
  }

  .wallet-amount-input-wrap {
    height: 60px;
  }

  .wallet-amount-input {
    font-size: 20px;
  }

  .wallet-calculation-card {
    padding: 5px 13px;
  }

  .wallet-calculation-row {
    min-height: 50px;
  }

  .wallet-security-note {
    padding: 16px;
  }

  .wallet-fee-heading {
    padding: 17px;
  }

  .wallet-fee-list {
    padding: 4px 17px;
  }

  .wallet-task-fee-note {
    margin-left: 17px;
    margin-right: 17px;
  }
}

/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 430px) {
  .wallet-page {
    width: calc(100% - 18px);
    padding-top: 16px;
  }

  .wallet-page-title {
    font-size: 19px;
  }

  .wallet-page-subtitle {
    font-size: 11px;
  }

  .wallet-header-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .wallet-selector-card,
  .wallet-withdrawal-card {
    padding: 15px;
  }

  .wallet-selector {
    width: 205px;
    min-width: 205px;
    padding: 12px;
  }

  .wallet-selector-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .wallet-selector-text strong {
    font-size: 11px;
  }

  .wallet-selector-text small {
    font-size: 10px;
  }

  .wallet-balance-card {
    min-height: 175px;
    padding: 22px;
  }

  .wallet-balance-value {
    font-size: 34px;
  }

  .wallet-balance-label {
    font-size: 11px;
  }

  .wallet-calculation-row > span {
    font-size: 11px;
  }

  .wallet-calculation-value {
    font-size: 12px;
  }

  .wallet-receive-value {
    font-size: 14px;
  }

  .wallet-fee-row span,
  .wallet-fee-row strong {
    font-size: 11px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .wallet-selector,
  .wallet-withdraw-btn {
    transition: none;
  }
}

@media (max-width: 720px) {
  .wallet-selector-scroll {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    overflow: visible;
    padding: 0;
  }

  .wallet-selector {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 11px;
    gap: 8px;
    box-sizing: border-box;
  }

  .wallet-selector-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .wallet-selector-text {
    min-width: 0;
    overflow: hidden;
  }

  .wallet-selector-text strong {
    display: block;
    overflow: hidden;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .wallet-selector-text small {
    font-size: 10px;
    white-space: nowrap;
  }

  .wallet-selector-check {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .wallet-selector-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .wallet-selector {
    padding: 10px 8px;
    gap: 7px;
  }

  .wallet-selector-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  .wallet-selector-icon svg {
    width: 16px;
    height: 16px;
  }

  .wallet-selector-text strong {
    font-size: 9px;
  }

  .wallet-selector-text small {
    font-size: 9px;
  }

  .wallet-selector-check {
    display: none;
  }
}

/* =========================================================
   RECEIVING WALLET SELECT
   ========================================================= */

.wallet-receiving-wallet-field {
  width: 100%;
  margin-top: 18px;
}

.wallet-receiving-wallet-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.wallet-receiving-wallet-select-wrap {
  position: relative;
  width: 100%;
}

.wallet-receiving-wallet-select {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;

  display: block;
  width: 100%;
  min-height: 50px;

  padding: 0 14px;

  border: 1px solid #dbe4f0;
  border-radius: 12px;

  background: #ffffff !important;
  color: #0f172a !important;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  outline: none;
  cursor: pointer;

  box-sizing: border-box;
}

.wallet-receiving-wallet-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.wallet-receiving-wallet-select option {
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 14px;
  font-weight: 600;
}

/* Placeholder */
.wallet-receiving-wallet-select option[value=""] {
  color: #64748b !important;
  background: #ffffff !important;
}
/* ============================================================
   TEMPORARY RECEIVING WALLET DROPDOWN
   ============================================================ */

.ce-receiving-wallet {
  position: relative;
  width: 100%;
}

.ce-receiving-wallet-button {
  width: 100% !important;
  min-height: 54px !important;
  padding: 0 16px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  background: #ffffff !important;
  border: 1px solid #dbe5f1 !important;
  border-radius: 14px !important;

  color: #0f172a !important;

  font-size: 14px !important;
  font-weight: 600 !important;

  cursor: pointer !important;
  box-sizing: border-box !important;
}

.ce-receiving-wallet-label {
  display: block !important;
  color: #0f172a !important;
}

.ce-receiving-wallet-arrow {
  display: block !important;
  color: #2563eb !important;
  font-size: 11px !important;
}

.ce-receiving-wallet-menu {
  display: none;

  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;

  padding: 6px;

  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 14px;

  box-shadow:
    0 15px 40px rgba(15, 23, 42, 0.14);

  z-index: 1000;
  box-sizing: border-box;
}

.ce-receiving-wallet-menu.open {
  display: block;
}

.ce-receiving-wallet-option {
  width: 100% !important;

  display: block !important;

  padding: 13px 14px !important;
  margin: 0 !important;

  background: #ffffff !important;
  border: 0 !important;
  border-radius: 9px !important;

  color: #0f172a !important;

  text-align: left !important;
  font-size: 14px !important;
  font-weight: 600 !important;

  cursor: pointer !important;
}

.ce-receiving-wallet-option:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
}

.ce-receiving-wallet-option-name {
  display: block !important;
  color: inherit !important;
}

/* =========================================================
   RECEIVING WALLET
   ========================================================= */

.wallet-receiving-wallet-field {
  width: 100%;
  margin: 22px 0 24px;
}

.wallet-receiving-wallet-heading {
  margin-bottom: 14px;
}

.wallet-receiving-wallet-heading strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  text-transform: capitalize;
}

.wallet-receiving-wallet-heading span {
  display: block;
  font-size: 12px;
  color: #64748b;
}


/* =========================================================
   PROVIDER GRID
   ========================================================= */

.wallet-receiving-wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}


/* =========================================================
   PROVIDER CARD
   ========================================================= */

.wallet-receiving-wallet-option {
  position: relative;

  width: 100%;
  min-width: 0;
  min-height: 78px;

  display: flex;
  align-items: center;
  gap: 11px;

  padding: 12px 13px;

  border: 1px solid #e2e8f0;
  border-radius: 14px;

  background: #ffffff;

  cursor: pointer;
  text-align: left;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;

  box-sizing: border-box;
}

.wallet-receiving-wallet-option:hover {
  border-color: #93c5fd;
  background: #f8fbff;
  transform: translateY(-1px);
}

.wallet-receiving-wallet-option.active {
  border-color: #2563eb;
  background: linear-gradient(
    135deg,
    #eff6ff,
    #ffffff
  );

  box-shadow:
    0 5px 18px rgba(37, 99, 235, 0.12);
}


/* =========================================================
   LOGO
   ========================================================= */

.wallet-receiving-wallet-logo {
  flex: 0 0 44px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  overflow: hidden;
}

.wallet-receiving-wallet-logo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  padding: 6px;

  box-sizing: border-box;
}


/* =========================================================
   PROVIDER INFORMATION
   ========================================================= */

.wallet-receiving-wallet-info {
  min-width: 0;

  display: flex;
  flex: 1;

  flex-direction: column;
  justify-content: center;

  overflow: hidden;
}

.wallet-receiving-wallet-info strong {
  display: block;

  max-width: 100%;

  overflow: hidden;

  white-space: nowrap;
  text-overflow: ellipsis;

  font-size: 13px;
  font-weight: 800;

  color: #0f172a;

  line-height: 1.3;
}

.wallet-receiving-wallet-info small {
  display: block;

  margin-top: 4px;

  font-size: 11px;
  font-weight: 600;

  color: #64748b;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* =========================================================
   CHECK
   ========================================================= */

.wallet-receiving-wallet-check {
  flex: 0 0 22px;

  width: 22px;
  height: 22px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #e2e8f0;

  color: transparent;

  font-size: 12px;
  font-weight: 900;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.wallet-receiving-wallet-option.active
.wallet-receiving-wallet-check {
  background: #2563eb;

  color: #ffffff;

  transform: scale(1.05);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .wallet-receiving-wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wallet-receiving-wallet-option {
    min-height: 72px;

    padding: 10px;
    gap: 9px;
  }

  .wallet-receiving-wallet-logo {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 9px;
  }

  .wallet-receiving-wallet-logo img {
    padding: 5px;
  }

  .wallet-receiving-wallet-info strong {
    font-size: 12px;
  }

  .wallet-receiving-wallet-info small {
    font-size: 10px;
  }

  .wallet-receiving-wallet-check {
    flex: 0 0 19px;

    width: 19px;
    height: 19px;

    font-size: 10px;
  }

}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 380px) {

  .wallet-receiving-wallet-grid {
    gap: 8px;
  }

  .wallet-receiving-wallet-option {
    padding: 8px;
    gap: 7px;
  }

  .wallet-receiving-wallet-logo {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;
  }

  .wallet-receiving-wallet-info strong {
    font-size: 11px;
  }

  .wallet-receiving-wallet-info small {
    font-size: 9px;
  }

  .wallet-receiving-wallet-check {
    display: none;
  }

}

/* =========================================================
   WITHDRAWAL RECEIVING WALLET
   ========================================================= */

.wallet-receiving-wallet {
  margin-top: 22px;
}

.wallet-receiving-wallet-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.wallet-receiving-wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wallet-receiving-wallet-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 68px;
  padding: 11px 13px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.wallet-receiving-wallet-option:hover {
  border-color: #93c5fd;
  background: #f8fbff;
  transform: translateY(-1px);
}

.wallet-receiving-wallet-option.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
}

.wallet-receiving-wallet-logo {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f1f5f9;
  color: #2563eb;
  font-size: 18px;
}

.wallet-receiving-wallet-option.active
.wallet-receiving-wallet-logo {
  background: #ffffff;
}

.wallet-receiving-wallet-info {
  min-width: 0;
  flex: 1;
}

.wallet-receiving-wallet-name {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.wallet-receiving-wallet-operator {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
}

.wallet-receiving-wallet-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #ffffff;
  color: transparent;
  font-size: 12px;
  font-weight: 800;
}

.wallet-receiving-wallet-option.active
.wallet-receiving-wallet-check {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}


/* =========================================================
   COUNTRY GROUP
   ========================================================= */

.wallet-receiving-country {
  margin-bottom: 18px;
}

.wallet-receiving-country:last-child {
  margin-bottom: 0;
}

.wallet-receiving-country-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .wallet-receiving-wallet-grid {
    grid-template-columns: 1fr;
  }

  .wallet-receiving-wallet-option {
    min-height: 64px;
  }

}

.wallet-provider-field {
  margin-bottom: 16px;
}

.wallet-provider-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-ink, #101b33);
  margin-bottom: 8px;
}

.wallet-provider-empty p {
  font-size: 12.5px;
  color: var(--color-ink-soft, #5b6b8c);
  line-height: 1.5;
  padding: 12px 14px;
  background: var(--color-surface, #f4f7fc);
  border-radius: 10px;
}

.wallet-provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.wallet-provider-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border, #dfe6f5);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.wallet-provider-card:hover {
  border-color: var(--color-primary-light, #4c7fe0);
}

.wallet-provider-card.active {
  border-color: var(--color-primary, #1b4db1);
  background: var(--color-primary-tint, #e8effc);
}

.wallet-provider-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface, #f4f7fc);
}

.wallet-provider-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wallet-provider-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-primary, #1b4db1);
  background: var(--color-primary-tint, #e8effc);
}

.wallet-provider-text {
  min-width: 0;
}

.wallet-provider-text strong {
  display: block;
  font-size: 12.5px;
  color: var(--color-ink, #101b33);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-provider-text small {
  font-size: 11px;
  color: var(--color-ink-faint, #93a0bd);
}

.wallet-provider-check {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 11px;
  color: var(--color-primary, #1b4db1);
  opacity: 0;
}

.wallet-provider-card.active .wallet-provider-check {
  opacity: 1;
}

.wallet-withdraw-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: wallet-withdraw-spin 0.7s linear infinite;
  margin-right: 6px;
}

@keyframes wallet-withdraw-spin {
  to { transform: rotate(360deg); }
}