/*
 * Plain/Easy-language switch — floating button, badge, overlay-embedded control.
 * Self-contained, CSP-safe (no inline styles needed). Part of tahericreate/a11y.
 */
.tca11y-simple-badge {
    background: #1d4ed8;
    color: #fff;
    font: 500 14px/1.4 system-ui, sans-serif;
    padding: 8px 16px;
    text-align: center;
}
.tca11y-simple-badge button {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 2px 10px;
    margin-left: 10px;
    cursor: pointer;
    font: inherit;
}

.tca11y-simple-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99998;
    font: 500 15px/1 system-ui, sans-serif;
}
.tca11y-simple-fab__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1d4ed8;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.tca11y-simple-fab__btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}
.tca11y-simple-menu {
    position: absolute;
    bottom: 56px;
    left: 0;
    min-width: 200px;
    background: #fff;
    color: #111;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
    padding: 6px;
    display: none;
}
.tca11y-simple-fab[aria-expanded="true"] .tca11y-simple-menu {
    display: block;
}
.tca11y-simple-menu button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 6px;
    padding: 10px 12px;
    cursor: pointer;
    font: inherit;
    color: #111;
}
.tca11y-simple-menu button:hover,
.tca11y-simple-menu button:focus-visible {
    background: #eef2ff;
}
.tca11y-simple-menu button[aria-current="true"] {
    font-weight: 700;
    color: #1d4ed8;
}

/* Control embedded into the comfort overlay panel. */
.tca11y-simple-embed {
    padding: 10px 0;
    border-top: 1px solid rgba(128, 128, 128, .25);
}
.tca11y-simple-embed h3 {
    margin: 0 0 8px;
    font-size: 14px;
}
.tca11y-simple-embed button {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 8px 12px;
    border: 1px solid #1d4ed8;
    border-radius: 6px;
    background: #fff;
    color: #1d4ed8;
    cursor: pointer;
    font: 500 14px/1 system-ui, sans-serif;
}
.tca11y-simple-embed button[aria-current="true"] {
    background: #1d4ed8;
    color: #fff;
}
