/* /css/nodeConfig.css */

/* === PROFILE EDIT CONTAINER === */
.profile-edit {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 20px;
  margin: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.profile-edit h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
  color: var(--accent);
  font-family: 'Space Grotesk';
}

/* === FORM LABELS === */
.profile-edit label {
  display: block;
  margin: 12px 0 6px;
  font-size: 14px;
  font-weight: bold;
  color: var(--text);
}

/* === INPUTS & TEXTAREA === */
.profile-edit input,
.profile-edit textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--divider);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter';
  margin-bottom: 12px;
}

.profile-edit input::placeholder,
.profile-edit textarea::placeholder {
  color: #9AA4AF;
  font-size: 13px;
}

.profile-edit textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

/* === BUTTONS === */
#save-profile,
#cancel-edit,
#save-avatar-url {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

#save-profile,
#save-avatar-url {
  background: var(--accent);
  color: #000;
}

#save-profile:hover,
#save-avatar-url {
  background: var(--hover);
  color: var(--white);
  transform: scale(1.05);
}

#cancel-edit {
  background: #ff4d4d;
  color: #fff;
}

#cancel-edit:hover {
  background: #cc0000;
  transform: scale(1.05);
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
  .profile-edit {
    max-width: 640px;
    margin: 20px auto;
  }
}
