/* Profile-specific styles extending the base style.css */

.profile-card {
  width: 500px;
  max-width: 90vw;
  padding: 40px;
}

.profile-section {
  width: 100%;
}

.profile-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.avatar-container {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  border: 3px solid rgba(108, 92, 231, 0.3);
}

.wallet-info {
  font-size: 14px;
  opacity: 0.7;
  margin: 5px 0;
}

.wallet-address {
  font-family: monospace;
  font-size: 16px;
  color: #6c5ce7;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.settings-group {
  margin-bottom: 30px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  opacity: 0.9;
}

.setting-item {
  margin-bottom: 20px;
}

.setting-item label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.setting-item input[type="text"],
.setting-item input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.setting-item input[type="text"]:focus,
.setting-item input[type="email"]:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: #6c5ce7;
}

.setting-item input[type="text"]::placeholder,
.setting-item input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Toggle Switch Styles */
.setting-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.toggle-info {
  flex: 1;
}

.toggle-info label {
  margin-bottom: 2px;
  font-weight: 500;
}

.setting-description {
  display: block;
  font-size: 12px;
  opacity: 0.6;
  margin-top: 2px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin-left: 15px;
}

.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: 0.3s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #6c5ce7;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

/* Button Styles */
.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.disconnect-btn {
  background: rgba(244, 67, 54, 0.1);
  border-color: rgba(244, 67, 54, 0.3);
  color: #f44336;
}

.disconnect-btn:hover {
  background: rgba(244, 67, 54, 0.2);
  border-color: rgba(244, 67, 54, 0.5);
}

.action-buttons {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.save-btn {
  background: #6c5ce7;
}

.save-btn:hover {
  background: #5a4ed1;
}

.back-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 600px) {
  .profile-card {
    width: 100%;
    padding: 30px 20px;
  }

  .section-title {
    font-size: 14px;
  }

  .setting-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .toggle-switch {
    margin-left: 0;
  }
}
