:root {
    --kemensos-blue: #0b3b60;
    --kemensos-yellow: #fdb913;
    --card-shadow: 0 10px 25px rgba(10, 51, 93, 0.07);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --secondary-gradient: linear-gradient(135deg, #3B82F6 0%, #2DD4BF 100%);
    --danger-gradient: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
    --success-gradient: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Global Mobile Overflow Guard */
html,
body {
    overflow-x: hidden;
}

/* Image Lazy Loading Animation & Placeholder */
img[loading="lazy"] {
    transition: opacity 0.35s ease-in-out, filter 0.35s ease-in-out;
}

img.lazy-loading {
    opacity: 0;
    filter: blur(5px);
}

img.lazy-loaded {
    opacity: 1;
    filter: blur(0);
}

.dashboard-hero-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.2);
}

.hero-glass-inner {
    position: relative;
    z-index: 2;
}

.dashboard-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 80%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.dashboard-hero-card .breadcrumb {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin-bottom: 0;
    white-space: nowrap;
}

/* Premium Card styling */
.card-premium-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Color gradients for section headers */
.bg-gradient-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-detail th {
    font-weight: 700;
    color: #1e293b;
}

.nav-tabs-custom {
    border-bottom: 2px solid #e2e8f0;
}

.nav-tabs-custom .nav-link {
    border: none;
    color: #64748b;
    background: transparent;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.nav-tabs-custom .nav-link:hover {
    color: #4f46e5;
    border-bottom-color: #cbd5e1;
}

.nav-tabs-custom .nav-link.active {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background: transparent;
}

.transition-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-hover:hover {
    transform: scale(1.02);
    filter: brightness(1.08);
}

.transition-hover:active {
    transform: scale(0.98);
}

.select2-container--default .select2-results__option {
    color: black;
}

.select2-container--default .select2-selection__placeholder {
    color: black;
}

.select2-container--default .select2-selection__rendered {
    color: black;
}

.select2-search__field {
    color: black
}

.dashboard-hero-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.2);
}

.hero-glass-inner {
    position: relative;
    z-index: 2;
}

.dashboard-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 80%);
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Premium Card styling */
.card-premium-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-premium-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Color gradients for section headers */
.bg-gradient-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
}

.bg-gradient-emerald {
    background: linear-gradient(135deg, #059669 0%, #065f46 100%);
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Input Focus Glow & Border Accent */
.form-input-premium {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-input-premium:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background-color: #fff;
}

.nav-pills-horizontal-4,
.nav-pills-horizontal-3 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100%;
    gap: 0.75rem;
}

.nav-pills-horizontal-4 .nav-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 25%;
}

.nav-pills-horizontal-3 .nav-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 33.333%;
}

.nav-pills-horizontal-3 .nav-link,
.nav-pills-horizontal-4 .nav-link {
    height: 100%;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    transition: all 0.2s ease-in-out;
    padding: 0.75rem 0.85rem !important;
}

.nav-pills-horizontal-3 .nav-link:hover,
.nav-pills-horizontal-4 .nav-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.nav-pills-horizontal-3 .nav-link.active,
.nav-pills-horizontal-4 .nav-link.active {
    background: #2b4c8c !important;
    color: #ffffff !important;
    border-color: #2b4c8c !important;
    box-shadow: 0 4px 12px rgba(43, 76, 140, 0.25) !important;
}

.nav-pills-horizontal-3 .nav-link.active .tab-icon-box,
.nav-pills-horizontal-4 .nav-link.active .tab-icon-box {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.nav-pills-horizontal-3 .nav-link.active .tab-title,
.nav-pills-horizontal-4 .nav-link.active .tab-title {
    color: #ffffff !important;
}

.nav-pills-horizontal-3 .nav-link.active .tab-role-badge,
.nav-pills-horizontal-4 .nav-link.active .tab-role-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.nav-pills-horizontal-3 .nav-link.active .tab-subtitle,
.nav-pills-horizontal-4 .nav-link.active .tab-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.tab-icon-box {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 1rem;
}

.tab-title {
    font-size: 0.84rem;
    line-height: 1.25;
    color: #1e293b;
}

.tab-role-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: #e0e7ff !important;
    color: #3730a3 !important;
    border: 1px solid #c7d2fe !important;
    display: inline-flex;
    align-items: center;
}

.tab-subtitle {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
}

/* Dark-blue label color */
.text-dark-blue {
    color: #1e293b;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

/* Responsive divider border */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #dee2e6 !important;
    }
}

/* Button transition animations */
.transition-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Select2 Fix for dark text in dropdowns and selections */
.select2-container--default .select2-results__option {
    color: black;
}

.select2-container--default .select2-selection__placeholder {
    color: black;
}

.select2-container--default .select2-selection__rendered {
    color: black;
}

.select2-search__field {
    color: black;
}

/* Modal layer fixes */
.modal {
    z-index: 1065 !important;
}

.modal-backdrop {
    z-index: 1060 !important;
}

/* Custom Evaluasi Section Cards */
.card-custom-section {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-custom-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700;
}

.swal2-html-container {
    overflow-x: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* Nav Pills Custom (Modern Evaluasi Card Tabs & Standard Tabs) */
.nav-pills-custom .nav-link {
    border-radius: 16px;
    padding: 16px 18px;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 90px;
}

.nav-pills-custom .nav-link .tab-icon-box {
    width: 36px;
    height: 36px;
    background: rgba(67, 94, 190, 0.1);
    color: #435ebe;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.nav-pills-custom .nav-link .tab-title {
    color: #1e293b;
    font-weight: 700;
}

.nav-pills-custom .nav-link .tab-subtitle {
    color: #64748b;
}

.nav-pills-custom .nav-link .tab-role-badge {
    background-color: #f1f5f9;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.25);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem !important;
    letter-spacing: 0.2px;
}

.nav-pills-custom .nav-link.active {
    background: linear-gradient(135deg, #435ebe 0%, #25396f 100%);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(67, 94, 190, 0.3);
}

.nav-pills-custom .nav-link.active .tab-title {
    color: #ffffff !important;
}

.nav-pills-custom .nav-link.active .tab-subtitle {
    color: #f8fafc !important;
}

.nav-pills-custom .nav-link.active .tab-subtitle span:not(.badge),
.nav-pills-custom .nav-link.active .tab-subtitle i {
    color: #f8fafc !important;
}

.nav-pills-custom .nav-link.active .tab-subtitle .badge {
    background-color: #ffffff !important;
    color: #1e3a8a !important;
}

.nav-pills-custom .nav-link.active .tab-subtitle .text-success,
.nav-pills-custom .nav-link.active .tab-subtitle i.text-success {
    color: #4ade80 !important;
}

.nav-pills-custom .nav-link.active .tab-icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.nav-pills-custom .nav-link.active .tab-role-badge {
    background-color: #ffffff !important;
    color: #1e3a8a !important;
    border-color: transparent !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
    padding: 0.25rem 0.6rem !important;
}

.nav-pills-custom .nav-link:hover:not(.active) {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.transition-hover:hover {
    transform: scale(1.02);
    filter: brightness(1.08);
}

.transition-hover:active {
    transform: scale(0.98);
}

.card-akip:hover {
    color: red !important;
}

.text-justify {
    text-align: justify;
}

.btn-pad {
    margin: 1%
}

.align-items-normal {
    align-items: normal !important;
}

/* Navigasi & Menu */
.main-navbar {
    background-color: var(--kemensos-blue) !important;
}

.main-navbar .menu-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    /* font-size: 0.85rem !important; */
    white-space: nowrap !important;
    transition: all 0.3s ease;
}

.main-navbar .menu-item:hover .menu-link,
.main-navbar .menu-item.active .menu-link {
    color: var(--kemensos-yellow) !important;
}

.main-navbar .menu-item.active .menu-link i,
.main-navbar .menu-item:hover .menu-link i {
    color: var(--kemensos-yellow) !important;
}

.main-navbar .submenu {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px !important;
    border: none !important;
}

.main-navbar .submenu .submenu-link {
    color: #333 !important;
}

.main-navbar .submenu .submenu-link:hover {
    color: var(--kemensos-blue) !important;
    background-color: rgba(67, 94, 190, 0.05) !important;
}

.card-header.bg-warning {
    background-color: var(--kemensos-yellow) !important;
}

/* --- FOOTER CSS START --- */
/* Typography & Headings */
.footer-links h5 {
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800 !important;
    color: var(--kemensos-yellow) !important;
    margin-bottom: 2rem !important;
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.footer-links h5::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), transparent);
    margin-left: 15px;
}

/* Contact Info */
.footer-about p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
}

.footer-about p i {
    color: var(--kemensos-yellow);
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 12px;
    font-size: 1rem;
    margin-top: 2px;
}

.footer-about p a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
}

.footer-about p a:hover {
    color: var(--kemensos-yellow) !important;
}

/* Sleek Link List (Mini Artikel) */
.recent-message .name a {
    display: block;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.recent-message .name a:hover {
    color: var(--kemensos-yellow) !important;
    padding-left: 10px;
    background: rgba(255, 255, 255, 0.03);
}

/* Mind Blown Wavy Footer */
.footer-wavy-container {
    position: relative;
    background: transparent;
    margin-top: 5rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-wavy-shape {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wavy-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    filter: drop-shadow(0px 2px 0px #0b3b60);
    transform: scale(1.01);
}

.footer-wavy-shape .shape-fill {
    fill: #0b3b60;
}

.footer-main-content {
    background-color: #0b3b60;
    padding: 2rem 0 0 !important;
    color: #ffffff;
    margin-top: -2px;
}

.footer-hashtag-row {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-divider-vert {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    padding-left: 2rem;
}

.btn-contact-footer {
    border: 2px solid var(--kemensos-yellow);
    color: var(--kemensos-yellow);
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s;
    text-decoration: none;
    border-radius: 5px;
}

.btn-contact-footer:hover {
    background: var(--kemensos-yellow);
    color: #0b3b60;
}

.footer-links .logo-box {
    background: #ffffff;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    height: 50px;
}

.footer-links .logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-links img {
    max-height: 25px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

footer {
    background-color: #0b3b60 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0 !important;
    margin-top: 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-layer-top,
.footer-layer-middle {
    display: none;
}

.content-wrapper:last-of-type .page-content>section.row>.row.p-4 {
    display: none;
}

.hashtag-logo-responsive {
    max-height: 30px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
    .hashtag-logo-responsive {
        max-height: 22px;
    }
}

/* --- FOOTER CSS END --- */

.piagam-card {
    cursor: pointer;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    transition: all .2s ease-in-out;
    height: 100%;
}

.piagam-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.piagam-thumb {
    width: 100%;
    height: 260px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
}

.custom-arrow {
    filter: invert(1) grayscale(100);
}

#piagamCarousel .carousel-control-prev,
#piagamCarousel .carousel-control-next {
    width: 5%;
}

#piagamModal .modal-body img {
    max-height: 85vh;
    object-fit: contain;
}

/* Welcome Page Modern Styles */
.welcome-hero-card {
    min-height: 200px;
    display: flex;
    align-items: center;
}

.hero-decoration {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.menu-card-modern {
    background: #ffffff;
    border: 1px solid #eef2f7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card-modern:hover {
    transform: translateY(-10px);
    border-color: var(--kemensos-yellow);
}

.shadow-hover:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.menu-icon-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.menu-card-modern:hover .menu-icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.transition-all {
    transition: all 0.3s ease;
}

/* Dark Mode Adjustments for Dashboard */
[data-bs-theme="dark"] .nav-pills-modern {
    background: #1e1e2d;
    border-color: #323545;
}

[data-bs-theme="dark"] .nav-pills-modern .nav-link {
    color: #a1a5b7;
}

[data-bs-theme="dark"] .nav-pills-modern .nav-link.active {
    background: #2b2b40 !important;
    color: var(--kemensos-yellow) !important;
}

/* OTK & Piagam Refinement */
.otk-sidebar {
    background: #f8f9fa !important;
    border: none !important;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.02);
}

.otk-nav-link {
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    border: 1px solid transparent !important;
    transition: all 0.2s !important;
}

.otk-nav-link.active {
    background-color: #ffffff !important;
    color: var(--kemensos-blue) !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.otk-content-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.otk-title-text {
    color: var(--kemensos-blue);
    transition: color 0.3s ease;
}

.piagam-card {
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Dark Mode Adjustments for Welcome */
[data-bs-theme="dark"] .menu-card-modern {
    background: #252733;
    border-color: #323545;
}

[data-bs-theme="dark"] .menu-card-modern h6 {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .otk-sidebar,
[data-bs-theme="dark"] .otk-content-card,
[data-bs-theme="dark"] .piagam-card {
    background: #252733 !important;
    border-color: #323545 !important;
}

[data-bs-theme="dark"] .otk-nav-link {
    color: #a1a5b7 !important;
}

[data-bs-theme="dark"] .otk-nav-link.active {
    background: #1e1e2d !important;
    color: var(--kemensos-yellow) !important;
}

[data-bs-theme="dark"] .otk-title-text {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .otk-content-card .card-header {
    background: #323545 !important;
    color: #ffffff !important;
}

.section-title-accent {
    position: relative;
    padding-left: 20px;
    font-weight: 800;
    color: #0f172a;
    font-size: 1.5rem;
}

.section-title-accent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 6px;
    background: linear-gradient(to bottom, #0d6efd, #0dcaf0);
    border-radius: 10px;
}

/* Decoration Pattern */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    background-image: radial-gradient(#0a335d 1px, transparent 1px);
    background-size: 30px 30px;
}

body {
    background-color: #F3F4F6;
}

/* Animated Hero Background */
.dashboard-hero-card {
    background: linear-gradient(-45deg, #4F46E5, #7C3AED, #3B82F6, #2DD4BF);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    position: relative;
    overflow: hidden;
    border-radius: 20px !important;
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.2);
}

.dashboard-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotateBg 20s linear infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-glass-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Nav Pills Modern Island */
.nav-pills-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px !important;
    padding: 0.5rem 1rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.nav-pills-modern .nav-link {
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    color: #4B5563;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0.2rem;
}

.nav-pills-modern .nav-link:hover {
    background: rgba(79, 70, 229, 0.05);
    color: #4F46E5;
    transform: translateY(-2px);
}

.nav-pills-modern .nav-link.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

/* Stat Card Hover Effects */
.stat-card-modern {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px !important;
    background: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.stat-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.icon-box-rounded {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card-modern:hover .icon-box-rounded {
    transform: rotate(10deg) scale(1.1);
}

.badge.bg-light {
    background-color: #F3F4F6 !important;
    color: #374151 !important;
    border: 1px solid #E5E7EB;
    padding: 0.5rem 0.8rem;
}

/* Value typography */
.fw-extrabold {
    font-weight: 800 !important;
    letter-spacing: -0.05em;
}

.card {
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    background: rgba(255, 255, 255, 0.95);
}

/* Unit Kerja Tab Enhancements */
#uke1-pane .card-header {
    background: linear-gradient(to right, rgba(248, 249, 250, 0.8), rgba(255, 255, 255, 1));
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.uke1-list-container {
    border-radius: 16px;
    background: #F9FAFB;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#satkerList {
    padding-right: 5px;
}

#satkerList::-webkit-scrollbar {
    width: 6px;
}

#satkerList::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#satkerList::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

#satkerList .list-group-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    color: #4B5563;
    padding: 1rem 1.2rem;
}

#satkerList .list-group-item:hover {
    transform: translateX(6px);
    background: rgba(79, 70, 229, 0.04);
    color: #4F46E5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

#satkerList .list-group-item.active {
    background: var(--primary-gradient);
    color: white !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    transform: scale(1.02) translateX(4px);
    z-index: 2;
}

#satkerList .list-group-item.active .small {
    color: rgba(255, 255, 255, 0.85) !important;
}

.table-modern {
    border-collapse: separate;
    border-spacing: 0 10px;
    width: 100%;
}

.table-modern tbody tr {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
}

.table-modern tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.table-modern td {
    border: none !important;
    padding: 1.2rem;
    vertical-align: middle;
    background: transparent;
}

.table-modern td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    color: #6B7280;
    font-weight: 600;
    width: 45%;
}

.table-modern td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    color: #111827;
    font-weight: 800;
    text-align: right;
    font-size: 1.05rem;
}

/* Submenu link icon and multiline text alignment */
.layout-horizontal .main-navbar .submenu .submenu-group .submenu-item .submenu-link {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
    line-height: 1.4 !important;
    text-decoration: none;
}

.layout-horizontal .main-navbar .submenu .submenu-group .submenu-item .submenu-link i {
    flex-shrink: 0 !important;
    margin-top: 0.15rem !important;
    font-size: 1.05rem !important;
    width: 1.25rem !important;
    text-align: center !important;
}

.layout-horizontal .main-navbar .submenu .submenu-group .submenu-item .submenu-link span {
    flex: 1 !important;
    min-width: 0 !important;
    display: inline-block;
    word-break: break-word !important;
}

/* =========================================================
   DASHBOARD MOBILE RESPONSIVE ENHANCEMENTS
   ========================================================= */
@media (max-width: 991.98px) {

    /* Horizontal Swipeable Nav Pills Island */
    .nav-pills-modern {
        display: flex !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 16px !important;
        padding: 0.4rem !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
        /* Firefox */
        -ms-overflow-style: none !important;
        /* IE/Edge */
    }

    .nav-pills-modern::-webkit-scrollbar {
        display: none !important;
        /* Chrome/Safari */
    }

    .nav-pills-modern #dashboardTab {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        gap: 0.35rem !important;
    }

    .nav-pills-modern .nav-link {
        white-space: nowrap !important;
        padding: 0.45rem 0.9rem !important;
        font-size: 0.85rem !important;
        border-radius: 30px !important;
        margin: 0 !important;
    }

    /* Dashboard Hero Header */
    .dashboard-hero-card {
        padding: 1rem !important;
        border-radius: 16px !important;
    }

    .dashboard-hero-card h3 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }

    .dashboard-hero-card p {
        font-size: 0.85rem !important;
    }

    .dashboard-hero-card .breadcrumb {
        font-size: 0.8rem !important;
        padding: 0.35rem 0.85rem !important;
    }

    /* Stat Cards & Numbers */
    .stat-card-modern {
        border-radius: 16px !important;
    }

    .stat-card-modern .card-body {
        padding: 1.15rem !important;
    }

    .stat-card-modern .fs-1 {
        font-size: clamp(1.6rem, 5vw, 2.25rem) !important;
    }

    /* Modern Table on Mobile */
    .table-modern td {
        padding: 0.75rem 0.65rem !important;
        font-size: 0.85rem !important;
    }

    .table-modern td:first-child {
        width: 48% !important;
    }

    .table-modern td:last-child {
        font-size: 0.9rem !important;
    }

    /* UKE 1 Satker List */
    .uke1-list-container {
        padding: 0.6rem !important;
        border-radius: 14px !important;
    }

    #satkerList .list-group-item {
        padding: 0.75rem 0.9rem !important;
        font-size: 0.875rem !important;
    }

    /* Konsultasi Mobile Optimizations */
    .stats-icon {
        width: 2.5rem !important;
        height: 2.5rem !important;
        border-radius: 10px !important;
    }

    .stats-icon i {
        font-size: 1.25rem !important;
    }

    .card-premium-header {
        padding: 0.85rem 1rem !important;
    }

    .card-premium-header .icon-circle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }

    .card-premium-header .icon-circle i {
        font-size: 1.1rem !important;
    }

    /* Evaluasi Mobile Optimizations */
    .nav-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        white-space: nowrap !important;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05) !important;
    }

    .nav-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .nav-tabs .nav-link {
        white-space: nowrap !important;
        padding: 0.5rem 0.85rem !important;
        font-size: 0.85rem !important;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch !important;
    }

    .btn-pad {
        padding: 0.45rem 1rem !important;
        font-size: 0.825rem !important;
    }

    /* Universal Hero Header Mobile Responsiveness */
    .dashboard-hero-card {
        padding: 1rem !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .dashboard-hero-card .hero-glass-inner {
        width: 100% !important;
        max-width: 100% !important;
    }

    .dashboard-hero-card h2,
    .dashboard-hero-card h3 {
        font-size: clamp(1.2rem, 4.5vw, 1.75rem) !important;
        line-height: 1.35 !important;
        word-break: break-word !important;
    }

    .dashboard-hero-card p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        word-break: break-word !important;
    }

    .dashboard-hero-card .badge {
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.35 !important;
        border-radius: 12px !important;
        display: inline-block !important;
    }

    .dashboard-hero-card .breadcrumb {
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        padding: 0.35rem 0.85rem !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
    }

    /* Decision Point, Action Bars & Full Width Buttons on Mobile */
    .btn-pad.btn-success,
    .btn-pad.btn-primary,
    .btn-pad.btn-danger,
    .btn-pad.btn-info,
    .btn-pad.btn-warning,
    .btn-pad.btn-dark,
    .btn-pad.btn-light,
    .btn.btn-success,
    .btn.btn-primary,
    .btn.btn-danger,
    .btn.btn-info,
    .btn.btn-warning,
    .btn.btn-dark {
        max-width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .badge {
        white-space: normal !important;
        word-break: break-word !important;
        max-width: 100% !important;
    }

    /* Universal Action Bar on Mobile */
    .page-content .d-flex.flex-wrap,
    .page-content .d-flex.justify-content-between,
    .page-content .d-flex.justify-content-end {
        max-width: 100% !important;
    }

    .page-content .d-flex>.btn-pad,
    .page-content .d-flex>.btn {
        max-width: 100% !important;
    }

    /* Decision Point Cards and Action Cards */
    .card-premium-glass,
    .card-custom-section {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .card-premium-header,
    .card-header {
        max-width: 100% !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
}

/* Responsive Width Utilities */
@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }

    .w-sm-100 {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }

    .w-md-100 {
        width: 100% !important;
    }
}

@media (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }

    .w-lg-100 {
        width: 100% !important;
    }
}

/* ==========================================================================
   UNIVERSAL ICON & COMPONENT VERTICAL ALIGNMENT (SIAP-ITJEN DESIGN SYSTEM)
   ========================================================================== */

/* 1. Normalisasi Tombol Ber-Icon: Wajib Flex & Center Sumbu Y */
.btn:has(> i.bi),
.btn:has(> svg),
.btn.d-inline-flex,
.btn-pad:has(> i.bi),
.btn:has(i.bi) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle;
}

/* 2. Normalisasi Badge Ber-Icon: Wajib Flex & Center Sumbu Y */
.badge:has(> i.bi),
.badge:has(i.bi),
.badge.d-inline-flex {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle;
}

/* 3. Eliminasi Offset -.125em pada Icon di dalam Button, Badge, Alert & Seluruh Icon Wrapper */
.btn i.bi,
.badge i.bi,
.alert i.bi,
.icon-box i.bi,
.icon-circle i.bi,
.icon-wrapper-circle i.bi,
.icon-box-circle i.bi,
.icon-box-square i.bi,
.stats-icon i.bi,
.tab-icon-box i.bi,
.icon-box-rounded i.bi,
[class*="rounded-"] > i.bi {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: 0 !important;
}

.btn i.bi::before,
.badge i.bi::before,
.alert i.bi::before,
.icon-box i.bi::before,
.icon-circle i.bi::before,
.icon-wrapper-circle i.bi::before,
.icon-box-circle i.bi::before,
.icon-box-square i.bi::before,
.stats-icon i.bi::before,
.tab-icon-box i.bi::before,
.icon-box-rounded i.bi::before,
[class*="rounded-"] > i.bi::before {
    vertical-align: 0 !important;
    line-height: 1 !important;
}

/* 4. Standarisasi Utilitas Icon Box & Wrapper (Zero Padding Tabrakan) */
.icon-wrapper-circle,
.icon-box-circle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.icon-box-square {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 0.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

/* 5. Optical Center Alignment dalam Alert Banners */
.alert.d-flex > i.bi,
.alert.d-flex > .icon-wrapper-circle,
.alert.d-flex > .icon-box-circle {
    align-self: center;
}

/* 6. Alignment Ikon di dalam Flexbox & Tabel agar sejajar teks */
.d-flex.align-items-center > i.bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.d-flex.align-items-center > i.bi::before {
    vertical-align: 0 !important;
}