body {
    color: black;
}

#enlargePanel {
    top: 0;
    bottom: 0;
    left: 100%;
    margin: 10px;
    width: 40%;
    /* max-height: 100%; */
    background-color: white;
    border-radius: 10px;
    z-index: 9999;
    position: fixed;
    overflow-y: scroll;
    transition: ease-out 0.3s;
}
#enlargePanel.show {
    left: 0%;
}
#enlargePanel.hide {
    left: 100%;
}
#enlargePanel i {
    font-size: 20px
}

.table {
    font-size: 14px !important;
    color: black;
}

.bg-label-primary {
    background-color: #eae8fd !important;
    color: #7367f0 !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.badge {
    --bs-badge-padding-x: 1em;
    --bs-badge-padding-y: 0.49em;
    --bs-badge-font-size: 0.81em;
    --bs-badge-font-weight: 600;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 0.25rem;
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-badge-border-radius);
}

.badge-primary {
    background-color: #007bff;
}
.badge-secondary {
    background-color: #6c757d;
}
.badge-success {
    background-color: #28a745;
}
.badge-danger {
    background-color: #dc3545;
}
.badge-warning {
    background-color: #ffc107;
    color: #212529;
}
.badge-info {
    background-color: #17a2b8;
}
.badge-light {
    background-color: #f8f9fa;
    color: #212529;
}
.badge-dark {
    background-color: #343a40;
}
.pointer {
    cursor: pointer !important;
}
.text-orange {
    color: orange;
}
.text-red {
    color: red;
}
.text-green {
    color: green;
}
.text-blue {
    color: blue;
}
.text-aqua {
    color: aqua;
}

/* ACCORDION */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.accordion-button {
    padding: 20px 25px;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    background: white;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background: #f8f9fa;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}

.accordion-button::after {
    background-image: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
    color: #0d6efd;
}

.accordion-body {
    padding: 20px 25px;
    color: #495057;
    line-height: 1.6;
    background: white;
}

.feature-icon {
    margin-right: 12px;
    color: #0d6efd;
    font-size: 1.2rem;
}

.badge-custom {
    margin-left: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.progress {
    height: 8px;
    margin-top: 15px;
    border-radius: 4px;
}

.list-group-item {
    border: none;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.status-icon {
    margin-right: 10px;
}

.image-preview {
    border-radius: 8px;
    margin-top: 15px;
}
/* END OF ACCORDION */

.blink {
  animation: blink-step 1s steps(1, start) infinite;
}
@keyframes blink-step {
  50% { visibility: hidden; }
}
.blink-fade {
  animation: blink-fade 1.2s ease-in-out infinite;
}
@keyframes blink-fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.swal2-container {
  z-index: 9999999 !important;
}

/* ===== SIDEBAR LAYOUT FIX =====
   Pastikan konten utama tidak tertutup sidebar.
   Override perilaku argon-dashboard yang me-reset margin-left ke 0 saat g-sidenav-pinned aktif. */
@media (min-width: 1200px) {
    .g-sidenav-pinned .sidenav.fixed-start + .main-content {
        margin-left: 17.125rem !important;
    }
}
/* Untuk layar medium-large (768px - 1199px), jaga margin agar konten tidak tertutup */
@media (min-width: 768px) and (max-width: 1199px) {
    .sidenav.fixed-start + .main-content {
        margin-left: 17.125rem !important;
    }
}

/* ===== MODERN PREMIUM TABS ===== */
.modern-tab-wrapper {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.modern-tab-bar {
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.modern-tab-bar .nav-link {
    border: none !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    padding: 0 0 1rem 0 !important;
    position: relative;
    transition: color 0.2s ease;
    border-radius: 0 !important;
}

.modern-tab-bar .nav-link:hover {
    color: #475569 !important;
}

.modern-tab-bar .nav-link.active {
    color: #5e72e4 !important;
}

.modern-tab-bar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #5e72e4, #825ee4);
    border-radius: 9999px;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-tab-bar .nav-link.active::after {
    transform: scaleX(1);
}

.bg-success-light {
    background-color: rgba(45, 206, 137, 0.15) !important;
    color: #2dce89 !important;
}
.bg-danger-light {
    background-color: rgba(245, 54, 92, 0.15) !important;
    color: #f5365c !important;
}
.bg-warning-light {
    background-color: rgba(251, 99, 64, 0.15) !important;
    color: #fb6340 !important;
}
.bg-info-light {
    background-color: rgba(17, 205, 239, 0.15) !important;
    color: #11cdef !important;
}
.bg-hover-light {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.bg-hover-light:hover {
    background-color: #ffffff !important;
    border-color: #5e72e4 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transform: translateY(-2px);
}

/* Select2 custom premium styling (Global) */
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
  border: 1px solid #dee2e6 !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  min-height: 45px !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
.select2-container--default .select2-selection--single {
  display: flex !important;
  align-items: center !important;
  padding: 0 12px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 43px !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #5e72e4 !important;
  box-shadow: 0 0 0 3px rgba(94, 114, 228, 0.15) !important;
  outline: 0 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #e8ecfa !important;
  border: 1px solid #d2d9f3 !important;
  border-radius: 6px !important;
  color: #5e72e4 !important;
  font-weight: 500 !important;
  padding: 4px 10px 4px 20px !important;
  margin-top: 4px !important;
  margin-right: 6px !important;
  position: relative !important;
  font-size: 0.85rem !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #f5365c !important;
  font-weight: bold !important;
  margin-right: 4px !important;
  position: absolute !important;
  left: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  border: none !important;
  background: none !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  background: none !important;
  color: #ec0c38 !important;
}
.select2-container--default .select2-search--multiple .select2-search__field {
  margin-top: 6px !important;
  font-size: 0.9rem !important;
}
.select2-dropdown {
  border: 1px solid #e9ecef !important;
  border-radius: 12px !important;
  box-shadow: 0 50px 100px rgba(50,50,93,.1), 0 15px 35px rgba(50,50,93,.15), 0 5px 15px rgba(0,0,0,.1) !important;
  padding: 6px !important;
  z-index: 9999 !important;
}
.select2-results__option {
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 0.9rem !important;
  margin-bottom: 2px !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #5e72e4 !important;
  color: #ffffff !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #f6f9fc !important;
  color: #8898aa !important;
}