body {
  font-family: "Poppins", sans-serif !important;
  background: #f4f7f9;
}
.card {
  border-radius: 8px !important;
  box-shadow: none;
}
.btn {
  border-radius: 6px;
}
.form-control {
  border-radius: 6px;
}
.select2-container .select2-selection--single {
  border-radius: 6px;
}
.datepicker {
  border: 1px solid #ced4da !important;
}
ol.ui-sortable {
  list-style: none;
  padding-left: 0px !important;
}
ol.ui-sortable li {
  background: aliceblue;
  padding: 10px 15px;
  border-radius: 4px;
  box-shadow: rgb(15 34 58 / 12%) 0px 1px 4px;
  margin-bottom: 8px;
}
ol.ui-sortable li:hover {
  cursor: grab;
}
@media (max-width: 720px) {
  .w-50-mobile {
    width: 50% !important;
  }
  .d-mobile-none {
    display: none !important;
  }
  .floating-div {
    bottom: 10px !important;
    width: 90% !important;
    right: 18px !important;
  }
}
.datepicker.datepicker-dropdown {
  z-index: 99999 !important;
}
.badge-filter {
  padding: 4px 14px;
  text-align: left;
  border: 1px solid #d3d5d7;
  color: #31353bad;
  font-size: 12px;
  display: inline-flex;
  border-radius: 10px !important;
  -webkit-border-radius: 10px !important;
  -moz-border-radius: 10px !important;
  -ms-border-radius: 10px !important;
  -o-border-radius: 10px !important;
}

.w-3 {
  width: 3% !important;
}
.w-5 {
  width: 5% !important;
}
.w-10 {
  width: 10% !important;
}
.w-15 {
  width: 15% !important;
}
.w-20 {
  width: 20% !important;
}
.content-login {
  background-color: #f4f7f9;
}
.content-login .card {
  border-radius: 15px;
  /* box-shadow: 0px 10px 12px rgb(0 0 0 / 25%); */
}
.content-login .card .card-body {
  padding: 35px !important;
}
.pattern-1 {
  position: fixed;
  bottom: 0px;
  left: 0px;
}
.pattern-2 {
  position: fixed;
  bottom: 0px;
  left: 34%;
}
.pattern-3 {
  position: fixed;
  bottom: 0px;
  right: 0px;
}
.content-login .card {
  z-index: 1;
}
.content-login .account-pages {
  margin-bottom: 100px;
}
@media (max-width: 720px) {
  .pattern-1 {
    width: 100%;
  }
  .pattern-2 {
    display: none;
  }
  .pattern-3 {
    display: none;
  }
}
.table-light {
  --bs-table-bg: #ffffff;
  --bs-table-striped-bg: #d1e1ef;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #c6d5e3;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #ccdbe9;
  --bs-table-hover-color: #000;
  color: #000;
  border-color: #c6d5e3;
}
th {
  text-transform: uppercase;
}
.table > tbody > tr:nth-of-type(odd) {
  --bs-table-accent-bg: var(--bs-table-striped-bg);
  color: var(--bs-table-striped-color);
}

.table-non-striped {
  --bs-table-striped-bg: #fff;
  border: 1px solid #edeef1;
}

.sidebar-menu-scroll {
  margin-top: 0px;
}
.vertical-menu {
  margin-top: 70px;
}
#page-topbar {
  left: 0px;
  z-index: 9999;
}
.list-menu-custom {
  display: block !important;
  left: 250px;
}
body.vertical-collpsed #page-topbar {
  left: 0px;
}

@media (max-width: 992px) {
  .vertical-menu {
    margin-top: 0px;
  }
  .logo span.logo-sm {
    display: none;
  }
  .logo span.logo-lg {
    display: inline-block;
  }
}
.mm-active > a {
  background-color: #ebfff6;
  color: #28a382 !important;
  border-top-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
  box-shadow: 0 3px 5px rgb(11 31 58 / 11%);
}
#sidebar-menu ul li a:hover {
  background-color: #ebfff6;
  border-top-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
}
#sidebar-menu ul li a {
  margin-bottom: 3px;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a {
  color: #28a382;
  border-top-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > ul a {
  white-space: normal;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a i {
  color: #28a382;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a {
  color: #28a382;
}
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li a {
  margin-bottom: 0px;
}
.mm-active > a > i {
  color: #28a382 !important;
}
.mm-active .active {
  color: #28a382 !important;
  box-shadow: none;
}
.mm-active {
  color: #28a382 !important;
}
.mm-active > i {
  color: #28a382 !important;
}
#sidebar-menu ul li ul.sub-menu li a {
  box-shadow: none;
}
.footer {
  background: #ffffff;
  left: 0;
  z-index: 9999;
}
.dropdown-menu {
  min-width: 15rem;
}
.btn-default {
  border: 1px solid #edeef1;
  padding: 5px 15px !important;
}
.btn-default i {
  font-size: 20px;
}
.btn-default:hover {
  background: rgba(57, 77, 111, 0.04);
}
.btn-icon {
  padding: 5px 15px !important;
}
.btn-icon i {
  font-size: 20px;
}
.btn {
  padding: 8px 20px;
}
.breadcrumb-item.home {
  width: auto;
  border-radius: 100%;
  padding: 5px 11px !important;
  background: #28a382;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0px 0px 12px 4px rgb(15 34 58 / 12%);
  margin-left: 0px !important;
}
.breadcrumb-item.home a {
  color: #ffffff !important;
  font-size: 22px;
}
.breadcrumb-item {
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 35px;
  font-size: 13px;
  z-index: 1;
  padding-left: 50px !important;
  margin-left: -35px;
  text-align: right;
  box-shadow: 0 2px 4px rgb(15 34 58 / 12%);
}
.breadcrumb-item > a {
  color: #c7c7c7 !important;
}
.breadcrumb-item.active {
  background: #f7b86d;
  margin-left: -55px;
  color: #ffffff;
  z-index: 0;
  text-align: right;
  padding-left: 70px !important;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: none;
}
.btn.btn-success {
  background-color: #28a382 !important;
  border-color: #28a382 !important;
}
/*.table-new{
    max-height:320px;
}*/
.table-new::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Track */
.table-new::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.table-new::-webkit-scrollbar-thumb {
  background: #d1d6db;
  border-radius: 10px;
}

/* Handle on hover */
.table-new::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #28a382;
  border-color: #28a382;
  border-radius: 8px;
}
.page-link {
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 12px;
}
.page-link:hover {
  cursor: pointer;
}
.page-item:last-child .page-link {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.page-item:not(:first-child) .page-link {
  margin-left: 5px;
}
.modal {
  z-index: 99999;
}
.modal-dialog {
  top: 10%;
}
.vertical-collpsed .logo span.logo-sm {
  display: none;
}
.vertical-collpsed .logo span.logo-lg {
  display: block;
}
.vertical-collpsed .navbar-brand-box {
  width: 250px !important;
}
.search-box .form-control {
  height: 38px;
  border-radius: 8px !important;
  width: 250px;
}
.floating-div {
  position: fixed;
  bottom: 30px;
  background: #28a382;
  box-shadow: 0 2px 20px -2px rgb(40 163 130 / 58%);
  z-index: 99999;
  padding: 15px 20px;
  border-radius: 8px;
  width: 75%;
  right: 45px;
  color: #ffffff;
}
@media (min-width: 1400px) {
  .floating-div {
    width: 78%;
  }
  .vertical-collpsed .floating-div {
    width: 89.7%;
  }
}
.vertical-collpsed .floating-div {
  width: 88.5%;
}
.select2 {
  width: 100% !important;
}
.select2-dropdown {
  z-index: 999999;
}
.modal-backdrop {
  z-index: 9999;
}
.title-floating-footer {
  position: fixed;
  bottom: 83px;
  right: 90px;
  background: #ffffff;
  padding: 12px 15px;
  border-radius: 6px;
  box-shadow: 0px 9px 12px 2px #ebebeb;
  z-index: 99;
}
.title-floating-footer a {
  color: #5d0eff;
  font-weight: 500;
}
.btn-floating {
  background-color: #5d0eff;
  color: #fff;
  position: fixed;
  bottom: 70px;
  border-radius: 30%;
  right: 15px;
  font-size: 40px;
  height: 60px;
  font-weight: 900;
  box-shadow: 0px 9px 12px 2px #c4b0f2;
  z-index: 99;
  border: none;
  padding: 0px 10px;
  transition: all 0.4s;
}
.btn-floating:hover {
  background-color: #5d0eff !important;
  background: #ffffff !important;
  color: #5d0eff !important;
}
.title-floating-footer:after {
  display: inline-block;
  content: "";
  position: absolute;
  background-color: #fff;
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  top: 0;
  bottom: 0;
  margin: auto;
  right: -5px;
  border-radius: 0 3px 0 0;
  box-shadow: 1px -1px 4px 0 #eee;
}
.floating {
  animation-name: floating;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.floating:hover {
  animation: none;
}

@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 7.5px);
  }
  100% {
    transform: translate(0, -0px);
  }
}

.rightbar-overlay {
  z-index: 9999;
}
.right-bar {
  height: fit-content;
}
.right-bar:before {
  display: inline-block;
  content: "";
  position: absolute;
  background-color: #fff;
  height: 15px;
  width: 15px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  top: -7.5px;
  margin: auto;
  right: 13px;
  border-radius: 0 3px 0 0;
}
.right-bar-enabled .right-bar {
  width: 400px;
  z-index: 99999;
  right: 96px;
  top: 60px;
}
.rightbar-overlay {
  background-color: rgb(118 118 118 / 55%);
}
.hover-apps {
  padding: 10px;
  border-radius: 4px;
}
.hover-apps:hover {
  box-shadow: 1px 2px 14px 7px rgb(169 169 169 / 29%);
}
.main-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.footer {
  padding: 20px;
  margin-top: auto !important;
  position: inherit;
}
.datepicker.datepicker-dropdown {
  font-size: 12px;
}

.conteiner-image {
  border-radius: 8px;
  border: 1px solid #dadce0;
  background: #ffffff;
}
.conteiner-image .image img {
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  filter: blur(0.5px);
}
.conteiner-image .text {
  padding: 17px 20px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top: 1px solid #dadce0;
}
.conteiner-image p {
  font-size: 13px !important;
  color: #000000;
  font-weight: 500;
}
.conteiner-image:hover {
  background: #eeeeee !important;
}
.modal-custom {
  background: #1f1f1ff2 !important;
}
.bar-custom {
  position: fixed;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    transparent 100%
  );
  width: 100%;
  z-index: 1;
  padding: 0.5rem 1rem;
}
.bar-custom a {
  cursor: pointer;
}
.bar-custom {
  color: white !important;
}
.menu-right {
  color: #ffffff;
}
.menu-right i {
  padding: 5px 8px;
}
.menu-right i:hover {
  background: #8b8787ba;
  border-radius: 3px;
  color: #ffffff;
}
.modal-content.custom {
  margin-top: 55px;
  border-radius: 0px;
  background-color: transparent !important;
  border: none !important;
}
.modal-dialog.custom {
  max-width: 100%;
  padding-left: 15px;
  height: 500px;
  top: 0%;
}
.height-500 {
  height: 600px;
  overflow: auto;
}
.modal-dialog.custom img {
  width: 60%;
}
.modal-custom .btn-prev-image {
  position: absolute;
  top: 45%;
  background: rgba(0, 0, 0, 0.75);
  padding: 14px 16px;
  line-height: 1px;
  border-radius: 100%;
  color: #ffffff;
  text-align: center;
  padding-right: 18px;
}
.modal-custom .btn-prev-image:hover {
  background: #007bff !important;
}
.modal-custom .btn-next-image {
  position: absolute;
  top: 45%;
  background: rgba(0, 0, 0, 0.75);
  padding: 14px 16px;
  line-height: 1px;
  border-radius: 50%;
  color: #ffffff;
  text-align: center;
  right: 25px;
  padding-left: 18px;
}
.modal-custom .btn-next-image:hover {
  background: #007bff !important;
}
@media (min-width: 769px) {
  .vertical-collpsed {
    min-height: auto;
  }
}
.box-search {
  padding: 6px 20px;
}
.font-size-25 {
  font-size: 25px !important;
}
.box-search input {
  border: none;
  font-size: 18px;
  padding: 0px;
  height: 45px;
}
@media (min-width: 576px) {
  #search-modal .modal-dialog {
    max-width: 650px;
    margin-top: 50px;
  }
}
.list-search:focus {
  background: #daeeff;
}
.list-search:hover {
  background: #daeeff;
  cursor: default;
}
.list-search {
  padding: 8px 20px;
  font-size: 13px;
  margin-bottom: 3px;
}

.list-search b {
  color: #377d82;
  font-weight: 600;
}
.list-name-search {
  text-transform: capitalize;
}
.btn-alur {
  height: 40px;
  display: flex;
}
.btn-alur i {
  font-size: 17px;
}
@media (max-width: 720px) {
  .btn-alur {
    font-size: 12px;
  }
  .btn-alur i {
    font-size: 16px;
  }
}
.list-account .child-1 {
  width: 60%;
}
.list-account .child-2 {
  width: 40%;
}
.content-neraca {
  padding: 15px 23px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.accordion--custom .accordion-header {
  display: flex; /* make flex element */
  align-items: center; /* aligning child items */
  column-gap: 1rem; /* adding gap between items in row */
  padding-left: 1rem;
}

/* small udjustments */
.accordion--custom .accordion-header .accordion-button {
  padding-left: 0;
  background: none;
}

.accordion--custom .accordion-button:not(.collapsed) {
  box-shadow: none;
}

.myCustomBorderFilter {
  border: 1px solid #edeef1;
}

.select2-selection__clear {
  margin-right: 13px !important;
}

.btn-selected-checkbox {
  color: #31353bad;
  background: transparent;
  border-color: #d3d5d7;
  font-size: 12px;
  padding: 11px 14px;
  border-radius: 10px !important;
  display: flex;
}

/* sticky */
.sticky-col {
  position: sticky !important;
  background-color: #fff;
  border-right: 1px solid #dee2e6;
}

.z-10 {
  z-index: 10 !important;
}

.table-light .sticky-col {
  background-color: #f7f9fd;
  /* border-bottom: 1px solid #dee2e6;  */
}

.first-col {
  left: 0;
  min-width: 45px;
  width: 45px;
}

.second-col {
  left: 45px;
  min-width: 80px;
  width: 80px;
}

.third-col {
  left: 125px;
  min-width: 250px;
  width: 250px;
}

.fourth-col {
  left: 449px;
  min-width: 100px;
  width: 100px;
}

.level-1 .sticky-col {
  background-color: #e6f7ff;
  font-weight: bold;
}
.level-2 .sticky-col {
  background-color: #f0faff;
}
.level-3 .sticky-col {
  background-color: #ffffff;
}

.input-group,
.input-group > .form-control {
  position: inherit !important;
}

.sticky-cell {
  position: sticky;
  background: white;
  z-index: 10;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

thead .sticky-cell {
  z-index: 20 !important;
}

.equal-width {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.sticky-cell:not(:last-child) {
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #666;
}

.empty-state img {
  max-width: 160px;
  margin-bottom: 20px;
}

.empty-state h5 {
  font-weight: bold;
  color: #333;
}

.empty-state p {
  margin-bottom: 20px;
  color: #777;
}
.status-switch {
  display: inline-flex;
  font-weight: bold;
}

.status-btn {
  padding: 6px 20px;
  position: relative;
  background-color: #f0f0f0;
  color: #acacac;
  z-index: 1;
  font-weight: 500;
}

.status-btn:first-child {
  border-right: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.status-btn:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.status-btn.active {
  background-color: #6895ff;
  color: #ffffff;
  z-index: 2;
  border-right: none;
  font-weight: 600;
}

.status-btn.active:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  right: -10px;
  border-width: 17px 0 17px 10px;
  border-color: transparent transparent transparent #6895ff;
  z-index: 3;
}

.status-btn.active:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  left: 0px;
  border-width: 17px 0 17px 10px;
  border-color: transparent transparent transparent #f0f0f0;
  z-index: 3;
}

.status-btn.active:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  right: -10px;
  border-width: 17px 0 17px 10px;
  border-color: transparent transparent transparent #6895ff;
  z-index: 3;
}
/* 
.status-btn.active:nth-child(3)::before {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  left: 0px;
  border-width: 17px 0 17px 10px;
  border-color: transparent transparent transparent #f0f0f0;
  z-index: 3;
}

.status-btn.active:nth-child(3)::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  right: -10px;
  border-width: 17px 0 17px 10px;
  border-color: transparent transparent transparent #6895ff;
  z-index: 3;
} */

.status-btn.active:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  left: 0px;
  border-width: 17px 0 17px 10px;
  border-color: transparent transparent transparent #f0f0f0;
  z-index: 3;
}
.view-switch {
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  border: 1px solid #ccc;
}

.view-switch button {
  border: none;
  background-color: white;
  padding: 2px 15px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background-color 0.3s ease;
  font-size: 18px;
}

.view-switch button.active {
  background-color: #d0ebff; /* Light blue */
}

.view-switch .mdi-check {
  font-size: 1rem;
  color: #1c7ed6;
}

.info-header {
  background-color: #e6f7ff;
  border: 1px solid #91d5ff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.info-item {
  font-size: 14.5px;
  font-weight: 600;
  color: #004d61;
  display: flex;
  align-items: center;
}

.info-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.info-container {
  padding: 0px 20px 0px 20px;
  border-radius: 4px;
}

.info-value {
  font-size: 1.3em;
  font-weight: 700;
  margin-left: 10px;
}
.value-limit { color: #d9534f; } 
.value-pkra { color: #47a9ff; } 
.value-rincian { color: #28a382; } 
.value-percent { color: #f0ad4e; } 

/* STATUS MATCHING */
.status-box {
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s;
  white-space: nowrap;
}
.status-box.match {
  background-color: #dff0d8; 
  color: #28a382;
  border: 1px solid #28a382;
}
.status-box.unmatch {
  background-color: #fcf8e3; 
  color: #8a6d3b;
  border: 1px solid #8a6d3b;
}
.summary-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.summary-box {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px; 
  padding: 15px;
}
.summary-box .label {
  font-size: 0.95em;
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 5px;
}
.summary-box .value {
  font-size: 1.6em;
  font-weight: 700;
}

.summary-box-success {
  background-color: #e6fff5;
  border: 1px solid #28a382;
  border-radius: 8px;
  padding: 15px;
}
.summary-box-success .label {
  font-size: 0.95em;
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 5px;
}
.summary-box-success .value {
  font-size: 1.6em;
  font-weight: 700;
}

.summary-box-info {
  background-color: #e6f7ff;
  border: 1px solid #50a5f1;
  border-radius: 8px; /* Sesuai custom.css */
  padding: 15px;
}
.summary-box-info .label {
  font-size: 0.95em;
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 5px;
}
.summary-box-info .value {
  font-size: 1.6em;
  font-weight: 700;
}

.summary-box-danger {
  background-color: #fff0f0;
  border: 1px solid #d9534f;
  border-radius: 8px; /* Sesuai custom.css */
  padding: 15px;
}
.summary-box-danger .label {
  font-size: 0.95em;
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 5px;
}
.summary-box-danger .value {
  font-size: 1.6em;
  font-weight: 700;
  color: #d9534f;
}

.val-sisa { background-color: #f0fffb; border-color: #28a382; }
.val-sisa .value { color: #28a382; }

.val-ajuan { background-color: #fff0f0; border-color: #d9534f; }
.val-ajuan .value { color: #d9534f; }

.val-revisi { background-color: #fffaf0; border-color: #f0ad4e; }
.val-revisi .value { color: #f0ad4e; }

.val-approved { background-color: #f0f7ff; border-color: #50a5f1; }
.val-approved .value { color: #50a5f1; }

.val-total { background-color: #f0fffb; border-color: #28a382; }
.val-total .value { color: #28a382; }

.status-badge {
  padding: 5px 10px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.9em;
  color: white;
}
.status-revisi { background-color: #f0ad4e; }
.status-baru { background-color: #d9534f; }

/* Tata Letak Konten Modal */
.modal-review-main { 
  flex-grow: 1; 
  background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #dee2e6;
  overflow-y: auto;
  min-height: 0; 
}
.modal-review-sidebar {
  width: 400px; /* Sedikit lebih lebar */
  flex-shrink: 0;
  align-self: flex-start; 
}

/* Gaya Rincian */
.detail-group { margin-bottom: 20px; padding: 10px 0; border-bottom: 1px dashed #ddd; }
.detail-group label { font-weight: 600; color: #555; display: block; font-size: 0.9em; }
.detail-group p { margin: 5px 0 0; font-size: 1.1em; }
.detail-group .nominal { color: #d9534f; font-size: 1.4em; }

/* Tabel Rincian MA */
.ma-review-table { width: 100%; border-collapse: collapse; font-size: 0.9em; }
.ma-review-table th, .ma-review-table td { 
  padding: 10px 12px; 
  border-bottom: 1px solid #eee; 
  text-align: left; 
  vertical-align: top; 
}
.ma-review-table th { 
  background-color: #f9f9f9; 
  font-weight: 600; 
  border-bottom: 2px solid #ddd; 
}
.ma-review-table th:nth-child(5), .ma-review-table td:nth-child(5) { text-align: right; } /* Saldo */
.ma-review-table th:nth-child(6), .ma-review-table td:nth-child(6) { text-align: right; } /* Ajuan */

/* Aksi Review (Sidebar) */
.review-action-box { 
  padding: 15px; 
  border: 1px solid #ddd; 
  border-radius: 8px; /* Sesuai template */
  margin-bottom: 20px; 
  background-color: #fff; 
}

/* === STYLING FULL-PAGE MODAL (TAHAP 3 PROGAR) === */
.modal-overlay {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; top: 0;
  width: 100%; height: 100%; 
  background-color: rgba(0,0,0,0.8); 
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s;
}
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }

/* Menggunakan z-index lebih tinggi dari panel filter (9999) */
.modal-overlay { z-index: 10000; }

.modal-custom-content {
  background-color: #fefefe;
  width: 95%; 
  height: 95%;
  margin: 2.5% auto; 
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-custom-header {
  padding: 15px 20px;
  border-bottom: 2px solid #50a5f1;
  background-color: #e6f7ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-custom-header h3 { margin: 0; color: #004d61; font-size: 1.6em; }
.modal-custom-close { color: #004d61; font-size: 36px; font-weight: bold; cursor: pointer; }

.modal-custom-body {
  padding: 20px;
  flex-grow: 1;
  overflow-y: auto; 
  display: flex;
  gap: 20px;
  background-color: #f9fafb; /* Latar modal body */
}

.modal-custom-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  text-align: right;
  flex-shrink: 0; 
  background-color: #f9f9f9;
}
    
.history-timeline { list-style: none; padding-left: 0; position: relative; }
.history-timeline:before { content: ''; position: absolute; left: 8px; top: 5px; bottom: 5px; width: 2px; background-color: #e9ecef; }
.history-item { position: relative; padding-left: 30px; margin-bottom: 15px; }
.history-item::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background-color: #fff; border: 3px solid #0d6efd; }
.history-item.success::before { border-color: #28a382; }
.history-item.pending::before { border-color: #ffc107; background-color: #ffc107; }
.history-item .time { font-size: 0.8em; color: #6c757d; display: block; margin-bottom: 2px; }
.history-item .title { font-weight: 600; margin-bottom: 0; }
.history-item .note { font-size: 0.9em; color: #6c757d; margin-top: 3px; }

.status-processed { color: white; background-color: #28a382; padding: 4px 8px; border-radius: 4px; font-weight: 600; font-size: 0.9em; }
.status-unprocessed { color: white; background-color: #d9534f; padding: 4px 8px; border-radius: 4px; font-weight: 600; font-size: 0.9em; }
.lpj-status-menunggu { color: #f0ad4e; font-weight: 600; }
.lpj-status-closed { color: #28a382; font-weight: 600; }

/* STATUS TABEL (Dari HTML Lama) */
.status-menunggu-verif, .status-belum, .status-lewat-batas { color: #d9534f; font-weight: 600; }
.status-sudah, .status-on-schedule, .status-tepat-waktu { color: #28a382; font-weight: 600; }
.status-belum-lpj { color: #50a5f1; font-weight: 600; }
.status-mendekati-batas, .status-ready { color: #f0ad4e; font-weight: 600; }

.status-jurnal-done { background-color: #50a5f1; color: white; padding: 4px 8px; border-radius: 4px; }
.status-pending-item { background-color: #d9534f; color: white; padding: 4px 8px; border-radius: 4px; }
.status-complete-item { background-color: #28a745; color: white; padding: 4px 8px; border-radius: 4px; }

.status-jurnal-danger { background-color: #d9534f; color: white; padding: 4px 8px; border-radius: 4px; }