

input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0; /* Optional: Removes any residual spacing */
}

input[type="number"]:focus {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}



.flatpickr-calendar {
    z-index: 9999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}
.flatpickr-day {
    cursor: pointer !important;
}

@media (min-width: 768px) {
    .col-md-30-pct{
        flex: 0 0 auto;
        width: 30%;
    }
}
@media (min-width: 768px) {
    .col-md-3-pct{
        flex: 0 0 auto;
        width: 3%;
    }
}

@media (min-width: 992px) {
    .col-lg-30-pct{
        flex: 0 0 auto;
        width: 30%;
    }
    .col-lg-3-pct{
        flex: 0 0 auto;
        width: 3%;
    }
    .col-lg-11-pct {
        flex: 0 0 auto;
        width: 11.66666667%;
    }
    .col-lg-19-pct {
        flex: 0 0 auto;
        width: 19.66666667%;
    }
    .col-lg-17-pct {
        flex: 0 0 auto;
        width: 17.66666667%;
    }
    .col-lg-28-pct {
        flex: 0 0 auto;
        width: 28.3333333%;
    }
    .col-lg-41-pct {
        flex: 0 0 auto;
        width: 41.333333%;
    }
    .col-lg-58-pct {
        flex: 0 0 auto;
        width: 58.6666667%;
    }
    .col-lg-54-pct {
        flex: 0 0 auto;
        width: 54.66666667%;
    }
}

/*Access style custom dropdown*/
.dropdown-arrow {
  position: absolute;
  right: 10px; 
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid black;
  pointer-events: none; 
  cursor: pointer;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}



/*@import url('https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap');*/

[class*="ss-curr"],
[class*="ss-num"] {
    text-align: end;
}

.drop-zone {
    background-color: #f3f3f3;
    outline: 2px dashed #6F6F6F;
    outline-offset:-8px;
    padding: 15px;
    transition: 0.3s ease;
}

.drop-zone.over {
    background-color: white;
    outline-offset: -12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    /*  font-family: 'Josefin Sans', sans-serif;*/
}

body {
    background-color: #fff;
}

.wrapper {
    display: flex;
    position: relative;
}

.wrapper .sidebar {
    width: 200px;
    height: 100%;
    background: #40496C;
    padding: 0px 0px 30px 0px;
    position: fixed;
}

.wrapper .sidebar .logo {
    padding: 24px 4px 24px 4px;
    background-color: white;
    border: 2px solid #40496C;
}

.wrapper .sidebar h2 {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.wrapper .sidebar ul li {
    border-bottom: 1px solid #bdb8d7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s ease;
}

.wrapper .sidebar ul li a {
    color: #fff;
    display: block;
    text-decoration: none;
    padding: 15px;
}

.wrapper .sidebar ul li a .fas {
    width: 25px;
}

.wrapper .sidebar ul li:hover {
    background-color: #626B8E;
}

.wrapper .sidebar ul li:hover a {
    color: #fff;
}

.wrapper .sidebar .bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.activeLink {
    background-color: #626B8E;
    color: white;
}

.wrapper .sidebar .bottom a {
    text-decoration: none;
}

.wrapper .main_content {
    width: 100%;
    margin-left: 200px;
}

.default-btn2 {
    border: 0;
    background-color: #40496C;
    color: white;
    padding: 5px 10px 5px 10px;
    transition: 0.3s ease;
}

.default-btn2:hover {
    background-color: #343b58;
    color: #fff;
}

.search-btn {
    background-color: #40496C;
    color: #fff;
    padding: 4px 10px 4px 10px;
    border: 0;
    transition: 0.3s ease;
}

.default-btn {
    background-color: #D18C54;
    color: #fff;
    padding: 7px 15px 7px 15px;
    border: 0;
    transition: 0.3s ease;
}

.default-btn:hover {
    background-color: #be804d;
}

.icon-btn {
    border: 0;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.849);
    transition: 0.3s ease;
}

.icon-btn:hover {
    color: #fff;
}

.delete-btn{
    background-color: #dc3545;
    color: #fff;
    padding: 7px 15px 7px 15px;
    border: 0;
    transition: 0.3s ease;
}

.delete-btn:hover {
    background-color: #bb2d3b;
}

.default-select {
    border: 1px solid #40496C;
    padding: 4px;
}

.search-btn {
    background-color: #40496C;
    color: #fff;
    padding: 4px 10px 4px 10px;
    border: 0;
    transition: 0.3s ease;
}

.search-btn:hover {
    background-color: #343b58;
}

.default-select {
    border: 1px solid #40496C;
    padding: 4px;
}

.default-select:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px skyblue;
    border-radius: 1px;
}

.default-input {
    border: 1px solid #40496C;
    padding: 4px;
    border-radius: 0;
}

.default-input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px skyblue;
    border-radius: 1px;
}

.default-checkbox {
    accent-color: #343b58;
    width: 15px;
}

.bg-blue {
    background-color: #40496C;
}

.text-blue {
    color: #40496C;
}

.text-bold{
    font-weight: bold;
}

.text-italics{
    font-style: italic;
}

.border-blue{
    border: 2px solid #40496C;
    border-radius: 0px;
}

.bordered-box {
    border: 2px solid #000;
    padding: 20px;
    position: relative;
}

.bordered-box-heading {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #fff;
    padding: 0 10px;
    font-weight: bold;
}

.w-47 {
    width: 47%;
}

.h-100vh{
    height: 100vh;
}

.col-three {
    flex: 0 0 auto;
    width: 23%;
}

.col-four {
    flex: 0 0 auto;
    width: 32%;
}

.col-six {
    flex: 0 0 auto;
    width: 46%;
}

.col-seven {
    flex: 0 0 auto;
    width: 63.666667%;
}

/*START TABLES*/
th.sortable {
    cursor: pointer;
}

.fixedHeader thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.fixedHeader thead::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #40496C;
    position: absolute;
    bottom: 0;
    left: 0;
}

/*END TABLES*/

/* START TAB STYLING*/
.tab {
    overflow: hidden;
    /* border: 1px solid gray; */
    /* background-color: #41907B; */
}

.tab button {
    white-space: nowrap;
    background-color: #EEEEEE;
    color: #6F6F6F;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 16px;
    transition: 0.3s;
    font-size: 17px;
    border-top: 1px solid rgb(190, 190, 190);
    border-left: 1px solid rgb(190, 190, 190);
    border-right: 1px solid rgb(190, 190, 190);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #fff;
    color: black;
    border-bottom: 0;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 0 !important;
}

.tab button {
    border-bottom: 1px solid gray;
}

.tabcontent {
    display: none;
    padding: 10px 12px;
    border: 1px solid gray;
    border-top: none;
}

/* END TAB STYLING*/


/*START LOADING SPINNER*/
.cover-spin {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(107, 107, 107, 0.452);
    z-index: 9999;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-spin.full-page {
    position: fixed;
}

.spinner {
    position: absolute;
    border-radius: 50%;
    animation: spin 1s linear infinite;

    /* ----1st style---- */

    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;

    /* ----2nd style---- */
    /*width:40px;
    height:40px;
    border-style:solid;
    border-color:#3498db;
    border-top-color:transparent;
    border-width: 4px;*/

}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*END LOADING SPINNER*/




/*START NOTFICATION*/
.notification-container {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.notification {
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
    border-radius: 5px;
    border: 1px solid rgb(197, 197, 197);
    background: rgb(255, 255, 255, 0.9);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    margin-bottom: 5px;
}

.notification.success {
    border-left: 5px solid #2A7762;
}

.notification.success .notification-icon i {
    color: #2A7762;
}

.notification.success .notification-text h6 {
    color: #2A7762;
}

.notification.info {
    border-left: 5px solid lightskyblue;
}

.notification.info .notification-icon i {
    color: lightskyblue;
}

.notification.info .notification-text h6 {
    color: lightskyblue;
}

.notification.warning {
    border-left: 5px solid orange;
}

.notification.warning .notification-icon i {
    color: orange;
}

.notification.warning .notification-text h6 {
    color: orange;
}

.notification.error {
    border-left: 5px solid red;
}

.notification.error .notification-icon i {
    color: red;
}

.notification.error .notification-text h6 {
    color: red;
}


.notification.show {
    opacity: 1;
}

.notification .close:hover i {
    color: gray;
}

.notification-content {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.notification-msg {
    display: flex;
    gap: 1rem;
}

.notification-icon {
    display: flex;
    align-items: center;
}

.notification .close-button {
    display: flex;
    justify-content: end;
    align-items: center;
}

.notification .close-button button {
    border: 0;
    background-color: transparent;
}

.text-green {
    color: #2A7762;
}

.hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.margin-b-0 {
    margin-bottom: 0;
}

/*END NOTFICATION*/

/* PAGINATION STYLING START */
.pagination {
    --bs-pagination-border-color: #0d6efd;
    --bs-pagination-color: black;
}

.active>.page-link {
    border-color: #0d6efd;
    background-color: #0d6efd !important;
    color: white;
}

.pagination .arrow {
    color: #0d6efd;
}

.page-link:hover {
    z-index: 2;
    color: white;
    background-color: #005de9;
    border-color: #005de9;
}


/* PAGINATION STYLING END */



.filter-modal {
    display: none;
    position: fixed;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px;
    z-index: 1;
    width: 300px;
    white-space: normal;
    /* Adjust width as needed */
}

.filter-modal label,
.filter-modal .inline,
.filter-modal select,
.filter-modal input,
.filter-modal button {
    margin-top: 5px;
}

.filter-modal .inline {
    display: inline-block;
    /* Set inline elements */
    margin-right: 5px;
}

.filter-buttons {
    text-align: right;
}

.filter-modal select,
input {
    margin-top: 5px;
}








/* Backdrop */
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* dark transparent background */
    z-index: 1;
}

/* START CUSTOM MODAL */
/* ._modal{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2000!important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.26);
    animation: fadeIn 0.3s ease-in-out forwards;
}

._modal-content{
    overflow: hidden;
    background-color: white;
}

._modal-content hr{
    margin: 0;
    color: #343b58;
}

._modal-header{
    background-color: #005de9;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

._modal-close-btn{
    background-color: transparent;
    border: 0;
    color: white;
}

._modal-body{
    padding: 0rem 1.5rem ;
}

._modal-footer{
    padding: 1rem;
    display: flex;
    justify-content: end;
    gap: 0.5rem;
}

._modal-ok-btn{
    padding: 5px 20px;
    color: white;
    background-color: #005de9;
    border: 1px solid #005de9;
    transition: 0.3s ease;
}

._modal-ok-btn:hover{
    background-color: #0251c7;
    color:white;
}

._modal-cancel-btn{
    padding: 5px 15px;
    color: #005de9;
    background-color: white;
    border: 1px solid #005de9;
    transition: 0.3s ease;
}

._modal-cancel-btn:hover{
    background-color: #005de9;
    color:white;
}

  .fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
    }


@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }  */

body.modal-open {
    pointer-events: none;
    overflow: hidden;
}

body.modal-open ._modal {
    pointer-events: auto;
}

._modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* Allow modal to scroll if content is tall */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top */
    /* z-index: 1031 !important; */
    background-color: rgba(0, 0, 0, 0.26);
    animation: fadeIn 0.3s ease-in-out forwards;
    /* padding: 2rem 1rem; */
}

._modal-content {
    background-color: white;
    overflow: visible;
    margin: auto;
}

._modal-content hr {
    margin: 0;
    color: #343b58;
}

._modal-header {
    background-color: #005de9;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

._modal-close-btn {
    background-color: transparent;
    border: 0;
    color: white;
}

._modal-body {
    padding: 1rem 1.5rem;
}

._modal-footer {
    /* padding: 1rem; */
    display: flex;
    justify-content: end;
    gap: 0.5rem;
}

._modal-ok-btn {
    padding: 5px 20px;
    color: white;
    background-color: #005de9;
    border: 1px solid #005de9;
    transition: 0.3s ease;
}

._modal-ok-btn:hover {
    background-color: #0251c7;
    color: white;
}

._modal-cancel-btn {
    padding: 5px 15px;
    color: #005de9;
    background-color: white;
    border: 1px solid #005de9;
    transition: 0.3s ease;
}

._modal-cancel-btn:hover {
    background-color: #005de9;
    color: white;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* END CUSTOM MODAL */


/* Modal */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    /* drop shadow */
}

/* Modal content */
.modal-content {
    text-align: center;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Modal sizes */
.small {
    max-width: 300px;
}

.medium {
    max-width: 500px;
}

.large {
    max-width: 800px;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .modal {
        width: 90%;
        max-width: none;
    }
}