body {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  font-family: Inter, system-ui, sans-serif;
  color: #002e6b;
}

.hc-edit-container {
  max-width: 720px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.hc-edit-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hc-edit-card h1 {
  margin-top: 0;
}

.hc-subtext {
  color: #666;
  margin-bottom: 2rem;
}

form label {
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

button {
  background: #bf9745;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
color:#002e6b;
}

.hc-status {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Make long text areas (like Favorite Verse) readable */
#favoriteVerse {
  display: block;
  min-height: 3.5rem;        /* makes the box visually taller */
  line-height: 1.6;
  white-space: pre-wrap;     /* preserves line breaks */
  word-break: break-word;    /* prevents overflow */
}

.hc-profile-preview {
  margin: 16px 0 24px;
  display: flex;
  justify-content: center;
}

.preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
}

.preview-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #bf9745;
}

.preview-name {
  font-weight: 600;
  font-size: 15px;
  color: #002e6b;
}


/* Live avatar preview (edit profile page only) */

/* Avatar live preview (edit page only) */
#avatarPreview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 2px solid #bf9745;
  background: #f5f5f5;
}


.hc-avatar-edit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hc-avatar-edit button {
  margin-top: 1rem;
}

.profile-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: none;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #002e6b;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 20px;
}

.profile-back-btn:hover {
  background: #f0f0f0;
  color: #bf9745;
}