/* FuelDash V414 — final cascade for global notice editing and push feedback. */

/* The type selector is an ordinary feature field, not a smaller/bolder special control. */
html[data-fd-theme] body.fd-account-route-open .fd-push-notice-admin-card .fd-push-notice-type-field select {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 11px 14px !important;
  border: 1px solid var(--fd-r251-border-strong, #2a2a2e) !important;
  border-radius: var(--fd-r251-radius-control, 14px) !important;
  background: var(--fd-r251-control, #080808) !important;
  background-color: var(--fd-r251-control, #080808) !important;
  background-image: none !important;
  color: var(--fd-r251-text, #f5f5f7) !important;
  -webkit-text-fill-color: var(--fd-r251-text, #f5f5f7) !important;
  color-scheme: dark !important;
  font: inherit !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
}

html[data-fd-theme] body.fd-account-route-open .fd-push-notice-admin-card .fd-push-notice-type-field select:focus-visible {
  border-color: var(--fd-r251-red, #ff3b30) !important;
  outline: 0 !important;
  box-shadow: inset 0 0 0 1px var(--fd-r251-red, #ff3b30) !important;
}

/* Saving is an inline confirmation. It must not inherit the generic success surface. */
html[data-fd-theme] body.fd-account-route-open .fd-push-notice-admin-card [data-fd-push-notice-status] {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

html[data-fd-theme] body.fd-account-route-open .fd-push-notice-admin-card [data-fd-push-notice-status][data-type="success"] {
  color: var(--fd-admin-green, #30d158) !important;
}

html[data-fd-theme] body.fd-account-route-open .fd-push-notice-admin-card [data-fd-push-notice-status][data-type="error"] {
  color: var(--fd-admin-red, #ff7770) !important;
}

/* The bundled R328/R151 rules style this feedback gray later in the cascade. */
html[data-fd-theme] body:not(#fd-r328-price-alert-scope) .fd-alert-modal .fd-alert-action-feedback {
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

html[data-fd-theme] body:not(#fd-r328-price-alert-scope) .fd-alert-modal .fd-alert-action-feedback[data-type="success"] {
  color: #30d158 !important;
}

html[data-fd-theme] body:not(#fd-r328-price-alert-scope) .fd-alert-modal .fd-alert-action-feedback[data-type="error"] {
  color: #ff7770 !important;
}
