/* ==========================================================================
   E-SUKET PREMIUM THEME CUSTOM OVERRIDES
   ========================================================================== */

/* 1. Global Typography & Typography resets */
body, p, span, a, input, select, textarea, td, div,
.form-control,
.select2-container,
.select2-choice,
.select2-results,
.table td,
.dataTables_wrapper td {
    font-family: 'Inter', 'Open Sans', 'Helvetica Neue', Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6, label, button, .btn, .brand-title, .brand-subtitle, .tulisan,
.control-label,
.input-label,
.form-group label,
.caption-subject,
.portlet-title,
.box-title,
.table th,
.dataTables_wrapper th,
.page-sidebar-menu,
.page-sidebar-menu li,
.page-sidebar-menu a,
.page-sidebar-menu span,
.sub-menu,
.sub-menu li,
.sub-menu a,
.sub-menu span {
    font-family: 'Outfit', 'Open Sans', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Restore font-family for icon fonts overridden by the global span reset */
.glyphicon, 
[class^="glyphicon-"], 
[class*=" glyphicon-"] {
    font-family: 'Glyphicons Halflings' !important;
}

.fa, 
.fa-brand, 
.fa-solid, 
.fa-regular,
[class^="fa-"], 
[class*=" fa-"] {
    font-family: 'FontAwesome' !important;
}

.ion,
[class^="ion-"],
[class*=" ion-"] {
    font-family: 'Ionicons' !important;
}

[class^="icon-"], 
[class*=" icon-"] {
    font-family: 'et-line' !important;
}

body {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

/* 2. Page Header / Top Navbar */
.page-header.navbar {
    background: #0f172a !important; /* Premium Slate/Dark */
    border-bottom: 1px solid #1e293b !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    height: 54px !important;
}

.page-header.navbar .page-logo {
    background-color: #0f172a !important;
    width: 230px !important;
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.page-header.navbar .top-menu .username {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    font-family: 'Outfit', sans-serif !important;
}

.page-header.navbar .top-menu .dropdown-user .dropdown-toggle {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: background-color 0.2s ease !important;
    margin-top: 5px !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.page-header.navbar .top-menu .dropdown-user:hover .dropdown-toggle {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* 3. Sidebar Navigation Styles */
.page-sidebar-wrapper {
    background-color: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
}

.page-sidebar {
    background-color: #ffffff !important;
}

.page-sidebar-menu {
    padding: 20px 0 !important;
}

.page-sidebar-menu > li {
    margin: 4px 12px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.page-sidebar-menu > li > a {
    display: flex !important;
    align-items: center !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
}

.page-sidebar-menu > li > a > i {
    color: #64748b !important;
    font-size: 16px !important;
    margin-right: 12px !important;
    width: 20px !important;
    text-align: center !important;
}

/* Hover and Open States */
.page-sidebar-menu > li:hover > a, 
.page-sidebar-menu > li.open > a {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

.page-sidebar-menu > li:hover > a > i, 
.page-sidebar-menu > li.open > a > i {
    color: #1e293b !important;
}

/* Active State */
.page-sidebar-menu > li.active > a, 
.page-sidebar-menu > li.active.open > a {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 216, 0.2) !important;
}

.page-sidebar-menu > li.active > a > i, 
.page-sidebar-menu > li.active.open > a > i {
    color: #ffffff !important;
}

/* Sub-menus */
.page-sidebar-menu .sub-menu {
    background-color: #f8fafc !important;
    padding: 4px 0 !important;
    margin: 0 !important;
}

.page-sidebar-menu .sub-menu > li {
    margin: 2px 12px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.page-sidebar-menu .sub-menu > li > a {
    display: flex !important;
    align-items: flex-start !important;
    padding: 8px 12px 8px 15px !important;
    font-size: 12px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    width: 100% !important;
}

.page-sidebar-menu .sub-menu > li > a > i {
    position: static !important;
    margin: 2px 8px 0 0 !important;
    width: 16px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    font-size: 13px !important;
}

/* Sidebar menu item text and badges layout */
.page-sidebar-menu li > a .menu-title-text {
    flex: 1 !important;
    min-width: 0 !important;
    white-space: normal !important; /* Allow long titles to wrap */
    padding-right: 6px !important;
    line-height: 1.4 !important;
}

.page-sidebar-menu li > a > .badge {
    flex-shrink: 0 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    margin: 2px 0 0 4px !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.page-sidebar-menu li > a > .badge.bg-red {
    background-color: #ef4444 !important;
    color: #ffffff !important;
}

.page-sidebar-menu li > a > .badge.bg-teal {
    background-color: #0d9488 !important;
    color: #ffffff !important;
}

.page-sidebar-menu .sub-menu > li:hover > a, 
.page-sidebar-menu .sub-menu > li.open > a, 
.page-sidebar-menu .sub-menu > li.act, 
.page-sidebar-menu .sub-menu > li.act > a, 
.page-sidebar-menu .sub-menu > li a.act {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

.page-sidebar .page-sidebar-menu .sub-menu li.act {
    background-color: #e2e8f0 !important;
    border-left: 3px solid #2563eb !important;
}

/* 4. Portlets & Cards */
.portlet.light {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 25px !important;
    padding: 24px !important;
    transition: all 0.3s ease;
}

.portlet.light:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.portlet.light > .portlet-title {
    border-bottom: 1px solid #e2e8f0 !important;
    min-height: 48px !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
}

.portlet.light > .portlet-title .caption-subject {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: -0.2px;
}

/* 5. Buttons Styling */
.btn {
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
}

.btn-xs {
    padding: 5px 10px !important;
    font-size: 12px !important;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
}
.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
}
.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
}
.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
}

.btn-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    color: #ffffff !important;
}
.btn-info:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%) !important;
}

.btn-default {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}
.btn-default:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

/* 6. Form Controls */
.form-group {
    margin-bottom: 20px !important;
}

.control-label {
    font-weight: 600 !important;
    color: #475569 !important;
    font-size: 14px !important;
    text-align: left !important;
    padding-top: 10px !important;
}

.form-control {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    height: 42px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
}

textarea.form-control {
    height: auto !important;
    min-height: 100px;
}

/* Custom styled file inputs */
input[type="file"] {
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    font-size: 13px;
    color: #64748b;
    transition: all 0.2s ease;
}

input[type="file"]:hover {
    border-color: #3b82f6;
    background-color: #f1f5f9;
}

/* Select element native styling override */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* 7. Tables & DataTables styling */
.table {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
}

.table > thead > tr > th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 0.8px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 14px 18px !important;
}

.table > tbody > tr > td {
    padding: 14px 18px !important;
    font-size: 14px !important;
    color: #334155 !important;
    border-top: 1px solid #e2e8f0 !important;
    vertical-align: middle !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f8fafc !important;
}

.table-hover > tbody > tr:hover {
    background-color: #f1f5f9 !important;
}

/* DataTables pagination and search styling */
.dataTables_wrapper .dataTables_filter input {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 14px !important;
    height: 38px !important;
    outline: none !important;
    font-size: 13px !important;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 6px 12px !important;
    height: 38px !important;
    outline: none !important;
}

.pagination > li > a, .pagination > li > span {
    border-radius: 8px !important;
    margin: 0 3px !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.pagination > li.active > a, .pagination > li.active > span,
.pagination > li.active > a:hover, .pagination > li.active > span:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(37, 99, 216, 0.2) !important;
}

/* Ensure all DataTable and table text elements (headers, cells, pagination, filters) use the Inter font to match the login page */
body .dataTables_wrapper,
body .dataTables_wrapper label,
body .dataTables_wrapper input,
body .dataTables_wrapper select,
body .dataTables_wrapper textarea,
body .dataTables_wrapper button,
body .dataTables_wrapper .btn,
body .dataTables_wrapper td,
body .dataTables_wrapper th,
body .dataTable,
body .dataTable td,
body .dataTable th,
body .dataTable thead th,
body .dataTable tbody td,
body .dataTables_info,
body .dataTables_paginate,
body .dataTables_paginate .pagination,
body .dataTables_paginate .pagination li,
body .dataTables_paginate .pagination li a,
body .dataTables_paginate .pagination li span,
body .dataTables_length,
body .dataTables_length label,
body .dataTables_length select,
body .dataTables_filter,
body .dataTables_filter label,
body .dataTables_filter input,
body .dataTables_processing,
body .table,
body .table td,
body .table th,
body table td,
body table th {
    font-family: 'Inter', 'Open Sans', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Restore font-family for icon fonts inside DataTables and tables */
body .dataTables_wrapper .glyphicon, 
body .dataTables_wrapper [class^="glyphicon-"], 
body .dataTables_wrapper [class*=" glyphicon-"],
body .dataTable .glyphicon, 
body .dataTable [class^="glyphicon-"], 
body .dataTable [class*=" glyphicon-"],
body .table .glyphicon,
body .table [class^="glyphicon-"],
body .table [class*=" glyphicon-"] {
    font-family: 'Glyphicons Halflings' !important;
}

body .dataTables_wrapper .fa, 
body .dataTables_wrapper .fa-brand, 
body .dataTables_wrapper .fa-solid, 
body .dataTables_wrapper .fa-regular,
body .dataTables_wrapper [class^="fa-"], 
body .dataTables_wrapper [class*=" fa-"],
body .dataTable .fa, 
body .dataTable .fa-brand, 
body .dataTable .fa-solid, 
body .dataTable .fa-regular,
body .dataTable [class^="fa-"], 
body .dataTable [class*=" fa-"],
body .table .fa,
body .table .fa-brand,
body .table .fa-solid,
body .table .fa-regular,
body .table [class^="fa-"],
body .table [class*=" fa-"] {
    font-family: 'FontAwesome' !important;
}

body .dataTables_wrapper .ion,
body .dataTables_wrapper [class^="ion-"],
body .dataTables_wrapper [class*=" ion-"],
body .dataTable .ion,
body .dataTable [class^="ion-"],
body .dataTable [class*=" ion-"],
body .table .ion,
body .table [class^="ion-"],
body .table [class*=" ion-"] {
    font-family: 'Ionicons' !important;
}

body .dataTables_wrapper [class^="icon-"], 
body .dataTables_wrapper [class*=" icon-"],
body .dataTable [class^="icon-"], 
body .dataTable [class*=" icon-"],
body .table [class^="icon-"],
body .table [class*=" icon-"] {
    font-family: 'et-line' !important;
}


/* 8. Modals Styling */
.modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
}

.modal-header {
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 18px 24px !important;
}

.modal-header .modal-title {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 16px !important;
}

.modal-header .close {
    margin-top: 0px !important;
    opacity: 0.4 !important;
    background-color: #e2e8f0 !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.modal-header .close:hover {
    opacity: 1 !important;
    background-color: #cbd5e1 !important;
}

.modal-body {
    padding: 24px !important;
}

.modal-footer {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 16px 24px !important;
}

/* 9. Select2 Custom styling */
.select2-container .select2-choice {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    height: 42px !important;
    line-height: 40px !important;
    padding: 0 16px !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

.select2-container.select2-container-active .select2-choice {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
}

.select2-dropdown-open .select2-choice {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.select2-drop {
    border-radius: 8px !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
}

.select2-results .select2-highlighted {
    background: #2563eb !important;
    color: #ffffff !important;
}

.select2-search input {
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 6px 10px !important;
}

/* 10. Central Loading Spinner */
#divQLoading {
    background-color: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
}

#divQLoading:not([style*="display: none"]):not([style*="display:none"]) {
    display: flex !important;
}

#divQLoading .loading-screen {
    background: #ffffff !important;
    padding: 24px 36px !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

#divQLoading .loading-screen span.fa {
    font-size: 32px !important;
    color: #2563eb !important;
}

/* ==========================================================================
   11. LOGIN PAGE (nlogin.php) SPECS OVERRIDES
   ========================================================================== */
.animsition .left-navigation {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important; /* Premium Slate/Dark Gradient */
    border: none !important;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15) !important;
    padding: 40px 30px !important;
    z-index: 1000 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

@media screen and (min-width: 992px) {
    body.animsition {
        margin: 0 !important;
        padding: 0 !important;
        height: 100vh !important;
        overflow: hidden !important;
    }

    .animsition .left-navigation {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0 !important;
        width: 520px !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 55px 45px !important; /* Premium spacious padding */
    }

    .left-navigation::before {
        display: none !important;
    }

    .animsition .left-navigation .menu-wrapper {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .animsition .left-navigation .navigation {
        background: transparent !important;
        height: auto !important;
        overflow: visible !important;
        margin-bottom: 10px !important;
    }

    .section-wrapper {
        margin-left: 0px !important;
        margin-right: 520px !important;
        height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .move-wrapper {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 40px 40px 20px 40px !important;
        background-color: #f8fafc !important;
        height: auto !important;
        min-height: auto !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
    }

    .inner-banner, section.section {
        background-color: #f8fafc !important;
        height: auto !important;
        min-height: auto !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer {
        flex-shrink: 0 !important;
        padding: 30px 40px !important;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .animsition .left-navigation {
        width: 450px !important;
        padding: 45px 30px !important;
    }
    .section-wrapper {
        margin-right: 450px !important;
    }
}

.animsition .left-navigation .brand.logo {
    text-align: center !important;
    margin-bottom: 20px !important;
    display: block !important;
    padding: 10px 0 !important;
}

.animsition .left-navigation img.proaktif-logo {
    max-height: 48px !important;
    object-fit: contain;
    margin: 0 auto !important;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

/* Custom brand title & subtitle typography */
.brand-title-wrapper {
    margin-top: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.brand-title {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.3px;
    line-height: 1.3 !important;
}

.brand-subtitle {
    color: #94a3b8 !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.2px;
}

/* Custom form group with icons */
.form-group-custom {
    margin-bottom: 22px !important;
    text-align: left !important;
}

.form-group-custom .input-label {
    color: #94a3b8 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 10px !important;
    display: block;
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 16px;
    transition: color 0.3s ease;
    z-index: 10;
}

.animsition .left-navigation .form-control {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    text-align: left !important;
    border-radius: 8px !important;
    height: 48px !important;
    padding: 12px 16px 12px 42px !important; /* Extra left padding for icon */
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

.animsition .left-navigation .form-control:focus {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2) !important;
}

.input-icon-wrapper:focus-within .input-icon {
    color: #3b82f6 !important;
}

.animsition .left-navigation .btn-signin {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    height: 50px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
    transition: all 0.2s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.animsition .left-navigation .btn-signin:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4) !important;
}

/* Links style */
.login-links-wrapper {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.login-link {
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    justify-content: center;
}

.login-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.fixed-sidebar-footer.logn-footer {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    padding: 20px 0 0 0 !important;
    margin-top: 30px !important;
}

.animsition .left-navigation .jspContainer,
.animsition .left-navigation .jspPane {
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    width: 100% !important;
    background: transparent !important;
}

.animsition .left-navigation .form-control::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}
.animsition .left-navigation .form-control:-ms-input-placeholder {
    color: #64748b !important;
}
.animsition .left-navigation .form-control::-ms-input-placeholder {
    color: #64748b !important;
}

.box-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    float: none !important;
    width: 100% !important;
    border-bottom: none !important;
}

.box-header img {
    max-height: 42px !important;
    object-fit: contain !important;
    margin: 0 !important;
    float: none !important;
}

.fixed-sidebar-footer.logn-footer .copyright {
    background: transparent !important;
    padding: 0 !important;
}

.fixed-sidebar-footer.logn-footer .copyright-text b {
    font-size: 11px !important;
    line-height: 1.4 !important;
    display: block;
    text-align: center;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

/* News List Improvements */
.news-card-custom {
    border-radius: 12px !important;
    padding: 20px 24px !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #3b82f6 !important; /* Premium left highlight */
    margin-bottom: 20px !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: 'Inter', sans-serif !important;
}

.news-card-custom:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 20px -3px rgba(37, 99, 216, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03) !important;
    border-color: #cbd5e1 !important;
    border-left-color: #2563eb !important;
}

.news-card-custom .media-heading a {
    font-family: 'Outfit', sans-serif !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.news-card-custom .media-heading a:hover {
    color: #2563eb !important;
}

.news-card-custom p.news-date {
    font-family: 'Inter', sans-serif !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-custom p.news-date i {
    color: #94a3b8;
    font-size: 12px !important;
}

.news-card-custom p.tulisan {
    font-family: 'Inter', sans-serif !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.news-card-custom p.tulisan a {
    font-family: 'Inter', sans-serif !important;
    color: #2563eb !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.news-card-custom p.tulisan a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

.news-detail-title {
    font-size: 20px !important;
    position: relative !important;
    padding-bottom: 6px !important;
}

.news-detail-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #3b82f6;
    border-radius: 2px;
}

.box-footer .uppercase {
    display: inline-block;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(37, 99, 216, 0.2) !important;
}

.box-footer .uppercase:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 216, 0.3) !important;
}

.box-footer .uppercase i {
    transition: transform 0.2s ease !important;
}

.box-footer .uppercase:hover i {
    transform: translateX(-3px) !important;
}

/* Right side banner / slider container on login page */
.move-wrapper, .inner-banner, .section-wrapper {
    background-color: #f8fafc !important;
}

.inner-banner section.section {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* ==========================================================================
   12. REGISTRATION PAGE (v_register.php / v_register_.php) SPECS OVERRIDES
   ========================================================================== */
.register-page {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    padding: 40px 0 !important;
}

.register-box {
    width: 90% !important;
    max-width: 720px !important;
    margin: 0 auto !important;
}

.register-logo a {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    letter-spacing: -0.8px !important;
    line-height: 1.2 !important;
    text-shadow: none !important;
}

.register-box-body {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02) !important;
    padding: 40px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.register-box-body h5 label {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 20px !important;
}

.register-box-body .form-control {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    height: 44px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.register-box-body .form-control:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
}

.register-box-body button[type="submit"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    height: 44px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25) !important;
    transition: all 0.2s ease !important;
}

.register-box-body button[type="submit"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35) !important;
}

.register-box-body a {
    color: #2563eb !important;
    font-weight: 600 !important;
}

.register-box-body a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

/* Custom password strength overrides */
.pwstrength_viewport_progress {
    margin-top: 8px !important;
    height: 6px !important;
    border-radius: 3px !important;
    background-color: #e2e8f0 !important;
    overflow: hidden !important;
}

.pwstrength_viewport_progress .progress-bar {
    height: 100% !important;
    transition: width 0.3s ease !important;
}

/* ==========================================================================
   13. DASHBOARD STAT CARDS OVERRIDES (.dashboard-stat2)
   ========================================================================== */
.dashboard-stat2 {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 24px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.dashboard-stat2:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
    border-color: #cbd5e1 !important;
}

.dashboard-stat2 .display {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 16px !important;
    float: none !important;
}

.dashboard-stat2 .display .number {
    float: none !important;
    display: block !important;
}

.dashboard-stat2 .display .number h3 {
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
}

.dashboard-stat2 .display .number small {
    font-size: 12px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    color: #64748b !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    display: block !important;
}

.dashboard-stat2 .display .icon {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    background-color: #f1f5f9 !important;
    transition: all 0.2s ease !important;
}

.dashboard-stat2 .display .icon i {
    font-size: 20px !important;
    color: #475569 !important;
}

.dashboard-stat2 .progress-info {
    margin-top: 12px !important;
    clear: both !important;
}

.dashboard-stat2 .progress-info .progress {
    height: 6px !important;
    border-radius: 3px !important;
    background-color: #f1f5f9 !important;
    margin: 0 0 8px 0 !important;
    overflow: hidden !important;
}

.dashboard-stat2 .progress-info .progress .progress-bar {
    border-radius: 3px !important;
    height: 100% !important;
}

.dashboard-stat2 .progress-info .status {
    display: flex !important;
    justify-content: flex-end !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
}

.dashboard-stat2 .progress-info .status .status-title a {
    color: #2563eb !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.dashboard-stat2 .progress-info .status .status-title a:hover {
    color: #1d4ed8 !important;
    text-decoration: none !important;
}

/* Color thematic variants override for dashboard stat numbers and icons */
.font-green-sharp {
    color: #10b981 !important; /* Premium Emerald */
}
.dashboard-stat2:has(.font-green-sharp) .display .icon {
    background-color: rgba(16, 185, 129, 0.1) !important;
}
.dashboard-stat2:has(.font-green-sharp) .display .icon i {
    color: #10b981 !important;
}
.dashboard-stat2:has(.font-green-sharp) .progress-info .progress .progress-bar {
    background-color: #10b981 !important;
}

.font-blue-dark, .font-blue-sharp {
    color: #2563eb !important; /* Premium Blue */
}
.dashboard-stat2:has(.font-blue-dark) .display .icon,
.dashboard-stat2:has(.font-blue-sharp) .display .icon {
    background-color: rgba(37, 99, 216, 0.1) !important;
}
.dashboard-stat2:has(.font-blue-dark) .display .icon i,
.dashboard-stat2:has(.font-blue-sharp) .display .icon i {
    color: #2563eb !important;
}
.dashboard-stat2:has(.font-blue-dark) .progress-info .progress .progress-bar,
.dashboard-stat2:has(.font-blue-sharp) .progress-info .progress .progress-bar {
    background-color: #2563eb !important;
}

.font-purple-soft {
    color: #8b5cf6 !important; /* Premium Violet */
}
.dashboard-stat2:has(.font-purple-soft) .display .icon {
    background-color: rgba(139, 92, 246, 0.1) !important;
}
.dashboard-stat2:has(.font-purple-soft) .display .icon i {
    color: #8b5cf6 !important;
}
.dashboard-stat2:has(.font-purple-soft) .progress-info .progress .progress-bar {
    background-color: #8b5cf6 !important;
}

.font-red-haze {
    color: #ef4444 !important; /* Premium Red */
}
.dashboard-stat2:has(.font-red-haze) .display .icon {
    background-color: rgba(239, 68, 68, 0.1) !important;
}
.dashboard-stat2:has(.font-red-haze) .display .icon i {
    color: #ef4444 !important;
}
.dashboard-stat2:has(.font-red-haze) .progress-info .progress .progress-bar {
    background-color: #ef4444 !important;
}

/* Fallback classes for compatibility */
.dashboard-stat2 .green-sharp,
.dashboard-stat2 .progress-bar-success.green-sharp {
    background-color: #10b981 !important;
}
.dashboard-stat2 .purple-soft,
.dashboard-stat2 .progress-bar-success.purple-soft {
    background-color: #8b5cf6 !important;
}
.dashboard-stat2 .blue-sharp,
.dashboard-stat2 .progress-bar-success.blue-sharp {
    background-color: #2563eb !important;
}
.dashboard-stat2 .blue-dark,
.dashboard-stat2 .progress-bar-success.blue-dark {
    background-color: #1d4ed8 !important;
}
.dashboard-stat2 .red-haze,
.dashboard-stat2 .progress-bar-success.red-haze {
    background-color: #ef4444 !important;
}

/* ==========================================================================
   14. MODERN ALERT OVERRIDES
   ========================================================================== */
.alert {
    border-radius: 12px !important;
    border: none !important;
    padding: 16px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
    margin-bottom: 20px !important;
}

.alert .close {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: inherit !important;
    opacity: 0.5 !important;
    transition: opacity 0.2s ease !important;
    background: none !important;
    border: none !important;
}

.alert .close:hover {
    opacity: 1 !important;
}

.alert-danger {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 4px solid #ef4444 !important;
}

.alert-success {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border-left: 4px solid #10b981 !important;
}

.alert-warning {
    background-color: #fffbeb !important;
    color: #92400e !important;
    border-left: 4px solid #f59e0b !important;
}

.alert-info {
    background-color: #eff6ff !important;
    color: #1e40af !important;
    border-left: 4px solid #3b82f6 !important;
}

/* ==========================================================================
   15. MODERN BADGES & LABEL OVERRIDES
   ========================================================================== */
.label, .badge {
    border-radius: 100px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.label-default {
    background-color: #e2e8f0 !important;
    color: #475569 !important;
}

.label-success {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
}

.label-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

.label-warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}

.label-info {
    background-color: #dbeafe !important;
    color: #1e40af !important;
}

.label-primary {
    background-color: #dbeafe !important;
    color: #1e40af !important;
}

/* ==========================================================================
   16. MODERN DATEPICKER DROPDOWN OVERRIDES
   ========================================================================== */
.datepicker {
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 10px !important;
    background-color: #ffffff !important;
}

.datepicker table tr td.active, 
.datepicker table tr td.active:hover, 
.datepicker table tr td.active.disabled, 
.datepicker table tr td.active.disabled:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
}

.datepicker table tr td.day:hover, 
.datepicker table tr td.focused {
    background: #f1f5f9 !important;
    border-radius: 8px !important;
}

.datepicker th {
    font-weight: 600 !important;
    color: #475569 !important;
}

/* ==========================================================================
   17. FORM READONLY & FIELD IMPROVEMENTS
   ========================================================================== */
.form-control[readonly], 
.form-control[disabled] {
    background-color: #f8fafc !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    border-color: #e2e8f0 !important;
    border-style: dashed !important;
}

.help-block {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 6px !important;
}

/* ==========================================================================
   18. PAGE TITLES & BREADCRUMBS
   ========================================================================== */
.page-head .page-title h1 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 8px 0 !important;
}

.page-breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 10px 0 20px 0 !important;
    list-style: none !important;
}

.page-breadcrumb li {
    display: inline-block !important;
}

.page-breadcrumb li a {
    color: #64748b !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.page-breadcrumb li a:hover {
    color: #2563eb !important;
}

.page-breadcrumb li i {
    color: #cbd5e1 !important;
    font-size: 10px !important;
    margin: 0 8px !important;
}

.page-breadcrumb li.active {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* ==========================================================================
   19. MODERN LOGIN PAGE MAIN FOOTER OVERRIDES (.footer)
   ========================================================================== */
/* ==========================================================================
   19. MODERN LOGIN PAGE MAIN FOOTER OVERRIDES (.footer)
   ========================================================================== */
.footer {
    background-color: #0f172a !important; /* Premium Dark Slate */
    color: #94a3b8 !important; /* Soft Slate Text */
    border-top: 1px solid #1e293b !important;
    padding: 50px 0 40px 0 !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
}

.footer .footer-title,
.footer label {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
}

.footer p,
.footer span,
.footer a,
.footer-info,
.footer-copyright {
    font-family: 'Inter', sans-serif !important;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    margin-bottom: 25px;
}

.footer-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-title i {
    color: #3b82f6 !important;
    font-size: 16px !important;
}

.footer-info {
    color: #94a3b8 !important;
    line-height: 1.7 !important;
    font-size: 13px !important;
    margin-bottom: 15px !important;
}

.footer-info strong {
    color: #cbd5e1 !important;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-social-icons a i {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.footer-social-icons a:hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    transform: translateY(-2px);
}

.footer-social-icons a:hover i {
    color: #ffffff !important;
    transform: scale(1.1);
}

.footer-col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media screen and (min-width: 992px) {
    .footer-col-right {
        align-items: flex-end;
        text-align: right;
    }
}

.footer-badge-img {
    max-height: 48px !important;
    margin-bottom: 15px !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease !important;
}

.footer-badge-img:hover {
    transform: scale(1.05) !important;
}

.footer-copyright {
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.08) !important;
    margin: 8px 0 20px 0 !important;
}

.footer label {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
}

.footer p {
    color: #cbd5e1 !important;
    line-height: 1.7 !important;
    font-size: 13.5px !important;
}

.footer i.fa {
    color: #3b82f6 !important; /* Premium blue for contact icons */
    transition: transform 0.2s ease !important;
}

.footer i.fa:hover {
    transform: scale(1.1) !important;
}

.footer a {
    color: #3b82f6 !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.footer a:hover {
    color: #60a5fa !important;
    text-decoration: none !important;
}

/* ==========================================================================
   20. COMPACT DETAIL TABLES FOR FORMS
   ========================================================================== */
.form-group table.table,
.form-group table.table-bordered {
    margin-top: 10px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.form-group table.table th {
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.form-group table.table td {
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #475569 !important;
    border-top: 1px solid #e2e8f0 !important;
    vertical-align: middle !important;
}

.form-group table.table td button {
    padding: 4px 8px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
}

/* ==========================================================================
   NEWSFEED AND PREMIUM CARD-BASED DATATABLE LAYOUT OVERRIDES
   ========================================================================== */

/* News Container Layout and Logo styling */
.news-container-custom {
    padding: 30px !important;
    background-color: #f8fafc !important;
}

.news-container-custom .box-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
    background: transparent !important;
}

.news-container-custom .news-flash-logo {
    height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
}

.news-container-custom .sdppi-logo {
    height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Standard Table dt-listfpp Layout Overrides */
#dt-listfpp-wrapper {
    overflow-x: auto !important;
    width: 100% !important;
}

#dt-listfpp {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

#dt-listfpp thead {
    display: table-header-group !important;
}

#dt-listfpp tr {
    display: table-row !important;
    width: auto !important;
}

#dt-listfpp th,
#dt-listfpp td {
    display: table-cell !important;
    width: auto !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    padding: 12px 16px !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: left;
}

#dt-listfpp th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 0.8px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

#dt-listfpp tbody tr:nth-of-type(odd) {
    background-color: #f8fafc !important;
}

#dt-listfpp tbody tr:hover {
    background-color: #f1f5f9 !important;
}

/* Search container of DataTable */
#dt-listfpp_wrapper .dataTables_filter {
    float: right !important;
    margin-bottom: 20px !important;
}

#dt-listfpp_wrapper .dataTables_filter label {
    font-weight: 500 !important;
    color: #475569 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#dt-listfpp_wrapper .dataTables_filter label input {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px 14px 8px 36px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background-color: #ffffff !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%2394a3b8"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: 12px center !important;
    background-size: 16px 16px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    width: 250px !important;
    font-weight: 400 !important;
}

#dt-listfpp_wrapper .dataTables_filter label input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 216, 0.15) !important;
}

/* Hide default entries dropdown */
#dt-listfpp_wrapper .dataTables_length {
    display: none !important;
}

/* Info and Pagination styling */
#dt-listfpp_wrapper .dataTables_info {
    color: #64748b !important;
    font-size: 13.5px !important;
    padding-top: 16px !important;
    float: left !important;
}

#dt-listfpp_wrapper .dataTables_paginate {
    float: right !important;
    padding-top: 12px !important;
}

#dt-listfpp_wrapper .dataTables_paginate .pagination {
    margin: 0 !important;
    display: flex !important;
    gap: 6px !important;
}

#dt-listfpp_wrapper .dataTables_paginate .pagination > li > a {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    color: #475569 !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
}

#dt-listfpp_wrapper .dataTables_paginate .pagination > li > a:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    text-decoration: none !important;
}

#dt-listfpp_wrapper .dataTables_paginate .pagination > li.active > a,
#dt-listfpp_wrapper .dataTables_paginate .pagination > li.active > a:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(37, 99, 216, 0.2) !important;
}

#dt-listfpp_wrapper .dataTables_paginate .pagination > li.disabled > a,
#dt-listfpp_wrapper .dataTables_paginate .pagination > li.disabled > a:hover {
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    background-color: #f8fafc !important;
    cursor: not-allowed !important;
}

@media (max-width: 768px) {
    #dt-listfpp_wrapper .dataTables_filter {
        float: none !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    #dt-listfpp_wrapper .dataTables_filter label {
        width: 100% !important;
    }
    #dt-listfpp_wrapper .dataTables_filter label input {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    #dt-listfpp_wrapper .dataTables_info {
        float: none !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    #dt-listfpp_wrapper .dataTables_paginate {
        float: none !important;
        display: flex !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   12. SKELETON LOADING EFFECTS
   ========================================================================== */
@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton-placeholder {
    display: inline-block;
    height: 14px;
    width: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s infinite ease-in-out;
}

/* Specific widths for realistic table skeleton rows */
.skeleton-placeholder.width-xs { width: 30%; }
.skeleton-placeholder.width-sm { width: 50%; }
.skeleton-placeholder.width-md { width: 75%; }
.skeleton-placeholder.width-lg { width: 90%; }
.skeleton-placeholder.width-full { width: 100%; }

.skeleton-row td {
    padding: 16px 18px !important;
    background-color: #ffffff !important;
    border-color: #f1f5f9 !important;
}

/* Style DataTable Processing Container to be modern and premium */
.dataTables_wrapper {
    position: relative;
}

.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    width: 220px !important;
    height: 54px !important;
    margin-left: -110px !important;
    margin-top: -27px !important;
    padding: 0 15px !important;
    text-align: center !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08) !important;
    border-radius: 12px !important;
    z-index: 1000 !important;
    backdrop-filter: blur(8px) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    transition: all 0.3s ease !important;
    font-family: 'Outfit', sans-serif !important;
}

.dataTables_wrapper .dataTables_processing:not([style*="display: none"]):not([style*="display:none"]) {
    display: flex !important;
}

.dataTables_wrapper .dataTables_processing::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid #e2e8f0;
    border-top: 2.5px solid #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

/* Add overlay style to table while loading */
.dataTable.processing,
.dataTables_wrapper:has(.dataTables_processing:not([style*="display: none"]):not([style*="display:none"])) .table,
.dataTables_wrapper:has(.dataTables_processing:not([style*="display: none"]):not([style*="display:none"])) table {
    opacity: 0.65;
    filter: blur(0.5px);
    transition: all 0.25s ease;
}
}

/* ==========================================================================
   DATATABLE — Action Column, Buttons, Badges (Global Fix)
   ========================================================================== */

/* 1. Align-center class (digunakan di view tapi belum didefinisikan) */
.align-center {
    text-align: center !important;
    vertical-align: middle !important;
}

/* 2. Kolom Aksi — batas lebar agar tombol bisa wrap dan tidak terlalu lebar */
.table > thead > tr > th:first-child,
table.dataTable thead th:first-child {
    min-width: 100px !important;
    max-width: 160px !important;
    width: 140px !important;
    text-align: center !important;
    white-space: nowrap !important;
}
.table > tbody > tr > td:first-child {
    text-align: center !important;
    vertical-align: middle !important;
    max-width: 160px !important;
    white-space: normal !important;   /* biarkan tombol wrap ke baris baru */
    line-height: 1.8 !important;      /* jarak antar baris tombol */
}

/* 3. Action buttons di dalam tabel */
.buttontblist {
    margin: 2px !important;
    padding: 5px 9px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    transition: all 0.15s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important;
}
.buttontblist:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18) !important;
}
.buttontblist .glyphicon {
    font-size: 12px !important;
}

/* btn-xs override agar seragam */
.btn-xs.buttontblist {
    padding: 4px 8px !important;
    font-size: 12px !important;
}

/* 4. Status badge di dalam tabel */
.table .label {
    display: inline-block !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
}
.table .label-success {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
}
.table .label-info {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
}
.table .label-warning {
    background-color: #fef9c3 !important;
    color: #854d0e !important;
    border: 1px solid #fde68a !important;
}
.table .label-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

/* 5. Status badge versi alert (div) di dalam tabel */
.table .alert {
    padding: 4px 10px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    display: inline-block !important;
}
.table .alert-success {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    border-color: #bbf7d0 !important;
}
.table .alert-info {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    border-color: #bfdbfe !important;
}
.table .alert-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border-color: #fecaca !important;
}

/* 6. DataTable header seragam */
.table > thead > tr > th {
    background-color: #f1f5f9 !important;
    color: #374151 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 16px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

/* 7. DataTable body rows */
.table > tbody > tr > td {
    padding: 11px 16px !important;
    font-size: 13px !important;
    color: #374151 !important;
    vertical-align: middle !important;
    border-top: 1px solid #f1f5f9 !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fafafa !important;
}
.table-hover > tbody > tr:hover {
    background-color: #eff6ff !important;
    transition: background-color 0.1s ease !important;
}

/* 8. DataTable wrapper info & length */
.dataTables_wrapper .dataTables_info {
    font-size: 12px !important;
    color: #6b7280 !important;
    padding-top: 8px !important;
}
.dataTables_wrapper .dataTables_length label {
    font-size: 12px !important;
    color: #6b7280 !important;
}
