/* Network Selector */
.network-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.network-selector label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

#network-select {
  padding: 10px 12px;
  font-size: 14px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
  min-width: 200px;
}

#network-select:hover {
  border-color: #6366f1;
}

#network-select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Divider */
.divider {
  margin: 30px 0;
  border: none;
  border-top: 2px solid #e5e7eb;
}

/* Address Input Group */
.address-input-group {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

#address-input {
  flex: 1;
  min-width: 250px;
  padding: 12px;
  font-size: 14px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  transition: border-color 0.3s ease;
}

#address-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

#address-input::placeholder {
  color: #9ca3af;
}

/* Wallet Info Box */
.wallet-info {
  background-color: #f0f4ff;
  border-left: 4px solid #6366f1;
  padding: 16px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

.wallet-info a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
}

.wallet-info a:hover {
  text-decoration: underline;
}

/* Setup Note Box */
.setup-note {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 16px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

.setup-note a {
  color: #d97706;
  text-decoration: none;
  font-weight: 600;
}

.setup-note a:hover {
  text-decoration: underline;
}

.setup-note code {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
}

/* Button Group */
.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.btn-primary, .btn-secondary {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.btn-primary {
  background-color: #6366f1;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-primary:disabled {
  background-color: #c7d2fe;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-secondary {
  background-color: #e0e7ff;
  color: #6366f1;
  border: 2px solid #6366f1;
}

.btn-secondary:hover:not(:disabled) {
  background-color: #c7d2fe;
  transform: translateY(-2px);
}

.btn-secondary:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  border-color: #d1d5db;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Status and Score Display */
#health-status, #health-score {
  margin-top: 20px;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  min-height: 24px;
}

#health-status {
  color: #666;
}

#health-score {
  color: #16a34a;
  font-size: 18px;
  font-weight: 700;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .button-group {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .address-input-group {
    flex-direction: column;
  }

  #address-input {
    width: 100%;
    min-width: unset;
  }

  .wallet-info {
    padding: 12px;
    font-size: 13px;
  }
}
