#accessibility-toggle-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
}

#accessibility-toggle {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    transition: all 0.3s ease;
}

#accessibility-toggle.collapsed .toggle-content {
    display: none;
}

#accessibility-toggle .toggle-content {
    display: flex;
    align-items: center;
    width: 175px;
    background: white;
    padding: 0.5rem;
    border-radius: 1rem;
    gap: .5rem;
}

#accessibility-toggle .toggle-label {
    font-size: 1rem;
    font-weight: 500;
}

.toggle-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    background: white;
    padding: .25rem;
    border-radius: 2rem;
}

.accessibility-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #38b5e7;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.accessibility-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.caret {
    width: 16px;
    height: 24px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23666'/></svg>");
    background-position: center;
    background-size: 11px;
    background-repeat: no-repeat;
    transform: rotate(-180deg);
    transition: transform 0.3s;
}

#accessibility-toggle:not(.collapsed) .caret {
    transform: rotate(0deg);
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

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

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

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

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

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

/*.wp-block-button .wp-block-button__link {*/
/*    --wp--preset--color--accent-1: unset !important;*/
/*}*/

/*.wp-block-button .wp-block-button__link:hover {*/
/*    --wp--preset--color--accent-6: unset !important;*/
/*}*/