.hm_translate_custom_selector{

}
.dc-container{
    display: flex;
    flex-wrap: wrap;
}
.hm_translate_custom_selector{

}
.dc-container div{
    width: 50%;
}
.hm_translate_custom_selector ul{
    display: flex;
    grid-auto-rows: 45px; /* hauteur fixe */
    gap: 10px;
    width: fit-content; /* ou fixe */
}
.hm_translate_custom_selector ul li{
    display: inline-flex;
    padding: .7rem;
    align-items: center;
    border: 1px solid grey;
    cursor: pointer;
}
.hm_translate_custom_selector ul li.default{
    background-color: rgb(0,108,255);
    color: white;
    border: 1px solid rgb(0,108,255);
}
.hm_translate_custom_selector ul li:hover{
    background-color: rgb(0,108,255);
    color: white;
    border: 1px solid rgb(0,108,255);
}
.hm_translate_custom_selector ul li p{
    margin-inline: auto;
}
#wpcontent{
    padding-inline: 20px;
}
.languages-of-site{
    display: flex;
    flex-direction: column;
}
.languages-of-site ul{
    margin: 0 0 0 .7rem;
    display: flex;
    flex-direction: column;
    width: calc(100% - .7rem);
    padding: .7rem;
    box-sizing: border-box;
    background-color: white;
}
.languages-of-site ul li{
    max-height: 40px;
    min-height: 40px;
    padding: 0;
    padding-inline: .4rem;
}
.languages-of-site ul li:hover{
    background-color: white;
    color: black;
}
.languages-of-site ul li p{
    width: 100%;
    text-align: center;
    height: 45px;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
}
.selected_language-list{
    width: 100%;
    background-color: white;
    min-height: 200px;
}
.default-language-selector{
    width: calc(100% - 1.4rem);
    margin-inline: auto;
}
.default-language-selector li{
    background-color: white;
}
.default-language-selector li{
    margin:0;
    padding-block: 0!important;
    padding-inline: .7rem;
}
.default-language-selector ul{
    margin-block: 0;
    flex-wrap: wrap;
}
.primary-button{
    background-color: rgb(0,108,255);
    color: white;
    border: 0;
    width: fit-content;
    padding: .4rem;
    padding-inline: .7rem;
    border-radius: 7px;
    margin-top: .7rem;
    min-height: 40px;
    font-size: 1.1em;
    margin-left: auto;
    cursor: pointer;
}
.secondary-button{
    background-color: white;
    color: #405A80;
    border: 1px solid #405A80;
    width: fit-content;
    padding: .4rem;
    padding-inline: .7rem;
    border-radius: 7px;
    margin-top: .7rem;
    min-height: 40px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color .2s;

}
.primary-button:hover{
    background-color: rgb(3, 83, 195);
}
.secondary-button:hover{
    background-color: #405A80;
    color: white;
    transition: background-color .2s;
}
/*
HM Translate BLOCK
 */
td:has(.ht-flag){
    display: flex;
    gap:.7rem;
}
.hm-lang-btn-add img{
    width: 25px;
    height: 15px;
    object-fit: cover;
    position: relative;
    z-index: 2;
}
.hm-lang-btn-add{
    cursor: pointer;
    max-width: 25px;
    margin-right: .7rem;
}
.hm-lang-btn-add::after{
    content: "\F4FA";
    font-family: bootstrap-icons;
    color: #0a7aff;
    display: block;
    width: min-content;
    opacity: 1;
    overflow: visible;
    transform: translateY(-1.7em);
    transition: transform .2s;
    margin-inline: auto;
    z-index: 0;
    position: relative;
    max-height: 0;


}
.hm-lang-btn-add:hover::after{
    opacity: 1;
    transform: translateY(-.5em);

    transition: transform .2s;
}
.hm-lang-dialog{
    max-width: 100%;
    position: fixed;
    top: 25%;
}
.hm-lang-dialog[data-open]{
    display: block;
    z-index: 3;
    border:1px solid #0a7aff ;
    border-radius: .7rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.hm-lang-dialog form{
    display: flex;
    flex-direction: column;
}
.hm-lang-dialog form .hm-translate-lang-action{
    margin-top: .7rem;
    padding-inline: .7rem;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.hm-lang-dialog span{
    display: inline-flex;
    flex-wrap: wrap;
    gap: .7rem;
}
.hm-lang-dialog label{
    display: flex;
    flex-direction: column;
}
td:has(span[data-lang]){
    display: flex;
    flex-wrap: wrap;
}
span .translation_create{
    margin-inline: 0;
}
.translation_create{
    font-size: 18px;
    background-color: #0a7aff;
    color: white;
    padding: .4rem;
    border-radius: 7px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;



}
.translation_create:hover{
    background-color: #0a64cf;
    color: white;

}
span .translation_update{
    margin-inline: 0;
}
.translation_update{
    font-weight: bold;
    padding: .4rem;
    font-size: 18px;
    background-color: #0a7aff;
    color: white;
    border-radius: 7px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;

}
.translation_update:hover{
    background-color: #0a64cf;
    color: white;

}
.hm_custom,.hm_custom span{
    width: 100%;
}
.term-container form{
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 300px;
    gap: .4rem;
}
.term-container .term_panel{
    display: flex;
}
.term-container .term_panel span{
    display: flex;
    flex-direction: column;
    padding: .4rem;
    gap:.7rem;
    width: 50%;
}
.term-container .term_panel label{
    margin-left: .4rem;
}
.term-container .term_panel span b{
    padding: .4rem;
    min-height: 30px;
    display: flex;
    align-items: center;
    border-radius: .4rem;
    border: 1px solid #007aff;
    color: #014795;
    background-color: white;
}
h1 strong{
    color: #014795;
}
.term-container form input,.term-container form textarea{
    padding: .4rem;
    border-radius: .4rem;
    border: 1px solid #007aff;
}
.term-container form *:focus{
    outline: none;
    border: 1px solid #007aff; /* Couleur bleue iOS */
    border-radius: 0.5rem;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.3); /* halo lumineux */
    transition: box-shadow 0.2s ease;
}
a[href="admin.php?page=hm-tax-edit"]{
    display: none!important;
}
li:has( .hm-language-selector){
    display: inline-flex!important;
}
.hm-language-selector{
    display: contents;
    position: absolute;
    right: 0;
}
.hm-language-selector img{
    margin-inline: .7rem!important;
    max-width: 35px!important;
}
.hm-language-selector a{
    filter: grayscale(1) brightness(.5);
}
.hm-language-selector a.active{
    filter: grayscale(0) brightness(1);
}
.hm_translate_button{
    background-color: #0a7aff!important;
    color: white;
    border-radius: 7px;
    cursor: pointer;
    border: 0;
    min-width: 28px;
    min-height: 28px;
    margin-left: auto;
    float: right;
}
.hm_translate_button:hover{
    transition: filter .3s;
    filter: grayscale(.3);
}
.hm-deepl-container{
    flex-direction: column!important;
    display: flex;
    margin-right: auto;
    width: 100%!important;
    gap: .7rem;

}
.hm-deepl-container input{
    min-width: 300px;
    width: 100%;
    min-height: 40px;
}
.hm-deepl-container .primary-button{

}
.tr-custom{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    pointer-events: none;
}
