﻿

td[data-field="score"] {
    cursor: pointer;
}

.score-progress {
    height: 10px;
    border-radius: 10px;
}

.score-progress-bar {
    border-radius: 10px;
    font-size: 0.8rem;
}

.light-bg {
    background-color: #f5f5f5;
}

.table-responsive {
    min-height: 15rem;
}
#listing-table {
    text-align: center;
}

#listing-table th,
#listing-table td {
    text-align: center;
}
.text-center-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}
.progress.progress-bar-striped {
    background-color: #d1d1d1;
}
.progress-bar-section{
    padding-right: 1rem;
}

#select-all-container {
    display: inline-block;
    position: relative;
    margin-top: 0.438rem;
    padding: 0.6rem;
    height: 2.5rem;
    width: 2.5rem;
    border: 1px solid #e0e0e0;
    background-color: #F8F6F5;
    border-radius: var(--bs-border-radius);
    cursor: pointer;
}
.select-all-checked {
    background-color: #F8EDDD !important;
    border-color: #f79131 !important;
}
#select-all-container .form-check-input {
    border: 1px solid #e0e0e0;
}

#select-all-container:hover {
    background-color: #F8EDDD !important;
    border: 1px solid #f1d2b4;
}

#select-all{
    margin-top: 0;
}
    /*pagination*/
    .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
}

.pagination ul {
    font-size: 1rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    display: inline-block;
    margin: 0 0.25rem;
}

.pagination a {
    text-decoration: none;
    color: #333;
}

    .pagination a.page-link:hover {
        text-decoration: underline;
    }

    .pagination a.previous::before,
    .pagination a.next::after {
        content: "";
    }

    .pagination a.previous::before {
        content: "\2039";
    }

    .pagination a.next::after {
        content: "\203A";
    }

    .pagination a.disabled {
        pointer-events: none;
        opacity: 0.6;
        cursor: not-allowed;
    }
    .footer-active{
        text-decoration: underline;
    }
#pageNumberInput{
    width: 70px;
}
.pageSize {
    width: 50px;
    -webkit-appearance: auto;
}
.pagesize-dropdown {
    width: 4.375rem !important;
}

select.pageSize option:hover {
    background-color: var(--bs-primary); /* Set your desired background color here */
}
select.pageSize option:selected {
    background-color: var(--bs-primary); /* Set your desired background color here */
}

 
.prod-container {
    display: flex;
    align-items: center;
}

.listing-bookmark {
    fill: var(--bs-primary);
}
.clickable{
    cursor: pointer;
}
@media (min-width: 768px) {
    .goto-page-container {
        float: right !important;
    }
}
@media (max-width: 1108px) {
    .btn-action {
        font-size: 0.75rem;
        padding: 0.188rem 0.375rem;
    }

    #select-all-container {
        height: 2rem;
        width: 2rem;
        padding: 0.35rem;
    }
}

@media (max-width: 767px) {
    .search-icon {
        width: 1.5rem;
    }

    .sort-icon {
        font-size: 1.5rem !important;
    }

    .search-form-table {
    }

    .listing-actions-btn {
        margin-top:5px;
        padding: 0 .5rem 0.375rem 0.688rem !important;
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered{
        font-size: 1rem;
    }
    #pageNumberInput {
        line-height: 1;
    }
    .btn-filter-group{
        padding: 0px !important;
    }
    .refresh-btn {
        padding: 0.375rem !important;
    }
    .refresh-icon {
        width: 1.25rem;
    }
    .goto-page-section {
        margin-left: 8rem;
    }
    .pagination {
        text-align: center;
    }
    .free-space{
        display:none;
    }
}
@media (max-width: 450px) {
    .pagination {
        margin-top: 0.625rem;
        float: none !important;
        display:inline-grid;
    }
        .pagination ul { 
            margin: 10px 0px;
        }
    #pageNumberInput {
        height: 100%;
        width: 20%;
    }

    .pageSize {
        height: 100%;
        width: 20%;
    }
    .search-form-table {
        margin: 0 0 0 0;
    }
    .goto-page-section {
        margin-left: 5rem;
    }
    .bulk-action-section {
        padding: 0px 0px 0px 0.7rem !important;
    }
    #bulkActionDropdown {
        margin: -2px 0 0 0.30rem !important;
    }
}
@media (max-width: 393px) {
    .edit-button {
        font-size: 0.875rem !important;
    }
    .goto-page-section {
        margin-left: 4rem;
    }
}
/*Manage dropdown button*/
.listing-dropdown-item {
    font-size: 0.812rem;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x) !important;
    border-radius: 2px;
}

.listing-dropdown-item:hover {
    text-decoration: none;
}
.btn-listing .listing-icon-prepend {
    margin-right: 0px !important;
}
.btn-icon-prepend.listing-icon-prepend {
    width: 1.25rem;
    height: 1.25rem;
}

.button-a {
    padding: 0 !important;
    margin-right: 15px;
    border: none;
    background-color: transparent;
}

.btn-action, .btn-action:hover {
    background: none;
    color: var(--bs-primary);
    border-color: var(--bs-primary) !important;
}

    .btn-action:active, .btn-action.show {
        background-color: transparent !important;
        color: var(--bs-primary-dark) !important;
        border: 1px solid var(--bs-primary-dark) !important;
    }

    .btn-filter-group:hover {
        background: none;
        color: var(--bs-primary);
        border: 1px solid var(--bs-primary) !important;
    }

        .btn-filter-group:hover span {
            color: #f79131;
        }

    .btn-filter-group:active span, .btn-filter-group.show span {
        color: #d36b08 !important;
    }

    .btn-filter-group:active, .btn-filter-group.show {
        background-color: transparent !important;
        background: none;
        color: var(--bs-primary-dark) !important;
        border: 1px solid var(--bs-primary) !important;
        box-shadow: none !important;
        z-index: 1;
    }

    .search-form-table {
        position: relative;
        width: 100%;
    }

    .search-input-group {
        position: relative;
        display: flex;
        align-items: center;
    }

    .bulk-action-section {
        padding-left: 0.7rem;
    }

.search-box {
    padding-left: 3rem !important;
    height: 47px;
    padding-top: 0.7rem;
}

    .c-pointer {
        cursor: pointer;
    }

    .search-icon {
        position: absolute;
        left: 1.10rem;
        color: #d0d4d7;
        z-index: 11;
    }

    #bulkActionDropdown {
        color: var(--bs-primary);
        border-color: var(--bs-primary);
        margin: -2px 0 0 0.80rem;
        line-height: 1.5
    }

    .filter-outer-btn {
        width: 18px;
        height: 18px
    }

    .link-button {
        background: none;
        border: none;
        color: var(--bs-primary);
        cursor: pointer;
        text-decoration: none;
        padding: 0;
        font-size: inherit;
    }

    .button-checkbox {
        display: flex;
        align-items: center;
    }

    .dropdown-toggle-icon {
        display: inline-block;
        cursor: pointer;
        color: var(--bs-primary);
    }

        .dropdown-toggle-icon::before {
            border-top: 0;
            border-right: 0;
            border-left: 0;
            border-bottom: 0;
            font: normal normal normal 1.25rem/1 "feather";
            content: "\e842";
            width: auto;
            height: auto;
            vertical-align: middle;
            line-height: 0.625rem;
            font-size: 0.875rem;
        }

    .adjust-width {
        max-width: 31rem;
        white-space: normal;
        overflow: hidden;
    }

    .btn-close {
        margin-top: -3rem !important;
    }

    .col-input-check {
        padding: 0.85rem 0.6rem !important;
    }

    .col-actions {
        padding: 0.85rem 0.2rem !important;
    }

    .table th, .table td {
        vertical-align: middle;
    }

    .fav-prod-a {
        padding-left: 0 !important;
    }

    .overlay {
        z-index: 999;
    }

    #popupContainer .popup-content {
        overflow-y: auto;
        height: 90vh;
        padding-bottom: 8rem;
    }

.dropdown-header {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-size: 1rem;
}

.compact-footer {
    font-size: 12px;
    padding: 5px 10px;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
}

.pages-link {
    padding: 2px 5px;
    text-decoration: none;
    color: #007bff;
    cursor: pointer;
}

    .pages-link.disabled {
        color: #ccc;
        pointer-events: none;
    }

#pageNumberInput {
    text-align: center;
    border-radius: 4px;
}