/* profile-page.css — soften the Bootstrap profile accordion/form so it sits
   inside the new db-* shell. Form markup/logic (profile.js) unchanged. */

/* each section is its own light block — no big wrapper card */
.profile-shell .accordion { background: transparent; border: none; border-radius: 0; padding: 0; }
.profile-shell .accordion-item {
  background: var(--card) !important;
  border: 1.5px solid #8fb2e6 !important; /* darker light-blue border for a crisp, modern edge */
  border-radius: 14px !important;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* unified accordion colors: one consistent light-blue header (design-system
   primary-soft) in both states, with a darker blue divider under open headers */
.profile-shell .accordion-button {
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -.2px;
  padding: 13px 16px;
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 0;
  background: var(--primary-soft);
  color: var(--ink);
}
.profile-shell .accordion-button.collapsed:hover { background: #dce8fa; }
.profile-shell .accordion-button:not(.collapsed) {
  background: var(--primary-soft);
  color: var(--ink);
  box-shadow: inset 0 -1px 0 #8fb2e6;
}
.profile-shell .accordion-button:focus { box-shadow: none; border-color: transparent; }
.profile-shell .accordion-body { padding: 12px 16px 10px; }
.profile-shell .card { border: 1px solid var(--line); border-radius: 14px; box-shadow: none; }

/* form controls */
.profile-shell .form-control,
.profile-shell .form-select {
  border-radius: 10px; border-color: var(--line2); font-weight: 600; color: var(--ink);
}
.profile-shell .form-control:focus,
.profile-shell .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.profile-shell .form-label { font-weight: 700; color: var(--ink); font-size: 13px; }

/* buttons */
.profile-shell .btn-primary {
  background: var(--primary); border-color: var(--primary); border-radius: 10px; font-weight: 700;
}
.profile-shell .btn-primary:hover { background: var(--primary-700); border-color: var(--primary-700); }
.profile-shell .btn-success { border-radius: 10px; font-weight: 700; }

/* tighter field spacing + stronger primary actions */
.profile-shell .mb-3 { margin-bottom: .6rem !important; }
.profile-shell .mb-4 { margin-bottom: .85rem !important; }
.profile-shell .form-control, .profile-shell .form-select { padding: 8px 12px; font-size: 13.5px; }
.profile-shell .btn-primary, .profile-shell .btn-success {
  border: none; border-radius: 10px; font-weight: 700; padding: 9px 18px;
  box-shadow: 0 1px 2px rgba(20,30,45,.06), 0 2px 8px rgba(47,95,192,.18);
}
.profile-shell .btn-success { background: var(--green); box-shadow: 0 1px 2px rgba(20,30,45,.06), 0 2px 8px rgba(78,134,29,.22); }
.profile-shell .btn-success:hover { background: #3f6d17; }
