/* =========================================
   Padel Wallet Styles (dark theme)
   ========================================= */
.padel-wallet {
  max-width: 100%;
}
.padel-wallet__container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.padel-wallet__balance-section {
  display: flex;
}
.padel-wallet__balance-card {
  background: #0a1a24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  min-width: 220px;
}
.padel-wallet__balance-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.padel-wallet__balance-amount {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: #d7ff3f;
}
.padel-wallet__section-title {
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}
.padel-wallet__topup-section, .padel-wallet__transactions-section {
  background: #0a1a24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
}
.padel-wallet__topup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 420px;
}
.padel-wallet__topup-form .form-field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.padel-wallet__topup-form .form-field label {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.85rem;
}
.padel-wallet__topup-form .form-field input[type=number] {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  transition: border-color 0.15s;
}
.padel-wallet__topup-form .form-field input[type=number]:focus {
  outline: none;
  border-color: #00c2b8;
  box-shadow: 0 0 0 1px #00c2b8;
}
.padel-wallet__topup-form .form-actions {
  display: flex;
  gap: 0.75rem;
  margin: 0;
}
.padel-wallet__quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}
.padel-wallet__quick-amount {
  appearance: none;
  background: rgba(0, 194, 184, 0.1);
  border: 1px solid rgba(0, 194, 184, 0.3);
  border-radius: 8px;
  color: #00c2b8;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.5rem 0.85rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.padel-wallet__quick-amount:hover, .padel-wallet__quick-amount.is-active {
  background: linear-gradient(135deg, #00c2b8 0%, #d7ff3f 100%);
  border-color: transparent;
  color: #08131a;
}
.padel-wallet__topup-hint {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}
.padel-wallet__tx-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.padel-wallet__tx {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  border-left: 3px solid rgba(255, 255, 255, 0.16);
}
.padel-wallet__tx--credit {
  border-left-color: #00c2b8;
}
.padel-wallet__tx--debit {
  border-left-color: #f87171;
}
.padel-wallet__tx-body {
  min-width: 0;
  flex: 1;
}
.padel-wallet__tx-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
}
.padel-wallet__tx-desc {
  margin: 0;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  word-break: break-word;
}
.padel-wallet__tx-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
}
.padel-wallet__tx-meta .woocommerce-Price-amount {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.padel-wallet__tx-dot {
  opacity: 0.6;
}
.padel-wallet__tx-sum {
  flex-shrink: 0;
  text-align: right;
  padding-top: 0.15rem;
}
.padel-wallet__type {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.padel-wallet__type--credit {
  background: rgba(0, 194, 184, 0.12);
  color: #00c2b8;
  border: 1px solid rgba(0, 194, 184, 0.3);
}
.padel-wallet__type--debit {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.padel-wallet__amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-weight: 700;
  white-space: nowrap;
}
.padel-wallet__amount .woocommerce-Price-amount {
  font-weight: inherit;
}
.padel-wallet__amount--credit {
  color: #00c2b8;
}
.padel-wallet__amount--debit {
  color: #f87171;
}
.padel-wallet__no-transactions {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  padding: 3rem 1.5rem;
  font-style: italic;
}
.padel-wallet__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1rem;
}
.padel-wallet__pagination-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #00c2b8;
  border: 1px solid rgba(0, 194, 184, 0.35);
  border-radius: 8px;
  text-decoration: none;
  background: rgba(0, 194, 184, 0.1);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.padel-wallet__pagination-link:hover {
  background: linear-gradient(135deg, #00c2b8 0%, #d7ff3f 100%);
  color: #08131a;
  border-color: transparent;
  text-decoration: none;
}
.padel-wallet__pagination-current {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.padel-button--primary,
.padel-wallet__topup-form button[type=submit] {
  background: linear-gradient(135deg, #00c2b8 0%, #d7ff3f 100%);
  color: #08131a;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.padel-button--primary:hover,
.padel-wallet__topup-form button[type=submit]:hover {
  background: linear-gradient(135deg, #00a39b 0%, #b8d936 100%);
  color: #08131a;
}

@media (max-width: 768px) {
  .padel-wallet__balance-card {
    width: 100%;
    min-width: 0;
  }
  .padel-wallet__balance-amount {
    font-size: 2rem;
  }
  .padel-wallet__topup-form {
    max-width: 100%;
  }
  .padel-wallet__transactions-section {
    padding: 1rem;
  }
  .padel-wallet__tx {
    padding: 0.85rem 0.9rem;
  }
  .padel-wallet__tx-sum .padel-wallet__amount {
    font-size: 0.95rem;
  }
}
