.rgaa-text-resizer {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rgaa-text-resizer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    min-height: 30px;
    padding: 0.35rem;
    border-radius: 0.35rem;
    background: transparent;
    color: inherit;
    cursor: pointer;
    line-height: 1;
}

.rgaa-text-resizer__button:hover {
    background: rgba(0, 0, 0, 0.05);
}

.rgaa-text-resizer__button:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 1px;
}

.rgaa-text-resizer__button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.rgaa-text-resizer__icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

/* Classe compatible avec WordPress et utilisable même si le thème ne la fournit pas. */
.rgaa-text-resizer .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .rgaa-text-resizer__button {
        transition: none;
    }
}