.custom_shop_options{
    columns: 2;
    column-gap: 22px;
    padding: 22px 0;
    padding-right: 20px;
    padding-left: 2px;
}
.custom_shop_options label{
    min-width: 100px;
    display: inline-block;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    cursor: auto;
}
.custom_shop_options .widget label + span {
    display: inline-block;
    width: min-content;
}

.custom_shop_options .widget label + span input ~ input {
    margin-top: 10px;
}
.custom_shop_options .widget{
    margin-bottom: 25px;
    height: auto;
    padding: 25px 30px;
    background-color: white;
    break-inside: avoid-column;
    border-radius: 8px;
}

.custom_shop_options input[name="save_options"]{
    border-radius: 0;
    padding: 0 10px;
    min-height: 36px;
    color: white;
    background-color: #2271b1;
    display: inline-block;
    font-size: 16px;
    border-radius: 3px;
    border: 1px solid #2271b1;
    min-width: 120px;
    cursor: pointer;
}
.custom_shop_options input[name="save_options"]:hover{
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

.custom_shop_options span.delete{
    margin-left: 30px;
    cursor: pointer;
    width: 23px;
    height: 23px;
    background: url('../images/admin-delete.svg') no-repeat center;
    background-size: 80%;
    text-indent: -9999px;
    display: inline-block;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
}
.custom_shop_options .widget h2{
    font-size: 20px;
}
.custom_shop_options .widget>p{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px rgba(0, 0, 0, 0.1) dashed;
    padding-bottom: 1rem;
}
.custom_shop_options .widget input[type="text"],.custom_shop_options .widget input[type="email"]{
    min-width: 400px;
    border: 1px solid #e6e6e6;
    border-radius: 0;
    border-radius: 3px;
    color: #656567;
}
.custom_shop_options .widget textarea{
    min-width: 400px;
    min-height: 200px;
    border: 1px solid #e6e6e6;
    color: #656567;
}
.custom_shop_options .widget select{
    color: #656567;
}
ul.ui-sortable li.ui-sortable-handle{
    padding: 8px 15px;
    border: 1px solid #e6e6e6;
    cursor: move;
    background: url('../images/order-sortable.svg') no-repeat;
    background-position: 98% center;
    background-size: 18px;
    font-size: 15px;
    color: #656567;
}
.custom_shop_options button.button{
    padding: 8px 50px;
    font-size: 13px;
    border: 1px solid #2271b1;
    background-color: #2271b1;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    border-radius: 3px;
    box-sizing: border-box;
    background: #f6f7f7;
    color: #2271b1;
}
.custom_shop_options button.button:hover{
    background: #f0f0f1;
    border-color: #0a4b78;
    color: #0a4b78;
}
.custom_shop_options ul.container li{
    padding: 5px 15px ;
    border: 1px solid #e6e6e6;
    line-height: 28px;
    position: relative;
}
.custom_shop_options ul.container li span.delete{
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

#poststuff .widget h2{
    font-size: 19px;
    padding-left: 0;
}
#poststuff div.widget{
    display: flex;
    flex-flow: wrap;
    align-items: center;
    padding: 20px;
    border: 1px solid #e8e8e8;
    break-inside: avoid-column;
    position: relative;
    border-radius: 3px;
}
#poststuff div.widget h3{
    padding: 0 !important;
    margin-bottom: 20px;
    width: 100%;
}
#poststuff div.widget input[type="text"]{
    border: 1px solid #e6e6e6;
    display: block;
    margin-right: 15px;
    max-width: 500px;
}
#poststuff div.widget td input[type="text"]{
    width: auto;
    margin-bottom: 0;
}
#poststuff div.widget ul.documents{
    width: 50%;
}
#poststuff .widget .inside{
    padding: 15px;
}
#poststuff .widget button.button{
    border: none;
    border-radius: 3px;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    background-color: #007cba;
    display: inline-block;
    min-height: 30px;
}
#poststuff .widget button.button:hover{
    background-color: #2271b1;
    color: #fff;
}
#poststuff .widget .ptop{
    position: absolute;
    top: 15px;
    right: 15px;
}
#poststuff .widget .img_preview{
    position: relative;
}
#poststuff .widget .img_preview span.delete{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: url('../images/admin-delete-white.svg') no-repeat center;
    background-size: 20px;
    text-indent: -9999px;
    background-color: #007cba;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}
#poststuff .img_preview:hover span.delete{
    opacity: 0.6;
}
#poststuff .widget p{
    width: 100%;
    display: flex;
    align-items: center;
}
#poststuff .widget p label{
    min-width: 150px;
}
#poststuff .widget textarea{
    min-width: 400px;
    min-height: 100px;
    border-color: #e6e6e6;
}
#poststuff .widget p.img_preview{
    width: auto;
}
#poststuff .widget p.img_preview:after{
    content: "";
    display: block;
}
.edit-post-meta-boxes-area #poststuff .widget h3{
    margin-bottom: 15px;
    padding-left: 3px;
}
#poststuff .widget .terms_list li{
    padding: 7px;
    border: 1px solid #e8e8e8;
    line-height: 22px;
    padding-left: 20px;
    padding-right: 20px;
    min-width: 500px;
    max-width: 500px;
    position: relative;
}
#poststuff .widget span.delete{
    color: #cc1818;
    cursor: pointer;
}
#poststuff .widget .terms_list li span.delete{
    margin-left: 30px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: url('../images/admin-delete.svg') no-repeat center;
    background-size: 72%;
    text-indent: -9999px;
    display: inline-block;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}
#poststuff .widget .terms_list li span.delete:hover{
    background-color: #f6f7f7;
}
#poststuff .widget .prev{
    margin-bottom: 15px;
}
#poststuff .widget .searchbox{
    width: 100%;
}


/* 
    ptop              (button,input)
    terms_list     (ul)
    img_preview      (li)
*/

#poststuff .widget ul.gallery{
    display: flex;
    gap: 25px;
}
.gap2{
    gap: 2rem;
}
.flex-end{
    align-items: flex-end !important;
}