.section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 8px 0 12px;
}

/* ---------- Page profil (hub) ---------- */

.account-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  margin-bottom: 24px;
}

.account-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.account-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-card__avatar .icon {
  width: 32px;
  height: 32px;
}

.account-card__info h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 2px;
}

.account-card__info p {
  font-size: 13.5px;
  color: var(--color-muted);
  margin: 0;
}

.account-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.account-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.account-list-item:hover {
  border-color: var(--color-primary);
}

.account-list-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-secondary-soft);
  color: var(--color-primary);
  flex-shrink: 0;
}

.account-list-item__icon .icon {
  width: 18px;
  height: 18px;
}

.account-list-item__label {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
}

.account-list-item__chevron {
  display: flex;
  color: var(--color-muted);
  flex-shrink: 0;
}

.account-list-item__chevron .icon {
  width: 18px;
  height: 18px;
}

.btn-danger-soft {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-danger-soft:hover {
  background: rgba(192, 57, 43, 0.14);
}

.btn-danger-soft .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Avatar upload (informations personnelles) ---------- */

.avatar-upload {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.avatar-upload__preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-upload__preview .icon {
  width: 36px;
  height: 36px;
}

.avatar-upload__edit {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
}

.avatar-upload__edit .icon {
  width: 14px;
  height: 14px;
}

.avatar-upload__hint {
  font-size: 13px;
  color: var(--color-muted);
}

/* ---------- Formulaire ---------- */

.profile-form .field {
  margin-bottom: 16px;
}

.profile-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.profile-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
}

.profile-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.12);
}

.profile-form input:disabled {
  background: var(--color-secondary-soft);
  color: var(--color-muted);
}

.profile-form textarea {
  width: 100%;
  min-height: 140px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  resize: vertical;
}

.profile-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.12);
}

/* ---------- Modale de confirmation ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 34, 27, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  max-width: 320px;
  width: 100%;
  text-align: center;
}

.modal-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-secondary-soft);
  color: var(--color-primary);
  margin: 0 auto 16px;
}

.modal-card__icon .icon {
  width: 28px;
  height: 28px;
}

.modal-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 20px;
}

/* ---------- Moyens de paiement ---------- */

.payment-method-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-method-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
}

.payment-method-row__brand {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
  width: 40px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.payment-method-row__info {
  flex: 1;
  min-width: 0;
}

.payment-method-row__info strong {
  font-size: 14.5px;
}

.payment-method-row__info p {
  font-size: 12.5px;
  color: var(--color-muted);
  margin: 2px 0 0;
}

.payment-method-row__delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  border-radius: 8px;
  color: var(--color-muted);
  cursor: pointer;
  flex-shrink: 0;
}

.payment-method-row__delete:hover {
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
}

.payment-method-row__delete .icon {
  width: 17px;
  height: 17px;
}

.btn-add-dashed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-add-dashed:hover {
  background: var(--color-secondary-soft);
}

.btn-add-dashed .icon {
  width: 17px;
  height: 17px;
}

.card-element-wrapper {
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 20px;
}
