/* ==================== */
/* FAQ Launcher Button   */
/* ==================== */
.faq-launcher-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    padding: 20px 44px;
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    font-family: "MS Sans Serif", "Tahoma", sans-serif;
    font-size: 19px;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
}

.faq-launcher-btn:active {
    border: 2px inset #c0c0c0;
}

/* ==================== */
/* FAQ Popup Fenster     */
/* ==================== */
.window-faq {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 480px;
    max-width: 480px; /* ueberschreibt die 400px-Grenze aus .card-container */
    max-height: 70vh;
    z-index: 9999;
}

@media (max-width: 900px) {
    .window-faq {
        width: 95%;
        max-width: 95%; /* sonst greift weiterhin die 400px-Grenze aus .card-container */
        right: 2.5%;
        bottom: 70px;
        max-height: 60vh;
    }

    .faq-body {
        max-height: 50vh;
        padding: 12px 14px;
    }
}

.window-faq.faq-hidden {
    display: none;
}

.faq-body {
    background: #000000;
    border: 1px inset #808080;
    margin: 2px;
    padding: 16px 20px;
    max-height: 60vh;
    overflow-y: auto;
    font-family: "Courier New", monospace;
}

/* ==================== */
/* Accordion (Retro/Dark)*/
/* ==================== */
.accordion .accordion-item {
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.accordion .accordion-item button[aria-expanded='true'] {
    border-bottom: 1px solid #00ff41;
}

.accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 0.9em 28px 0.9em 0;
    color: #d5d8d6;
    font-size: 16px;
    font-weight: 400;
    font-family: "Courier New", monospace;
    border: none;
    background: none;
    outline: none;
}

.accordion button:hover,
.accordion button:focus {
    cursor: pointer;
    color: #00ff41;
    text-shadow: 0 0 4px #00ff41;
}

.accordion button:hover .icon,
.accordion button:focus .icon {
    cursor: pointer;
    color: #00ff41;
    border-color: #00ff41;
}

.accordion .accordion-title {
    padding: 0;
}

.accordion .icon {
    display: inline-block;
    position: absolute;
    top: 14px;
    right: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #007a1f;
    border-radius: 20px;
    color: #007a1f;
}

.accordion .icon::before {
    display: block;
    position: absolute;
    content: '';
    top: 8px;
    left: 4px;
    width: 10px;
    height: 2px;
    background: currentColor;
}

.accordion .icon::after {
    display: block;
    position: absolute;
    content: '';
    top: 4px;
    left: 8px;
    width: 2px;
    height: 10px;
    background: currentColor;
}

.accordion button[aria-expanded='true'] {
    color: #00ff41;
    text-shadow: 0 0 4px #00ff41;
}

.accordion button[aria-expanded='true'] .icon {
    color: #00ff41;
    border-color: #00ff41;
}

.accordion button[aria-expanded='true'] .icon::after {
    width: 0;
}

.accordion button[aria-expanded='true'] + .accordion-content {
    opacity: 1;
    max-height: 12em;
    transition: all 200ms linear;
}

.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
}

.accordion .accordion-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #a8b0ab;
    margin: 1em 0;
}

/* Scrollbar im Retro-Look, analog zu map-list-body */
.faq-body::-webkit-scrollbar {
    width: 14px;
}

.faq-body::-webkit-scrollbar-track {
    background: #c0c0c0;
}

.faq-body::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
}