#bat-accessibility-wrapper{
    height: auto;
    width: auto;
    position: fixed;
    bottom: 0.5em;
    right: 7px;
    z-index: 9999;
}
#toolbar-header{
    color: #000000;
    margin:0;
}
#accessibility-launcher {
    position: relative;
    top: 0px;
    left: 0px;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    text-align: center;
}toolbar-close-button
#accessibility-launcher img {
    width: 40px;
    height: 40px;
}
#toolbar-heading-close-button{
    margin-bottom: 0.1em;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#toolbar-close-button{
    position: relative;
    right: 0;
    top:0;
    background-color: white !important;
    padding:0px !important;
    margin: 0px !important;
    color: black!important;
}
#toolbar-close-button:hover{
    position: relative;
    right: 0;
    top:0;
    color: white;
    background-color: red !important;
    padding:0px !important;
    margin: 0px !important;
}

#accessibility-toolbar {
    position: relative;
    bottom: 0px;
    left: 0px;
    background: #fff;
    border: 1px solid #ccc;
    padding-top: 7px;
    padding: 10px;
    z-index: 9999;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-height: 60vh;
    overflow-y: auto;
}
#accessibility-toolbar hr {
    margin: 2px 0;
    height: 1px;
    background: #000;
    border: none;
    border-top: 1px solid #f0f0f0;
    color: #f0f0f0;
}
#accessibility-toolbar button,increase-font
#accessibility-toolbar .bat-link {
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border: none;
    background: #f0f0f0;
    color: #000;
    border-radius: 4px;
}


#accessibility-toolbar .bat-link:hover,
#accessibility-toolbar button:hover {
    background-color: #ddd;
}
/*body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}*/
body.underline-links a {
    text-decoration: underline !important;
}

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

#test-id {
    color: #000 !important;
}

#melden-button{
    color: black!important;
}

/*===========================
        HIGH-CONTRAST
=============================*/
body.grayscale > .boxed-wrapper {
    filter: grayscale(100%) !important;
}


/* High contrast for everything */
 .high-contrast {
     background-color: #000 !important;
     color: #66ffcc !important;
 }

/* Fix text colors inside light/white containers */
.high-contrast .light-bg,
.high-contrast .container,
.high-contrast .white-box,
.high-contrast .lesson-content,
.high-contrast section,
.high-contrast article,
.high-contrast .card,
.high-contrast .interface-content {
    background-color: #000 !important;
    color: #66ffcc !important;
}

/* Stronger fallback: override specific white backgrounds */
.high-contrast * {
    background-color: transparent !important;
    color: #66ffcc !important;
}

/* Link colors */
.high-contrast a {
    color: #33cccc !important;
    text-decoration: underline;
}

/* Optional: improve button visibility */
.high-contrast button,
.high-contrast .btn,
.high-contrast input[type="button"],
.high-contrast input[type="submit"] {
    background-color: #000 !important;
    color: #66ffcc !important;
    border: 1px solid #66ffcc !important;
}

/* Invert images if needed */
.high-contrast img {
    filter: invert(100%) hue-rotate(180deg);
}
/* Webkit (Chrome, Edge, Safari) */
.high-contrast ::-webkit-scrollbar {
    width: 12px;
}
bat-link bat-link-color
    background: #111; /* dark track */
}

.high-contrast ::-webkit-scrollbar-thumb {
    background-color: #33cccc; /* turquoise thumb */
    border-radius: 6px;
    border: 2px solid #000; /* border around thumb */
}

/* Firefox (limited support) */
.high-contrast {
    scrollbar-width: thin;
    scrollbar-color: #33cccc #111;
}
.high-contrast .active {
    border-left: 4px solid orange !important;
    background-color: #111 !important; /* optional: makes it stand out */
    color: #ffcc99 !important; /* optional: softer orange text */
}

