:root {
    --primColor: #1f2937;
}

html {
    font-size: 15px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

/* Modal Content/Box */
.modal-content {
background-color: #fff;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border-radius: 4px;
width: 60%; /* Adjust as needed */
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
}

.check-box{
    margin: 0.7rem;
    border-radius: 3px;
    box-shadow: 1px 1px 8px #ccc;
}

/* bootstrap */
.text-orange {
    color: #ff6e07;
}

.text-warning {
    color: #ffc107;
}

.bg-warning {
    background-color: #ffc107;
}

.text-danger {
    color: tomato;
    /* color: #dc3545; */
}

.bg-success {
    background-color: #28a745;
}

.bg-light {
    background-color: #f8f9fa;
}

.border-2 {
    border: 1px solid #444;
}

.text-faded {
    color: #b9b9b9;
}

.text-small {
    font-size: small;
}

/* Container for the grid */
.container {
    width: 100%;
    max-width: 1140px;
    /* Adjust this based on your design needs */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Row - clearing the float */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Basic column - this will take up 1/12th of the row width by default */
.col {
    flex: 1 1 0%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Grid system for responsive breakpoints */

/* Extra small devices (less than 576px) */
@media (max-width: 575.98px) {
    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Small devices (≥576px) */
@media (min-width: 576px) {
    .col-sm-1 {
        flex: 0 0 8.33%;
    }

    .col-sm-2 {
        flex: 0 0 16.66%;
    }

    .col-sm-3 {
        flex: 0 0 25%;
    }

    .col-sm-4 {
        flex: 0 0 33.33%;
    }

    .col-sm-5 {
        flex: 0 0 41.66%;
    }

    .col-sm-6 {
        flex: 0 0 50%;
    }

    .col-sm-7 {
        flex: 0 0 58.33%;
    }

    .col-sm-8 {
        flex: 0 0 66.66%;
    }

    .col-sm-9 {
        flex: 0 0 75%;
    }

    .col-sm-10 {
        flex: 0 0 83.33%;
    }

    .col-sm-11 {
        flex: 0 0 91.66%;
    }

    .col-sm-12 {
        flex: 0 0 100%;
    }
}

/* Medium devices (≥768px) */
@media (min-width: 768px) {
    .col-md-1 {
        flex: 0 0 8.33%;
    }

    .col-md-2 {
        flex: 0 0 16.66%;
    }

    .col-md-3 {
        flex: 0 0 25%;
    }

    .col-md-4 {
        flex: 0 0 33.33%;
    }

    .col-md-5 {
        flex: 0 0 41.66%;
    }

    .col-md-6 {
        flex: 0 0 50%;
    }

    .col-md-7 {
        flex: 0 0 58.33%;
    }

    .col-md-8 {
        flex: 0 0 66.66%;
    }

    .col-md-9 {
        flex: 0 0 75%;
    }

    .col-md-10 {
        flex: 0 0 83.33%;
    }

    .col-md-11 {
        flex: 0 0 91.66%;
    }

    .col-md-12 {
        flex: 0 0 100%;
    }
}

/* Large devices (≥992px) */
@media (min-width: 992px) {
    .col-lg-1 {
        flex: 0 0 8.33%;
    }

    .col-lg-2 {
        flex: 0 0 16.66%;
    }

    .col-lg-3 {
        flex: 0 0 25%;
    }

    .col-lg-4 {
        flex: 0 0 33.33%;
    }

    .col-lg-5 {
        flex: 0 0 41.66%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
    }

    .col-lg-7 {
        flex: 0 0 58.33%;
    }

    .col-lg-8 {
        flex: 0 0 66.66%;
    }

    .col-lg-9 {
        flex: 0 0 75%;
    }

    .col-lg-10 {
        flex: 0 0 83.33%;
    }

    .col-lg-11 {
        flex: 0 0 91.66%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
    }
}

/* Extra large devices (≥1200px) */
@media (min-width: 1200px) {
    .col-xl-1 {
        flex: 0 0 8.33%;
    }

    .col-xl-2 {
        flex: 0 0 16.66%;
    }

    .col-xl-3 {
        flex: 0 0 25%;
    }

    .col-xl-4 {
        flex: 0 0 33.33%;
    }

    .col-xl-5 {
        flex: 0 0 41.66%;
    }

    .col-xl-6 {
        flex: 0 0 50%;
    }

    .col-xl-7 {
        flex: 0 0 58.33%;
    }

    .col-xl-8 {
        flex: 0 0 66.66%;
    }

    .col-xl-9 {
        flex: 0 0 75%;
    }

    .col-xl-10 {
        flex: 0 0 83.33%;
    }

    .col-xl-11 {
        flex: 0 0 91.66%;
    }

    .col-xl-12 {
        flex: 0 0 100%;
    }
}

/* bootstrap */

.ui-datepicker {
    z-index: 10 !important;
}

.ct {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
    /* display: table; */
    width: 100%;
    table-layout: auto;
}

.ct>.table-head {
    position: sticky;
    top: 0;
    z-index: 2;
}

.ct>.table-head>.table-head-tr {
    color: #fff;
    line-height: 1.4;
    background-color: #1f2937;
}

.ct th {
    padding: 8px;
    cursor: pointer;
    position: relative;
}

.ct th::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    cursor: ew-resize;
    background-color: #181c33;
    z-index: 0;
}

.ct th.fixed-column::after {
    background-color: #11152b;
    ;
}

.ct th:hover::after {
    background-color: #11152b;
    ;
}

.ct>.table-body {
    font-size: 0.95rem;
}

.ct>.table-body>tr>td {
    padding: 2px 8px;
    border: 1px solid #b1b1b1;
}

.bd-no-padding>tr>td {
    padding: 0px !important;
    border: 1px solid #e6e6e6;
}

tbody [type='text'],
[type='email'],
[type='url'],
[type='password'],
[type='number'],
[type='date'],
[type='datetime-local'],
[type='month'],
[type='search'],
[type='tel'],
[type='time'],
[type='week'],
[multiple],
textarea,
[select] {
    font-size: 0.95rem;
}


/* .table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th {
    padding: 2px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
} */

.no-select {
    user-select: none;
}

.no-wrap {
    white-space: nowrap;
}

.id {
    font-size: small;
    color: #444;
}

.id::before {
    content: "#";
    padding-right: 2px;
}

.inp-disabled,
input[readonly] {
    background-color: #eee;
    cursor: default;
}

.tbl-saperator {
    height: 10px;
    background-color: #f0f0f0;
}

.imp-holder {
    column-gap: 10px;
    align-items: center;
}

.my-icon {
    width: 16px;
}

.icon-btn {
    display: flex;
    column-gap: 4px;
}

.frm-opts {
    border-bottom: 1px dashed #808080;
    padding-bottom: 4px;
}

.tbl-opts {
    border-bottom: 1px dashed #808080;
    padding-bottom: 2px;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tbl-heading {
    float: left;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.tbl-filer {
    display: none;
    border-top: 1px dashed #808080;
    padding: 14px 0px;
}

.tbl-filer input {
    padding: 4px 2px;
}

/* input{
    padding: 4px 8px !important;
} */

.form-heading img {
    height: 36px;
}

.form-heading {
    font-size: 17px;
    display: flex;
    font-weight: 600;
    align-items: center;
    column-gap: 7px;
}


.select2-selection {
    height: 39px !important;
    padding: 4px;
    border-radius: 0.375rem !important;
}

.select2-selection__arrow {
    margin: 4px 0px;
}

.select2-results__option {
    padding: 3px 4px !important;
    font-size: 14px;
}

.select2-container--default .select2-selection--single {
    /* border: 1px solid #aaa; */
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity));
}

.select2-container {
    width: 100% !important;
    margin-top: .25rem !important;
}

form .select2-container {
    min-width: 200px;
}

form .select2-container--default .select2-selection--single {
    height: 38px !important;
    padding: 3px;
    border-color: rgb(209 213 219 / var(--tw-border-opacity)) !important;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}


.newborder {
    border: 1px solid #00000043;
    margin-top: 2px;
    border-left: 0px;
    border-right: 0px;
}

.border2 {
    /* border: 1px solid #000; */
    margin-top: 2rem;
}

.floting-notifcation {
    margin: 0px 30px;
    position: absolute;
    z-index: 999;
    right: 16px;
    top: 64px;
}

.table1 {
    width: 100%;
}

.table2 {
    width: 100%;
}

.borderinward {
    width: 100%;
}

.bd1 {

    width: 100%;
}

.padding {
    margin-left: 6rem;
    align-items: center;

}

.form_save_button {
    /* margin-top: 6px;
    padding-top: 11px;
    padding-bottom: 11px; */
}

.form_cancel_button {
    margin-top: 6px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.process_button {
    width: 110px;
    height: 35px;
    margin-top: 6px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.previewContainer {
    display: flex;
    padding: 10px;
}

.previewContainer div {
    margin: 0px 5px;
}

.menu-wrapper {
    justify-content: flex-start;
    gap: 1rem;
}

@media (max-width: 768px) {
    .menu-wrapper {
        justify-content: space-between;
        margin-left: 1.2rem;
        margin-right: 1.2rem;
    }
}

@media (min-width:300px) and (max-width:500px) {
    .table1 {
        width: 100%;
        font-size: 0.8rem;
    }

    tr {
        font-size: 0.8rem;
    }

    table {
        width: 100%;
    }

    .borderinward {
        width: 100%;
    }

    .bd1 {
        width: 100%;
        font-size: 0.8rem;
    }

    table input {
        width: max-content !important;
        font-size: 0.8rem;
        padding: 0px 5px !important;
    }
}

@media (min-width:501px) and (max-width:1000px) {
    .borderinward {
        width: 100%;
        font-size: 0.5rem;
    }

    tr {
        font-size: 0.5rem;
    }

}

.pre-wrap {
    white-space: pre-wrap;
}

.paginatorContainer {
    display: flex;
    padding-bottom: 4px;
    align-items: center;
    white-space: nowrap;
    gap: 4px;
    justify-content: flex-end;
}

.svBtnHolder {
    display: flex;
    align-items: flex-end;
}

.bk_ic {
    width: 16px;
    display: inline;
    margin-right: 4px;
}

.form-checkbox {
    margin-top: 7px;
}

.ct .fixed-column {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #374151;
    color: #fff;
    border-right: 2px solid #000;
}

.table-container {
    width: 100%;
    border-radius: 0.8rem 0.8rem 0 0;
    margin-top: 0.625rem;
    padding-bottom: 0.625rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* max-height: 90vh; */
}

/* @media (max-width: 1024px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-height: 90vh;
    }
} */

.bk_btn {
    border: 1px solid #ccc;
    width: fit-content;
    padding: 5px 9px 5px 4px;
    border-radius: 6px;
    box-shadow: 1px 1px 10px #e4e4e4;
    background: #fbfbfb;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    contain: layout;
}

.deleted {
    opacity: 0.5;
}

.info-container {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

label {
    margin: 7px 0px 0px 0px !important;
}

.info-label:first-child{
	margin-left: 0px;
}

.info-label {
    color: #333;
    font-weight: bold;
    font-size: 15px;
    margin: 8px;
    margin-right: 5px;
}

.label-name {
    font-weight: normal;
    font-size: 15px;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000d1;
    z-index: 9998;
}

#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.loader-icon {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.tbl_list_view {
    padding: 7px;
    border-radius: 7px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.hover-element {
    cursor: pointer;
    text-decoration: underline;
    position: relative;
}

.hover-detail-popup {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1049;
    width: 200px;
    border-radius: 10px;
}

.hover-detail-popup img {
    max-width: 50%;
    height: auto;
    margin-bottom: 10px;
}

.delete-checkbox {
    width: 25px;
    height: 25px;
    margin-top: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    /* Add cursor pointer for better user interaction */
}

.delete-checkbox:hover {
    border-color: #ccc;
}

.delete-checkbox:checked {
    border-color: #007bff;
    background-color: #eee;
}

.delete-checkbox::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-image: url("/assets/images/Icons/delete-icon.svg");
    background-size: cover;
}

.editing_entry {
    background-color: #ccc;
}

.pop-up-td {
    position: relative;
}

.options-menu-popup {
    position: absolute;
    background-color: white;
    border-radius: 6px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 2px 2px 4px 4px rgba(0, 0, 0, 0.1);
    right: 40px;
    margin-top: 4px;
}

.hide {
    display: none;
}

.options-menu-popup.visible {
    opacity: 1;
    visibility: visible;
}

.options-menu-popup a,
.options-menu-popup button {
    margin: 8px 15px 8px 12px;
    display: flex;
    align-items: center;
    justify-content: left;
    user-select: none;
    -webkit-user-select: none;
}

.options-menu-popup a:hover {
    text-decoration: none;
    color: inherit;
}

.options-icon svg {
    transform: rotate(90deg);
}

.options-icon {
    position: relative;
    padding: 4px 3px;
    margin: 0px 7px;
    box-shadow: 0px 0px 10px #e1e1e1;
    border-radius: 6px;
    margin-top: 5px;
}

.link {
    color: #0066CC;
    cursor: pointer;
}