

/* =========================================================

   MCP THEME GLOBAL

   SISTEM MEJA BANTUAN JKN SABAH



   THEME : DEEP ROYAL BLUE

   STYLE : CLEAN | GLOSSY | PROFESSIONAL



   COMBINED:

   01. Global

   02. Header

   03. Footer



   Major White + Minor Deep Royal Blue

========================================================= */





/* =========================================================

   01. GLOBAL THEME VARIABLES

========================================================= */



:root {

    /* Primary */

    --sec-primary: #294A8B;

    --sec-primary-dark: #1B3263;

    --sec-primary-light: #D8E4F5;

    --sec-primary-soft: #EDF3FC;



    /* Secondary */

    --sec-secondary: #6483B8;

    --sec-accent: #5475B1;



    /* RGB */

    --sec-primary-rgb: 41, 74, 139;

    --sec-primary-light-rgb: 216, 228, 245;

    --sec-secondary-rgb: 100, 131, 184;

    --sec-accent-rgb: 84, 117, 177;



    /* Background */

    --sec-white: #FFFFFF;

    --sec-page-bg: #F5F8FD;

    --sec-card-bg: #FFFFFF;

    --sec-hover-bg: #EEF3FB;



    /* Decoration */

    --sec-decor-light: #F7F9FE;

    --sec-decor-medium: #D6E3F5;

    --sec-decor-strong: #AFC5E6;



    /* Text */

    --sec-text-dark: #374151;

    --sec-text: #4B5563;

    --sec-muted: #718096;



    /* Borders */

    --sec-border: #DFE7F3;

    --sec-border-dark: #BCCDE5;



    /* Status */

    --sec-success: #287A55;

    --sec-success-dark: #206342;

    --sec-success-bg: #EAF7EF;



    --sec-warning: #95600D;

    --sec-warning-bg: #FFF4D9;



    --sec-danger: #C2414B;

    --sec-danger-bg: #FDECEE;

    --sec-danger-border: #F3DDE0;



    --sec-info: #2563A6;

    --sec-info-bg: #EAF3FF;



    /* Other */

    --sec-placeholder: #9AA8BB;

    --sec-disabled-bg: #F6F8FC;



    /* Scrollbar */

    --sec-scrollbar-track: #F7F9FD;

    --sec-scrollbar-thumb: #D6E2F3;

    --sec-scrollbar-thumb-hover: #B3C8E5;



    /* Radius */

    --sec-radius-sm: 6px;

    --sec-radius: 10px;

    --sec-radius-lg: 14px;

    --sec-radius-xl: 18px;



    /* Shadows */

    --sec-shadow:

        0 2px 10px rgba(41, 74, 139, 0.05);



    --sec-shadow-md:

        0 8px 28px rgba(41, 74, 139, 0.09);



    --sec-shadow-container:

        0 12px 40px rgba(41, 74, 139, 0.10);



    /* Layout */

    --sec-content-max-width: 1380px;

    --sec-content-padding: 36px;

    --sec-page-spacing: 36px;



    /* Header */

    --header-height: 80px;

    --header-icon-muted: var(--sec-muted);



    --header-shadow:

        0 3px 12px rgba(var(--sec-primary-rgb), 0.13);



    --header-shadow-sticky:

        0 4px 18px rgba(41, 74, 139, 0.10);



    /* Gradients */

    --mcp-gradient-primary:

        linear-gradient(

            135deg,

            #5475B1 0%,

            #294A8B 50%,

            #1B3263 100%

        );



    --mcp-gradient-light:

        linear-gradient(

            135deg,

            #F8FAFF,

            #D8E4F5,

            #EDF3FC

        );



    --mcp-gradient-header:

        linear-gradient(

            180deg,

            #FFFFFF 0%,

            #FAFCFF 75%,

            #F1F6FD 100%

        );



    --mcp-gradient-footer:

        linear-gradient(

            180deg,

            #FFFFFF 0%,

            #FAFCFF 100%

        );



    --sec-transition: all 0.2s ease;

}





/* =========================================================

   02. GLOBAL RESET

========================================================= */



html {

    scroll-behavior: smooth;

}



*,

*::before,

*::after {

    box-sizing: border-box;

}



body {

    margin: 0;

    padding: 0;

    min-height: 100vh;



    font-family:

        "Inter", "Segoe UI", Arial, sans-serif;



    font-size: 13px;

    line-height: 1.6;



    color: var(--sec-text);

    background: var(--sec-page-bg);



    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;



    overflow-x: hidden;

}



img {

    max-width: 100%;

    height: auto;

}



a {

    color: var(--sec-primary-dark);

    text-decoration: none;

    transition: var(--sec-transition);

}



a:hover {

    color: var(--sec-primary);

    text-decoration: none;

}



button,

input,

select,

textarea {

    font-family: inherit;

}



button {

    cursor: pointer;

}



button:disabled {

    cursor: not-allowed;

}



::selection {

    color: var(--sec-text-dark);

    background: var(--sec-primary-light);

}





/* =========================================================

   03. TYPOGRAPHY

========================================================= */



h1, h2, h3, h4, h5, h6 {

    margin-top: 0;



    font-family:

        "Inter", "Segoe UI", Arial, sans-serif;



    font-weight: 600;

    line-height: 1.35;

    letter-spacing: -0.2px;



    color: var(--sec-text-dark);

}



h1 { font-size: 27px; }

h2 { font-size: 23px; }

h3 { font-size: 19px; }

h4 { font-size: 16px; }

h5 { font-size: 14px; }

h6 { font-size: 12px; }



body,

button,

input,

select,

textarea,

label,

table,

th,

td,

.modal,

.card,

.card-title,

.card-header,

.sec-card,

.sec-card-header,

.sec-page-title,

.sec-page-subtitle {

    font-family:

        "Inter", "Segoe UI", Arial, sans-serif;

}





/* =========================================================

   04. MCP GLOSSY PAGE BACKGROUND

========================================================= */



.sec-page-background {

    position: relative;

    isolation: isolate;



    width: 100%;

    min-height: 500px;



    padding:

        var(--sec-page-spacing)

        24px

        55px;



    overflow: hidden;



    background-color: var(--sec-page-bg);



background-image:

    radial-gradient(

        ellipse at 12% 8%,

        rgba(255,255,255,0.75),

        transparent 48%

    ),



    radial-gradient(

        ellipse at 90% 10%,

        rgba(var(--sec-secondary-rgb),0.62),

        transparent 55%

    ),



    linear-gradient(

        125deg,

        transparent 20%,

        rgba(255,255,255,0.42) 36%,

        rgba(255,255,255,0.08) 49%,

        transparent 66%

    ),



    radial-gradient(

        ellipse at 12% 95%,

        rgba(var(--sec-primary-rgb),0.42),

        transparent 55%

    ),





linear-gradient(

    135deg,

    #F4F8FE 0%,

    #E1EBFA 22%,

    #B8CDED 52%,

    #DBE7F8 78%,

    #A3BCE2 100%

);





    background-repeat: no-repeat;

    background-size: cover;

}



/* Top glossy reflection */



.sec-page-background::before {

    content: "";



    position: absolute;

    z-index: 0;



    top: -180px;

    left: -12%;



    width: 125%;

    height: 350px;



    border-radius: 0 0 50% 50%;



    background: linear-gradient(

        175deg,

        rgba(255,255,255,0.75),

        rgba(255,255,255,0.32) 48%,

        rgba(var(--sec-secondary-rgb),0.18) 85%,

        transparent

    );



    border-bottom:

        1px solid rgba(255,255,255,0.85);



    pointer-events: none;

}



/* Bottom glossy reflection */



.sec-page-background::after {

    content: "";



    position: absolute;

    z-index: 0;



    bottom: -170px;

    left: -10%;



    width: 125%;

    height: 310px;



    border-radius: 50% 50% 0 0;



    background: linear-gradient(

        0deg,

        rgba(var(--sec-secondary-rgb),0.35),

        rgba(255,255,255,0.60) 55%,

        rgba(255,255,255,0.10) 85%,

        transparent

    );



    border-top:

        1px solid rgba(255,255,255,0.90);



    pointer-events: none;

}





/* =========================================================

   05. MAIN CONTENT CONTAINER

========================================================= */



.sec-content-container {

    position: relative;

    z-index: 1;



    width: 100%;

    max-width: var(--sec-content-max-width);

    min-height: 450px;



    margin: 0 auto;

    padding: var(--sec-content-padding);



    background: var(--sec-white);



    border: 1px solid var(--sec-border);

    border-radius: var(--sec-radius-xl);



    box-shadow: var(--sec-shadow-container);

}



.sec-content-container.sec-content-compact {

    max-width: 1000px;

}



.sec-content-container.sec-content-narrow {

    max-width: 760px;

}



.sec-content-container.sec-content-wide {

    max-width: 1500px;

}





/* =========================================================

   06. PAGE LAYOUT

========================================================= */



.sec-page {

    width: 100%;

    min-height: 500px;



    padding: 30px 20px 50px;

    background: transparent;

}



.sec-container {

    width: 100%;

    max-width: 1420px;

    margin: 0 auto;

}



.sec-page-header {

    margin-bottom: 24px;

}



.sec-page-title {

    margin-bottom: 5px;



    color: var(--sec-text-dark);

    font-size: 23px;

    font-weight: 700;

}



.sec-page-subtitle {

    margin: 0;

    color: var(--sec-muted);

    font-size: 12px;

}





/* =========================================================

   07. CARD

========================================================= */



.sec-card {

    width: 100%;



    background: var(--sec-card-bg);



    border: 1px solid var(--sec-border);

    border-radius: var(--sec-radius);



    box-shadow: var(--sec-shadow);

    overflow: hidden;

}



.sec-card-header {

    padding: 17px 21px;



    background: var(--sec-primary-soft);

    border-bottom: 1px solid var(--sec-border);

}



.sec-card-body {

    padding: 22px;

    background: var(--sec-white);

}



.sec-card-footer {

    padding: 15px 21px;



    background: var(--sec-white);

    border-top: 1px solid var(--sec-border);

}





/* =========================================================

   08. BUTTONS

========================================================= */



.sec-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;



    gap: 8px;



    min-height: 37px;

    padding: 9px 17px;



    border: 1px solid transparent;

    border-radius: var(--sec-radius-sm);



    font-size: 12px;

    font-weight: 650;

    line-height: 1.4;



    cursor: pointer;

    transition: var(--sec-transition);

}



.sec-btn:focus-visible {

    outline: 2px solid var(--sec-primary-dark);

    outline-offset: 2px;

}



.sec-btn:disabled {

    opacity: 0.55;

    cursor: not-allowed;

}



.sec-btn-primary {

    color: var(--sec-white);

    background: var(--mcp-gradient-primary);



    border-color: var(--sec-primary);



    box-shadow:

        inset 0 1px 0 rgba(255,255,255,0.30),

        0 3px 9px rgba(var(--sec-primary-rgb),0.16);

}



.sec-btn-primary:hover {

    color: var(--sec-white);

    background: var(--sec-primary-dark);



    border-color: var(--sec-primary-dark);

}



.sec-btn-secondary {

    color: var(--sec-primary-dark);

    background: var(--sec-white);



    border-color: var(--sec-border-dark);

}



.sec-btn-secondary:hover {

    color: var(--sec-primary-dark);

    background: var(--sec-primary-soft);



    border-color: var(--sec-secondary);

}



.sec-btn-danger {

    color: var(--sec-danger);

    background: var(--sec-danger-bg);



    border-color: var(--sec-danger-border);

}



.sec-btn-danger:hover {

    color: var(--sec-white);

    background: var(--sec-danger);



    border-color: var(--sec-danger);

}



.sec-btn-success {

    color: var(--sec-white);

    background: var(--sec-success);



    border-color: var(--sec-success);

}



.sec-btn-success:hover {

    color: var(--sec-white);

    background: var(--sec-success-dark);



    border-color: var(--sec-success-dark);

}





/* =========================================================

   10. STATUS BADGES

========================================================= */



.sec-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;



    padding: 5px 10px;



    border-radius: 20px;



    font-size: 10px;

    font-weight: 700;

    line-height: 1.3;



    white-space: nowrap;

}



.sec-badge-success {

    color: var(--sec-success);

    background: var(--sec-success-bg);

}



.sec-badge-warning {

    color: var(--sec-warning);

    background: var(--sec-warning-bg);

}



.sec-badge-danger {

    color: var(--sec-danger);

    background: var(--sec-danger-bg);

}



.sec-badge-info {

    color: var(--sec-info);

    background: var(--sec-info-bg);

}



.sec-badge-pink {

    color: var(--sec-primary-dark);

    background: var(--sec-primary-light);

}





/* =========================================================

   11. TABLE

========================================================= */



.sec-table-wrapper {

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

}



.sec-table {

    width: 100%;

    margin-bottom: 0;



    border-collapse: collapse;

    background: var(--sec-white);

}



.sec-table thead th {

    padding: 13px 15px;



    color: var(--sec-text-dark);

    background: var(--sec-hover-bg);



    border-bottom: 1px solid var(--sec-border);



    font-size: 11px;

    font-weight: 700;



    text-align: left;

    white-space: nowrap;

}



.sec-table tbody td {

    padding: 13px 15px;



    color: var(--sec-text);

    border-bottom: 1px solid var(--sec-border);



    font-size: 12px;

    vertical-align: middle;

}



.sec-table tbody tr {

    transition: background-color 0.2s ease;

}



.sec-table tbody tr:hover {

    background: var(--sec-hover-bg);

}



.sec-table tbody tr:last-child td {

    border-bottom: none;

}





/* =========================================================

   12. GENERAL DROPDOWN

========================================================= */



.sec-dropdown {

    padding: 7px;



    background: var(--sec-white);



    border: 1px solid var(--sec-border);

    border-radius: var(--sec-radius);



    box-shadow: var(--sec-shadow-md);

}



.sec-dropdown .dropdown-item {

    display: block;



    padding: 3px 12px;



    color: var(--sec-text);



    border-radius: var(--sec-radius-sm);

    font-size: 12px;



    transition: var(--sec-transition);

}



.sec-dropdown .dropdown-item:hover,

.sec-dropdown .dropdown-item:focus {

    color: var(--sec-primary-dark);

    background: var(--sec-primary-soft);

}



.sec-dropdown .dropdown-item.active {

    color: var(--sec-primary-dark);

    background: var(--sec-primary-light);

}





/* =========================================================

   13. MODAL

========================================================= */



.modal-content {

    background: var(--sec-white);



    border: 1px solid var(--sec-border);

    border-radius: var(--sec-radius-lg);



    box-shadow: var(--sec-shadow-md);

    overflow: hidden;

}



.modal-header {

    padding: 16px 21px;



    background: var(--sec-primary-soft);

    border-bottom: 1px solid var(--sec-border);

}



.modal-title {

    margin: 0;



    color: var(--sec-text-dark);

    font-size: 15px;

    font-weight: 700;

}



.modal-body {

    padding: 22px;

    background: var(--sec-white);

}



.modal-footer {

    padding: 14px 21px;



    background: var(--sec-white);

    border-top: 1px solid var(--sec-border);

}





/* =========================================================

   14. UTILITIES

========================================================= */



.sec-divider {

    width: 100%;

    height: 1px;



    margin: 18px 0;

    background: var(--sec-border);

}



.sec-text-primary {

    color: var(--sec-primary-dark) !important;

}



.sec-text-muted {

    color: var(--sec-muted) !important;

}



.sec-text-dark {

    color: var(--sec-text-dark) !important;

}



.sec-bg-pink {

    background: var(--sec-primary-soft) !important;

}



.sec-bg-white {

    background: var(--sec-white) !important;

}



.sec-border {

    border: 1px solid var(--sec-border) !important;

}



.sec-rounded {

    border-radius: var(--sec-radius) !important;

}



.sec-shadow {

    box-shadow: var(--sec-shadow) !important;

}





/* =========================================================

   15. SCROLLBAR

========================================================= */



@supports selector(::-webkit-scrollbar) {



    ::-webkit-scrollbar {

        width: 7px;

        height: 8px;

    }



    ::-webkit-scrollbar-track {

        background: var(--sec-scrollbar-track);

    }



    ::-webkit-scrollbar-thumb {

        background: var(--sec-scrollbar-thumb);

        border-radius: 10px;

    }



    ::-webkit-scrollbar-thumb:hover {

        background: var(--sec-scrollbar-thumb-hover);

    }

}







/* =========================================================

   16. HEADER - PURE WHITE WITH MCP SHADOW

========================================================= */



.main-header {

    position: sticky;

    top: 0;

    left: 0;



    z-index: 1030;

    width: 100%;



    /* Pure white background */

    background: var(--sec-white);

    border-bottom: 1px solid var(--sec-primary-light);



    /* Soft deep royal blue shadow */

    box-shadow:

        0 3px 8px rgba(var(--sec-primary-rgb), 0.10),

        0 7px 20px rgba(var(--sec-primary-rgb), 0.12);



    transition: box-shadow 0.2s ease;

}



/* Header when sticky */

.main-header.js-sticky {

    position: sticky;

    top: 0;



    background: var(--sec-white);



    box-shadow:

        0 4px 12px rgba(var(--sec-primary-rgb), 0.13),

        0 9px 25px rgba(var(--sec-primary-rgb), 0.15);

}



.header-navigation {

    width: 100%;

    min-height: var(--header-height);

    background: transparent;

}



.sec-header-container {

    display: flex;

    align-items: center;

    justify-content: space-between;



    width: 100%;

    max-width: 1480px;

    height: var(--header-height);

    min-height: var(--header-height);



    margin: 0 auto;

    padding: 0 15px;



    gap: 28px;

}





/* =========================================================

   17. HEADER BRANDING

========================================================= */



.header-brand-item {

    flex-shrink: 0;

}



.header-brand-link {

    display: inline-flex;

    align-items: center;



    gap: 5px;

    padding: 0 !important;



    color: var(--sec-text-dark) !important;

    text-decoration: none !important;



    flex-shrink: 0;

}



.header-brand-link:hover {

    color: var(--sec-text-dark) !important;

}



.header-brand-jata {

    display: block;



    width: 60px;

    height: 74px;



    object-fit: contain;

    flex-shrink: 0;

}



.header-brand-text {

    display: flex;

    flex-direction: column;

    justify-content: center;



    line-height: 1.1;

    margin-left: 0 !important;

}



.header-brand-text strong {

    color: var(--sec-text-dark);



    font-size: 19px;

    font-weight: 750;

    letter-spacing: 0.3px;

}



.header-brand-text small {

    margin-top: 2px;



    color: var(--sec-muted);



    font-size: 12px;

    font-weight: 500;

}





/* =========================================================

   18. HEADER NAVIGATION MENU

========================================================= */



.header-menu {

    display: flex;

    align-items: center;

    justify-content: flex-end;



    flex: 1;

    gap: 24px;

}



.header-nav-list {

    display: flex;

    align-items: center;



    gap: 2px;

    padding: 0;

    margin: 0;



    list-style: none;

}



.header-nav-list .nav-item {

    position: relative;

    margin: 0 1px;

}



.header-nav-list .nav-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;



    gap: 8px;

    padding: 13px 14px !important;



    color: var(--sec-text) !important;

    background: transparent;



    border-radius: 7px;



    font-size: 13px;

    font-weight: 600;



    white-space: nowrap;



    transition:

        color 0.2s ease,

        background 0.2s ease,

        box-shadow 0.2s ease;

}



.header-nav-list .nav-link i {

    color: var(--header-icon-muted);

    font-size: 14px;



    transition: color 0.2s ease;

}



/* Hover */



.header-nav-list .nav-link:hover {

    color: var(--sec-primary-dark) !important;

    background: var(--mcp-gradient-light);

}



.header-nav-list .nav-link:hover i {

    color: var(--sec-primary-dark);

}



/* Active - glossy blue */



.header-nav-list .nav-link.active,

.header-admin-dropdown > button.nav-link.active {

    color: var(--sec-white) !important;



    background: var(--mcp-gradient-primary) !important;



    box-shadow:

        inset 0 1px 0 rgba(255,255,255,0.30),

        0 4px 12px rgba(var(--sec-primary-rgb),0.20);

}



.header-nav-list .nav-link.active i,

.header-nav-list .nav-link.active:hover i {

    color: var(--sec-white) !important;

}



.header-nav-list .nav-link.active:hover {

    color: var(--sec-white) !important;

    background: var(--mcp-gradient-primary) !important;

}



.header-nav-list .nav-link:focus-visible {

    outline: 2px solid var(--sec-primary-dark);

    outline-offset: 2px;

}



/* Dropdown arrow */



.header-nav-list .dropdown-toggle::after {

    margin-left: 3px;

    vertical-align: middle;



    border-top: 0.32em solid currentColor;

    border-right: 0.32em solid transparent;

    border-left: 0.32em solid transparent;



    opacity: 0.65;

}





/* =========================================================

   19. HEADER DROPDOWN

========================================================= */



.header-dropdown,

.header-nav-list .dropdown-menu {

    min-width: 250px;



    padding: 8px;

    margin-top: 10px;



    background: var(--sec-white);



    border: 1px solid var(--sec-border);

    border-radius: var(--sec-radius);



    box-shadow: var(--sec-shadow-md);

}



.header-nav-list .dropdown-heading {

    padding: 9px 12px 8px;



    color: var(--sec-muted);



    font-size: 9px;

    font-weight: 750;



    letter-spacing: 1px;

    text-transform: uppercase;

}



.header-dropdown .dropdown-item,

.header-nav-list .dropdown-menu .dropdown-item {

    display: flex;

    align-items: center;



    gap: 11px;

    padding: 7px 12px;



    color: var(--sec-text);



    border-radius: 7px;



    font-size: 12px;

    font-weight: 550;



    white-space: normal;



    transition:

        color 0.2s ease,

        background-color 0.2s ease;

}



.header-dropdown .dropdown-item i,

.header-nav-list .dropdown-menu .dropdown-item i {

    display: inline-flex;

    align-items: center;

    justify-content: center;



    width: 30px;

    height: 30px;



    flex-shrink: 0;



    color: var(--sec-primary-dark);

    background: var(--sec-primary-soft);



    border-radius: 7px;

    font-size: 12px;

}



.header-dropdown .dropdown-item:hover,

.header-nav-list .dropdown-menu .dropdown-item:hover {

    color: var(--sec-primary-dark);

    background: var(--sec-primary-soft);

}



.header-dropdown .dropdown-item.active,

.header-nav-list .dropdown-menu .dropdown-item.active {

    color: var(--sec-primary-dark);

    background: var(--sec-primary-light);

}



.header-dropdown .dropdown-item.active i,

.header-nav-list .dropdown-menu .dropdown-item.active i {

    color: var(--sec-primary-dark);

    background: var(--sec-white);

}





/* =========================================================

   20. HEADER USER AREA

========================================================= */



.header-user-area {

    display: flex;

    align-items: center;



    gap: 13px;

    padding-left: 20px;



    border-left: 1px solid var(--sec-border);

    flex-shrink: 0;

}



.header-user-info {

    display: flex;

    align-items: center;



    gap: 9px;

}



.header-user-avatar {

    display: flex;

    align-items: center;

    justify-content: center;



    width: 36px;

    height: 36px;



    color: var(--sec-primary-dark);



    background: linear-gradient(

        135deg,

        var(--sec-primary-soft),

        var(--sec-secondary)

    );



    border: 1px solid var(--sec-border-dark);

    border-radius: 50%;



    font-size: 13px;

    font-weight: 700;



    box-shadow:

        inset 0 1px 0 rgba(255,255,255,0.75);

}



.header-user-text {

    display: flex;

    flex-direction: column;



    line-height: 1.4;

}



.header-user-text strong {

    max-width: 130px;



    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;



    color: var(--sec-text-dark);



    font-size: 12px;

    font-weight: 700;

}



.header-user-text small {

    margin-top: 2px;



    color: var(--sec-muted);



    font-size: 11px;

}





/* =========================================================

   21. HEADER LOGOUT

========================================================= */



.header-logout {

    display: inline-flex;

    align-items: center;

    justify-content: center;



    gap: 8px;



    min-height: 39px;

    padding: 9px 14px;



    color: var(--sec-primary-dark);

    background: var(--sec-white);



    border: 1px solid var(--sec-border-dark);

    border-radius: 7px;



    font-size: 12px;

    font-weight: 650;



    white-space: nowrap;



    transition:

        color 0.2s ease,

        background 0.2s ease,

        border-color 0.2s ease;

}



.header-logout i {

    font-size: 12px;

}



.header-logout:hover {

    color: var(--sec-white);

    background: var(--mcp-gradient-primary);



    border-color: var(--sec-primary);

}



.header-logout:focus-visible {

    outline: 2px solid var(--sec-primary-dark);

    outline-offset: 2px;

}





/* =========================================================

   22. MOBILE BRAND & TOGGLE

========================================================= */



.mobile-brand {

    display: none;

    align-items: center;

}



.mobile-brand-jata {

    width: 38px;

    height: 43px;



    object-fit: contain;

}



.header-mobile-toggle {

    display: none;

    align-items: center;

    justify-content: center;



    width: 40px;

    height: 38px;

    padding: 0;



    color: var(--sec-primary-dark);

    background: var(--sec-primary-soft);



    border: 1px solid var(--sec-border);

    border-radius: 7px;



    cursor: pointer;



    transition:

        background-color 0.2s ease,

        border-color 0.2s ease;

}



.header-mobile-toggle:hover {

    background: var(--sec-primary-light);

    border-color: var(--sec-primary);

}



.header-mobile-toggle i {

    font-size: 17px;

}



.header-mobile-toggle:focus-visible {

    outline: 2px solid var(--sec-primary-dark);

    outline-offset: 2px;

}





/* =========================================================

   23. FOOTER

   WHITE + MUTED BLUE ACCENT



   Preserves original compact footer dimensions.

========================================================= */



.footer-section {

    position: relative;

    z-index: 10;



    width: 100%;



    padding: 7px 10px !important;

    margin-top: 0 !important;



    background: var(--mcp-gradient-footer);

    border-top: none;



    box-shadow:

        0 -3px 12px rgba(var(--sec-primary-rgb),0.13);



    text-align: center;

}



/* Very subtle glossy accent */



.footer-section::before {

    content: "";



    position: absolute;

    top: 0;

    left: 0;



    width: 100%;

    height: 1px;



    background: linear-gradient(

        90deg,

        transparent,

        var(--sec-primary-light) 25%,

        var(--sec-secondary) 50%,

        var(--sec-primary-light) 75%,

        transparent

    );



    pointer-events: none;

}



/* Copyright */



.footer-section .copyright {

    margin: 0 !important;

    padding: 0 !important;



    color: var(--sec-muted);



    font-size: 11px;

    line-height: 1.4;

    font-weight: 400;

}





/* =========================================================

   24. RESPONSIVE - DESKTOP COLLAPSE

========================================================= */



@media (min-width: 992px) {



    .header-menu,

    .header-menu.collapse,

    .header-menu.collapse:not(.show) {

        display: flex !important;



        visibility: visible;

        height: auto !important;

        overflow: visible !important;

    }

}





/* =========================================================

   25. RESPONSIVE - TABLET HEADER

========================================================= */



@media (max-width: 1199px) {



    .sec-header-container {

        padding: 0 22px;

        gap: 15px;

    }



    .header-menu {

        gap: 12px;

    }



    .header-nav-list {

        gap: 2px;

    }



    .header-nav-list .nav-link {

        gap: 6px;



        padding: 10px 9px !important;

        font-size: 11px;

    }



    .header-user-area {

        gap: 9px;

        padding-left: 12px;

    }



    .header-user-text strong {

        max-width: 100px;

    }

}





/* =========================================================

   26. RESPONSIVE - TABLET / MOBILE

========================================================= */



@media (max-width: 991px) {



    :root {

        --sec-content-padding: 26px;

        --sec-page-spacing: 25px;

        --header-height: 80px;

    }



    /* Global */



    .sec-page-background {

        padding-left: 18px;

        padding-right: 18px;

        padding-bottom: 40px;

    }



    .sec-content-container {

        min-height: 350px;

        border-radius: 15px;

    }



    .sec-page {

        padding: 24px 16px 40px;

    }



    .sec-page-title {

        font-size: 21px;

    }



    .sec-card-body {

        padding: 18px;

    }



    /* Header */



    .sec-header-container {

        height: auto;

        min-height: var(--header-height);



        flex-wrap: wrap;

        padding: 0 20px;

    }



    .header-brand-link {

        gap: 10px;

    }



    .header-brand-jata {

        width: 39px;

        height: 44px;

    }



    .header-mobile-toggle {

        display: inline-flex;

        margin-left: auto;

    }



    /* Collapsed menu */



    .header-menu,

    .header-menu.collapse:not(.show) {

        display: none !important;



        flex-basis: 100%;

        width: 100%;

    }



    /* Expanded menu */



    .header-menu.show,

    .header-menu.collapse.show {

        display: flex !important;



        flex-basis: 100%;

        width: 100%;



        padding: 12px 0 18px;



        flex-direction: column;

        align-items: stretch;



        gap: 15px;

    }



    .header-nav-list {

        width: 100%;



        flex-direction: column;

        align-items: stretch;



        gap: 3px;

    }



    .header-nav-list .nav-item {

        width: 100%;

    }



    .header-nav-list .nav-link {

        display: flex;

        justify-content: flex-start;



        width: 100%;

        padding: 12px 14px !important;



        font-size: 12px;

    }



    /* Dropdown */



    .header-dropdown,

    .header-nav-list .dropdown-menu {

        position: static !important;

        float: none;



        width: 100%;

        min-width: 100%;



        margin: 5px 0 10px;



        border-color: var(--sec-border);

        box-shadow: none;

    }



    /* User */



    .header-user-area {

        width: 100%;



        padding: 15px 5px 0;



        border-left: 0;

        border-top: 1px solid var(--sec-border);



        justify-content: space-between;

    }



    .header-user-text strong {

        max-width: 220px;

    }



    .header-logout {

        width: 100%;

        justify-content: center;

    }

}





/* =========================================================

   27. RESPONSIVE - SMALL MOBILE

========================================================= */



@media (max-width: 576px) {



    :root {

        --sec-content-padding: 18px;

        --sec-page-spacing: 16px;

        --header-height: 72px;

    }



    body {

        font-size: 12px;

    }



    /* Page background */



    .sec-page-background {

        padding-left: 12px;

        padding-right: 12px;

        padding-bottom: 28px;



        background-image:

            radial-gradient(

                ellipse at 10% 5%,

                rgba(255,255,255,0.90),

                transparent 60%

            ),



            linear-gradient(

                145deg,

                #FFFFFF 0%,

                #EDF3FC 45%,

                #D8E4F5 75%,

                #F8FAFF 100%

            );



        background-repeat: no-repeat;

    }



    .sec-page-background::before {

        top: -100px;

        height: 180px;

    }



    .sec-page-background::after {

        bottom: -100px;

        height: 180px;

    }



    .sec-content-container {

        min-height: 280px;

        border-radius: 12px;



        box-shadow:

            0 4px 18px rgba(41,74,139,0.06);

    }



    .sec-page {

        padding: 18px 12px 30px;

    }



    .sec-page-title {

        font-size: 19px;

    }



    .sec-page-subtitle {

        font-size: 11px;

    }



    .sec-card-header {

        padding: 14px 16px;

    }



    .sec-card-body {

        padding: 15px;

    }



    .sec-card-footer {

        padding: 12px 15px;

    }



    .sec-btn {

        min-height: 36px;

        padding: 8px 13px;



        font-size: 11px;

    }



    .sec-table thead th,

    .sec-table tbody td {

        padding: 10px 11px;

    }



    .modal-header {

        padding: 14px 16px;

    }



    .modal-body {

        padding: 16px;

    }



    .modal-footer {

        padding: 12px 16px;

    }



    /* Header */



    .sec-header-container {

        padding: 0 15px;

    }



    .header-brand-jata {

        width: 35px;

        height: 40px;

    }



    .header-brand-text strong {

        font-size: 11px;

        letter-spacing: 0.2px;

    }



    .header-brand-text small {

        font-size: 9px;

    }



    .header-mobile-toggle {

        width: 37px;

        height: 35px;

    }



    .header-menu.show,

    .header-menu.collapse.show {

        padding-top: 10px;

        padding-bottom: 15px;

    }



    .header-nav-list .nav-link {

        padding: 11px 12px !important;

    }



    .header-user-area {

        gap: 8px;

    }



    .header-user-text strong {

        max-width: 160px;

    }



    .header-logout {

        min-height: 36px;

        padding: 8px 12px;



        font-size: 11px;

    }



    /* Footer - original compact size */



    .footer-section {

        padding: 5px 5px !important;

    }



    .footer-section .copyright {

        font-size: 10px;

        line-height: 1.8;

    }

}





/* =========================================================

   28. ACCESSIBILITY

========================================================= */



@media (prefers-reduced-motion: reduce) {



    html {

        scroll-behavior: auto;

    }



    *,

    *::before,

    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

}





/* =========================================================

   MCP HEADER - REMOVE BLACK FOCUS BORDER

========================================================= */



.header-nav-list .nav-link:focus,

.header-nav-list .nav-link:focus-visible,

.header-nav-list .nav-link:active,

.header-admin-dropdown > button.nav-link:focus,

.header-admin-dropdown > button.nav-link:focus-visible,

.header-mobile-toggle:focus,

.header-logout:focus {

    outline: none !important;

    box-shadow: none;

}



/* Keep visible keyboard focus in MCP theme */

.header-nav-list .nav-link:focus-visible,

.header-admin-dropdown > button.nav-link:focus-visible,

.header-mobile-toggle:focus-visible,

.header-logout:focus-visible {

    outline: 2px solid var(--sec-primary) !important;

    outline-offset: 3px;

}





/* =========================================================

   HEADER DROPDOWN CONSISTENCY FIX

   ========================================================= */



.main-header .header-nav-list

.header-admin-dropdown > .dropdown-toggle::after {



    display: inline-block !important;



    content: "" !important;



    width: 0 !important;

    height: 0 !important;



    margin-left: 1px !important;



    vertical-align: middle !important;



    border-top: 0.32em solid currentColor !important;

    border-right: 0.32em solid transparent !important;

    border-bottom: 0 !important;

    border-left: 0.32em solid transparent !important;



    opacity: 0.65 !important;

}





/* =========================================================

   GLOBAL BOOTSTRAP MODAL LAYER FIX

   MCP THEME - SISTEM MEJA BANTUAN

========================================================= */



body .modal-backdrop {

    z-index: 1040;

}



body > .modal {

    z-index: 1050;

}



body > .modal .modal-dialog,

body > .modal .modal-content {

    pointer-events: auto;

}



/* Header must stay below Bootstrap modals */

.main-header {

    z-index: 1030;

}


/* =========================================================
   GLOBAL STATUS BADGES
   SISTEM MEJA BANTUAN JKN SABAH
   STATUS ADUAN - STANDARD COLOURS
========================================================= */

.sec-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
}

/* ADUAN DITERIMA - BLUE */
.sec-status-badge.status-diterima {
    color: #1D4ED8;
    background: #DBEAFE;
}

/* DALAM TINDAKAN - RED */
.sec-status-badge.status-tindakan {
    color: #B91C1C;
    background: #FEE2E2;
}

/* MENUNGGU ALAT GANTI - YELLOW */
.sec-status-badge.status-alat-ganti {
    color: #92400E;
    background: #FEF3C7;
}

/* MENUNGGU PENGESAHAN - PURPLE */
.sec-status-badge.status-pengesahan {
    color: #7E22CE;
    background: #F3E8FF;
}

/* SELESAI - GREEN */
.sec-status-badge.status-selesai {
    color: #166534;
    background: #DCFCE7;
}

/* TIDAK SELESAI - RED */
.sec-status-badge.status-tidak-selesai {
    color: #B91C1C;
    background: #FEE2E2;
}

/* TINDAKAN VENDOR / MESIN TUMARAN - GREY */
.sec-status-badge.status-vendor {
    color: #475569;
    background: #E2E8F0;
}

/* TIDAK DIKETAHUI - NEUTRAL */
.sec-status-badge.status-unknown {
    color: #626A75;
    background: #E7E9EE;
}






/* =========================================================

   ADMIN DROPDOWN - GROUPED ACCORDION

   ========================================================= */



.header-admin-menu {

    width: 295px;

    max-width: calc(100vw - 24px);

    max-height: min(75vh, 560px);

    overflow-y: auto;

    padding: 8px;

}



.header-admin-menu .header-admin-group {

    margin: 3px 0;

    border-bottom: 1px solid var(--sec-border);

}



.header-admin-menu .header-admin-group:last-child {

    border-bottom: 0;

}



.header-admin-group-toggle {

    display: flex;

    align-items: center;

    gap: 10px;



    width: 100%;

    padding: 11px 10px;



    border: 0;

    border-radius: var(--sec-radius-sm);



    background: var(--sec-white);

    color: var(--sec-text-dark);



    text-align: left;

    font-size: 12px;

    font-weight: 650;

    line-height: 1.4;



    cursor: pointer;

    transition: var(--sec-transition);

}



.header-admin-group-toggle > i:first-child {

    display: inline-flex;

    align-items: center;

    justify-content: center;



    width: 28px;

    height: 28px;

    flex-shrink: 0;



    color: var(--sec-primary-dark);

    background: var(--sec-primary-soft);



    border-radius: var(--sec-radius-sm);

    font-size: 12px;

}



.header-admin-group-toggle > span {

    flex: 1;

}



.header-admin-group-toggle:hover,

.header-admin-group-toggle.active {

    background: var(--sec-primary-soft);

    color: var(--sec-primary-dark);

}



.header-admin-group-toggle:focus-visible {

    outline: 2px solid var(--sec-primary);

    outline-offset: -2px;

}



.header-admin-chevron {

    margin-left: auto;

    color: var(--sec-muted);

    font-size: 10px;

    transition: transform 0.2s ease;

}



.header-admin-group-toggle[aria-expanded="true"]

.header-admin-chevron {

    transform: rotate(180deg);

}



.header-admin-group-content[hidden] {

    display: none !important;

}



.header-admin-group-content {

    padding: 2px 0 8px 12px;

}



.header-admin-menu

.header-admin-group-content .dropdown-item {

    display: flex;

    align-items: center;

    gap: 9px;



    min-height: 37px;

    padding: 6px 9px;



    font-size: 11.5px;

    font-weight: 500;

    line-height: 1.4;

}



.header-admin-menu

.header-admin-group-content .dropdown-item i {

    width: 25px;

    height: 25px;

    flex-shrink: 0;

    font-size: 11px;

}



@media (max-width: 991px) {

    .header-admin-menu {

        width: 100%;

        max-width: 100%;

        max-height: 60vh;

    }

}



/* =====================================================

   GLOBAL FOCUS STYLE

   REMOVE BLACK OUTLINE / FOCUS EFFECT

   ===================================================== */



*:focus {

    outline: none !important;

    box-shadow: none !important;

}



/* Focus untuk semua elemen interaktif */

:is(

    input,

    select,

    textarea,

    button,

    a,

    .btn,

    .form-control

):focus-visible {

    outline: 2px solid var(--sec-primary, #294A8B) !important;

    outline-offset: 2px;

    box-shadow: none !important;

}



/* Input focus */

input:focus,

select:focus,

textarea:focus,

.form-control:focus {

    border-color: var(--sec-primary, #294A8B) !important;

}



/* =========================================================

   END MCP THEME GLOBAL — GLOBAL + HEADER + FOOTER

========================================================= */
