@font-face {
    font-family: 'Pop';
    src: url(/fonts/Poppins-Regular.otf);
}

@font-face {
    font-family: 'Pop Bold';
    src: url(/fonts/Poppins-Medium.otf);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 87.5%;
}



body {
    font-family: 'Pop';
    font-size: 1rem; /* calc(12px + 0.3vw); */
    margin: 0;
    color: #212529;
    background-color: white;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid;
    opacity: 0.25;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: inherit;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a,
a:hover {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
}

.btn {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid #084476;
    border-radius: 0.5rem;
    background-color: #084476;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    background-color: #424649;
    border: 1px solid #424649;
    color: white;
}

.btn:disabled {
    pointer-events: none;
}

.btn-outline,
.btn-table {
    color: #212529;
    background-color: transparent;    
}
.btn-table {
    padding: 3px 4px 2px 3px;
    line-height: 0;
    border-radius: 0;
    border-color: transparent;
    transition: all 0.3s ease;
}

.btn-table:hover {
    border-color: #084476;
    background-color: transparent;
    color: #212529;
}

.btn-outline:hover {
    color: #fff;
}

textarea {
    resize: none;
}

input,
button,
select,
textarea {
    margin: 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

input, textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    border: 1px solid #495057;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
input[type=file] {
    overflow: hidden;
}
input[type=file]:not(:disabled):not([readonly]) {
    cursor: pointer;
}
input::-webkit-date-and-time-value {
    min-width: 85px;
    height: 1.5em;
    margin: 0;
}
input::-webkit-datetime-edit {
    display: block;
    padding: 0;
}
input:disabled,
textarea:disabled {
    background-color: #e9ecef;
    opacity: 1;
}
input::-webkit-file-upload-button {
    padding: 0.375rem 0.75rem;
    margin: -0.375rem -0.75rem;
    -webkit-margin-end: 0.75rem;
    margin-inline-end: 0.75rem;
    color: #212529;
    background-color: #f8f9fa;
    pointer-events: none;
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    border-inline-end-width: 1px;
    border-radius: 0;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
input::file-selector-button {
    padding: 0.375rem 0.75rem;
    margin: -0.375rem -0.75rem;
    -webkit-margin-end: 0.75rem;
    margin-inline-end: 0.75rem;
    color: #212529;
    background-color: #f8f9fa;
    pointer-events: none;
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    border-inline-end-width: 1px;
    border-radius: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
input:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
    background-color: #e9ecef;
}
input:hover:not(:disabled):not([readonly])::file-selector-button {
    background-color: #e9ecef;
}

select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: var(--bs-form-select-bg-img);
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #495057;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
select:disabled {
    background-color: #e9ecef;
}
.grup-check {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}
.grup-check input[type=checkbox] {
    float: left;
    margin-left: -1.5em;

    --bs-form-check-bg: #fff;
    width: 1rem;
    height: 1rem;
    margin-top: 0.25em;
    vertical-align: top;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #495057;
    border-radius: 0.25em;
    padding: 0.5rem;
}
.grup-check input[type=checkbox]:active {
    filter: brightness(90%);
}
.grup-check input[type=checkbox]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

label {
    display: inline-block;
}

.form-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.form-judul {
    margin-top: 0.5rem;
}

.form-input {
    display: flex;
    border: 1px solid #495057;
    border-radius: 0.75rem;
}

.form-input.detail .input-kiri {
    flex: 0 1 auto;
    width: 40%;
}

.form-input .input-kiri,
.form-input .input-kanan {
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
    padding: 1rem;
}

.input {
    display: flex;
    align-items: center;
    justify-content: center;
}
.input label {
    width: 12vw;
}
.input .grup {
    display: flex;
    align-items: center;
    flex: 1;
}
.input .grup input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input .grup .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input input,
.input select,
.input textarea {
    flex: 1;
}

.input.area {
    align-items: flex-start;
}

.form-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 0.2rem;
}

.form-tabel {
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;

}

table {
    border-collapse: collapse;
    width: 100%;
    vertical-align: top;
    border-color: #495057;
}
table> :not(caption) > * {
    border-width: 1px 0;
    border-style: solid;
    border-color: #495057;
}
table> :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    color: #212529;
    background-color: #fff;
    border-bottom-width: 0 1px;
    border-style: solid;
    border-color: #495057;
    border-width: 0 1px;
    vertical-align: middle;
}
table>tbody {
    vertical-align: inherit;
}
table>thead {
    vertical-align: bottom;
}
table>thead>tr>* {
    background-color: #084476;
    color: #fff;
}
table>tbody>tr:nth-of-type(even)> * {
    color: #212529;
    background-color: #ecedee;
}
table>tbody>tr>td:last-child{
    text-align: center;
}

table .header-table {
    display: flex;
    align-items: center;
    width: 100%;
}

table .header-table span {
    flex: 1;
}

table tr td a {
    text-decoration: underline;
}

table tr td a:hover {
    color: red;
    text-decoration: underline;
}

table .thead i {
    cursor: pointer;
}

.no-data td {
    text-align: center;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    color: #212529;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #084476;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.page-link:hover {
    z-index: 2;
    color: #fff;
    background-color: #424649;
    border-color: #424649;
}
.page-link.aktif {
    z-index: 3;
    color: #fff;
    background-color: #084476;
    outline: none;
}
.page-item:not(:first-child) .page-link {
    margin-left: calc(1px * -1);
}

.tabel-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tabel-action .filter {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.form-tabel nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.fade {
    transition: opacity 0.15s linear;
}
.fade:not(.show) {
    opacity: 0;
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-container .modal-panel {
    max-width: 800px;
    margin: 1.75rem auto;

    background-color: white;
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 0.75rem;
    
    pointer-events: auto;

    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 1.75rem *2);

}

.modal-panel .header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #495057;
}

.modal-panel .header .judul {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.modal-panel .header .btn-close {
    /* padding: 0.5rem 0; */
    /* margin: 0.5rem 0; */

    box-sizing: content-box;
    width: 1.15em;
    height: 1.15em;
    color: #212529;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1.15em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
    cursor: pointer;
}

.modal-panel .body {
    position: relative;
    flex: 1 1 auto;
    padding: 2rem;
}

.modal-panel .footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    background-color: #fff;
    padding: 1rem;
    border-top: 1px solid #495057;
    border-bottom-right-radius: calc(0.75rem - 1px);
    border-bottom-left-radius: calc(0.75rem - 1px);
}

.modal-panel .footer > * {
    margin: 0.25rem;
}

.form-input.total-transaksi .input-kanan .input {
    justify-content: flex-end;
}

.form-input.total-transaksi .input-kanan label {
    font-size: 1.25rem;
    width: auto;
    flex: 1;
}

.form-input.detail {
    min-height: 300px;
}

.lbl-kanan {
    text-align: right;
}

.filter-modal {
    padding: 2rem 1rem;
    border: solid 1px #111;
    background-color: white;

    position: fixed;
    width: auto;
    height: auto;
    z-index: 5;
}

.filter-modal .input {
    margin-bottom: 0.5rem;
}

.filter-modal .form-action .btn {
    font-size: 12px;
}

.filter-modal.hide {
    display: none;
}

.filter-modal .input .cari {
    width: auto;
    margin-right: 1rem;
}
@media only screen and (min-width: 1600px) {
    html {
        font-size: 100%;
    }

    .form-input.detail {
        min-height: 600px;
    }
}