
#wpadminbar #wp-admin-bar-tricot_translate>.ab-item:before {
    content:  "";
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI4MyIgaGVpZ2h0PSI4MyIgdmlld0JveD0iMCAwIDgzIDgzIj48Y2lyY2xlIGN4PSI0MS41IiBjeT0iNDEuNSIgcj0iNDEuNSIgZmlsbD0iI2E3YWFhZCIgbWFzaz0idXJsKCNtYXNrdCkiIC8+PG1hc2sgaWQ9Im1hc2t0Ij48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iODMiIGhlaWdodD0iODMiIGZpbGw9IndoaXRlIi8+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjcuMDIyIDE1LjMyNikiID48cGF0aCBkPSJNMTguMTI4LDI1LjE4N3Y5LjVjMCwzLjEuMjgsNS45LDIuODg5LDcuNDQ5LDMuNTQ5LDIuMSw4LjE1Ny0uNDUzLDguMTU3LS40NTN2OC45NzJjLTcuOTY1LDIuMTIyLTExLjI4OS45LTE0Ljk5LTEuODU0LTQuMTI5LTMuMS00Ljg5My04LjA5LTQuODkzLTE0LjExNHYtOS4zQTMzLjUyMSwzMy41MjEsMCwwLDAsMCwyNi4wMzN2LTkuNjhDMTEuNjgzLDE2LjM1MywxMS42MjgsNC43MzMsMTEuODg1LDBoMTBjLjMsMTAuMjE5LTUuODUyLDE2LjQtNy4zNjEsMTYuMzUzLDYuNDUyLjIxNCwxMC43NzYuNjUzLDE0LjQyNSw0LjQxM1YyOS42Yy00LjQxLTQuMi0xMC44MTYtNC40MTQtMTAuODE2LTQuNDE0IiAgLz48L2c+PC9tYXNrPjwvc3ZnPg==') !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    inset-block-start: 3px;
}
#wpadminbar #wp-admin-bar-tricot_translate.tricot_translation_actived>.ab-item{
    background-color: #141443;
}

.tricot_frontend_translator {
    position: fixed;
    width: 600px;
    height: fit-content;
    max-height: 100VH;
    bottom: 8px;
    right: 10px;
    padding: 20px;
    z-index: 100002;
    border-radius: 20px;
    background-color: rgb(203 226 254);
    backdrop-filter: blur(4px);
    display: none;
}

.tricot_frontend_translator.show{
    display: block;
}

.tricot_frontend_translator_head{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tricot_frontend_translator .tricot_logo{
    cursor: move;
    display: block;
}


.tricot_frontend_translator label {
    color: #141443;
}

.tricot_frontend_translator textarea {
    width: 100%;
    min-width: 100%;
    min-height: 100px;
    max-height: 40VH;
    display: block;
    color: #141443;
    background-color: white;
}

.tricot_frontend_translator .tricot_logo img{
    width: 30px;
    height: 30px;
}
.tricot_frontend_translator .tricot_frontend_translator_close{
    display: block;
    cursor: pointer;
}
.tricot_frontend_translator .tricot_frontend_translator_close img{
    width: 30px;
    height: 30px;
}

.tricot_frontend_translator .tricot_editor_save{
    border-radius: 50px;
    border: none;
    padding: 8px 25px;
    background-color: #141443 ;
    color: #fff;
}

.tricot_frontend_translator .tricot_editor_footer{
    display: flex;
    align-items: center;
    justify-content: flex-end;

    margin-top: 12px;
}


.tricot_frontend_translator .tricot_editor_footer i{
    display: none;
    color: #fff;
}
.tricot_frontend_translator.tricot_loading .tricot_editor_footer i{
    display: block;
}

.tricot_frontend_translator.tricot_loading .tricot_editor_save {
    cursor: progress;
    opacity: 0.5;
}

.tricot_frontend_images{
    display: flex;
    gap: 20px;
}

.tricot_frontend_image{
    display: flex;
    width: 250px;
    height: 250px;
    position: relative;
    justify-content: center;
    align-items: center;
}

.tricot_frontend_image.tricot_noimage{
    border-radius:  5px;
    border: 3px dashed #CBE2FE;
}
.tricot_frontend_image.tricot_noimage img{
    display: none;
}

.tricot_frontend_image.tricot_noimage #tricot_image_delete{
    display: none;
}

.tricot_frontend_image img{
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
}
.tricot_frontend_image .tricot_image_actions{
    position: absolute;
    width: 100%;
    height: 100%;
    left:0;
    top: 0;
    display: flex;

    align-items: center;
    justify-content: center;
    gap: 20px;
}
.tricot_frontend_image .tricot_image_actions button{
    background: rgba(20, 20, 67, 0.2);
    border: 1px solid #141443AF;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius:  50%;
}


.tricot_frontend_image .tricot_image_actions button i {
    color: #CBE2FE;
    font-size: 20px;
    line-height: 20px;
}


#tricot_frontend_tooltip {
    position: absolute;
    height: 29px;
    display: none;
    z-index: 100001;
    background-color: #FD6E4D;
    justify-content: space-between;
    gap: 5px;
    padding: 5px;
    border-radius: 15px;
}

#tricot_frontend_tooltip.show{
    display: flex;
}


#tricot_frontend_tooltip .tricot_logo img{
    display: block;
    width: 20px;
    height: 20px;
}


#tricot_tooltip_text,
#tricot_tooltip_link,
#tricot_tooltip_attr,
#tricot_tooltip_image,
#tricot_tooltip_close
{
    display: none;
    cursor: pointer;
}

#tricot_tooltip_notranslate{
    display: none;
}

#tricot_tooltip_text.active,
#tricot_tooltip_link.active,
#tricot_tooltip_attr.active,
#tricot_tooltip_image.active,
#tricot_tooltip_close.active,
#tricot_tooltip_notranslate.active
{
    display: block;
}

#tricot_tooltip_text i.material-icons,
#tricot_tooltip_link i.material-icons,
#tricot_tooltip_attr i.material-icons,
#tricot_tooltip_image i.material-icons,
#tricot_tooltip_close i.material-icons
{
    color: #141443;
    font-size: 16px;
    line-height: 16px;
}

#tricot_tooltip_notranslate i.material-icons{
    color: #ef5350;
    font-size: 16px;
    line-height: 16px;
}

tricot.tricot_active{
    background-color: #CBE2FE;
    color: #000 !important;
}

.notranslate.tricot_active{
    background-color: #CBE2FE;
    color: #000 !important;
}

tricot.spacebefore{
    margin-left: 6px;
}
tricot.spaceafter{
    margin-right: 6px;
}

.rotate {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.tricot-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.tricot-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tricot-switch-option-group {
    display: flex;
    align-items: center;
    width: 300px;
}

.tricot-switch-option-group .tricot-switch-text {
    margin-left: 10px;
    margin-top: 2px;
    width: calc(100% - 55px);
    font-size: 12px;
}

.tricot-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cfd8dc;
    transition: all 0.2s ease;
    border-radius: 24px;
}

.tricot-switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.tricot-switch input:checked + .tricot-switch-slider {
    background-color: #FE6F4DFF;
}

.tricot-switch input:focus + .tricot-switch-slider {
    box-shadow: 0 0 1px #FE6F4DFF;
}

.tricot-switch input:checked + .tricot-switch-slider:before {
    transform: translateX(20px);
}