.w7-button {
    position: relative;

    padding: 3px 12px;
    border-radius: 2px;

    font-size: 12px; 
    text-decoration: none;
    color: black;

    border: 1px solid #FFFFFF80;
    background: linear-gradient(
        to bottom,
        #F2F2F2 0%,
        #EBEBEB 48%,
        #DDDDDD 49%,
        #CFCFCF 100%
    );
    box-shadow: 0 0 0 1px #707070;
    transition: box-shadow 0.5s ease;
    
    overflow: hidden;
}

.w7-button::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background: linear-gradient(
        to bottom,
        #EAF6FD 0%,
        #D9F0FC 48%,
        #BEE6FD 49%,
        #A7D9F5 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;

    z-index: 0;
}

/* Hover styling */
.w7-button:hover { box-shadow: 0 0 0 1px #3C7FB1; }
.w7-button:hover::before { opacity: 1; }

.w7-button span {
    position: relative;
    z-index: 1;
}