/**
 * Custom Button Block Styles
 */

.wp-block-seo-custom-button {
    display: inline-block;
}

/* Connect Button Style */
.wp-block-seo-custom-button .btn-connect {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #1F1F1F;
    font-weight: 500;
    gap: 10px;
    transition: all 0.3s ease;
}

.wp-block-seo-custom-button .btn-connect .connect-text {
    display: inline-block;
    background: #f2f2f2;
    padding: 8px 16px;
    border-radius: 100px;
    line-height: 1;
    letter-spacing: 0;
    color: #1f1f1f;
    transition: all 0.3s linear;
}

.wp-block-seo-custom-button .btn-connect .connect-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s linear;
    background: #fec40d;
}

.wp-block-seo-custom-button .btn-connect .connect-icon svg {
    transition: all 0.3s ease;
}

/* Connect Button Hover - Box Effect */
.wp-block-seo-custom-button .btn-connect:hover {
    /*background-color: #1F1F1F;
    color: #fff;
    padding: 12px 16px 12px 20px;
    border-radius: 30px;*/
}
.wp-block-seo-custom-button .btn-connect:hover .connect-text{
    border-radius: 0;
    background: #1f1f1f;
    color: #fff;
    transition: all 0.3s linear;
}

.wp-block-seo-custom-button .btn-connect:hover .connect-icon {
    border-radius: 0;
    transition: all 0.3s linear;
}

.wp-block-seo-custom-button .btn-connect:hover .connect-icon svg path {
    fill: #1F1F1F;
}

/* Mini Button Style */
.wp-block-seo-custom-button .mini-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background-color: #1F1F1F;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.wp-block-seo-custom-button .mini-button .button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wp-block-seo-custom-button .mini-button .button-text {
    position: relative;
}

/* Mini Button Hover Underline Effect */
.wp-block-seo-custom-button .mini-button.hover-underline--white .button-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.wp-block-seo-custom-button .mini-button.hover-underline--white:hover .button-text::after {
    width: 100%;
}

/* Client Login Style */
.wp-block-seo-custom-button .client-login {
    color: #1F1F1F;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.wp-block-seo-custom-button .client-login.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.wp-block-seo-custom-button .client-login.hover-underline:hover::after {
    width: 100%;
}

/* Alignment */
.wp-block-seo-custom-button.alignleft {
    text-align: left;
}

.wp-block-seo-custom-button.aligncenter {
    text-align: center;
    display: block;
}

.wp-block-seo-custom-button.alignright {
    text-align: right;
}

/* Responsive - Show connect button on all screens */
@media (max-width: 1199px) {
    .wp-block-seo-custom-button .btn-connect.d-none.d-xl-inline-flex {
        display: inline-flex !important;
    }
}
