#wcagaat-text-resizer-solo {
    background-color: #111;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: 2px 2px 10px 0 rgba(0, 2, 0, 0.4);
    box-sizing: border-box;
    filter: none !important;
    position: relative;
    padding: 0;
}

#wcagaat-text-resizer-solo .wcagaat-button-group {
    display: flex;
    width: 100%;
    height: 100%;
}

#wcagaat-text-resizer-solo button {
    flex: 1;
    height: 100% !important;
    background: none !important;
    border: none !important;
    color: #f39c12 !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    transform: translateY(-2px);
}

/* The Vertical Divider */
#wcagaat-text-resizer-divider {
    width: 1px;
    height: 60%;
    background-color: rgba(243, 156, 18, 0.3);
    margin: auto;
}

/* Vertical Alignment Adjustment */
#wcagaat-text-resizer-smaller {
    padding-bottom: 2px !important;
}

#wcagaat-text-resizer-solo button:hover {
    color: #ffffff !important;
}

#wcagaat-text-resizer-solo[data-location^="float-"] {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
}

#wcagaat-text-resizer-solo[data-location="float-left"] { left: 20px; }
#wcagaat-text-resizer-solo[data-location="float-right"] { right: 20px; }

/* Tooltip Base */
#wcagaat-text-resizer-solo .wcagaat-tooltip {
    position: absolute;
    bottom: calc( 100% + 12px );
    background: #222;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba( 0, 0, 0, 0.3 );
}

/* Arrow Base */
#wcagaat-text-resizer-solo .wcagaat-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    border-width: 5px;
    border-style: solid;
    border-color: #222 transparent transparent transparent;
}

/* Float Left */
#wcagaat-text-resizer-solo[data-location="float-left"] .wcagaat-tooltip {
    left: 0;
    transform: translateY( 5px );
}
#wcagaat-text-resizer-solo[data-location="float-left"] .wcagaat-tooltip:after {
    left: 15px;
}
#wcagaat-text-resizer-solo[data-location="float-left"]:hover .wcagaat-tooltip,
#wcagaat-text-resizer-solo[data-location="float-left"]:focus-within .wcagaat-tooltip {
    transform: translateY( 0 );
}

/* Float Right */
#wcagaat-text-resizer-solo[data-location="float-right"] .wcagaat-tooltip {
    right: 0;
    transform: translateY( 5px );
}
#wcagaat-text-resizer-solo[data-location="float-right"] .wcagaat-tooltip:after {
    right: 15px;
}
#wcagaat-text-resizer-solo[data-location="float-right"]:hover .wcagaat-tooltip,
#wcagaat-text-resizer-solo[data-location="float-right"]:focus-within .wcagaat-tooltip {
    transform: translateY( 0 );
}

/* Default Centered Logic */
#wcagaat-text-resizer-solo:not([data-location^="float-"]) .wcagaat-tooltip {
    left: 50%;
    transform: translateX( -50% ) translateY( 5px );
}
#wcagaat-text-resizer-solo:not([data-location^="float-"]) .wcagaat-tooltip:after {
    left: 50%;
    margin-left: -5px;
}
#wcagaat-text-resizer-solo:not([data-location^="float-"]):hover .wcagaat-tooltip,
#wcagaat-text-resizer-solo:not([data-location^="float-"]):focus-within .wcagaat-tooltip {
    transform: translateX( -50% ) translateY( 0 );
}

/* Global Hover/Focus Visibility */
#wcagaat-text-resizer-solo:hover .wcagaat-tooltip,
#wcagaat-text-resizer-solo:focus-within .wcagaat-tooltip {
    opacity: 1;
    visibility: visible;
}