.element-reusable-list {
    /* max-height: 100px; */
    height: 100%;
    line-height: 1.2;
    /* overflow: hidden; */
    min-height: 48px;
}

.element-reusable-list img {
    height: 100px;
    aspect-ratio: 1;
    width: 100px;
    object-fit: cover;
}

/* .element-reusable-list > div {
    min-height: 56px;
} */
.element-reusable-list a:hover{
    cursor: pointer;
}
.actions a i,
.actions button i {
    font-size: 1.25rem;
}
.red-trash {
    color: var(--error-color);
}

.red-trash:hover {
    color: rgb(187, 4, 4);
}
.badge-in-list {
    text-align: center;
    padding: 4px 6px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}
.badge-in-list.lime {
    background-color: var(--lime-color);
    color: white;
}

.badge-in-list.blue {
    color: white;
    background-color: var(--blue-color);
}
.badge-in-list.red {
    color: white;
    background-color: var(--error-color);
}
.badge-in-list.lime{
    background-color: white;
    color: var(--lime-color);
    border: 1px solid var(--lime-color);
    font-weight: 500;
}
.badge-in-list.blue {
    color: var(--blue-color);
    background-color: white;
    border: 1px solid var(--blue-color);
    font-weight: 500;
}
.badge-in-list.red {
    color: var(--error-color);
    background-color: white;
    border: 1px solid var(--error-color);
    font-weight: 500;
}
.simple-data .element {
    min-width: max-content;
    padding: 2px 16px 2px 4px;
}

.actions a {  
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.actions button {
    border: none;
    background-color: transparent;
    padding: 0px;
    height: 40px;
}
.actions button i{
    margin-left: 0px;
    margin-right: 0px;
}
/* .actions > i{
    height: 40px;
    display: flex
;
} */
.dropdown.list{
    display: none;
    position: absolute;
    right: 0px;
    top: 16px;
    z-index: 99;
    width: max-content;
    border: 1px solid #eee;
    min-width: 160px;
    background-color: white;
    color: var(--black-color);
    border-radius: var(--radius-medium);
}
.actions.mobile a.active:has(i.more-options) + .dropdown.list{
    display: block;
}
.actions.mobile{
    position: relative;

}
.actions .dropdown.list a,.actions .dropdown.list button{
    width: 100%;
    height: 40px;
    color: var(--black-color);
    font-weight: 400;
}
.actions .dropdown.list button.red-trash{
    color: var(--error-color);
}
.actions .dropdown.list a:hover,.actions .dropdown.list button:hover{
    background-color: #eee;
    color: var(--black-color);
}
.actions .dropdown.list > button.red-trash:hover{
    color: var(--error-color);
}
/* .element-reusable-wrapper{
    align-items: stretch;

} */
 .image-container-list{
    max-width: 200px;
    width: 100%;
    background-position: center;
    background-size: cover;
    aspect-ratio: 4 / 3;
 }

.element-reusable-list:has(a.active) .element-reusable-wrapper{
    pointer-events: none;
}
.actions  .custom-tooltip::after{
    left: auto;
    right: 0px;
    transform: none;
}
@media (max-width: 1000px){


    .package-types-list .element-reusable-list > div {
        flex-direction: row !important;
    }

    .package-types-list .element-reusable-list > div .actions , .package-types-list .simple-data{
        margin-top: 0 !important; 
    }

    .search-form{
        margin-top: 20px;
    }

    .element-reusable-list > div {
        /* flex-direction: column !important; */
    }

    .element-reusable-list > div .badges{
        justify-content: flex-start !important;
        margin-left: 0 !important;
        /* margin-top: 24px !important; */
    }

    .element-reusable-list > div .actions{
        margin-top: 14px !important;
    }

    .element-reusable-list.order-list div.ms-auto{

        margin-left: 0 !important;
        justify-content: flex-end !important;
    }

    .element-reusable-list.order-list div.ms-auto a{

        margin-top: 18px !important;

        min-width: unset !important;
    }

}
@media(max-width:992px){
    .element-reusable-list img{
        height: 130px;
    }
}
@media(max-width:768px){
    .image-container-list{
        max-width: 220px;
    }
 /* .element-reusable-list .actions{
    position: absolute;
    right: 0px;
    bottom: 5px;
 } */
 .element-reusable-list img{
    height: 170px;
 }
 .simple-data element.small{
    font-size: 0.75rem;
 }
 /* .image-container-list + div{
    margin-bottom: 40px;
 } */
 .element-reusable-list{
    line-height: 1;
 }
}
@media (max-width: 600px){

    .search-form {
        flex-direction: column !important;
    }
    .dashboard-content.container div:has(.search-form){
        flex-direction: column !important;
    }
    .dashboard-content.container div:has(.search-form) .search-form > div{
       width: 100%;
    }


    .dashboard-content.container div:has(.search-form) .search-form{
        margin-top: 1rem !important;
     }

    .dashboard-content.container div:has(.search-form) .search-form > button{
        width: 100%;
        /* margin-top: 12px !important;
        margin-bottom: 12px !important; */
     }

     .dashboard-content.container div:has(.search-form) .search-form div.mt-2{
        margin-top: 0rem !important;
     }

     .dashboard-content .package-types-list .element-reusable-list.card{
        padding-top: 0rem ;
        padding-bottom: 0rem !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
     }

     .dashboard-content .package-types-list .element-reusable-list.card > div{
        padding-top: 0 !important;
     }

     .dashboard-content .package-types-list .element-reusable-list.card .element{
        margin: 0 !important; 
     }
     .dashboard-content  .element-reusable-list{
        padding: 0 !important;
     }
     .element-reusable-wrapper:has(.image-container-list) > div:first-of-type{
        margin-bottom: 0px;
     }
     .element-reusable-wrapper > div:first-of-type {
        margin-bottom: 20px;
    }
       .image-container-list + div{
    margin-bottom: 40px;
 } 
  .element-reusable-list .actions{
    position: absolute;
    right: 0px;
    bottom: 8px;
 }
 .dashboard-content .element-reusable-list > .element-reusable-wrapper{
    flex-direction: column!important;
}
.element-reusable-list img {
    height: auto;
    max-width: 100%;
    aspect-ratio: 4/3!important
}
.image-container-list{
    padding-right: 0px!important;
        max-width: 100%;
}

}
