/*
 * Tints the ban actions in the Users changelist actions dropdown.
 *
 * BEST-EFFORT ONLY. Chrome and Firefox on Windows honour <option> background
 * colours; Safari/macOS ignores them entirely. The colour-coded "Account
 * status" column (bans/admin.py: UserAdminWithBans.account_status) is the
 * reliable colour surface — this is a bonus, never the thing to rely on.
 *
 * Registered via JAZZMIN_SETTINGS["custom_css"] in settings.py.
 */

select[name="action"] option[value^="ban_"] {
  background-color: #fff3cd;
  color: #7a5b00;
}

select[name="action"] option[value="ban_permanent"] {
  background-color: #f8d7da;
  color: #8b0000;
  font-weight: 700;
}

select[name="action"] option[value="unban_selected"] {
  background-color: #d4edda;
  color: #14532d;
}

select[name="action"] option[value="hard_delete_selected"] {
  background-color: #f5c6cb;
  color: #6b0000;
  font-weight: 700;
}
