.wrapper-full-page{
    min-height: 70vh;
}

.font-size-1{
    font-size: 16px;
}
.nav-tabs-overflow {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
}
.nav-tabs-overflow  .nav-link{
    white-space: nowrap;
}

.tabbable .nav-tabs {
    overflow-x: auto;
    overflow-y:hidden;
    flex-wrap: nowrap;
}
.tabbable .nav-tabs .nav-link {
    white-space: nowrap;
}
  .input-group > .select2.select2-container {
    width: auto!important;
    flex: 1 1 auto!important;
}

.custom-input-group .input-group   .select2-selection--multiple, .custom-input-group .input-group  .select2-selection--single {
    height: 100%!important;
    line-height: inherit!important;
    padding: 0.5rem 1rem!important;
}
.custom-input-group .input-group-text {
    background-color: unset!important;
    border:unset!important;
}

.custom-style-input-group{
    box-shadow: unset!important;
    border-color: #8592a3;
    display: flex;
    justify-content: center;

}
.custom-style-input-group .select2-selection{
    border-top-right-radius:0!important;
    border-bottom-right-radius:0!important;
    border: 1px solid #697a8d!important;
}
.custom-style-input-group .select2-selection--multiple {
    min-height: 2.4rem!important;
}

.custom-style-input-group .select2{
    width:100%!important;
    max-width:80%;
}

.custom-style-input-group .custom-style-input-group-span{
    width:unset!important;
}
.custom-style-input-group .btn:first-child{
    border-top-right-radius:0.375rem!important;
    border-bottom-right-radius:0.375rem!important;
    padding: 0.54rem !important;
}



.custom-select2-product-result{
    display: flex;

}

.custom-select2-product-result .img-thumbnail{
    width:80px;
    max-width: 80px!important;
}
.custom-select2-product-result .product-text{
    padding:0 4px;
    font-weight: 600;
}


/*Ticket Chat List Section*/
.ticket-aside-area .card-body{
    max-height: 67vh;
}
.ticket-aside-area .list-group-item.active {
    z-index: 2;
    color:#1d2129;
    border-color: #F0F2F5;
    background-color: #F0F2F5;
}

.ticket-aside-area .list-group-item.new {
    z-index: 2;
    color:#1d2129;
   /* border-color: #DCF8C6;*/
    background-color: #D8FDD3;
}


.ticket-aside-area .list-group .list-group-item:not(.active)  {
    text-decoration: none;
    color: #32325d!important;
}

.ticket-aside-area p{
    line-height: 1;
    font-size: 12px;
}

/*Form Section*/
.chat-box {
    height: 55vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.message {
    display: flex;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
}
.message.sent {
    background-color: #DCF8C6;
    align-self: flex-end;
}
.message.received {
    background-color: #E2E2E2;
    align-self: flex-start;
}
.message-content {
    flex-grow: 1;
    margin-left: 10px;
}
.message-time {
    font-size: 12px;
    color: #999;
}
.thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background-color: #ddd;*/
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #555;
}
.table-responsive{
   /* min-height:60vh;*/
}

.container-with-fixed-bottom{
    height:calc(100vh - 185px);
    overflow-y:auto;
}
.copy-on-click{
    cursor:pointer;

}
.copy-on-click:hover{
    color:#5e72e4!important;
}
.selectable-text {
    display: inline-block;
    white-space: nowrap;
}
.timeline:before {
    top:4px;
    height: 95%;
}


.timeline-step{
    align-items: initial;
}
.global-search .form-control-lg{

}
.global-search select{
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.global-search input{
    padding:0 0.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

@media (max-width: 768px) {
    .custom-style-input-group .select2-selection--multiple {
        min-height: 2.40rem!important;
    }
    .custom-style-input-group .select2{
        width:100%!important;
        max-width: unset!important;
        border-top-right-radius:unset!important;
        border-bottom-right-radius:unset!important;

    }
    .custom-style-input-group .custom-style-input-group-span{
        width:100%!important;
        justify-content: center;
        text-align: center;
        margin:10px 0;
    }
    .custom-style-input-group .btn:first-child{
        border-top-left-radius:0.375rem!important;
        border-bottom-left-radius:0.375rem!important;
    }
    .container-with-fixed-bottom{
        height:calc(100vh - 160px);
        overflow-y:auto;
    }
}
@media (max-width: 576px) {
    .custom-style-input-group .select2-selection--multiple {
        min-height: 2.45rem!important;
    }
    .custom-style-input-group .select2{
        width:100%!important;
        max-width: unset!important;
        border-top-right-radius:unset!important;
        border-bottom-right-radius:unset!important;

    }
    .custom-style-input-group .custom-style-input-group-span{
        width:100%!important;
        justify-content: center;
        text-align: center;
        margin:10px 0;
    }
    .custom-style-input-group .btn:first-child{
        border-top-left-radius:0.375rem!important;
        border-bottom-left-radius:0.375rem!important;
    }
}


/* For Chrome, Safari, Edge, and Opera */
input.no-spinner::-webkit-outer-spin-button,
input.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
input.no-spinner {
    -moz-appearance: textfield;
}
.cursor-pointer{
    cursor:pointer;
}

.photo-gallery-container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% / 2); /* Mobile: 2 per row */
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem;
}

@media (min-width: 768px) {
    .photo-gallery-container {
        grid-auto-columns: calc(100% / 4); /* Desktop: 4 per row */
    }
}

.photo-gallery-container > div {
    scroll-snap-align: start;
    flex-shrink: 0;
}

#photo-gallery {
    overflow-x: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% / 2); /* Mobile default */
    gap: 1rem;
    scroll-behavior: smooth;
}
@media (min-width: 576px) {
    .modal-scanner .modal-xl {
        max-width: 95vw !important;
    }
}

@media (min-width: 1200px) {
        .modal-scanner .modal-xl {
            max-width: 80vw !important;
        }
}
.form-check-input:checked + label .card {
    background-color: #e9ecef; /* Slightly gray background */
    border:1px solid var(--primary);

}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #dee2e6!important;
    border-radius: 4px;
}
.select2-container--default .select2-selection--multiple {
    border: 1px solid #dee2e6!important;
    outline: 0;
}
.select2-dropdown{
    border: 1px solid #dee2e6!important;

}

.badge-stats-alert{
    display: inline-block;
    border-radius: 0.375rem;
    color:red;
    background-color: white;
    padding-left: .25rem;
    padding-right: .25rem;
}

@media (max-width: 768px) {
    .filter_body_class_custom {
        max-height: 60vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

