.app-search .form-select {
  border: 1px solid #ffffff;
  color: rgb(255 255 255);
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}
.show-row-table {
  display: table-row;
}
.hide {
  display: none;
}
.box-icon {
  width: fit-content;
  padding: 10px;
  border-radius: 6px;
  margin-left: auto;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}
.toast-top-right {
  top: 100px !important;
}
ol.ui-sortable {
  list-style: none;
  padding-left: 0px !important;
}
ol.ui-sortable li {
  background: #d5ffd5;
  padding: 10px 15px;
  border-radius: 4px;
  box-shadow: rgb(15 34 58 / 12%) 0px 1px 4px;
  margin-bottom: 8px;
  cursor: grab;
}
.card-greeting {
  background: #dbd8f9;
  border: none;
}
.card-greeting .card-body {
  padding: 35px 40px;
}
.card-greeting h3 {
  color: #6c63ff;
  font-weight: 600;
}
.card-greeting p {
  font-weight: 600;
  font-size: 17px;
}
.skeleton-box {
  display: inline-block;
  height: 1em;
  position: relative;
  overflow: hidden;
  background-color: #DDDBDD;
}
.skeleton-box::after{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));
  animation: shimmer 2s infinite;
  content: '';
}
@keyframes shimmer {
  100% {
      transform: translateX(100%);
  }
}
span.select2-container.select2-container--default.select2-container--open{
  z-index: 999999;
}
.content-neraca {
  padding: 15px 23px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.list-account .child-1{
  width: 60%;
}
.list-account .child-2{
  width: 40%;
}
.navbar-header .dropdown .dropdown-menu.form-select-mobile{
  left: 0px !important;
  right: 0px  !important;
  border: none  !important;
}
@media (min-width: 1200px) {
  body[data-layout=horizontal] .container-fluid, body[data-layout=horizontal] .navbar-header {
      max-width: 90% !important;
  }
}
.nav-pills .nav-link:hover{
  background-color: #e3e3e3;
  color:#252525 !important;
}
.nav-pills .nav-link {
  background: #ececec;
  margin-left: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nav-pills .nav-item:first-child .nav-link {
  margin-left: 0px;
}

.nav-pills.nav-cus .nav-link.active{
  background-color: #1c74bb;
}
.nav-pills.nav-cus .nav-link.active:hover{
  background-color: #1c74bb;
  color:#ffffff !important;
}

.card-metric {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 5px;
  border: 1px solid #e9e8eb;
  transition: all 0.3s ease;
  /* height: 100%; */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* .card-metric:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-color: #e2e8f0;
} */

/* Header Section: Label & Icon */
.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 11px;
  padding: 15px;
  background: #f9f9fb;
  border-radius: 6px;
  border: 1px solid #e9e8eb;

}


.metric-label {
    color: #64748b; /* Slate grey */
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
    
}

/* Icon Box Style (Kotak Icon di Kanan Atas) */
.metric-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #ffffff;
    color: #7e22ce;
    box-shadow: 0 1.5px 1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9e8eb;
}
/* Main Value Section */
.metric-body {
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9fb;
    border-radius: 6px;
    border: 1px solid #e9e8eb;
}

.metric-value {
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

/* Percentage Badge (Pill Style) */
.metric-badge {
    padding: 3px 6px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #e9e8eb;
}
.badge-up { background: #ecfdf5; color: #059669; }
.badge-down { background: #fef2f2; color: #dc2626; }

/* Footer Section */
.metric-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: auto;
    padding: 0px 10px;
    padding-bottom: 8px;
}

.metric-helper-text {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.metric-arrow {
    color: #94a3b8;
    transition: 0.2s;
}
.card-metric:hover .metric-arrow {
    color: #0f172a;
    transform: translateX(3px);
}

.custom-select-wrapper {
    position: relative;
}

.select-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 5;
    font-size: 14px;
}

.custom-select-metric {
    padding-left: 38px !important; /* Ruang untuk icon */
    padding-right: 30px;
    height: 42px; /* Tinggi fix agar sejajar */
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.custom-select-metric:focus {
    border-color: #8b5cf6; /* Warna Ungu Metoric */
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.1);
}

.select2-range-group {
    display: flex;
    width: 100%;
}

.select2-range-group .select2-container {
    flex: 1;
    min-width: 0;
}

.select2-range-group select:first-of-type + .select2-container .select2-selection--single {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 1px solid #e5e7eb;
}

.select2-range-group select:last-of-type + .select2-container .select2-selection--single {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}