@font-face {
    font-family: Poppins-Regular;
    src: url("/backend/public/fonts/poppins/Poppins-Regular.ttf");
}

@font-face {
    font-family: Poppins-Medium;
    src: url("/backend/public/fonts/poppins/Poppins-Medium.ttf");
}

@font-face {
    font-family: Poppins-Bold;
    src: url("/backend/public/fonts/poppins/Poppins-Bold.ttf");
} 
body {
    font-family: Poppins-Regular;
}
.logo {
    width: 50px;
    height: 50px;
    padding: 10px;
}
.underscore{
    background-color: rgb(243, 199, 105);
    color: rgb(87, 86, 86);
}
table.loading tbody::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(97, 97, 95, 0.425);
    z-index: 9;
}

table.loading tbody::after {
    position: absolute;
    display: block;
    content: '';
    border: 6px solid #f3f3f3;
    border-top: 6px solid #f5c950;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    content: '';
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

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


/* PAGINATION */

#pager {
    display: flex;
    justify-content: space-between;
}

#pager .page-view,
#pager .page-view .page-container {
    display: flex;
    flex-direction: row;
}

#pager .page-view .page-container {
    margin-right: 10px;
}

#pager .page-view .page-container div.active:hover {
    background-color: #45adf3;
}

#pager .page-view .page-container div.active {
    background-color: #45adf3;
    border: 0.5px solid #45adf3;
}

#pager .page-view .page-container div:hover {
    background-color: #d5d5d6;
}

#pager .page-view .page-container div {
    border-radius: 5px;
    border: 0.5px solid grey;
    background-color: #fefeff;
    margin: 5px 1px;
    padding: 3px 5px;
    cursor: pointer;
}

#pager .page-view .per-page {
    margin: 5px 1px;
}

#pager .page-view .per-page #perPage {
    cursor: pointer;
    border: transparent;
    border-radius: 5px;
    height: 100%;
}


/* REKENING DAN TITIPAN */

.alert-dialog {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #8181816b;
}

.alert-dialog .alert-container {
    position: relative;
    display: block;
    width: 400px;
    /* height: 400px; */
    background-color: white;
    border-radius: 20px;
    padding: 10px;
}

.alert-dialog .alert-container .title {
    padding: 20px;
    font-size: 25px;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.alert-dialog .alert-container .message {
    padding: 20px;
    font-size: 25px;
    font-weight: 500;
    color: #787878;
    width: 100%;
    text-align: center;
}

.alert-dialog .alert-container .action {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 20px;
    width: 100%;
}

.alert-dialog .alert-container .data {
    position: relative;
    width: 80%;
    left: 10%;
    margin-top: 20px;
    padding: 10px;
}

.alert-dialog .alert-container .data::after {
    position: absolute;
    top: -15px;
    left: 0;
    font-size: small;
    padding: 0 10px;
    background: white;
    content: attr(data-content);
}

.alert-dialog .alert-container .data input {
    outline: none;
    border: none;
    border-bottom: 1px solid grey;
    width: 100%;
}

.alert-dialog .alert-container button {
    position: relative;
    margin-top: 20px;
    width: 80%;
    left: 10%;
}

.alert-dialog .alert-container .action button{
    width: 100px;
    margin-left: 10px;
    left: unset;
}


/* .alert-dialog .alert-container button.loading::after {
    position: absolute;
    display: block;
    content: '';
    border: 6px solid #f3f3f3;
    border-top: 6px solid #f5c950;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    content: '...';
    color: black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
} */


/* REKENING DAN TITIPAN */

tr.rekening::after {
    position: absolute;
    display: block;
    content: attr(data-rekening);
    font-size: 8pt;
    font-weight: bold;
    background-color: rgb(84, 207, 131);
    border-radius: 5px;
    padding: 5px 10px;
    left: 0;
    bottom: 0;
}

tr.diambil::after {
    position: absolute;
    display: block;
    content: attr(data-diambil);
    font-size: 8pt;
    font-weight: bold;
    background-color: rgb(250, 141, 141);
    border-radius: 5px;
    padding: 5px 10px;
    left: 0;
    bottom: 0;
}

tr.rekening.diambil::after {
    position: absolute;
    display: block;
    content: attr(data-rekening) ' - ' attr(data-diambil);
    font-size: 8pt;
    font-weight: bold;
    background-color: rgb(250, 141, 141);
    border-radius: 5px;
    padding: 5px 10px;
    left: 0;
    bottom: 0;
}

.fisik {
    position: absolute;
    display: block;
    content: attr(data-fisik);
    font-size: 8pt;
    font-weight: bold;
    background-color: rgb(141, 250, 186);
    border-radius: 5px;
    padding: 5px 10px;
    right: 10px;
    bottom: 0;
}

div.jam {
    position: absolute;
    display: block;
    font-size: 8pt;
    font-weight: bold;
    background-color: rgb(250, 141, 141);
    border-radius: 5px;
    padding: 5px 10px;
    width: fit-content;
    height: fit-content;
    left: 0;
    bottom: 28px;
}


/* .table > table > thead {
    background: #9ecbe9;
    vertical-align: middle;
    font-size: 14pt;
    font-family: "Comic Sans MS";
    line-height: 2rem;
}

.table > table > tbody > tr {
    vertical-align: middle;
    font-size: 14pt;
    font-family: "Comic Sans MS";
    line-height: 2rem;
} */

.form {
    margin: 0.2rem 0;
    min-height: 2.4rem;
    border-radius: 0.3rem;
}

.grand {
    background: #f58aa1;
}

.sidebar {
    position: absolute;
}

.accordion {
    min-width: 75%;
}

.billing::after {
    position: absolute;
    display: block;
    content: attr(data-content);
    font-size: 8pt;
    font-weight: bold;
    background-color: rgb(84, 207, 131);
    ;
    border-radius: 5px;
    padding: 5px 10px;
    right: 5px;
    bottom: 0;
}

.password::after {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: x-large;
    content: '\f06e';
    font-family: FontAwesome;
    color: #c4c3c3;
    cursor: pointer;
}


/* ------------------------------------------------------------------------------------------------------------------ */


/* -------------------------------------------------------- TABLE -------------------------------------------------- */


/* -------------------------------------------------------- TABLE -------------------------------------------------- */


/* -------------------------------------------------------- TABLE -------------------------------------------------- */

.table-wrapper {
    position: relative;
    flex-grow: 1;
    width: 100%;
    margin: 10px 0;
    color: black;
}

.table-wrapper #totalData {
    padding: 10px;
}

.table-wrapper table {
    position: relative;
    width: 100%;
    border-collapse: collapse;
}

.table-wrapper table th {
    top: 70px;
    background-color: #6c6d6d;
    text-align: center;
    padding: 25px 0;
    color: rgb(190, 190, 190);
    width: fit-content;
    z-index: 9;
}

.table-wrapper table tbody tr {
    position: relative;
}

.table-wrapper table td {
    text-align: center;
    padding: 10px;
    line-height: 2.5em;
    width: fit-content;
}

.table-wrapper table tr:nth-child(odd) {
    background-color: #45adf3;
}

.table-wrapper table tr:nth-child(even) {
    background-color: #3498db;
}

.table-wrapper table tr.y2022 {
    background-color: rgb(67, 160, 247);
}

.table-wrapper table tr.y2021 {
    background-color: rgb(145, 212, 243);
}

.table-wrapper table tr.y2020 {
    background-color: rgb(181, 247, 210);
}

.table-wrapper table tr.y2019 {
    background-color: rgb(186, 186, 186);
}

.table-wrapper table tr.y2018 {
    background-color: rgb(245, 206, 66);
}

.table-wrapper table tr.y2017 {
    background-color: rgb(245, 87, 66);
}

.table-wrapper table tr.keluar {
    background-color: rgb(243, 145, 174);
}

table.selective tbody tr {
    transition: 0.3s;
}

table.selective tbody tr:hover {
    background: #85eba3 !important;
    transition: 0.5s;
}

.taaruf tbody tr {
    cursor: pointer;
}


/* ----------------------------------------------------  // TABLE -------------------------------------------------- */


/* ===============================   // NOTIFICATION   ==================================*/

#notification {
    position: fixed;
    top: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    z-index: 999;
}

#notification .close:hover {
    background-color: rgb(150, 150, 150);
}

#notification span {
    position: relative;
    padding: 20px;
    padding-right: 40px;
    border-radius: 5px;
    margin: 5px;
    font-weight: 400;
    opacity: 1;
    transition: 3.5s all;
}

#notification span.danger {
    background-color: rgb(247, 139, 148);
    color: rgb(87, 86, 86);
}

#notification span.success {
    background-color: rgb(58, 245, 167);
    color: rgb(87, 86, 86);
}

#notification span.warning {
    background-color: rgb(243, 199, 105);
    color: rgb(87, 86, 86);
}

#notification span.info {
    background: #49b5fd;
    color: rgb(75, 74, 74);
}

#notification span.closeBtn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    padding: 0;
    font-size: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#notification span.closeBtn:hover {
    color: black;
}