.banca-ub-btn {
    position: relative;
    display: inline-block;
}

.banca-ub-btn .elementor-align-icon-right {
    margin-left: 0;
}

.banca-ub-btn .elementor-button-text {
    text-align: center;
}

/** === Line Button === **/
.banca-ub-btn.banca-ub-btn-line {
    display: inline-block;
}

.banca-ub-btn.banca-ub-btn-line::before {
    transform-origin: 100% 50%;
    transition: transform 0.4s ease;
    content: "";
    width: 100%;
    height: 1px;
    background: #666666;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: fadeInLeft 2s cubic-bezier(0.5, 0, 0.5, 1) both;
}

.banca-ub-btn.banca-ub-btn-line:hover::before {
    transform: scaleX(0);
}

.banca-ub-btn.banca-ub-btn-line::after {
    transform: scaleX(0);
    transform-origin: 0 50%;
    background-color: #000;
    transition: transform 0.4s ease 0.2s;
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.banca-ub-btn.banca-ub-btn-line:hover::after {
    transform: scaleX(1);
}

span.elementor-button-text.words.chars.splitting {
    position: relative;
    display: inline-block;
}

.banca-ub-btn.banca-ub-btn-line:hover i {
    margin-left: 12px;
    transition: margin 0.4s linear, color 0.5s;
}

/** === Left to Right Transition == **/
.ub-animation-left2right.banca-ub-btn-link:hover::before {
    width: 100%;
}
.banca-ub-btn.ub-animation-left2right {
    overflow: hidden;
}
.ub-animation-left2right.banca-ub-btn-link::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    overflow: hidden;
    z-index: 0;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
}

.elementor-button.ub-animation-left2right {
    z-index: 1;
}

.elementor-button.ub-animation-left2right:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.elementor-button.ub-animation-left2right::after {
    background: #222222;
}

.elementor-button.ub-animation-left2right::after {
    transform: scaleX(0);
    transform-origin: right;
    transition: all 0.7s linear;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition-property: transform;
    z-index: -1;
}

.elementor-button.ub-animation-left2right::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.banca-ub-btn i {
    margin-left: 10px;
    transition: margin 0.2s linear, color 0.5s;
}
.banca-ub-btn:hover i {
    margin-left: 15px;
    transition: margin 0.4s linear, color 0.5s;
}

/**======= Hover Button =========**/
.theme-btn-2 {
    padding: 5px 20px 5px 14px;
}
.theme-btn-2::before {
    width: 34px;
    height: 34px;
}
.theme-btn-2 .arrow {
    margin-right: 20px;
    margin-left: 0;
    top: 1px;
}
.theme-btn-2 .arrow .horizontal-line {
    margin: 0 0 8px 8px;
}