/* ========================================
   WALLET CONNECTION MODAL STYLES
   ======================================== */

/* Modal Overlay */
.wallet-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.wallet-modal-overlay.show {
  opacity: 1;
}

/* Modal Container */
.wallet-modal-container {
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.wallet-modal-overlay.show .wallet-modal-container {
  transform: scale(1);
}

.wallet-modal-content {
  background: #1A1C24;
  border-radius: 20px;
  border: 1px solid #2A2D3A;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 24px;
}

/* Header */
.wallet-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.wallet-icon-container {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #00D9FF, #8B5CF6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-icon-container svg {
  color: white;
}

.wallet-header-text {
  flex: 1;
}

.wallet-header-text h2 {
  color: white;
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 4px 0;
}

.wallet-header-text p {
  color: #9CA3AF;
  font-size: 13px;
  margin: 0;
}

.wallet-close-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.wallet-close-btn:hover {
  background: #2A2D3A;
  color: white;
}

/* Wallet Options */
.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Web3 Connect Button */
.wallet-option-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(139, 92, 246, 0.1));
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.wallet-option-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.wallet-option-btn:hover {
  border-color: #00D9FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

.wallet-option-btn:hover::before {
  left: 100%;
}

.wallet-option-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #00D9FF, #8B5CF6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-option-icon svg {
  color: white;
}

.wallet-option-text {
  flex: 1;
  text-align: left;
}

.wallet-option-text h3 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.wallet-option-text p {
  color: #9CA3AF;
  font-size: 13px;
  margin: 0;
}

.arrow-icon {
  color: #00D9FF;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.wallet-option-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2A2D3A, transparent);
}

.divider span {
  color: #6B7280;
  font-size: 13px;
  font-weight: 600;
  padding: 0 8px;
}

/* Manual Input Section */
.manual-input-section h3 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.input-description {
  color: #9CA3AF;
  font-size: 13px;
  margin: 0 0 20px 0;
}

/* Input Groups */
.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #00D9FF;
  pointer-events: none;
}

.wallet-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: #0D0E12;
  border: 1px solid #2A2D3A;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-family: 'monospace', monospace;
  transition: all 0.2s;
}

.wallet-input::placeholder {
  color: #6B7280;
}

.wallet-input:focus {
  outline: none;
  border-color: #00D9FF;
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.input-hint {
  color: #6B7280;
  font-size: 12px;
  font-style: italic;
  margin: 8px 0 0 0;
}

/* Checkbox */
.checkbox-group {
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px;
  background: #0D0E12;
  border: 1px solid #2A2D3A;
  border-radius: 8px;
  transition: all 0.2s;
}

.checkbox-label:hover {
  background: #1A1C24;
  border-color: #00D9FF;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #2A2D3A;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: #00D9FF;
  border-color: #00D9FF;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-text {
  color: #B8E6F0;
  font-size: 14px;
}

/* Info Box */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 8px;
  margin-bottom: 24px;
}

.info-box svg {
  color: #00D9FF;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box span {
  color: #B8E6F0;
  font-size: 12px;
  line-height: 1.5;
}

/* Connect Button */
.connect-btn {
  width: 100%;
  height: 48px;
  background: #00D9FF;
  color: #0D0E12;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  margin-bottom: 16px;
}

.connect-btn:hover:not(:disabled) {
  background: #00B8D9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
}

.connect-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.connect-btn svg {
  flex-shrink: 0;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Help Button */
.help-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: #00D9FF;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  text-decoration: underline;
  transition: all 0.2s;
}

.help-btn:hover {
  color: #00B8D9;
}

.help-btn svg {
  flex-shrink: 0;
}

/* ========================================
   HELP MODAL STYLES
   ======================================== */

.help-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.help-modal-overlay.show {
  opacity: 1;
}

.help-modal-container {
  max-width: 500px;
  width: 100%;
  background: #1A1C24;
  border-radius: 16px;
  border: 1px solid #2A2D3A;
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}

.help-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #2A2D3A;
}

.help-modal-header svg {
  color: #00D9FF;
  flex-shrink: 0;
}

.help-modal-header h2 {
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  flex: 1;
}

.help-close-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #9CA3AF;
  font-size: 28px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  line-height: 1;
  flex-shrink: 0;
}

.help-close-btn:hover {
  background: #2A2D3A;
  color: white;
}

.help-modal-content h3 {
  color: #00D9FF;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.help-modal-content h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px 0;
}

.help-steps {
  margin-bottom: 20px;
}

.help-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #B8E6F0;
  font-size: 13px;
}

.step-number {
  width: 24px;
  height: 24px;
  background: rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00D9FF;
  font-weight: bold;
  font-size: 12px;
  flex-shrink: 0;
}

.help-example,
.help-faucet {
  background: #2A2D3A;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.help-example p,
.help-faucet p {
  color: #9CA3AF;
  font-size: 12px;
  font-family: 'monospace', monospace;
  margin: 0;
  line-height: 1.6;
}

.help-faucet a {
  color: #00D9FF;
  text-decoration: none;
}

.help-faucet a:hover {
  text-decoration: underline;
}

.help-ok-btn {
  width: 100%;
  height: 48px;
  background: #00D9FF;
  color: #0D0E12;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.help-ok-btn:hover {
  background: #00B8D9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
}

/* ========================================
   WALLET PROFILE WIDGET
   ======================================== */

.wallet-profile-widget {
  position: relative;
}

.wallet-profile-button {
  height: 42px;
  padding: 0 16px;
  background: linear-gradient(135deg, #00D9FF, #8B5CF6);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
  transition: all 0.3s;
}

.wallet-profile-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

.wallet-status-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.wallet-address-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.wallet-short-address {
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.wallet-balance {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 500;
}

.wallet-dropdown-icon {
  color: white;
  transition: transform 0.3s;
}

.wallet-profile-button:hover .wallet-dropdown-icon {
  transform: translateY(2px);
}

/* ========================================
   NOTIFICATIONS
   ======================================== */

.wallet-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10002;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wallet-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.wallet-notification.success {
  background: linear-gradient(135deg, #00FF9C, #00D9FF);
}

.wallet-notification.error {
  background: linear-gradient(135deg, #FF006E, #FF4655);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
  .wallet-modal-container {
    max-height: 85vh;
  }

  .wallet-modal-content {
    padding: 20px;
  }

  .wallet-header-text h2 {
    font-size: 20px;
  }

  .wallet-option-text h3 {
    font-size: 15px;
  }

  .wallet-option-text p {
    font-size: 12px;
  }

  .wallet-notification {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .wallet-modal-content {
    padding: 16px;
  }

  .wallet-icon-container {
    width: 40px;
    height: 40px;
  }

  .wallet-option-icon {
    width: 40px;
    height: 40px;
  }

  .connect-btn {
    height: 44px;
    font-size: 15px;
  }
}

/* Scrollbar Styling */
.wallet-modal-container::-webkit-scrollbar,
.help-modal-container::-webkit-scrollbar {
  width: 8px;
}

.wallet-modal-container::-webkit-scrollbar-track,
.help-modal-container::-webkit-scrollbar-track {
  background: #0D0E12;
  border-radius: 4px;
}

.wallet-modal-container::-webkit-scrollbar-thumb,
.help-modal-container::-webkit-scrollbar-thumb {
  background: #2A2D3A;
  border-radius: 4px;
}

.wallet-modal-container::-webkit-scrollbar-thumb:hover,
.help-modal-container::-webkit-scrollbar-thumb:hover {
  background: #00D9FF;
}

/* ========================================
   WALLET PROFILE MODAL STYLES
   ======================================== */

.wallet-profile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.wallet-profile-overlay.show {
  opacity: 1;
}

.wallet-profile-container {
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.wallet-profile-overlay.show .wallet-profile-container {
  transform: scale(1);
}

.wallet-profile-content {
  background: #1A1C24;
  border-radius: 20px;
  border: 1px solid #2A2D3A;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 24px;
}

/* Profile Header */
.wallet-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.wallet-profile-icon-container {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00D9FF, #8B5CF6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-profile-icon-container svg {
  color: white;
}

.wallet-profile-header-text {
  flex: 1;
}

.wallet-details-label {
  color: #9CA3AF;
  font-size: 13px;
  margin: 0 0 8px 0;
}

.wallet-balance-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.wallet-balance-row svg {
  color: #FFA500;
  flex-shrink: 0;
}

.wallet-balance-value {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.wallet-total-usd {
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  color: #3B82F6;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
}

.wallet-profile-close-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.wallet-profile-close-btn:hover {
  background: #2A2D3A;
  color: white;
}

/* Rank Section */
.wallet-rank-section {
  padding: 16px;
  background: #0D0E12;
  border-radius: 12px;
  border: 1.5px solid rgba(139, 92, 246, 0.5);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-rank-info {
  flex: 1;
}

.wallet-rank-label {
  color: #9CA3AF;
  font-size: 12px;
  margin: 0 0 4px 0;
}

.wallet-rank-badge {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.wallet-view-progress-btn {
  padding: 8px 10px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 8px;
  color: #8B5CF6;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.wallet-view-progress-btn:hover {
  background: rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}

.wallet-view-progress-btn svg {
  flex-shrink: 0;
}

/* Info Sections */
.wallet-info-section,
.wallet-referral-section {
  padding: 16px;
  background: #0D0E12;
  border-radius: 12px;
  border: 1px solid #2A2D3A;
  margin-bottom: 16px;
}

.wallet-referral-section {
  border-color: rgba(139, 92, 246, 0.5);
}

.wallet-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wallet-info-label {
  color: #9CA3AF;
  font-size: 12px;
  font-weight: 500;
}

.wallet-copy-btn {
  background: transparent;
  border: none;
  color: #00D9FF;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.wallet-copy-btn:hover {
  background: rgba(0, 217, 255, 0.1);
}

.wallet-copy-btn.referral-copy {
  color: #8B5CF6;
}

.wallet-copy-btn.referral-copy:hover {
  background: rgba(139, 92, 246, 0.1);
}

.wallet-copy-btn svg {
  flex-shrink: 0;
}

.wallet-address-text {
  color: white;
  font-size: 13px;
  font-family: 'monospace', monospace;
  word-break: break-all;
  margin: 0;
  line-height: 1.5;
}

.wallet-referral-code {
  padding: 8px 12px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  color: #8B5CF6;
  font-size: 14px;
  font-weight: bold;
  font-family: 'monospace', monospace;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-align: center;
}

.wallet-referral-hint {
  color: #6B7280;
  font-size: 11px;
  font-style: italic;
  margin: 0;
  line-height: 1.4;
}

/* Balance Section */
.wallet-balance-section {
  padding: 16px;
  background: linear-gradient(135deg, #00D9FF, #8B5CF6);
  border-radius: 12px;
  margin-bottom: 16px;
}

.wallet-balance-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-balance-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin: 0 0 4px 0;
}

.wallet-balance-amount {
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.wallet-refresh-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.wallet-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.wallet-refresh-btn.spinning svg {
  animation: spin 0.8s linear;
}

/* Connection Status */
.wallet-connection-status {
  margin-bottom: 24px;
}

.connection-indicator {
  padding: 12px 16px;
  background: #0D0E12;
  border-radius: 8px;
  border: 1px solid #2A2D3A;
  display: flex;
  align-items: center;
  gap: 10px;
}

.connection-indicator.connected {
  border-color: rgba(0, 255, 156, 0.3);
  background: rgba(0, 255, 156, 0.05);
}

.connection-indicator.view-only {
  border-color: rgba(255, 165, 0, 0.3);
  background: rgba(255, 165, 0, 0.05);
}

.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.connection-indicator.connected .connection-dot {
  background: #00FF9C;
  box-shadow: 0 0 8px rgba(0, 255, 156, 0.6);
}

.connection-indicator.view-only .connection-dot {
  background: #FFA500;
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.6);
}

.connection-text {
  color: white;
  font-size: 13px;
  font-weight: 500;
}

/* Disconnect Button */
.wallet-disconnect-btn {
  width: 100%;
  height: 48px;
  background: #2A2D3A;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.wallet-disconnect-btn:hover {
  background: #3A3D4A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.wallet-disconnect-btn svg {
  flex-shrink: 0;
}

.wallet-profile-container::-webkit-scrollbar {
  width: 8px;
}

.wallet-profile-container::-webkit-scrollbar-track {
  background: #0D0E12;
  border-radius: 4px;
}

.wallet-profile-container::-webkit-scrollbar-thumb {
  background: #2A2D3A;
  border-radius: 4px;
}

.wallet-profile-container::-webkit-scrollbar-thumb:hover {
  background: #00D9FF;
}
EOF
cat /mnt/user-data/outputs/wallet_styles_additions.css
Output

/* ========================================
   WALLET PROFILE MODAL STYLES
   ======================================== */

.wallet-profile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.wallet-profile-overlay.show {
  opacity: 1;
}

.wallet-profile-container {
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.wallet-profile-overlay.show .wallet-profile-container {
  transform: scale(1);
}

.wallet-profile-content {
  background: #1A1C24;
  border-radius: 20px;
  border: 1px solid #2A2D3A;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 24px;
}

/* Profile Header */
.wallet-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.wallet-profile-icon-container {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00D9FF, #8B5CF6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-profile-icon-container svg {
  color: white;
}

.wallet-profile-header-text {
  flex: 1;
}

.wallet-details-label {
  color: #9CA3AF;
  font-size: 13px;
  margin: 0 0 8px 0;
}

.wallet-balance-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.wallet-balance-row svg {
  color: #FFA500;
  flex-shrink: 0;
}

.wallet-balance-value {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.wallet-total-usd {
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  color: #3B82F6;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
}

.wallet-profile-close-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.wallet-profile-close-btn:hover {
  background: #2A2D3A;
  color: white;
}

/* Rank Section */
.wallet-rank-section {
  padding: 16px;
  background: #0D0E12;
  border-radius: 12px;
  border: 1.5px solid rgba(139, 92, 246, 0.5);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-rank-info {
  flex: 1;
}

.wallet-rank-label {
  color: #9CA3AF;
  font-size: 12px;
  margin: 0 0 4px 0;
}

.wallet-rank-badge {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.wallet-view-progress-btn {
  padding: 8px 10px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 8px;
  color: #8B5CF6;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.wallet-view-progress-btn:hover {
  background: rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}

.wallet-view-progress-btn svg {
  flex-shrink: 0;
}

/* Info Sections */
.wallet-info-section,
.wallet-referral-section {
  padding: 16px;
  background: #0D0E12;
  border-radius: 12px;
  border: 1px solid #2A2D3A;
  margin-bottom: 16px;
}

.wallet-referral-section {
  border-color: rgba(139, 92, 246, 0.5);
}

.wallet-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wallet-info-label {
  color: #9CA3AF;
  font-size: 12px;
  font-weight: 500;
}

.wallet-copy-btn {
  background: transparent;
  border: none;
  color: #00D9FF;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.wallet-copy-btn:hover {
  background: rgba(0, 217, 255, 0.1);
}

.wallet-copy-btn.referral-copy {
  color: #8B5CF6;
}

.wallet-copy-btn.referral-copy:hover {
  background: rgba(139, 92, 246, 0.1);
}

.wallet-copy-btn svg {
  flex-shrink: 0;
}

.wallet-address-text {
  color: white;
  font-size: 13px;
  font-family: 'monospace', monospace;
  word-break: break-all;
  margin: 0;
  line-height: 1.5;
}

.wallet-referral-code {
  padding: 8px 12px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  color: #8B5CF6;
  font-size: 14px;
  font-weight: bold;
  font-family: 'monospace', monospace;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-align: center;
}

.wallet-referral-hint {
  color: #6B7280;
  font-size: 11px;
  font-style: italic;
  margin: 0;
  line-height: 1.4;
}

/* Balance Section */
.wallet-balance-section {
  padding: 16px;
  background: linear-gradient(135deg, #00D9FF, #8B5CF6);
  border-radius: 12px;
  margin-bottom: 16px;
}

.wallet-balance-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-balance-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin: 0 0 4px 0;
}

.wallet-balance-amount {
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.wallet-refresh-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.wallet-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.wallet-refresh-btn.spinning svg {
  animation: spin 0.8s linear;
}

/* Connection Status */
.wallet-connection-status {
  margin-bottom: 24px;
}

.connection-indicator {
  padding: 12px 16px;
  background: #0D0E12;
  border-radius: 8px;
  border: 1px solid #2A2D3A;
  display: flex;
  align-items: center;
  gap: 10px;
}

.connection-indicator.connected {
  border-color: rgba(0, 255, 156, 0.3);
  background: rgba(0, 255, 156, 0.05);
}

.connection-indicator.view-only {
  border-color: rgba(255, 165, 0, 0.3);
  background: rgba(255, 165, 0, 0.05);
}

.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.connection-indicator.connected .connection-dot {
  background: #00FF9C;
  box-shadow: 0 0 8px rgba(0, 255, 156, 0.6);
}

.connection-indicator.view-only .connection-dot {
  background: #FFA500;
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.6);
}

.connection-text {
  color: white;
  font-size: 13px;
  font-weight: 500;
}

/* Disconnect Button */
.wallet-disconnect-btn {
  width: 100%;
  height: 48px;
  background: #2A2D3A;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.wallet-disconnect-btn:hover {
  background: #3A3D4A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.wallet-disconnect-btn svg {
  flex-shrink: 0;
}

.wallet-profile-container::-webkit-scrollbar {
  width: 8px;
}

.wallet-profile-container::-webkit-scrollbar-track {
  background: #0D0E12;
  border-radius: 4px;
}

.wallet-profile-container::-webkit-scrollbar-thumb {
  background: #2A2D3A;
  border-radius: 4px;
}

.wallet-profile-container::-webkit-scrollbar-thumb:hover {
  background: #00D9FF;
}
