@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

section#header-dash, section#header-dash h6, section#header-dash button, section#main-dash, section#main-dash h5, section#main-dash h6, section#main-dash p, section#main-dash span, section#main-dash div, section#main-dash a,
label, input, textarea{
    font-family: "Inter", serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}
.preview-ref h6,
.preview-ref b,
.preview-ref p{
    font-family: "Inter", serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}
.preview-ref h6{
    font-size:1rem !important;
}
.btn-form {
    padding: 0.5rem !important;
    background-color: #ffffff;
    outline: none;
    border: none;
    border-radius: 6px;
}
.btn-form img{
    width: 20px;
    height: 20px;
}
#btn-kumpul-label,#btn-kembali-label,#btn-save-label,#btn-excel-label,#btn-print-label{
    font-size: 0.875rem !important;
}

#main-dash h6:not(#judul-form,#progress-title){
    font-size:1.3rem !important;
}

#judul-form, #progress-title{
    font-size: 1rem !important;
}

#header-dash{
    height: 60px;
    position: fixed;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1.5rem;
    width: 100%;
    z-index: 2;
}
#main-dash{
    padding-top: 60px;
}
.btn-form-label{
    font-weight: 600;
    margin-left: 0.5rem;
}
.btn-form:hover {
    background-color: #EFEFEF;
}
.btn-form:active {
    background-color: #bfbfbf;
}
.text-red{
    color: #FF0000;
}
.text-green{
    color: #61C554;
}
.bg-green{
    background: #61C554;
    color: white;
}
#navbar-tugas{
    position: fixed;
    width: 100%;
    height: unset;
    padding: 0.2rem 1.5rem;
    z-index: 1;
}
.nav-item{
    margin-bottom: 0px;
}
.nav-link{
    color: #8B8A8D;
}
.nav-link.active, .nav-link:hover{
    color: #375CB4;
}
.nav-link.active::after {
    content: " ";
    position: relative;
    background: #375CB4;
    width: 15px;
    display: flex;
    height: 3px;
    text-align: center;
    margin:0 auto;
}

.timeline-item{
    cursor: pointer;
    padding: 0px 1.5rem;
}  
.timeline-body {
    padding: 16px 0px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #BABCBE;
}

.timeline-item.active{
    background: #ECF3FF;
    border-left: 4px solid #375CB4;
    padding: 0px 1.5rem 0px 1.2rem;
}

.timeline-body .icon-box {
    width: 60px;
    height: 60px;
    background-color: #ECF3FF;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-body .icon-box img {
    width: 20px;
}

.timeline-body .details {
    flex: 1;
}

.timeline-body .details .date {
    font-size: 1rem;
    color: #212529;
}

.timeline-body .details .date-value {
    font-size: 1rem !important;
    color: #212529;
}

.timeline-body .details .status {
    color: #28a745; /* Green checkmark */
    margin-left: 8px;
}

.timeline-body .details .description {
    overflow: hidden; /* Hides the overflow */
    display: -webkit-box; /* Creates a flexbox-like structure */
    line-clamp: 2;
    -webkit-box-orient: vertical; /* Orients the box vertically */
    -webkit-line-clamp: 2; /* Limits the content to 2 lines */
    text-overflow: ellipsis; /* Optional: Adds '...' if truncated */
    white-space: normal; /* Ensures the text wraps within the container */
}

div.category{
    display: flex;
    gap: 10px;
}
div.category .badge{
    cursor: pointer;
}

.badge-blue, .badge-outer-blue{
    border-radius: 20px;
    border: 1px solid #375CB4;
    padding: 7px !important;
    font-weight: normal !important;
}
.badge-blue{
    color: white;
    background: #375CB4;
}
.badge-outer-blue{
    color: #375CB4;
}
/* Hide scrollbar for Chrome, Safari and Opera */
#daftar_soal_list::-webkit-scrollbar {
    display: none;
}
#daftar_soal_list{
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.progress{
    height: 8px;
}
.progress-bar{
    background: #375CB4;
}
.progress-content{
    position: fixed; 
    bottom: 1rem; 
    width: calc(400px - 3rem); 
    background: #ECF3FF; 
    border-radius: 10px; 
    height: 100px;
    z-index: 3;
    padding: 1rem;
    margin: 0 1.5rem;
    border: 1px solid #375CB4;
}
.banner{
    height: 400px;
    width: 100%;
    background: white;
    border-radius: 20px;
    display: flex; /* Enable flexbox */
    align-items: center; /* Vertically center content */
    justify-content: flex-start;
    background-image: url("../asset_dore/img/bgimage.png");
    background-size: cover;
}

button.disabled{
    cursor: not-allowed;
}

.btn-blue{
    background: #375CB4;
    color: white;
    padding: 0px 10px !important;
    border-radius: 100px !important;
}
.btn-blue:hover{
    background: #375db4e9;
    color: white;
}
.bold{
    font-weight: bold;
}
.table th{
    background: none !important;
    border-color: #D9D9D9 !important;
}
.table:not(.table-striped) td{
    background: white !important;
    border-color: #D9D9D9 !important;
    vertical-align: middle;
}
.table td:not(.selected-cell), .table th{
    padding: 8px !important;
}
.form-row{
    margin-left: -15px;
    margin-right: -15px;
}
#main-dash input, #main-dash select, #main-dash textarea, #main-dash .selectize-input{
    border-radius: 2px !important;
    border: 2px solid #000000;
}
.add-row{
    background: #F8F8F8;
    border: 1px dashed #8B8A8D !important;
    border-radius: 5px !important;
    padding: 5px !important;
    height: unset !important;
    gap:6px;
    color: black;
}
#daftar_soal{
    height: calc(100vh - 180px); background: white; 
    width: 400px; 
    position: fixed;
    top:175px;
    z-index:0
}
#daftar_soal_list{
    height: calc(100vh - 300px);overflow-y:auto;position: relative; padding-bottom: 100px;
}
#content_soal{
    margin-left: calc(400px + 15px); 
    margin-top: 60px;
    width: calc(100vw - 440px);
    z-index: 3
}
.form-input .form-body{
    min-height: calc(100vh - 300px);
}
.form-input .form-body .card-body{
    background: #ECF3FF;
}
.view-body .card-body, .ref-body .card-body{
    background: #ECF3FF;
}
.input-grid{
    width:100%;
}
.input-grid thead{
    background: #F1F3F4;
}
.table-view thead{
    background: #F1F3F4 !important;
}
.input-icon-date{
    margin-top:34px;margin-left:5px;position: absolute;top: 0;right: 25px;
}
.column-gap-25{
    column-gap: 0.25rem;
}

#form-tambah .selected-cell {
    padding: 0px !important;
}


/* TABLE */
#table-search
{
    border-collapse:collapse !important;
}

#table-search_filter label, #table-search_filter input
{
    width:100%;
}
.hidden{
    display: none;
}

.dataTables_wrapper .paginate_button.previous {
    margin-right: 0px; 
}

.dataTables_wrapper .paginate_button.next {
    margin-left: 0px; 
}

div.dataTables_wrapper div.dataTables_paginate {
    margin-top: 25px; 
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: right; 
}

.dataTables_wrapper .paginate_button.page-item {
    padding-left: 5px;
    padding-right: 5px; 
}

.page-item.disabled .page-link{
    border:none !important;
    color: #374957 !important;
}

.page-item.active .page-link{
    border:1px solid #000000 !important;
    color: #374957 !important;
}

.dataTables_length select {
    border: 0;
    background: none;
    box-shadow: none;
    border:none;
    width:120px !important;
    transition-duration: 0.3s; 
}
table.dataTable,
.DTFC_LeftBodyWrapper,
.DTFC_Cloned {
    border-collapse: collapse !important;
}

div.dataTables_paginate{
    margin-top: 0px !important;
}

.dataTables_scrollBody thead th{
    padding: 0px 8px !important;
}

.table-striped tr.odd td {
    background-color: #f3f3f3 !important;
}

table.dataTable td{
    padding: 8px !important;
}
.table-striped tbody tr:nth-of-type(2n+1) td{
    background-color: #f3f3f3 !important;
}
.table-striped tbody tr:hover{
    background-color: #d7d7d7 !important;
}

@media screen and (max-width: 1280px){
    #daftar_soal{
        width: 300px; 
    }
    #content_soal{
        margin-left: calc(300px + 15px); 
        width: calc(100vw - 340px);
    }
    .progress-content{
        width: calc(300px - 3rem); 
    }
}