/* woocommerce styles  */
.emailkit-open-new-form-editor-modal {
    background-color: #227BFF;
    border: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 35px;
    color: #fff;
    border-radius: 4px;
    padding: 1px 23px 2px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .3s;
}

.emailkit-open-new-form-editor-modal:hover {
    background: #1168E9;
}



.emailkit-slider-loader {
    pointer-events: none;
    position: relative;
    background-color: #659ef3;
}

.emailkit-slider-loader::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 3px solid #e6e6e6f1;
    border-radius: 50%;
    border-top-color: #210d0d00;
    position: absolute;
    bottom: 3px;
    left: 3px;
    z-index: 9999999999999;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

.emailkit-woocom-wrap .emailkit-slider-loader::after {
    left: 5px;
    top: 32%;
    bottom: auto;
}

.emailkit-woocom-wrap .emailkit-woocom-btn:disabled {
    background-color: #7aa2de;
    cursor: not-allowed;
}

.emailkit-woocom-wrap .emailkit-woocom-btn:disabled:hover {
    background-color: #7aa2de;
}


/* woocommerce styles  */

/* button styles in metform plugin  */
#emailkit-metform-button-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

#emailkit-metform-button-wrap .metform-go-to-emailkit-builder-btn {
    background: unset;
    flex: 1;
    padding: 14px;
    border: 1px dashed #0D1427;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    font-weight: 500;
    color: #0D1427;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

#emailkit-metform-button-wrap .info-tooltip {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #D6D7D9;
    background: #FFF;
    padding: 14px;
    transition: all 0.3s ease;
    position: relative;
}

#emailkit-metform-button-wrap .info-tooltip:hover {
    border: 1px solid #00000000;
    background: #DBDFFA;

}

#emailkit-metform-button-wrap .metform-go-to-emailkit-builder-btn:hover {
    border: 1px solid #0D1427;
}

.emailkit-upgrade-notice {
    background-color: #fff6cc;
    padding: 22px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 16px 0;
}

.emailkit-upgrade-notice .emailkit-upgrade-text {
    color: #0D1427;
}

.upgrade-button {
    text-decoration: none;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 8px 16px;
    font-weight: bold;
    color: #1a1a1a;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0px 1px 3px 0px rgba(13, 20, 39, 0.06);
}

.upgrade-button:hover {
    border-radius: 4px;
    background-color: #3970FF;
    color: #fff;
}

.upgrade-button svg path {
    transition: all 0.3s ease;
}

.upgrade-button:hover svg path {
    stroke: #fff;
}

#dummy-emailkit-metform-button-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

#dummy-emailkit-metform-button-wrap .dummy-emailkit-metform-btn {
    background: unset;
    flex: 1;
    padding: 14px;
    border-radius: 4px;
    border: 1px solid #E6E9ED;
    background-color: #fff;
    font-size: 16px;
    font-weight: 500;
    color: #9D9EA1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: not-allowed !important;
    opacity: 0.6;
}

#dummy-emailkit-metform-button-wrap .dummy-emailkit-metform-btn svg path {
    stroke: #9D9EA1;
}

#dummy-emailkit-metform-button-wrap .dummy-info-tooltip {
    border: 1px solid #D6D7D9;
    border-radius: 4px;
    padding: 14px;
    cursor: not-allowed !important;
    opacity: 0.6;
    display: flex;
    justify-content: center;
    align-items: center;
}



.metform-info-tooltip-text {
    position: absolute;
    bottom: 121%;
    right: 0;
    background-color: #0b1120;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.metform-info-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 18px;
    border-width: 6px;
    border-style: solid;
    border-color: #0b1120 transparent transparent transparent;
}

#emailkit-metform-button-wrap .info-tooltip:hover .metform-info-tooltip-text {
    opacity: 1;
    visibility: visible;
}