/**
 * Mes préférences de livraison — shell Swiss (ivoire) + formulaire
 * Complète client-premium.css
 */

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences {
  color: #211914;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .page-content {
  padding: 1rem 1.25rem 2.5rem;
  max-width: 44rem;
  margin: 0 auto;
  width: 100%;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .card,
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .client-profil-card {
  background: #fffdf9;
  border: 1px solid #e4d5c8;
  color: #211914;
  border-radius: 1rem;
  box-shadow: none;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .card__title {
  color: #211914;
  border-bottom-color: #e4d5c8;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .card-header {
  border-bottom-color: #e4d5c8;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .text-muted {
  color: #4f453e;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .field__label,
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences legend.field__label {
  color: #211914;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .field__input,
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences textarea.field__input {
  background: #fffdf9;
  border: 1px solid #cdb9a8;
  color: #211914;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .field__input::placeholder {
  color: rgba(79, 69, 62, 0.72);
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .field__error {
  color: #7f1d1d;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .client-profil__actions {
  padding-top: 0.25rem;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-options {
  display: grid;
  gap: 0.75rem;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radios {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-option,
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radio {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #e4d5c8;
  border-radius: 0.75rem;
  background: #fff7ef;
  color: #211914;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radio {
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-option:hover,
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radio:hover {
  border-color: #d4a27c;
  background: #f8efe6;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-option:has(input:checked),
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radio:has(input:checked) {
  border-color: #a96d40;
  background: #f0dfd1;
  box-shadow: inset 0 0 0 1px rgba(169, 109, 64, 0.25);
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-option:has(input:disabled),
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radio:has(input:disabled) {
  opacity: 0.72;
  cursor: not-allowed;
  background: #f3ebe3;
  border-color: #e4d5c8;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-option__label,
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-option span,
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radio span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #211914;
  font-weight: 600;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-option input[type="checkbox"],
body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radio input[type="radio"] {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  accent-color: #a96d40;
  cursor: pointer;
}

body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radio input[type="radio"] {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 767px) {
  body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences .page-content {
    padding: 1rem 0.75rem 2rem;
  }

  body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-option,
  body.client-premium.client-swiss-shell .portal-main.client-delivery-preferences #preferences-form .delivery-pref-radio {
    padding: 0.95rem 1rem;
  }
}
