.nsc-wrapper {
    width: 100%
}

.nsc-search {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px
}

.nsc-field {
    display: flex;
    flex-direction: column
}

.nsc-field label {
    font-weight: 600;
    color: #DA2727;
    margin-bottom: 6px
}

.nsc-field select {
    min-width: 250px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff
}

#tableTitle {
    background: #DA2727;
    color: #fff;
    padding: 12px;
    text-align: center;
    border-bottom: 2px solid #fff
}

#detailsTable {
    width: 100%
}

#detailsTable th {
    white-space: normal
}

#detailsTable td {
    vertical-align: middle
}

#detailsTable th,
#detailsTable td {
    word-wrap: break-word !important;
    white-space: break-spaces !important;
    font-weight: 400 !important
}

.dataTables_wrapper {
    margin-top: 20px
}

.dataTables_filter {
    margin-bottom: 15px
}

.dataTables_length {
    margin-bottom: 15px
}

.dataTables_info {
    margin-top: 15px
}

.dataTables_paginate {
    margin-top: 15px
}

.table-responsive {
    overflow-x: auto
}

@media (max-width:768px) {
    .table-responsive {
        overflow-x: auto !important
    }

    #detailsTable th,
    #detailsTable td {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        white-space: nowrap !important;
        overflow-wrap: normal !important
    }
}

@media (max-width:768px) {
    #detailsTable {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }
}

@media(max-width:768px) {
    .nsc-search {
        flex-direction: column
    }

    .nsc-field select {
        width: 100%
    }
}

#nsc-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / .95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center
}

.loader-box {
    text-align: center
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top: 6px solid #0073aa;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: auto auto 20px
}

.loader-box h3 {
    margin: 10px 0 5px;
    font-size: 22px
}

.loader-box p {
    color: #666
}

@keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

#detailsTable_paginate span .paginate_button.current,
#detailsTable_paginate span .paginate_button.current:hover {
    background: #DA2727 !important;
    background-image: none !important;
    border: 1px solid #DA2727 !important;
    color: #fff !important;
    box-shadow: none !important
}

#detailsTable_paginate .paginate_button:active {
    outline: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important
}

#detailsTable_paginate span .paginate_button:hover {
    background: #DA2727 !important;
    background-image: none !important;
    border: 1px solid #DA2727 !important;
    color: #fff !important;
    box-shadow: none !important
}

.dataTables_paginate>.paginate_button.previous,
.dataTables_paginate>.paginate_button.next {
    font-size: 14px !important
}

#detailsTable_paginate .previous:hover,
#detailsTable_paginate .next:hover {
    color: #DA2727 !important
}