.modal_loading {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8) url('ajax-spin2.gif') 50% 50% no-repeat;
}


/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */

body.loading {
    overflow: hidden;
}


/* Anytime the body has the loading class, our
   modal element will be visible */

body.loading .modal_loading {
    display: block;
}

.modal_loading_text {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 100%;
}


/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */

body.loading_text {
    overflow: hidden;
}


/* Anytime the body has the loading class, our
   modal element will be visible */

body.loading_text .modal_loading_text {
    display: block;
}


/*for readonly*/
.form-control[readonly] {
    background-color: #f2f2f2;
}

/*for form-control*/
.form-control {
    color: var(--kt-input-color);
    background-color: var(--kt-input-bg);
    border: 1px solid #a9a9a9;
    box-shadow: none !important;
}

.form-select {
    color: var(--kt-form-select-color);
    background-color: var(--kt-form-select-bg);
    background-image: var(--kt-form-select-indicator);
    border: 1px solid #a9a9a9;
    box-shadow: var(--kt-form-select-box-shadow);
    appearance: none;
}

/*clickble*/

 .clickable {
     cursor: pointer;
 }

 .clickable:hover {
     background-color: #7239ea;
     /* or any highlight color you prefer */
 }

 .white-shadow {
    text-shadow: 2px 2px 4px rgb(0 0 0);
    color: white;
 }

 .landing-kemkes-bg {
     background-color: #047d78
 }

 .landing-kemkes-color {
     color: #047d78
 }

 /*custom fullcalendar*/
 .fc {
     --fc-border-color: #aaadaf;
     --fc-page-bg-color: #ffffff;
     --fc-small-font-size: 0.95rem;
     --fc-highlight-color: var(--kt-light);
     --fc-bg-event-opacity: 0.3;
     --fc-neutral-bg-color: var(--kt-light);
     --fc-today-bg-color: var(--kt--success-light);
     --fc-now-indicator-color: var(--kt-danger);
     --fc-list-event-hover-bg-color: var(--kt-light);
     --fc-button-text-color: var(--kt-primary-inverse);/*var(--kt-gray-600);*/
     --fc-button-bg-color: var(--kt-primary);/*#d0d4d7 ;*/
     --fc-button-border-color: #c2c5c7;
     --fc-button-hover-bg-color: #adb7bd;
     --fc-button-hover-border-color: #8f9193;
     --fc-button-active-bg-color: var(--kt-primary);/*#cccfd1;*/
     --fc-button-active-border-color: var(--kt-gray-200);
 }

 .fc-daygrid-event {
     height: 60px;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .fc .fc-button-primary:not(:disabled).fc-button-active {
    color:var(--kt-primary-inverse); /* color: var(--kt-gray-900); */
 }
 /* Untuk bold dan memperbesar ukuran nomor tanggal di grid view (month view) */
 .fc .fc-daygrid-day-number {
     font-weight: bold;
     font-size: 1.2em;
     line-height: 2em;
     color: #000;
 }


 .btn-xs {
     padding: 2px 6px;
     font-size: 11px;
     line-height: 1.2;
     border-radius: 0.6rem;
 }

 
 /* Membuat teks pada event menjadi bold */
 .fc .fc-event-title {
     font-weight: bold;
     font-size: 1em;
     /* bisa ditingkatkan jika ingin lebih besar */
     color: var(--kt-primary-inverse);
     /* opsional, untuk warna teks */
 }


 /* Disable pointer events only on the date number links */
 .fc .fc-daygrid-day-top a {
     pointer-events: none;
     cursor: default;
     color: inherit;
     /* Optional: keep same color */
     text-decoration: none;
     /* Remove underline */
 }

 /* untuk modals  */
   .modal-skdp .modal-content {
       background-color: #e3f2fd;
       /* Light blue */
   }

   .modal-antrol .modal-content {
       background-color: #e8f5e9;
       /* Light green */
   }

   .modal-rujukan .modal-content {
       background-color: #fff3e0;
       /* Light orange */
   }

    /*Progressbar khusus pasien baru*/
    .progress-steps {
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-bottom: 20px;
    }

    .step {
        text-align: center;
        flex: 1;
        position: relative;
        color: gray;
    }

    .step.active {
        color: #3F51B5;
        /* Warna aktif */
    }

    .step .icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 8px;
        background-color: #E4E6EF;
        border-radius: 50%;
        line-height: 40px;
        font-size: 20px;
        color: #9E9E9E;
        position: relative;
        z-index: 2;
    }

    .step.active .icon {
        background-color: #3F51B5;
        color: white;
    }

    .progress-bar-container {
        width: 100%;
        height: 10px;
        background-color: #E4E6EF;
        border-radius: 5px;
        overflow: hidden;
    }

    .progress-bar {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, #3F51B5, #5E42A6);
        border-radius: 5px;
        transition: width 0.4s ease;
    }


    