/*C:\Users\LENOVO\Desktop\FLOYNEX_APP\frontend\css\wallet.css*/
.wallet-container {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 10px 14px 10px !important;
  background: #f4f7fa;
  height: auto !important;
  min-height: auto !important;
  box-sizing: border-box;
  overflow-y: auto !important;
}

/* Decorative corner ribbons */
.wallet-container::before,
.wallet-container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Upper-left sweeping ribbons */
.wallet-container::before {
  background:
    linear-gradient(
      132deg,
      transparent 0%,
      transparent 9%,
      rgba(65, 184, 92, 0.09) 9.2%,
      rgba(65, 184, 92, 0.09) 17%,
      transparent 17.2%,
      transparent 21%,
      rgba(65, 184, 92, 0.055) 21.2%,
      rgba(65, 184, 92, 0.055) 25%,
      transparent 25.2%
    );
}

/* Lower-right sweeping ribbons */
.wallet-container::after {
  background:
    linear-gradient(
      312deg,
      transparent 0%,
      transparent 10%,
      rgba(65, 184, 92, 0.09) 10.2%,
      rgba(65, 184, 92, 0.09) 18%,
      transparent 18.2%,
      transparent 22%,
      rgba(65, 184, 92, 0.055) 22.2%,
      rgba(65, 184, 92, 0.055) 26%,
      transparent 26.2%
    );
}

/* WALLET HEADER */
.wallet-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 4px 16px 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.wallet-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wallet-icon-circle {
  width: 58px;
  height: 58px;
  background-color: rgba(65, 184, 92, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-header-icon {
  font-size: 2.25rem;
  color: #41b85c;
}

.wallet-text-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wallet-header-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
}

.wallet-header-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

/* WALLET BALANCE CARD */
.wallet-balance-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.balance-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.3px;
}

.balance-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.balance-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.balance-currency {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #41b85c;
  letter-spacing: 1.5px;
  transform: translateY(-2px);
}

.balance-value {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.1rem, 5vw, 2rem);
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  text-align: right;
}

.balance-eye-icon {
  font-size: 1.15rem;
  cursor: pointer;
  user-select: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  padding: 4px;
}

.balance-eye-icon:hover {
  opacity: 1;
}

@media (max-width: 380px) {
  .balance-value {
    font-size: 1.65rem;
  }
  .balance-currency {
    font-size: 1.9rem;
  }
}

/* ACCOUNT STATUS SECTION (Perfect Column Grid Alignment) */
.account-status-section {
  margin-top: 0;
  margin-bottom: 16px;
}

.account-status-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 2px;
}

.account-status-panel {
  background: #eaf5ed;
  border: 1px solid rgba(65, 184, 92, 0.12);
  border-radius: 12px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.account-status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  align-items: center;
  text-align: center;
}

.account-status-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
}

.status-badge {
  display: inline-block;
  width: auto;
  margin: 0 auto;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  background: #e2e8f0;
  color: #475569;
  text-align: center;
}

.status-badge.green {
  background: #dcfce7;
  color: #15803d;
}

.status-badge.red {
  background: #fee2e2;
  color: #b91c1c;
}

.status-badge.orange {
  background: #ffedd5;
  color: #c2410c;
}
/* ACCOUNT INFORMATION SECTION */
.account-info-section {
  margin-top: 0;
  margin-bottom: 20px;
}

.account-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 2px;
}

.account-info-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 4px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.account-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px solid #edf1f5;
  min-width: 0;
}

.account-info-item:last-child {
  border-bottom: none;
}

.account-info-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(65, 184, 92, 0.10);
  color: #41b85c;
  font-size: 1rem;
}

.account-info-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.account-info-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.account-info-details strong {
  font-size: 0.9rem;
  color: #1e293b;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-number-item strong {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  color: #15803d;
}
/* WALLET PAGE FINAL FIXES */

/* 1. Make account number look normal and clear */
.account-number-item strong {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #15803d;
}

/* 2. Keep decorative background fixed while scrolling */
.wallet-container::before,
.wallet-container::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

/* Keep wallet content above the decorative background */
.wallet-container {
  position: relative;
  background: #f4f7fa;
  box-sizing: border-box;
  padding-bottom: 110px !important;
}

/* 3. Give the last account information item room
      above the existing bottom navigation */
.account-info-section {
  margin-bottom: 25px;
}

.account-info-panel {
  margin-bottom: 10px;
}

/* Prevent content from being squeezed on small screens */
.account-info-item,
.account-info-details {
  min-width: 0;
}

.account-info-details strong {
  overflow-wrap: anywhere;
}