/* high-contrast.css */
body.contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.contrast a {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

body.contrast a:hover {
    color: #ffffff !important;
    background-color: #000000 !important;
}

body.contrast .blt-super-top,
body.contrast .modern-navbar,
body.contrast .modern-footer,
body.contrast .modern-breadcrumb,
body.contrast .sidebar-header {
    background-color: #000000 !important;
    border: 2px solid #ffff00 !important;
}

body.contrast .blt-super-top a,
body.contrast .modern-navbar a,
body.contrast .modern-footer a {
    color: #ffff00 !important;
}

body.contrast .blt-super-top .social-icons a,
body.contrast .blt-super-top .left-links .accessibility-link {
    background-color: #333333 !important;
    border: 1px solid #ffff00 !important;
}

body.contrast .modern-search-form input {
    background-color: #000000 !important;
    border: 2px solid #ffff00 !important;
    color: #ffffff !important;
}

body.contrast .modern-search-form button {
    background-color: #333333 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
}

body.contrast button,
body.contrast input,
body.contrast textarea,
body.contrast select {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffff00 !important;
}

body.contrast .btn,
body.contrast .btn-primary {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
}

body.contrast h1,
body.contrast h2,
body.contrast h3,
body.contrast h4,
body.contrast h5,
body.contrast h6 {
    color: #ffff00 !important;
}

body.contrast .content-area,
body.contrast .sidebar-menu,
body.contrast .card,
body.contrast .publications-info-card {
    background-color: #000000 !important;
    border: 2px solid #ffff00 !important;
    color: #ffffff !important;
}

body.contrast .publications-table th {
    background-color: #333333 !important;
    color: #ffff00 !important;
}

body.contrast .publications-table td {
    border-color: #333333 !important;
    color: #ffffff !important;
}

body.contrast .secretariat-badge {
    background-color: #333333 !important;
    color: #ffff00 !important;
    border: 1px solid #ffff00 !important;
}

body.contrast img {
    filter: grayscale(100%) contrast(120%) !important;
}

/* Adicionando regras para elementos comuns */
body.contrast p,
body.contrast span,
body.contrast div,
body.contrast li {
    color: #ffffff !important;
}

body.contrast .dropdown-menu {
    background-color: #000000 !important;
    border: 2px solid #ffff00 !important;
}

body.contrast .dropdown-menu a {
    color: #ffff00 !important;
}

body.contrast .dropdown-menu a:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

/* Melhorando a visibilidade de elementos de formulário */
body.contrast input::placeholder,
body.contrast textarea::placeholder {
    color: #999999 !important;
}

body.contrast input:focus,
body.contrast textarea:focus,
body.contrast select:focus {
    outline: 2px solid #ffff00 !important;
    box-shadow: 0 0 5px #ffff00 !important;
}

/* Regras específicas para seções destacadas */
body.contrast .container-fluid.nfe-highlight,
body.contrast .container-fluid.container-fluid-access {
    background-color: #ffffff !important;
}

body.contrast .container-fluid.nfe-highlight *,
body.contrast .container-fluid.container-fluid-access * {
    color: #000000 !important;
}

body.contrast .container-fluid.nfe-highlight .nfe-card,
body.contrast .container-fluid.container-fluid-access .blt-card {
    background-color: #ffffff !important;
    border: 2px solid #000000 !important;
}

body.contrast .container-fluid.nfe-highlight .nfe-content,
body.contrast .container-fluid.container-fluid-access .blt-card-content {
    color: #000000 !important;
}

body.contrast .container-fluid.nfe-highlight .nfe-content h3,
body.contrast .container-fluid.container-fluid-access .blt-card-title {
    color: #000000 !important;
}

body.contrast .container-fluid.nfe-highlight .nfe-content p,
body.contrast .container-fluid.container-fluid-access .blt-card-description {
    color: #000000 !important;
}

body.contrast .container-fluid.container-fluid-access .blt-card-slug {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 2px solid #000000 !important;
}

/* Links dentro dessas seções */
body.contrast .container-fluid.nfe-highlight a,
body.contrast .container-fluid.container-fluid-access a {
    color: #0000ff !important;
    text-decoration: underline !important;
}

body.contrast .container-fluid.nfe-highlight a:hover,
body.contrast .container-fluid.container-fluid-access a:hover {
    color: #000000 !important;
    background-color: #ffff00 !important;
}

/* Botões dentro dessas seções */
body.contrast .container-fluid.nfe-highlight .btn,
body.contrast .container-fluid.container-fluid-access .btn {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
}

body.contrast .container-fluid.nfe-highlight .btn:hover,
body.contrast .container-fluid.container-fluid-access .btn:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}