@font-face {
    font-family: "Manrope";
    src: url("./../fonts/Manrope-ExtraLight.woff2") format("woff2"),url("./../fonts/Manrope-ExtraLight.woff") format("woff"),url("./../fonts/Manrope-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Manrope";
    src: url("./../fonts/Manrope-Light.woff2") format("woff2"),url("./../fonts/Manrope-Light.woff") format("woff"),url("./../fonts/Manrope-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Manrope";
    src: url("./../fonts/Manrope-Regular.woff2") format("woff2"),url("./../fonts/Manrope-Regular.woff") format("woff"),url("./../fonts/Manrope-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Manrope";
    src: url("./../fonts/Manrope-Medium.woff2") format("woff2"),url("./../fonts/Manrope-Medium.woff") format("woff"),url("./../fonts/Manrope-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Manrope";
    src: url("./../fonts/Manrope-SemiBold.woff2") format("woff2"),url("./../fonts/Manrope-SemiBold.woff") format("woff"),url("./../fonts/Manrope-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Manrope";
    src: url("./../fonts/Manrope-Bold.woff2") format("woff2"),url("./../fonts/Manrope-Bold.woff") format("woff"),url("./../fonts/Manrope-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Manrope";
    src: url("./../fonts/Manrope-ExtraBold.woff2") format("woff2"),url("./../fonts/Manrope-ExtraBold.woff") format("woff"),url("./../fonts/Manrope-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap
}

#icon-open-assistant {
    top: calc(50% - 25px); /* Zentriert das Icon vertikal */
    right: 10px; /* Abstand vom rechten Rand */
    cursor: pointer; /* Zeigt an, dass das Element klickbar ist */
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
}
#icon-open-assistant svg {
    width: 50px;
    height: 50px;
}

#assistant-layer {
    display: none; /* Versteckt den Layer standardmäßig */
    position: fixed;
    top: calc((100% - 668px) / 2);
    right: 56px;
    z-index: 1000; /* Stellt sicher, dass der Layer über anderen Inhalten liegt */
    opacity: 0;
    transition: opacity 0.5s ease; /* Transition für das Einfaden */
    color: #000;
}
@media (max-width: 499px) {
    #assistant-layer {
        left: 10%;
        right: 10%;
    }
}

/* Accessible Desk Styles */
.accessible-desk {
    border-radius: 4px;
    background-color: black;
    width: 415px; /* Same width as outer-container */
    font-size: 14px; /* Setze die allgemeine Schriftgröße auf 14px */
    font-family: 'Manrope', Arial, sans-serif;
    box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2), -3px 0 3px rgba(0, 0, 0, 0.2), 0 3px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 499px) {
    .accessible-desk {
        width: 100%;
    }
}

/* Header Bar Styles */
.header-bar {
    color: white;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    box-sizing: border-box;
}

.icon-circle {
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.header-icon {
    width: 14px; /* Example size for the icon */
    height: 17px;
}

.close-button {
    cursor: pointer;
    position: relative;
    width: 24px; /* Breite des X */
    height: 24px; /* Höhe des X */
    margin-left: 12px;
}

#reset-settings {
    margin-left: auto;
    cursor: pointer;
}

#reset-settings > svg {
    vertical-align: middle;
}

.close-button::before,
.close-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px; /* Dicke der Linien */
    background-color: white; /* Farbe der Linien */
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Toggle Bar Styles */
.toggle-bar {
    display: flex;
    column-gap: 8px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 24px;
    border-bottom: 1px solid #E8E8E8;
}

@media (max-width: 499px) {
    .toggle-bar {
        display: none;
    }
}

.toggle-icon {
    width: 20px; /* Beispielgröße für das Icon */
    height: 20px;
}

.toggle-bar span {
    flex-grow: 1; /* Nimmt den verfügbaren Platz ein, um den Toggle nach rechts zu schieben */
}

.switch {
    margin-left: auto; /* Rechtsbündig */
    position: relative;
    display: inline-block;
    width: 45px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 15px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 21px;
    width: 21px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #000;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* Action Bar Styles */
.action-bar {
    display: flex;
    flex-direction: column;
    padding: 25px 24px;
    box-sizing: border-box;
    width: 100%;
}

.split-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    width: 100%;
}

.split-row span[role="button"] {
    cursor: pointer;
}

.right-align {
    text-align: right;
}

.immediate-view-button {
    background-color: white;
    color: #000;
    border: 2px solid black;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    transition: background-color 0.3s;
    border-radius: 4px; /* Abrundung des Rahmens */
}

.immediate-view-button:hover {
    background-color: #f0f0f0;
}

/* Styles for the outer container */
#outer-container {
    overflow-y: auto;
    box-sizing: border-box;
    background: #F1F3F5;
    border-radius: 4px;
}

/* Language Selector Style */
.language-selector-row {
    display: flex;
    column-gap: 8px;
    padding: 14px 24px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.language-icon {
    width: 20px; /* Beispielgröße für das Icon */
    height: 20px;
}

.language-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 5px;
}

.triangle {
    width: 20px;
    height: 12px;
    background: url('data:image/svg+xml;utf8,<svg width="7" height="10" viewBox="0 0 7 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.62862 0.25389C0.974677 -0.274684 0 0.190758 0 1.03161L0 8.96774C0 9.8086 0.974677 10.274 1.62862 9.74545L6.53783 5.77738C7.033 5.37713 7.033 4.6222 6.53782 4.22195L1.62862 0.25389V0.25389Z" fill="black"/></svg>') no-repeat center center;    
    background-size: contain;
    transition: transform 0.3s;
}

.language-options {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.language-options div {
    padding: 15px 20px 15px 55px;
    color: #494949;
    border-bottom: 1px solid #E8E8E8;
    cursor: pointer;
}
.language-options div:hover {
    background-color: #E8E8E8;
}

/* Grid Styles */
#boxes {
    display: grid;
    gap: 17px;
    padding: 0 24px 20px 24px;
    width: 100%;
    box-sizing: border-box;
}

#boxes.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 499px) {
    #boxes.three-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

#boxes.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.assist-box {
    background-color: white;
    height: 112px;
    display: flex;
    justify-content: center;
    position: relative;
    text-align: center;
    cursor: pointer;
    padding: 15px 5px 5px 5px;
    border: 2px solid transparent; /* Transparenter Rahmen für Animation */
    box-sizing: border-box; /* Rahmen und Padding innerhalb der Box berechnen */
    transition: border 0.3s;
    border-radius: 4px; /* Abrundung des Rahmens */
    line-height: 1.2;
}

.assist-box:hover {
    border: 2px solid #000; /* Blauer Rahmen bei Hover */
}

.assist-box.active {
    border: 2px solid black; /* Schwarzer Rahmen */
}


.assist-box-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.box-caption {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Begrenze auf 3 Zeilen */
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000; /* Schwarzer Text */
}

.box-caption .access-key {
    font-family: Arial, sans-serif; /* Use Arial to prevent browser change from (c) to © */
    display: none;
}

.inner-boxes {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.inner-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    text-align: center;
    position: absolute;
}

.indicator {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: absolute;
    bottom: 5px;
}

.dot {
    height: 2px; /* Height of the dot */
    width: 7px;  /* Width of the dot */
    margin: 0 1px; /* Margin between dots */
    background-color: #bbb;
    display: inline-block;
    transition: background-color 0.3s;
    border: 1px solid #bbb; /* Border for the dots */
    border-radius: 2px; /* Rounded corners */
    box-sizing: border-box;
}

.dot.active {
    background-color: #000;
    border-color: #000;
}

.language-selector:focus, .language-options div:focus, .switch:focus, .close-button:focus {
    outline: 2px solid #2196F3; /* Blaue Umrandung für den Fokus */
}
