/**
 * SVG Icon Button Widget Styles
 */
.svg-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.svg-icon-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: var(--hover-bg-color, #2c5282);
    transform: translate(-50%, -50%);
    transition: width 0.8s ease, height 0.8s ease;
    z-index: -1;
}

.svg-icon-button:hover::before {
    width: 300%;
    height: 300%;
}

.svg-icon-button .button-text {
    font-weight: 500;
    transition: color 0.8s ease;
    position: relative;
    z-index: 2;
}

.svg-icon-button .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.8s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background-color: var(--icon-bg-color, #ffffff);
}

.svg-icon-button:hover .icon-wrapper {
    background-color: var(--icon-hover-bg-color, #ffffff);
}

.svg-icon-button .icon-wrapper svg {
    display: block;
    transition: fill 0.8s ease;
}

.svg-icon-button .icon-wrapper img {
    display: block;
    object-fit: contain;
}
