/**
 * Solana Wallet Integration Styles
 * Custom styles for Web3 authentication UI
 */

/* Web3 Login Section */
.web3-login-section {
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.05) 0%, rgba(20, 241, 149, 0.05) 100%);
  border: 2px solid rgba(153, 69, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.web3-login-section:hover {
  border-color: rgba(153, 69, 255, 0.4);
  box-shadow: 0 4px 12px rgba(153, 69, 255, 0.15);
}

.web3-login-header {
  text-align: center;
  margin-bottom: 10px;
}

.web3-login-header .badge {
  font-size: 12px;
  padding: 6px 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Solana Connect Button */
.btn.js_solana-login {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(153, 69, 255, 0.3);
}

.btn.js_solana-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(153, 69, 255, 0.4);
}

.btn.js_solana-login:active {
  transform: translateY(0);
}

.btn.js_solana-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn.js_solana-login:hover::before {
  left: 100%;
}

/* Wallet Status Indicators */
.solana-wallet-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.solana-wallet-status.connected {
  background: rgba(20, 241, 149, 0.1);
  color: #14F195;
  border: 1px solid rgba(20, 241, 149, 0.3);
}

.solana-wallet-status.disconnected {
  background: rgba(153, 69, 255, 0.1);
  color: #9945FF;
  border: 1px solid rgba(153, 69, 255, 0.3);
}

.solana-wallet-status i {
  margin-right: 5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Wallet Address Display */
.solana-wallet-address {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.05);
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Loading States */
.solana-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.solana-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .web3-login-section {
    padding: 15px;
  }
  
  .btn.js_solana-login {
    font-size: 14px;
    padding: 12px 20px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .web3-login-section {
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.1) 0%, rgba(20, 241, 149, 0.1) 100%);
    border-color: rgba(153, 69, 255, 0.3);
  }
  
  .solana-wallet-address {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
  }
}

/* Admin Panel Styles */
.admin-solana-wallet-info {
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.05) 0%, rgba(20, 241, 149, 0.05) 100%);
  border-left: 4px solid #9945FF;
  padding: 12px;
  border-radius: 6px;
  margin-top: 10px;
}

.admin-solana-wallet-info .wallet-address {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #9945FF;
  font-weight: 600;
}

/* Settings Page Styles */
.settings-solana-section {
  border: 2px solid rgba(153, 69, 255, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.03) 0%, rgba(20, 241, 149, 0.03) 100%);
}

.settings-solana-section:hover {
  border-color: rgba(153, 69, 255, 0.4);
}

/* Made with Bob */
