.custom-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 21px !important;
    overflow: hidden;
    margin-bottom: 1rem;
}

.custom-table thead {
    background-color: #C8C8C8;
}

.custom-table thead th {
    padding: 10px;
    color: black;
    background-color: #C8C8C8;
}

.custom-table tbody td {
    padding: 10px;
    background-color: white;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #ddd;
}

.custom-table tbody tr:last-child td {
    border-bottom: none;
}

.custom-table-title {
    top: 150px;
    left: 124px;
    height: 67px;
    text-align: left;
    font: normal normal 600 30px/67px Montserrat;
    letter-spacing: 0px;
    color: #002A3D;
    opacity: 1;
    font-size: 55px;
    font-weight: bold;
    margin-bottom: 2rem;
}

.custom-button-submit {
    margin-top: 2rem;
    width: 280px;
    height: 70px;
    background: #0088FF 0% 0% no-repeat padding-box;
    border-radius: 11px;
    opacity: 1;
    float: right;
    text-align: center;
    font: normal normal 600 40px/49px Montserrat;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    font-size: 25px !important;
}

.custom-button-submit:hover {
    background: #1683e2 0% 0% no-repeat padding-box;
    color: #FFFFFF;
}

.custom-table .custom-checkbox {
    display: inline-block;
    width: 20px;
    height: 5px;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
}

.custom-table .custom-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
    margin: 0;
    border: 2px solid #707070;
}

.custom-table .custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #707070;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

.custom-table .custom-checkbox input[type="checkbox"]:checked+.checkmark {
    background-color: #007bff;
    border-color: #007bff;
}

.custom-table .custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-table .custom-checkbox input[type="checkbox"]:checked+.checkmark:after {
    display: block;
}


.custom-table-top-buttons {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 2rem;
    min-width: auto;
    max-width: 100%;
}

.custom-table-top-buttons .nav-item a {
    flex: 0 3 auto;
}


.custom-table-top-buttons .nav-item a,
.custom-table-top-buttons .nav-item a:hover,
.custom-table-top-buttons .nav-item a:focus {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 27px;
    border: none;
    opacity: 1;
}

.custom-table-top-buttons .nav-item a {
    text-align: left;
    font: normal normal 600 24px/29px Montserrat;
    letter-spacing: 0px;
    color: #02445B;
    opacity: 1;
}

#documentProperty {
    display: block;
}


@media screen and (max-width: 600px) {

    .table-responsive1 {
        height: 80vh;
        overflow-y: auto;
        margin-bottom: 200px;
    }

    .document-viwer-section {
        display: block !important;
        height: 100vh;
        overflow-y: auto;
        margin-bottom: 200px;
        padding: 0%;
    }

    #documentProperty {
        display: none;
    }

    #documentProperty {
        margin-top: 4rem;

    }

    .card {
        position: relative;
    }

    .closeProperty {
        position: absolute;
        top: -40px;
        right: 10px;
        cursor: pointer;
        z-index: 9999;
        margin-top: 0rem;
        padding: 2px;
        border-radius: 20%;
        background-color: red;
        color: white;
        font-size: 12px;
    }

    .copy-move-section1 {
        display: flex;
    }

    .copy-move-section1 a i,
    .primary-bg i {
        margin-top: 2px;
        margin-right: 1px;
    }

    .sort-grid-icons {
        gap: 25px;
        font-size: 12px;
    }

    .document-area-buttons * {
        font-size: 12px !important;
        display: inline-flex !important;
    }

    .checkbox-container {
        margin-top: 0px !important;
    }

    .custom-control-label {
        font-size: 13px;
        margin-top: 0px;
    }

    .custom-table-title {
        font-size: 25px;
    }

    .custom-table {
        border: 0;
    }

    .custom-table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .custom-table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .custom-table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    .custom-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        /* text-transform: uppercase; */
    }

    .custom-table td:last-child {
        border-bottom: 0;
    }


    .header-search input[type="search"] {
        width: auto !important;
    }


    .table-flex {
        gap: 0.5rem;
    }

    .custom-table-top-buttons {
        gap: 0.4rem;
    }

    .custom-table-top-buttons .nav-item a {
        font-size: 14px;
        text-overflow: ellipsis;
        text-size-adjust: calc(20);
        text-wrap: nowrap;
    }


}


/* Custom Checkbox Styling */
.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #007bff;
    background-color: #007bff;
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.custom-control-input:focus:not(:checked)~.custom-control-label::before {
    border-color: #80bdff;
}

.custom-control-input:not(:disabled):active~.custom-control-label::before {
    color: #fff;
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}

.custom-control-input:disabled~.custom-control-label {
    color: #6c757d;
}

.custom-control-input:disabled~.custom-control-label::before {
    background-color: #e9ecef;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
    margin-top: 2px;
    font-size: 20px;
    font-weight: bold;
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
    border-radius: 0.25rem;
}

.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    content: "";
    background: no-repeat 50%/50% 50%;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"><path fill="%23fff" d="M6.564 0L3 3.858 1.436 2.294 0 3.736 3 6.793l5-5z"/></svg>');
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.document-count {
    margin-left: auto;
    padding-left: 1rem;
}

#selectedCount {
    background-color: green;
    color: white;
    padding: 0.4rem;
    border-radius: 0.3rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Define the animation class */
.count-changed {
    transform: scale(1.2);
}

/* Return to the original state after animation */
.count-changed-back {
    transform: scale(1);
}



/* Container for the entire input group */
.input-group {
    display: flex !important;
    align-items: center !important;
    background-color: white !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    /* Ensures the border-radius applies correctly */
}

/* Styling for the label */
/* Container for the entire input group */
.input-group {
    display: flex !important;
    align-items: stretch !important;
    /* Ensures all items stretch to the same height */
    background-color: white !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    /* Ensures the border-radius applies correctly */
}

.input-group .custom-input-group-text {
    background-color: white !important;
    color: black !important;
    padding: 0.220rem 0.65rem !important;
    border: 1px solid gainsboro !important;
    border-radius: 22px 0 0 22px !important;
    display: flex !important;
    align-items: center !important;
    /* height: 100%; */
}

/* Styling for the input field */
.input-group .input-group-content {
    background-color: white !important;
    color: black !important;
    border: 1px solid gainsboro !important;
    padding: 0.375rem 0.75rem !important;
    flex: 1 !important;
    width: 100% !important;
    height: 100%;
    font-size: inherit;
}

/* Styling for the button */
.input-group .custom-input-group-btn {
    background-color: white !important;
    color: black !important;
    border: 1px solid gainsboro !important;
    border-left: none !important;
    border-radius: 0 22px 22px 0 !important;
    padding: 0.220rem 0.65rem !important;
    display: flex !important;
    align-items: center !important;
}

/* Container for the entire input group */
.select-group {
    display: flex !important;
    align-items: center !important;
    background-color: white !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    position: relative;
    /* Ensure it's positioned relative for absolute positioning within */
}


/* Styling for the label */
.select-group .custom-select-group-text {
    background-color: white !important;
    color: black !important;
    padding: 0.220rem 0.65rem !important;
    border: 1px solid gainsboro !important;
    border-radius: 7px 0 0 7px !important;
    display: flex !important;
    align-items: center !important;
    height: 70%;
}

/* Styling for the input field */
.select-group .select-group-content {
    position: relative;
    /* Ensure it's positioned relative for absolute positioning within */
    background-color: white !important;
    color: black !important;
    border: 1px solid gainsboro !important;
    border-radius: 0 7px 7px 0 !important;
    flex: 1 !important;
    width: 100% !important;
    height: 70%;
    font-size: inherit;
}


.custom-input-group-container {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid gainsboro !important;
    border-radius: 22px !important;
    opacity: 1;
    overflow: hidden;
}


.custom-input-group-container .custom-input-group,
.custom-input-group-container .custom-input-group-text,
.custom-input-group-container .custom-input-group-btn {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-radius: 0 !important;
}

.custom-input-group-container .input-group-content {
    border-right: none !important;
    border-top: none !important;
    border-radius: 0 !important;
}

.input-group input[type='date'],
.input-group input[type='time'] {
    padding: 0.210rem 0.60rem !important;
}

.custom-input-group-text {
    display: inline-block;
    width: 95px;
}