.preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #fff;
    border-radius: 10px;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
}

div.dataTables_wrapper div.dataTables_filter input {
    border-radius: 6px !important;
    background-color: #eff0f6 !important;
}

.data-pasien_lama {
    font-size: 22px;
    font-weight: 650;
}

.data-pasien_lama-2 {
    font-size: 20px;
    font-weight: 650;
}

.data-pasien_lama-alamat {
    font-size: 18px;
    font-weight: 650;
}

.sub-pasien_lama {
    font-size: 15px;
    color: gray;
}

.list-data_pasien {
    max-height: 450px;
    overflow: auto;
}

.card-data_pasien {
    border-bottom: solid #1cf70c;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
}

textarea {
    height: 100px !important;
}

.fr-view {
    font-size: 18px !important;
}

.fr-view ol {
    list-style-type: decimal;
}

.data_pasien {
    position: sticky;
    top: 20px;
}

.data_rekam_medis {
    position: sticky;
    top: 20px;
}

.daftar-rekam_medis p {
    font-size: 18px;
    color: gray;
    margin-bottom: 5px;
}

.daftar-rekam_medis h5 {
    font-size: 16px;
}

.accordion-button {
    padding-right: 40px;
}

.tableFixHead tbody {
    display: block;
    max-height: 250px;
    overflow-y: scroll;
}

.tableFixHead thead,
.tableFixHead tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.catatan_rekam_medis {
    max-height: 130px;
    overflow: auto;
}

.data-profil {
    position: sticky;
    top: 20px;
    height: 514.4px;
}

.profile-image {
    width: 220px;
    height: 220px;
    margin: auto;
}

#data_pasien_filter input[type="search"] {
    display: none;
}

#data-laporan_filter input[type="search"] {
    display: none;
}
/* Dark Mode Setting */

.darkmode h5 {
    color: #eff0f6;
}

.switch {
    position: relative;
    display: inline-block;
    top: 12px;
    width: 70px;
    height: 34px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #008cff;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ff7b00e8;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2195f3cc;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(35px);
}

.logo {
    background-size: 25px !important;
}

.my_button {
    text-decoration: none;
    line-height: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    color: #121212;
    border: none;
    cursor: pointer;
    width: 140px;
    height: 40px;
}

.my_button.two {
    width: 220px;
}

.my_button-decor {
    position: absolute;
    inset: 0;
    background-color: var(--clr);
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 0;
}

.my_button-content {
    display: flex;
    align-items: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.my_button__icon {
    width: 48px;
    height: 40px;
    background-color: var(--clr);
    display: grid;
    place-items: center;
}

.my_button__text {
    display: inline-block;
    transition: color 0.2s;
    padding: 2px 1.5rem 2px;
    padding-left: 0.75rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1.19rem;
}

.my_button:hover .my_button__text {
    color: #fff;
}

.my_button:hover .my_button-decor {
    transform: translate(0);
}

.icon {
    color: #fff;
}

/*------ ADDED CSS ---------*/
.slider:after {
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 30%;
    font-size: 10px;
    font-family: inherit;
}

input:checked + .slider:after {
    content: "SKIP";
}

/*--------- END --------*/
