.contrast,
.contrast nav,
.contrast div,
.contrast li,
.contrast ol,
.contrast footer,
.contrast section,
.contrast main,
.contrast aside,
.contrast article {
  background: black !important;
  color: white !important;
}

.contrast header {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), 
    url("/static/core/img/background.02f002383535.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
  background-blend-mode: luminosity !important;
  color: white !important;
}

.contrast header::before {
  background-image: none;
}

.contrast header div {
  background: transparent !important;
}

.contrast a.btn {
  background: black !important;
  color: yellow !important;
  border-color: white;
}

.contrast h1,
.contrast h2,
.contrast h3,
.contrast h4,
.contrast h5,
.contrast h6,
.contrast p,
.contrast label,
.contrast strong,
.contrast em,
.contrast cite,
.contrast q,
.contrast i,
.contrast b,
.contrast u,
.contrast span {
  color: white !important;
}

.contrast a {
  color: yellow !important;
}

.contrast button,
.contrast input[type="button"],
.contrast input[type="reset"],
.contrast input[type="submit"] {
  background: none !important;
  color: yellow !important;
  border: none !important;
}

.contrast button.btn,
.contrast div.h-100,
.contrast div.alert.alert-post,
.contrast .system-card,
.contrast .post-card,
.contrast .doc-card,
.contrast .link-card,
.contrast .summary-card,
.contrast .requisition-card,
.contrast .dashboard-card,
.contrast .question-card,
.contrast .admin-card,
.contrast .admin-stat-card,
.contrast .accordion-item,
.contrast .card {
  border: 1px solid white !important;
}

.contrast div.alert.alert-post span.fa-thumbtack::before {
  color: #000 !important ;
}
.contrast div.alert.alert-post div.pin-alert {
  border-top: 40px solid #fff000 !important;
}

.contrast div.h-100 h5.card-title {
  color: #fff000 !important;
}

.contrast div.h-100 span.fas.icon {
  color: #fff000 !important;
}

.contrast div.item-head.decorated {
  border-bottom: 1px solid white !important;
}

/* 
    Imagens em 'Preto e Branco' durante o alto contraste
    (Aplicado globalmente para evitar cores saturadas)
*/
.contrast img {
  filter: grayscale(100%) contrast(120%);
}

.contrast input[type="text"],
.contrast input[type="password"],
.contrast input[type="url"],
.contrast input[type="search"],
.contrast input[type="email"],
.contrast input[type="tel"],
.contrast input[type="date"],
.contrast input[type="month"],
.contrast input[type="week"],
.contrast input[type="datetime"],
.contrast input[type="datetime-local"],
.contrast textarea,
.contrast input[type="number"],
.contrast select,
.contrast .input-group-text {
  background: black !important;
  border: 1px solid white !important;
  color: white !important;
}

/* Correções de contraste claro sobre claro */
.contrast span.system-link__placeholder,
.contrast a.summary-preview__item,
.contrast a.category-badge,
.contrast span.question-card__featured-badge,
.contrast span.question-card__required-badge,
.contrast span.question-card__type-badge,
.contrast span.question-card__difficulty-badge,
.contrast span.question-card__time-badge,
.contrast span.question-card__category-badge,
.contrast span.question-card__tag,
.contrast span.admin-card__badge,
.contrast span.accordion-button__badge,
.contrast span.admin-stat-card__meta-item {
  background: black !important;
  border: 1px solid white !important;
}

.contrast a.page-link {
  background: black !important;
}

.contrast .accordion-header,
.contrast .accordion-button {
  background: black !important;
}
