/**
 * TeraWallet (woo-wallet) — checkout, account, partial payment
 */

.stedrino-terawallet-active .woo-wallet-my-wallet,
.stedrino-terawallet-active .woo-wallet-transactions,
.stedrino-terawallet-active .woo-wallet-content {
  background: var(--st-surface);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-sm);
  padding: 1.25rem;
}

.stedrino-terawallet-active .woo-wallet-transactions table {
  width: 100%;
  border-collapse: collapse;
}

.stedrino-terawallet-active .woo-wallet-transactions th,
.stedrino-terawallet-active .woo-wallet-transactions td {
  padding: 0.65rem 0.5rem;
  border-block-end: 1px solid var(--st-border);
  font-size: 0.9rem;
}

.stedrino-checkout-form #partial_wallet_payment_container,
.stedrino-terawallet-active #partial_wallet_payment_container {
  margin-block: 1rem 1.25rem;
  padding: 1rem;
  background: #f0f7ff;
  border: 1px solid #c5daf0;
  border-radius: var(--st-radius-sm);
}

.stedrino-terawallet-active .woocommerce-checkout-payment .payment_method_woo_wallet label {
  font-weight: 600;
  color: var(--st-navy);
}

.stedrino-header__wallet {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  margin-inline-end: 0.35rem;
  border-radius: var(--st-radius-pill);
  background: #eef4fb;
  color: var(--st-navy);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.stedrino-header__wallet:hover {
  background: var(--st-navy);
  color: #fff;
}

.stedrino-header__wallet-balance {
  color: var(--st-pink);
}

.stedrino-header__wallet:hover .stedrino-header__wallet-balance {
  color: #fff;
}

@media (min-width: 769px) {
  .stedrino-terawallet-active .stedrino-header__wallet {
    display: inline-flex;
  }
}

.stedrino-wallet-page .woo-wallet-my-wallet {
  max-width: var(--st-container);
  margin-inline: auto;
}

.stedrino-wallet-notices .woocommerce-info,
.stedrino-wallet-notices .woocommerce-message {
  margin-block-end: 1rem;
}
