/* Settings Page Styles */
.settings-grid {
  grid-template-columns: 1fr;
  max-width: 720px; /* Generous card width */
}

.settings-links-list {
  display: flex;
  flex-direction: column;
}

.settings-link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tertiary);
  margin-bottom: 8px;
  color: var(--text-primary);
  border: 1px solid var(--border-color-muted);
  transition: all var(--transition-fast);
  font-weight: var(--weight-medium);
}

/* Subtle and premium hover states */
.settings-link-item:hover {
  background-color: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.06);
}

.settings-link-item i.text-muted {
  transition: color var(--transition-fast);
}

.settings-link-item:hover i.text-muted {
  color: var(--accent);
}

/* Account Management Menu Item / Entry Card */
.settings-nav-card {
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.settings-nav-card:hover {
  border-color: rgba(158, 240, 26, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.settings-entry-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: inherit;
}

.settings-entry-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(158, 240, 26, 0.08);
  border: 1px solid rgba(158, 240, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.settings-nav-card:hover .settings-entry-icon {
  background: rgba(158, 240, 26, 0.15);
  transform: scale(1.05);
}

.settings-entry-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.settings-nav-card:hover .settings-entry-arrow {
  background: var(--accent);
  color: #0b0f0c;
  transform: translateX(4px);
}

.badge-mgmt-pill {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
}

/* Management Section Styles */
.mgmt-fee-banner {
  background: linear-gradient(135deg, rgba(158, 240, 26, 0.08) 0%, rgba(8, 12, 9, 0.5) 100%);
  border: 1px solid rgba(158, 240, 26, 0.2);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 20px;
}

.mgmt-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mgmt-stat-box {
  display: flex;
  flex-direction: column;
}

.mgmt-stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mgmt-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

.mgmt-payment-box {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 16px;
}

.mgmt-address-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #090e0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-family: monospace;
  font-size: 13px;
  color: #ffffff;
}

.mgmt-address-text {
  word-break: break-all;
}

.mgmt-table-wrapper {
  margin-top: 20px;
  overflow-x: auto;
}

.mgmt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mgmt-table th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-secondary);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  text-transform: uppercase;
}

.mgmt-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.mgmt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.mgmt-status-processing {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.mgmt-status-successful {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.mgmt-status-rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Modal for Processing */
.mgmt-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.mgmt-modal-card {
  background: #101511;
  border: 1px solid rgba(158, 240, 26, 0.25);
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.mgmt-modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

