.fs-5 {
    font-size: medium;
}

.fs-lg,
.fs-large {
    font-size: large !important;
}

.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none,
.pe-none {
    pointer-events: none !important;
}


.search-width {
    width: 202px;
}

.max-w-100px {
    max-width: 100px !important;
}

.max-w-150px {
    max-width: 150px !important;
}

.report-select-range {
    margin-right: 6px;
}

.report-select-month {
    margin-right: 10px;
}

.report-print-btn {
    margin-top: 25px;
}

.attendance-search-input {
    width: 210px !important;
    margin-left: auto;
    margin-top: 15px;
}

.attendance-export-btn {
    margin-right: 10px;
    margin-top: 14px;
}

.max-w-160px {
    max-width: 160px !important;
}

.max-w-180px {
    max-width: 180px !important;
}

.max-w-200px {
    max-width: 200px !important;
}

.max-w-220px {
    max-width: 220px !important;
}

.max-w-250px {
    max-width: 250px !important;
}

.w-100px {
    width: 100px !important;
}

.w-150px {
    width: 150px !important;
}

.w-200px {
    width: 200px !important;
}

.w-250px {
    width: 250px !important;
}

.min-w-1000px {
    min-width: 1000px !important;
}

/* Modern Datepicker & Flatpickr Styling */
input.datepicker,
.datepicker.form-control,
input.flatpickr-input {
    width: 100%;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B5B5C3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 36px !important;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.datepicker:focus, input.flatpickr-input:focus {
    border-color: #3699ff;
    box-shadow: 0 0 0 0.2rem rgba(54, 153, 255, 0.15);
}

.flatpickr-calendar {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #ebedf3 !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    animation: fpFadeInDown 0.2s ease-out;
}

@keyframes fpFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
    border-bottom-color: #f8fafc !important;
}

.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
    border-top-color: #ffffff !important;
}

.flatpickr-months {
    position: relative !important;
    background: #f8fafc !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 8px 12px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid #ebedf3 !important;
}

.flatpickr-months .flatpickr-month {
    color: #181c32 !important;
    fill: #181c32 !important;
    height: 34px !important;
    overflow: visible !important;
}

.flatpickr-current-month {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #181c32 !important;
    padding: 2px 0 0 0 !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 700 !important;
    color: #181c32 !important;
    border-radius: 6px !important;
    padding: 2px 6px !important;
    background: transparent !important;
    margin-right: 4px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: rgba(54, 153, 255, 0.08) !important;
    color: #3699ff !important;
}

.flatpickr-current-month input.cur-year {
    font-weight: 700 !important;
    color: #181c32 !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 30px !important;
    width: 30px !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    color: #7e8299 !important;
    fill: #7e8299 !important;
    z-index: 10 !important;
}

.flatpickr-months .flatpickr-prev-month {
    left: 8px !important;
}

.flatpickr-months .flatpickr-next-month {
    right: 8px !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: #e1f0ff !important;
    color: #3699ff !important;
    fill: #3699ff !important;
}

.flatpickr-innerContainer {
    padding: 6px 8px 8px 8px !important;
    overflow: visible !important;
}

.flatpickr-weekdays {
    margin-bottom: 4px !important;
}

span.flatpickr-weekday {
    color: #b5b5c3 !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.flatpickr-days {
    width: auto !important;
}

.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    justify-content: space-around;
}

.flatpickr-day {
    border-radius: 8px !important;
    font-weight: 500 !important;
    color: #3f4254 !important;
    height: 36px !important;
    line-height: 36px !important;
    margin: 2px 0 !important;
    transition: all 0.15s ease !important;
}

.flatpickr-day:hover {
    background: #e1f0ff !important;
    color: #3699ff !important;
    font-weight: 600 !important;
}

.flatpickr-day.today {
    border: 1px solid #3699ff !important;
    color: #3699ff !important;
    font-weight: 700 !important;
    background: #f1f7ff !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #3699ff !important;
    border-color: #3699ff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(54, 153, 255, 0.4) !important;
}

.flatpickr-day.inRange {
    background: #e1f0ff !important;
    border-color: #e1f0ff !important;
    color: #3699ff !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #d1d3e0 !important;
}

/* Custom Tooltip Styling - Light Gray Background & Black Text */
.tooltip .tooltip-inner,
.tooltip.tooltip-dark .tooltip-inner,
.tooltip-inner {
    background-color: #f1f3f6;
    color: #181c32;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e1e3ea;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.tooltip.bs-tooltip-top .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="top"] .arrow::before,
.tooltip.tooltip-dark.bs-tooltip-top .arrow::before,
.tooltip.tooltip-dark.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #f1f3f6;
}

.tooltip.bs-tooltip-bottom .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="bottom"] .arrow::before,
.tooltip.tooltip-dark.bs-tooltip-bottom .arrow::before,
.tooltip.tooltip-dark.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #f1f3f6;
}

.tooltip.bs-tooltip-left .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="left"] .arrow::before,
.tooltip.tooltip-dark.bs-tooltip-left .arrow::before,
.tooltip.tooltip-dark.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #f1f3f6;
}

.tooltip.bs-tooltip-right .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="right"] .arrow::before,
.tooltip.tooltip-dark.bs-tooltip-right .arrow::before,
.tooltip.tooltip-dark.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #f1f3f6;
}

.custom-hover-tip {
    cursor: pointer;
}

#custom-table-tooltip {
    position: fixed;
    z-index: 99999999;
    background-color: #f1f3f6;
    color: #181c32;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #d8dbe0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    max-width: 320px;
    word-break: break-word;
    text-align: center;
    pointer-events: none;
    display: none;
    line-height: 1.4;
}

#custom-table-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #f1f3f6 transparent transparent transparent;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Error Display Animation */
#errordisplay {
    color: #f64e60;
    position: relative;
    animation: mymove 7s infinite;
    animation-timing-function: linear;
}

@keyframes mymove {
    from {
        left: 0px;
    }
    to {
        left: 830px;
    }
}

/* Image Preview Components */
.image-preview-container {
    position: relative;
    display: inline-flex;
}

.image-preview-thumbnail {
    width: 80px;
    height: 80px;
    margin-left: 10px;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 6px;
}

.image-preview-remove {
    position: absolute;
    top: -5px;
    right: -6px;
    background-color: lightgrey;
    padding: 6px;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    cursor: pointer;
}

/* Dynamic Input Action Icons */
.input-action-remove {
    position: relative;
    float: right;
    top: -27px;
    right: -26px;
    cursor: pointer;
}

.input-action-remove-alt {
    position: relative;
    float: right;
    top: -27px;
    right: -22px;
    cursor: pointer;
}

.image-action-remove {
    position: relative;
    float: right;
    top: 2px;
    right: -24px;
    cursor: pointer;
}

.image-action-view {
    float: left;
    position: relative;
    left: -20px;
}

/* Auth / Login / Reset Page Styles */
.font-size-50 {
    font-size: 50px !important;
}

.login-bg-media {
    background-image: url('../../media/bg/bg-2.jpg');
}

.password-toggle-login {
    cursor: pointer;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.password-toggle-reset {
    cursor: pointer;
    margin-left: 330px;
    margin-top: -30px;
}

.help-block-error {
    color: red;
    font-size: small;
}

.ml-13px {
    margin-left: 13px !important;
}

.bg-notification-header {
    background-color: #1434A4 !important;
}

.max-h-350px {
    max-height: 350px !important;
}

.h-44px {
    height: 44px !important;
}

.user-avatar-default {
    background-image: url('../media/users/default.jpg') !important;
    background-position: center;
    background-size: cover;
}

.h-200px {
    height: 200px !important;
}

.min-h-200px {
    min-height: 200px !important;
}

.h-400px {
    height: 400px !important;
}

.w-385px {
    width: 385px !important;
}

.w-358px {
    width: 358px !important;
}

.h-324px {
    height: 324px !important;
}

/* FullCalendar Customizations */
.fc-state-active {
    background: dodgerblue !important;
    color: white !important;
}

.fc-prev-button,
.fc-next-button {
    background: rgb(177, 204, 245) !important;
    color: rgb(26, 3, 3) !important;
}

/* Profile Navigation Tabs */
#profile-btn.active,
.nav-link.active#profile-btn {
    color: #1BC5BD !important;
}

#profile-btn:not(.active) {
    color: #B5B5C3;
}

#profile-btn:not(.active):hover {
    color: #1BC5BD !important;
}

#contact-btn.active,
.nav-link.active#contact-btn {
    color: #3699FF !important;
}

#contact-btn:not(.active) {
    color: #B5B5C3;
}

#contact-btn:not(.active):hover {
    color: #3699FF !important;
}

/* ===================================================
   MODERN GLOBAL HEADER, SIDEBAR, DRAWER & NOTIFICATIONS
   =================================================== */
/* Aside / Sidebar Modernization */
        #kt_body #kt_aside.aside-dark {
            background: linear-gradient(180deg, #1b1b28 0%, #161622 100%);
            box-shadow: 4px 0 25px rgba(0, 0, 0, 0.05);
        }
        #kt_body #kt_brand.brand-dark {
            background: #1b1b28;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            height: 65px;
        }
        #kt_body #kt_aside_menu.aside-menu {
            margin-top: 10px;
        }
        #kt_body #kt_aside_menu .menu-nav {
            padding: 8px 0;
        }
        #kt_body #kt_aside_menu .menu-nav > .menu-item {
            margin: 4px 12px;
        }
        #kt_body #kt_aside_menu .menu-nav > .menu-item > .menu-link {
            border-radius: 10px;
            padding: 10px 14px;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }
        #kt_body #kt_aside_menu .menu-nav > .menu-item > .menu-link .menu-text {
            font-weight: 500;
            font-size: 13.5px;
            color: #92929f;
            transition: all 0.2s ease;
        }
        #kt_body #kt_aside #kt_aside_toggle i,
        #kt_body #kt_aside #kt_aside_toggle:hover i,
        #kt_body #kt_aside #kt_aside_toggle.active i {
            color: #ffffff;
        }
        #kt_body #kt_aside #kt_aside_toggle .svg-icon svg path[fill],
        #kt_body #kt_aside #kt_aside_toggle:hover .svg-icon svg path[fill],
        #kt_body #kt_aside #kt_aside_toggle.active .svg-icon svg path[fill] {
            fill: #ffffff;
            transition: fill 0.2s ease;
        }
        #kt_body #kt_aside_menu .menu-nav > .menu-item > .menu-link .menu-icon {
            font-size: 16px;
            margin-right: 12px;
        }
        #kt_body #kt_aside_menu .menu-nav .menu-icon,
        #kt_body #kt_aside_menu .menu-nav .menu-icon i,
        #kt_body #kt_aside_menu .menu-nav .menu-arrow,
        #kt_body #kt_aside_menu .menu-nav .menu-item:hover > .menu-link .menu-icon,
        #kt_body #kt_aside_menu .menu-nav .menu-item:hover > .menu-link .menu-arrow,
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-open > .menu-link .menu-icon,
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-open > .menu-link .menu-arrow,
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-here > .menu-link .menu-icon,
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-here > .menu-link .menu-arrow,
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-active > .menu-link .menu-icon,
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-active > .menu-link .menu-arrow {
            color: #ffffff;
            transition: all 0.2s ease;
        }
        #kt_body #kt_aside_menu .menu-nav .menu-icon svg path[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-icon svg rect[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-icon svg circle[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-icon svg polygon[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item:hover > .menu-link .menu-icon svg path[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item:hover > .menu-link .menu-icon svg rect[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item:hover > .menu-link .menu-icon svg circle[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item:hover > .menu-link .menu-icon svg polygon[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-open > .menu-link .menu-icon svg path[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-open > .menu-link .menu-icon svg rect[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-open > .menu-link .menu-icon svg circle[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-open > .menu-link .menu-icon svg polygon[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-here > .menu-link .menu-icon svg path[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-here > .menu-link .menu-icon svg rect[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-here > .menu-link .menu-icon svg circle[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-here > .menu-link .menu-icon svg polygon[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-active > .menu-link .menu-icon svg path[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-active > .menu-link .menu-icon svg rect[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-active > .menu-link .menu-icon svg circle[fill],
        #kt_body #kt_aside_menu .menu-nav .menu-item.menu-item-active > .menu-link .menu-icon svg polygon[fill] {
            fill: #ffffff;
            transition: fill 0.2s ease;
        }
        /* Hover State */
        #kt_body #kt_aside_menu .menu-nav > .menu-item:not(.menu-item-open):not(.menu-item-active):hover > .menu-link {
            background: rgba(255, 255, 255, 0.06);
        }
        #kt_body #kt_aside_menu .menu-nav > .menu-item:not(.menu-item-open):not(.menu-item-active):hover > .menu-link .menu-text {
            color: #ffffff;
        }
        /* Active State */
        #kt_body #kt_aside_menu .menu-nav > .menu-item.menu-item-open > .menu-link,
        #kt_body #kt_aside_menu .menu-nav > .menu-item.menu-item-active > .menu-link {
            background: linear-gradient(135deg, #3699FF 0%, #1e87f0 100%);
            box-shadow: 0 4px 15px rgba(54, 153, 255, 0.35);
        }
        #kt_body #kt_aside_menu .menu-nav > .menu-item.menu-item-open > .menu-link .menu-text,
        #kt_body #kt_aside_menu .menu-nav > .menu-item.menu-item-active > .menu-link .menu-text {
            color: #ffffff;
            font-weight: 600;
        }
        #kt_body #kt_aside_menu .menu-nav > .menu-section {
            margin: 18px 20px 6px;
        }
        #kt_body #kt_aside_menu .menu-nav > .menu-section .menu-text {
            color: #555870;
            font-size: 10.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        /* Header Modernization */
        #kt_body #kt_header {
            height: 65px;
            background: #ffffff;
            border-bottom: 1px solid #edf0f5;
            box-shadow: 0 2px 14px rgba(0, 0, 0, 0.02);
        }
        #kt_body #kt_header_mobile {
            background: #1b1b28;
            height: 60px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .emp-header-badge {
            border-radius: 8px;
            font-size: 12px;
        }
        .emp-user-chip {
            background: #f8fafc;
            border: 1px solid #edf0f5;
            border-radius: 12px;
            cursor: pointer;
            padding: 6px 14px 6px 8px;
            display: inline-flex;
            align-items: center;
            margin-left: 16px;
            transition: all 0.22s ease;
        }
        .emp-user-chip:hover {
            background: #f1f5f9;
            border-color: #dbe0eb;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
        }
        .emp-bell-btn {
            position: relative;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: #f3f6f9;
            border: 1px solid #ebedf2;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .emp-bell-btn:hover {
            background: #eef2f7;
            transform: translateY(-1px);
        }
        .emp-bell-icon {
            font-size: 20px;
        }
        .emp-bell-badge {
            position: absolute;
            top: -3px;
            right: -3px;
            min-width: 19px;
            height: 19px;
            padding: 0 5px;
            background: linear-gradient(135deg, #F64E60 0%, #ee2d41 100%);
            color: #ffffff;
            border: 2px solid #ffffff;
            border-radius: 99px;
            font-size: 10px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            box-shadow: 0 3px 8px rgba(246, 78, 96, 0.45);
        }
        .emp-user-avatar {
            background: linear-gradient(135deg, #3699FF 0%, #1BC5BD 100%);
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-weight: 700;
            font-size: 13px;
            border-radius: 10px;
        }
        .emp-user-role {
            letter-spacing: 0.5px;
        }

        /* User Profile Drawer (Offcanvas) Classes */
        #kt_body #kt_quick_user.emp-quick-user-panel {
            width: 380px;
            max-width: 90vw;
        }
        .emp-quick-user-close-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
        }
        .emp-drawer-profile-card {
            background: linear-gradient(135deg, #1b1b28 0%, #262c4a 100%);
            color: #ffffff;
            box-shadow: 0 8px 24px rgba(27, 27, 40, 0.15);
            border-radius: 14px;
        }
        .emp-drawer-avatar {
            background: linear-gradient(135deg, #3699FF 0%, #1BC5BD 100%);
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 700;
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(54, 153, 255, 0.3);
        }
        .emp-drawer-status-dot {
            position: absolute;
            bottom: -2px;
            right: -2px;
            width: 14px;
            height: 14px;
            background: #1BC5BD;
            border: 2px solid #1b1b28;
            border-radius: 50%;
        }
        .emp-drawer-badge {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .emp-drawer-email-row {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .emp-drawer-section-title {
            letter-spacing: 0.8px;
        }
        .emp-drawer-nav-list {
            gap: 10px;
        }
        #kt_body a.emp-drawer-nav-item {
            background: #f8fafc;
            border: 1px solid #edf0f5;
            border-radius: 12px;
            text-decoration: none;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            padding: 12px;
            margin-bottom: 8px;
            color: #181C32;
        }
        #kt_body a.emp-drawer-nav-item:hover {
            background: #f1f5f9;
            border-color: #dbe0eb;
            text-decoration: none;
        }
        .emp-drawer-icon-box {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            margin-right: 12px;
            flex-shrink: 0;
        }
        .emp-drawer-icon-blue { background: #e1f0ff; color: #3699FF; }
        .emp-drawer-icon-green { background: #e8f8f5; color: #1BC5BD; }
        .emp-drawer-icon-yellow { background: #fff8e7; color: #FFA800; }
        .emp-drawer-signout-row {
            border-top: 1px solid #edf0f5;
        }
        #kt_body a.emp-signout-btn {
            border-radius: 12px;
            background: #F64E60;
            border: 1px solid #F64E60;
            box-shadow: 0 4px 14px rgba(246, 78, 96, 0.35);
            font-size: 14px;
            color: #ffffff;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        #kt_body a.emp-signout-btn:hover {
            background: #ee2d41;
            border-color: #ee2d41;
            color: #ffffff;
            text-decoration: none;
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(246, 78, 96, 0.45);
        }

        /* ===================================================
           MODERN NOTIFICATION DROPDOWN POPUP
           =================================================== */
        #kt_body .emp-notif-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 12px);
            right: 0;
            min-width: 0 !important;
            width: 390px !important;
            max-width: calc(100vw - 24px) !important;
            background: #ffffff;
            border-radius: 18px;
            box-shadow: 0 20px 50px rgba(17, 24, 39, 0.18), 0 6px 18px rgba(17, 24, 39, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.08);
            z-index: 1050;
            overflow: hidden;
            animation: empNotifDrop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
            transform-origin: top right;
            padding: 0;
        }

        @keyframes empNotifDrop {
            from {
                opacity: 0;
                transform: translateY(-8px) scale(0.97);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Header */
        .emp-notif-header {
            background: linear-gradient(135deg, #1b1b28 0%, #282f4d 100%);
            color: #ffffff;
            padding: 14px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .emp-notif-header-icon {
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            color: #ffffff;
        }
        .emp-notif-title {
            font-size: 15px;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.2px;
            margin: 0;
            line-height: 1.2;
        }
        .emp-notif-count-badge {
            background: #3699FF;
            color: #ffffff;
            font-size: 11px;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 99px;
            line-height: 1.3;
            letter-spacing: 0.3px;
            display: inline-block;
        }
        .emp-notif-mark-all {
            color: rgba(255, 255, 255, 0.85);
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            font-size: 11.5px;
            font-weight: 600;
            padding: 5px 11px;
            text-decoration: none;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            cursor: pointer;
        }
        .emp-notif-mark-all:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.24);
            border-color: rgba(255, 255, 255, 0.35);
            text-decoration: none;
            transform: translateY(-1px);
        }

        /* Body & Scroll */
        .emp-notif-body {
            background: #fbfcfe;
            padding: 10px 8px;
        }
        .emp-notif-scroll {
            max-height: 380px;
            overflow-y: auto;
            padding: 2px 4px;
        }
        .emp-notif-scroll::-webkit-scrollbar {
            width: 5px;
        }
        .emp-notif-scroll::-webkit-scrollbar-track {
            background: transparent;
        }
        .emp-notif-scroll::-webkit-scrollbar-thumb {
            background: #d9dee8;
            border-radius: 10px;
        }
        .emp-notif-scroll::-webkit-scrollbar-thumb:hover {
            background: #3699FF;
        }

        /* Empty State */
        .emp-notif-empty-state {
            padding: 40px 20px;
            text-align: center;
        }
        .emp-notif-empty-icon-wrap {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: #eef2f7;
            color: #a4abbd;
            font-size: 24px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
        }
        .emp-notif-empty-title {
            font-size: 15px;
            font-weight: 700;
            color: #181C32;
            margin-bottom: 4px;
        }
        .emp-notif-empty-desc {
            font-size: 12.5px;
            color: #8f95a5;
            margin-bottom: 0;
        }

        /* Item Card */
        .emp-notif-item {
            position: relative;
            display: flex;
            align-items: flex-start;
            padding: 11px 13px;
            margin-bottom: 8px;
            border-radius: 13px;
            transition: all 0.2s ease;
            border: 1px solid transparent;
            background: #ffffff;
        }
        .emp-notif-item:last-child {
            margin-bottom: 0;
        }
        .emp-notif-item.is-unread {
            background: #f3f8ff;
            border-color: #dbe9fb;
            border-left: 4px solid #3699FF;
        }
        .emp-notif-item.is-read {
            background: #ffffff;
            border-color: #f1f3f7;
        }
        .emp-notif-item:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
        }
        .emp-notif-item.is-unread:hover {
            background: #eaf3ff;
            border-color: #cde0f8;
        }
        .emp-notif-item.is-read:hover {
            background: #f8fafc;
            border-color: #e3e8f0;
        }

        .emp-notif-item-icon {
            width: 38px;
            height: 38px;
            border-radius: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            flex-shrink: 0;
            margin-right: 12px;
            margin-top: 2px;
        }
        .emp-notif-icon-blue { background: #e1f0ff; color: #3699FF; }
        .emp-notif-icon-green { background: #e8f8f5; color: #0BB783; }
        .emp-notif-icon-teal { background: #e4f7f6; color: #1BC5BD; }
        .emp-notif-icon-amber { background: #fff4de; color: #FFA800; }
        .emp-notif-icon-purple { background: #eee5ff; color: #8950FC; }
        .emp-notif-icon-red { background: #ffe2e5; color: #F64E60; }

        .emp-notif-item-body {
            flex-grow: 1;
            min-width: 0;
            padding-right: 14px;
        }
        .emp-notif-item-msg {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-size: 13px;
            line-height: 1.45;
            color: #181C32;
            margin-bottom: 5px;
            text-decoration: none;
            transition: color 0.15s;
        }
        .emp-notif-item.is-unread .emp-notif-item-msg {
            font-weight: 600;
            color: #181C32;
        }
        .emp-notif-item.is-read .emp-notif-item-msg {
            font-weight: 500;
            color: #5E6278;
        }
        .emp-notif-item-msg:hover {
            color: #3699FF !important;
            text-decoration: none;
        }
        .emp-notif-item-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 11.5px;
            color: #9aa1b5;
        }
        .emp-notif-item-time {
            display: inline-flex;
            align-items: center;
        }
        .emp-notif-item-read-btn {
            border: none;
            background: #e8f1fd;
            color: #3699FF;
            border-radius: 6px;
            padding: 2px 8px;
            font-size: 10.5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.18s ease;
            outline: none;
        }
        .emp-notif-item-read-btn:hover {
            background: #3699FF;
            color: #ffffff;
        }
        .emp-notif-item-dot {
            position: absolute;
            top: 13px;
            right: 12px;
            width: 8px;
            height: 8px;
            background: #3699FF;
            border-radius: 50%;
            box-shadow: 0 0 0 3px rgba(54, 153, 255, 0.22);
        }

        /* Footer */
        .emp-notif-footer {
            background: #ffffff;
            border-top: 1px solid #edf1f7;
            padding: 12px 16px;
        }
        .emp-notif-view-all-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 10px 16px;
            background: #f4f6fa;
            border-radius: 11px;
            color: #3699FF;
            font-weight: 600;
            font-size: 13px;
            text-decoration: none;
            transition: all 0.22s ease;
            border: 1px solid #e9edf5;
        }
        .emp-notif-view-all-btn:hover {
            background: #3699FF;
            border-color: #3699FF;
            color: #ffffff;
            text-decoration: none;
            transform: translateY(-1px);
            box-shadow: 0 5px 16px rgba(54, 153, 255, 0.35);
        }

/* Layout Footer */
@media (min-width: 992px) {
    .footer {
        position: fixed;
        height: 60px;
        bottom: 0;
        width: 100%;
    }
}

/* Number input utilities */
input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Upcoming Employee Onboarding Form Styles */
.upcoming-emp-body {
    background-color: #fefafaf6;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.existing-doc {
    color: rgb(21, 126, 219);
}

.address-textarea {
    height: 70px !important;
    padding-top: 1.625rem !important;
}

.input_class {
    height: 50px !important;
}

.label_class {
    opacity: unset !important;
}

.centered-form {
    margin-top: 60px;
    border-radius: 15px;
}

.centered-form-success {
    margin-top: 15px;
    border-radius: 15px;
    border-top: 5px solid blue;
}

.centered-form .panel {
    background: #fefafaf6;
}

.form-title-steelblue {
    font-weight: bold;
    color: steelblue;
}

.card-shadow-soft {
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.form-floating > .form-control {
    padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown),
.form-floating textarea:focus,
.form-floating textarea:not(:placeholder-shown) {
    padding-top: 0.825rem;
    padding-bottom: 0.625rem;
}

.form-floating > label {
    position: absolute;
    top: -6px;
    left: 0;
    height: auto;
    padding: 0.5rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform: translateY(16px);
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    color: unset;
    font-weight: 600;
    margin-left: 11px;
    background: white;
}

.form-floating > .form-select {
    padding-top: -0.375rem;
    padding-bottom: 0.625rem;
    height: 48px;
    padding: -2px;
    font-size: initial;
}

.uploadimage {
    margin: 0;
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    pointer-events: none;
    z-index: 2;
    background: cadetblue;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error {
    outline: 1px solid red;
}












/* ===================================================
   MODERN EMPLOYEE DASHBOARD STYLING
   =================================================== */
/* Metronic subheader override using ID specificity */
    @media (min-width: 992px) {
        #kt_body.header-fixed.subheader-fixed.subheader-enabled #kt_wrapper {
            padding-top: 65px;
        }
        #kt_body #kt_content.emp-dashboard-wrapper,
        #kt_body #kt_content.emp-profile-wrapper,
        #kt_body #kt_content.emp-attendance-wrapper,
        #kt_body #kt_content.emp-leave-wrapper,
        #kt_body #kt_content.emp-wfh-wrapper {
            padding-top: 0;
        }
    }
    #kt_body .emp-dashboard-wrapper,
    #kt_body .emp-attendance-wrapper,
    #kt_body .emp-leave-wrapper,
    #kt_body .emp-wfh-wrapper {
        font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    /* Hero Banner */
    #kt_body .emp-hero-card {
        background: linear-gradient(135deg, #1b1b28 0%, #282f4d 55%, #1e2646 100%);
        border-radius: 18px;
        padding: 22px 28px;
        color: #ffffff;
        box-shadow: 0 12px 30px rgba(27, 27, 40, 0.15);
        margin-top: 20px;
        margin-bottom: 20px;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .emp-hero-card::after {
        content: '';
        position: absolute;
        top: -60px;
        right: -40px;
        width: 240px;
        height: 240px;
        background: radial-gradient(circle, rgba(54, 153, 255, 0.22) 0%, rgba(54, 153, 255, 0) 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .emp-hero-card::before {
        content: '';
        position: absolute;
        bottom: -60px;
        left: 20%;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(27, 197, 189, 0.18) 0%, rgba(27, 197, 189, 0) 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .emp-hero-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #ffffff;
        letter-spacing: -0.3px;
    }
    .emp-hero-subtitle {
        color: rgba(255, 255, 255, 0.72);
        font-size: 13.5px;
        margin-bottom: 0;
    }

    #kt_body .emp-hero-card i,
    #kt_body .emp-profile-hero i,
    #kt_body .emp-drawer-profile-card i {
        color: #ffffff !important;
    }
    .emp-hero-actions-bar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        max-width: 100%;
    }
    @media (max-width: 1199.98px) {
        .emp-hero-actions-bar {
            justify-content: flex-start;
            flex-wrap: wrap;
            margin-top: 14px;
            width: 100%;
        }
    }
    #kt_body .emp-action-btn,
    #kt_body a.emp-action-btn,
    #kt_body button.emp-action-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0 16px;
        height: 40px;
        line-height: 38px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.25s ease;
        box-sizing: border-box;
        cursor: pointer;
        outline: none;
        border: none;
        font-family: inherit;
    }
    #kt_body .emp-action-btn:hover,
    #kt_body a.emp-action-btn:hover,
    #kt_body button.emp-action-btn:hover {
        text-decoration: none;
    }
    #kt_body .emp-action-btn i,
    #kt_body a.emp-action-btn i,
    #kt_body button.emp-action-btn i,
    #kt_body .emp-action-btn .emp-btn-icon {
        color: #ffffff;
        font-size: 14px;
        margin-right: 4px;
    }
    #kt_body .emp-action-btn-primary,
    #kt_body a.emp-action-btn-primary,
    #kt_body button.emp-action-btn-primary {
        background: #3699FF;
        color: #ffffff !important;
        border: 1px solid #3699FF;
        box-shadow: 0 4px 14px rgba(54, 153, 255, 0.35);
    }
    #kt_body .emp-action-btn-primary:hover,
    #kt_body a.emp-action-btn-primary:hover,
    #kt_body button.emp-action-btn-primary:hover {
        background: #187DE4;
        border-color: #187DE4;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(54, 153, 255, 0.45);
    }
    #kt_body .emp-action-btn-wfh,
    #kt_body a.emp-action-btn-wfh,
    #kt_body button.emp-action-btn-wfh {
        background: #1BC5BD;
        color: #ffffff !important;
        border: 1px solid #1BC5BD;
        box-shadow: 0 4px 14px rgba(27, 197, 189, 0.35);
    }
    #kt_body .emp-action-btn-wfh:hover,
    #kt_body a.emp-action-btn-wfh:hover,
    #kt_body button.emp-action-btn-wfh:hover {
        background: #0bb783;
        border-color: #0bb783;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(27, 197, 189, 0.45);
    }
    #kt_body .emp-action-btn-light,
    #kt_body a.emp-action-btn-light,
    #kt_body button.emp-action-btn-light {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    #kt_body .emp-action-btn-light:hover,
    #kt_body a.emp-action-btn-light:hover,
    #kt_body button.emp-action-btn-light:hover {
        background: rgba(255, 255, 255, 0.25);
        color: #ffffff !important;
        transform: translateY(-2px);
    }

    /* Dedicated Export Excel Action Button */
    #kt_body .emp-action-btn-export,
    #kt_body a.emp-action-btn-export,
    #kt_body button.emp-action-btn-export {
        background: linear-gradient(135deg, #107c41 0%, #0b6a37 100%);
        color: #ffffff !important;
        border: 1px solid #107c41;
        box-shadow: 0 4px 14px rgba(16, 124, 65, 0.38);
        font-weight: 700;
        letter-spacing: 0.2px;
    }
    #kt_body .emp-action-btn-export:hover,
    #kt_body a.emp-action-btn-export:hover,
    #kt_body button.emp-action-btn-export:hover {
        background: linear-gradient(135deg, #0e6c38 0%, #07542b 100%);
        border-color: #0b6a37;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(16, 124, 65, 0.48);
    }
    #kt_body .emp-action-btn-export i,
    #kt_body a.emp-action-btn-export i,
    #kt_body button.emp-action-btn-export i {
        color: #ffffff !important;
    }

    /* Dedicated Import Action Button */
    #kt_body .emp-action-btn-import,
    #kt_body a.emp-action-btn-import,
    #kt_body button.emp-action-btn-import {
        background: rgba(255, 255, 255, 0.18);
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        font-weight: 600;
    }
    #kt_body .emp-action-btn-import:hover,
    #kt_body a.emp-action-btn-import:hover,
    #kt_body button.emp-action-btn-import:hover {
        background: rgba(255, 255, 255, 0.28);
        border-color: rgba(255, 255, 255, 0.55);
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    }
    #kt_body .emp-action-btn-import i,
    #kt_body a.emp-action-btn-import i,
    #kt_body button.emp-action-btn-import i {
        color: #7dd3fc !important;
    }
    .emp-year-picker-wrap {
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 10px;
        padding: 0 14px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-sizing: border-box;
        transition: all 0.2s ease;
    }
    .emp-year-picker-wrap:hover {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.35);
    }
    .emp-year-picker-wrap i {
        color: #ffffff !important;
        opacity: 1 !important;
        font-size: 13px;
        margin-right: 2px;
    }
    #kt_body select.emp-year-select {
        background: transparent;
        border: none;
        color: #ffffff;
        font-weight: 600;
        font-size: 13px;
        outline: none;
        cursor: pointer;
        height: 100%;
        line-height: 38px;
    }
    .emp-year-select option {
        background: #1e1e2d;
        color: #ffffff;
    }

    /* KPI / Stat Cards */
    .emp-stat-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 22px 24px;
        border: 1px solid #eef0f5;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        position: relative;
    }
    .emp-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
        border-color: #dbe0eb;
    }
    .emp-stat-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
    }
    .emp-stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }
    .emp-stat-icon-green {
        background: rgba(27, 197, 189, 0.12);
        color: #1BC5BD;
    }
    .emp-stat-icon-red {
        background: rgba(246, 78, 96, 0.12);
        color: #F64E60;
    }
    .emp-stat-icon-yellow {
        background: rgba(255, 168, 0, 0.12);
        color: #FFA800;
    }
    .emp-stat-icon-blue {
        background: rgba(54, 153, 255, 0.12);
        color: #3699FF;
    }
    .emp-stat-badge {
        font-size: 11.5px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 20px;
    }
    .emp-badge-green { background: #e8f8f5; color: #1BC5BD; }
    .emp-badge-red { background: #feecef; color: #F64E60; }
    .emp-badge-yellow { background: #fff8e7; color: #FFA800; }
    .emp-badge-blue { background: #edf5ff; color: #3699FF; }

    .emp-stat-num {
        font-size: 32px;
        font-weight: 700;
        color: #181C32;
        line-height: 1.1;
        margin-bottom: 4px;
    }
    .emp-stat-title {
        font-size: 13px;
        font-weight: 600;
        color: #7E8299;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        margin-bottom: 0;
    }
    #kt_body a.emp-stat-link {
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px dashed #f0f2f5;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    #kt_body a.emp-stat-link:hover {
        opacity: 0.8;
        text-decoration: none;
    }

    /* Content Cards */
    .emp-box {
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #eef0f5;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        margin-bottom: 28px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .emp-box-header {
        padding: 18px 24px;
        border-bottom: 1px solid #f3f5f9;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .emp-box-title {
        font-size: 16px;
        font-weight: 700;
        color: #181C32;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .emp-box-subtitle {
        font-size: 12px;
        color: #B5B5C3;
        font-weight: 400;
    }
    .emp-box-body {
        padding: 22px 24px;
        flex: 1;
    }

    /* Attendance Donut Container */
    .emp-attendance-donut-box {
        position: relative;
        height: 200px;
        width: 100%;
        display: block;
    }
    .emp-attendance-donut-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        pointer-events: none;
        z-index: 2;
    }
    .emp-donut-center-val {
        display: block;
        font-size: 24px;
        font-weight: 800;
        color: #181C32;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }
    .emp-donut-center-lbl {
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: #B5B5C3;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-top: 3px;
    }
    .emp-attendance-stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px dashed #f0f2f5;
    }
    .emp-att-pill {
        padding: 12px 14px;
        border-radius: 12px;
        text-align: center;
    }
    .emp-att-pill-present { background: #f0faf8; border: 1px solid #d7f5ee; }
    .emp-att-pill-absent { background: #fdf2f4; border: 1px solid #fad5db; }

    /* Total Earned Badge in Indian Rupees */
    .emp-total-earned-card {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-end;
        padding: 5px 14px;
        background: #f0faf8;
        border: 1px solid #d7f5ee;
        border-radius: 10px;
    }
    .emp-total-earned-title {
        font-size: 10px;
        font-weight: 700;
        color: #1BC5BD;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        line-height: 1.2;
    }
    .emp-total-earned-val {
        font-size: 16px;
        font-weight: 700;
        color: #181C32;
        line-height: 1.2;
    }

    /* Sleek Payslips Button */
    #kt_body a.emp-payslip-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: linear-gradient(135deg, #1BC5BD 0%, #0bb783 100%);
        color: #ffffff;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(27, 197, 189, 0.35);
        border: 1px solid #1BC5BD;
        transition: all 0.25s ease;
    }
    #kt_body a.emp-payslip-btn:hover {
        background: linear-gradient(135deg, #0bb783 0%, #099a6e 100%);
        box-shadow: 0 6px 18px rgba(27, 197, 189, 0.45);
        color: #ffffff;
        transform: translateY(-2px);
        text-decoration: none;
    }
    #kt_body a.emp-payslip-btn .emp-payslip-icon {
        font-size: 14px;
        color: #ffffff;
    }

    /* Sleek Attendance Details Button */
    #kt_body a.emp-details-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 14px;
        background: #edf5ff;
        color: #187de4;
        border: 1px solid #cbe4ff;
        border-radius: 10px;
        font-size: 12.5px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        transition: all 0.25s ease;
    }
    #kt_body a.emp-details-btn .emp-details-arrow {
        font-size: 11px;
        color: inherit;
        transition: transform 0.25s ease;
    }
    #kt_body a.emp-details-btn:hover {
        background: linear-gradient(135deg, #3699FF 0%, #187de4 100%);
        color: #ffffff;
        border-color: #187de4;
        box-shadow: 0 4px 14px rgba(54, 153, 255, 0.35);
        transform: translateY(-2px);
        text-decoration: none;
    }
    #kt_body a.emp-details-btn:hover .emp-details-arrow {
        transform: translateX(2px);
    }

    .emp-salary-chart-container {
        width: 100%;
        height: 320px;
        min-height: 320px;
    }

    /* Upcoming Holiday List */
    .emp-holiday-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-height: 380px;
        overflow-y: auto;
        padding-right: 4px;
    }
    .emp-holiday-list::-webkit-scrollbar {
        width: 5px;
    }
    .emp-holiday-list::-webkit-scrollbar-thumb {
        background: #e2e8f0;
        border-radius: 10px;
    }
    .emp-holiday-row {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #f1f4f8;
        transition: all 0.22s ease;
    }
    .emp-holiday-row:hover {
        background: #f1f5f9;
        transform: translateX(4px);
        border-color: #e2e8f0;
    }
    .emp-holiday-date-box {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #e1f0ff 0%, #edf5ff 100%);
        color: #3699FF;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 16px;
        flex-shrink: 0;
        border: 1px solid #cbe4ff;
    }
    .emp-holiday-day {
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
    }
    .emp-holiday-month {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        margin-top: 2px;
    }
    .emp-holiday-title {
        font-size: 14px;
        font-weight: 600;
        color: #181C32;
        margin-bottom: 2px;
    }
    .emp-holiday-weekday {
        font-size: 12px;
        color: #7E8299;
    }

    /* Devices */
    .emp-device-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .emp-device-card {
        display: flex;
        align-items: center;
        padding: 14px 16px;
        border-radius: 12px;
        background: #ffffff;
        border: 1px solid #edf0f5;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
        transition: all 0.2s ease;
    }
    .emp-device-card:hover {
        border-color: #3699FF;
        background: #fafcff;
    }
    .emp-device-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: #f3f6f9;
        color: #3699FF;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        margin-right: 14px;
        flex-shrink: 0;
    }
    .emp-dev-badge-laptop { background: #e1f0ff; color: #3699FF; }
    .emp-dev-badge-mobile { background: #e8f8f5; color: #1BC5BD; font-size: 21px; }
    .emp-dev-badge-audio  { background: #eee5ff; color: #8950FC; }
    .emp-dev-badge-screen { background: #fff4de; color: #FFA800; }
    .emp-device-name {
        font-size: 14px;
        font-weight: 600;
        color: #181C32;
        margin-bottom: 2px;
    }
    .emp-device-code {
        font-size: 11.5px;
        color: #7E8299;
        font-family: monospace;
        background: #f1f3f6;
        padding: 2px 8px;
        border-radius: 6px;
        display: inline-block;
    }

/* ===================================================
   MODERN EMPLOYEE PROFILE STYLING (MY PROFILE)
   =================================================== */

#kt_body .emp-profile-wrapper {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-bottom: 30px;
}
#kt_body #kt_content.emp-profile-wrapper {
    padding-top: 0 !important;
}
#kt_body .emp-profile-wrapper #kt_subheader {
    display: none !important;
}

/* Modern Profile Hero Card */
#kt_body .emp-profile-hero {
    background: linear-gradient(135deg, #1b1b28 0%, #282f4d 55%, #1e2646 100%);
    border-radius: 20px;
    padding: 28px 32px;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(27, 27, 40, 0.15);
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
#kt_body .emp-profile-hero::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -50px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(54, 153, 255, 0.22) 0%, rgba(54, 153, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
#kt_body .emp-profile-hero::after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: 25%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(27, 197, 189, 0.18) 0%, rgba(27, 197, 189, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Avatar Component */
#kt_body .emp-profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    margin-right: 22px;
}
#kt_body .emp-profile-avatar-img {
    width: 86px;
    height: 86px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}
#kt_body .emp-profile-avatar-placeholder {
    width: 86px;
    height: 86px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3699FF 0%, #8950FC 100%);
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    letter-spacing: -1px;
}
#kt_body .emp-profile-online-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    background: #1BC5BD;
    border: 3px solid #1e2646;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(27, 197, 189, 0.6);
}

/* Hero Typography & Badges */
#kt_body .emp-profile-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
#kt_body .emp-profile-status-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    background: rgba(27, 197, 189, 0.2);
    color: #1BC5BD;
    border: 1px solid rgba(27, 197, 189, 0.4);
    border-radius: 20px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#kt_body .emp-profile-status-pill .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1BC5BD;
    display: inline-block;
    box-shadow: 0 0 6px #1BC5BD;
}
#kt_body .emp-profile-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
#kt_body .emp-profile-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
}
#kt_body .emp-profile-tag i {
    font-size: 12px;
    color: #ffffff;
}

/* Hero Highlights (Right) */
#kt_body .emp-profile-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
}
@media (max-width: 991.98px) {
    #kt_body .emp-profile-highlights {
        margin-left: 0;
        max-width: 100%;
    }
}
#kt_body .emp-profile-highlight-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 10px 18px;
    min-width: 0;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}
#kt_body .emp-profile-highlight-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}
#kt_body .emp-profile-highlight-box.emp-profile-hl-full {
    grid-column: span 2;
    width: 100%;
}
@media (max-width: 480px) {
    #kt_body .emp-profile-highlights {
        grid-template-columns: 1fr;
    }
    #kt_body .emp-profile-highlight-box.emp-profile-hl-full {
        grid-column: span 1;
    }
}
#kt_body .emp-profile-hl-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
#kt_body .emp-profile-hl-label i {
    font-size: 11px;
    color: #ffffff;
}
#kt_body .emp-profile-hl-val {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nav Switcher / Segmented Tabs */
#kt_body .emp-profile-tabs-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    border: 1px solid #edf0f5;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#kt_body .emp-profile-tab-btn {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #7E8299;
    background: transparent;
    text-decoration: none !important;
    transition: all 0.22s ease;
    border: 1px solid transparent;
}
#kt_body .emp-profile-tab-btn:hover {
    color: #181C32;
    background: #f8fafc;
}
#kt_body .emp-profile-tab-btn.active {
    background: linear-gradient(135deg, #1b1b28 0%, #282f4d 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(27, 27, 40, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}
#kt_body .emp-profile-tab-btn .tab-icon {
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f4f8;
    color: #7E8299;
    transition: all 0.22s ease;
}
#kt_body .emp-profile-tab-btn:hover .tab-icon {
    background: #eef3f7;
    color: #3699FF;
}
#kt_body .emp-profile-tab-btn.active .tab-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Modern Card Sections */
#kt_body .emp-profile-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #edf0f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.2s ease;
}
#kt_body .emp-profile-card:hover {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}
#kt_body .emp-profile-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f1f4f8;
    background: #fcfdfe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
#kt_body .emp-profile-card-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
#kt_body .emp-profile-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
#kt_body .emp-icon-blue {
    background: #e1f0ff;
    color: #3699FF;
}
#kt_body .emp-icon-green {
    background: #e8f8f5;
    color: #1BC5BD;
}
#kt_body .emp-icon-purple {
    background: #eee5ff;
    color: #8950FC;
}
#kt_body .emp-icon-amber {
    background: #fff4de;
    color: #FFA800;
}
#kt_body .emp-profile-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #181C32;
    margin: 0;
}
#kt_body .emp-profile-card-subtitle {
    font-size: 12px;
    color: #7E8299;
    margin: 2px 0 0 0;
}
#kt_body .emp-profile-card-body {
    padding: 24px;
}

/* Info Tiles Grid */
#kt_body .emp-profile-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
#kt_body .emp-info-tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    transition: all 0.2s ease;
}
#kt_body .emp-info-tile:hover {
    background: #ffffff;
    border-color: #cbe4ff;
    box-shadow: 0 4px 14px rgba(54, 153, 255, 0.08);
    transform: translateY(-2px);
}
#kt_body .emp-info-tile-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #3699FF;
}
#kt_body .emp-info-tile-content {
    flex: 1;
    min-width: 0;
}
#kt_body .emp-info-label {
    font-size: 11px;
    font-weight: 600;
    color: #7E8299;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
#kt_body .emp-info-value {
    font-size: 13.5px;
    font-weight: 600;
    color: #181C32;
    word-break: break-word;
}
#kt_body .emp-info-link {
    color: #3699FF;
    text-decoration: none;
    transition: color 0.15s ease;
}
#kt_body .emp-info-link:hover {
    color: #187de4;
    text-decoration: underline;
}

/* Full-Width Contact Channels Grid & Prominent Email Tile */
#kt_body .emp-contact-channels-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}
#kt_body .emp-info-tile-lg {
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border: 1.5px solid #cbe4ff;
    box-shadow: 0 4px 14px rgba(54, 153, 255, 0.06);
}
#kt_body .emp-info-tile-lg:hover {
    background: #ffffff;
    border-color: #3699FF;
    box-shadow: 0 6px 20px rgba(54, 153, 255, 0.12);
}
#kt_body .emp-tile-icon-lg {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 20px;
    background: #e1f0ff;
    color: #3699FF;
    border: 1px solid #bde0fe;
}
#kt_body .emp-info-value-lg {
    font-size: 16px;
    font-weight: 700;
    color: #181C32;
    margin-top: 2px;
}
#kt_body .emp-info-value-lg .emp-info-link {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    #kt_body .emp-contact-channels-grid {
        grid-template-columns: 1fr 1fr;
    }
    #kt_body .emp-info-tile-lg {
        grid-column: span 2;
    }
}

@media (max-width: 575.98px) {
    #kt_body .emp-contact-channels-grid {
        grid-template-columns: 1fr;
    }
    #kt_body .emp-info-tile-lg {
        grid-column: span 1;
    }
}

/* Badges for Profile details */
#kt_body .emp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
#kt_body .emp-badge-gender-male {
    background: #e1f0ff;
    color: #3699FF;
}
#kt_body .emp-badge-gender-female {
    background: #ffe2e5;
    color: #F64E60;
}
#kt_body .emp-badge-marital {
    background: #eee5ff;
    color: #8950FC;
}
#kt_body .emp-badge-probation {
    background: #fff4de;
    color: #FFA800;
}

/* Modern Form Styling in Custom Bundle CSS */
#kt_body .emp-form-group {
    margin-bottom: 22px;
}
#kt_body .emp-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #3F4254;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
#kt_body .emp-form-label .required-dot {
    color: #F64E60;
    font-size: 14px;
}
#kt_body .emp-input-icon-wrap {
    position: relative;
}
#kt_body .emp-input-icon-wrap .emp-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #A1A5B7;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}
#kt_body .emp-input-icon-wrap.has-textarea .emp-input-icon {
    top: 18px;
    transform: none;
}
#kt_body .emp-form-control {
    width: 100%;
    height: 44px;
    padding: 10px 14px 10px 42px;
    font-size: 13.5px;
    font-weight: 500;
    color: #181C32;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    outline: none;
}
#kt_body .emp-form-control:focus {
    background: #ffffff;
    border-color: #3699FF;
    box-shadow: 0 0 0 3px rgba(54, 153, 255, 0.12);
}
#kt_body .emp-input-icon-wrap:focus-within .emp-input-icon {
    color: #3699FF;
}
#kt_body textarea.emp-form-control {
    height: auto;
    min-height: 105px;
    padding-top: 14px;
    resize: vertical;
}
#kt_body .emp-form-control.is-invalid {
    border-color: #F64E60 !important;
    background: #fff8f8;
}
#kt_body .emp-form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(246, 78, 96, 0.12) !important;
}
#kt_body .emp-form-error {
    font-size: 12px;
    font-weight: 500;
    color: #F64E60;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Address sync toggle box */
#kt_body .emp-address-sync-box {
    margin-top: 10px;
    padding: 12px 16px;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.18s ease;
}
#kt_body .emp-address-sync-box:hover {
    background: #e9eef5;
    border-color: #3699FF;
}
#kt_body .emp-address-sync-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #3699FF;
    cursor: pointer;
}
#kt_body .emp-address-sync-text {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

/* Action Buttons & Footer Bar */
#kt_body .emp-profile-actions-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    background: #fcfdfe;
    border-top: 1px solid #f1f4f8;
}
#kt_body .emp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: linear-gradient(135deg, #1BC5BD 0%, #0bb783 100%);
    color: #ffffff !important;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(27, 197, 189, 0.35);
    transition: all 0.22s ease;
    text-decoration: none !important;
    cursor: pointer;
}
#kt_body .emp-btn-primary:hover {
    background: linear-gradient(135deg, #0bb783 0%, #099a6e 100%);
    box-shadow: 0 6px 18px rgba(27, 197, 189, 0.45);
    transform: translateY(-2px);
}
#kt_body .emp-btn-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: linear-gradient(135deg, #3699FF 0%, #187de4 100%);
    color: #ffffff !important;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(54, 153, 255, 0.35);
    transition: all 0.22s ease;
    text-decoration: none !important;
    cursor: pointer;
}
#kt_body .emp-btn-blue:hover {
    background: linear-gradient(135deg, #187de4 0%, #0c6ecc 100%);
    box-shadow: 0 6px 18px rgba(54, 153, 255, 0.45);
    transform: translateY(-2px);
}
#kt_body .emp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: #f3f6f9;
    color: #3F4254 !important;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.22s ease;
    text-decoration: none !important;
    cursor: pointer;
}
#kt_body .emp-btn-secondary:hover {
    background: #e4e6ef;
    color: #181C32 !important;
}

/* Alert Styling */
#kt_body .emp-profile-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}
#kt_body .emp-profile-alert-success {
    background: #f0faf8;
    border-color: #d7f5ee;
    color: #0d8b84;
}
#kt_body .emp-profile-alert-danger {
    background: #fdf2f4;
    border-color: #fad5db;
    color: #d13042;
}
#kt_body .emp-profile-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
}
#kt_body .emp-profile-alert-close {
    background: transparent;
    border: none;
    font-size: 18px;
    color: inherit;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s ease;
    padding: 0;
    line-height: 1;
}
#kt_body .emp-profile-alert-close:hover {
    opacity: 1;
}

@media (max-width: 767.98px) {
    #kt_body .emp-profile-hero {
        padding: 20px;
    }
    #kt_body .emp-profile-avatar-wrap {
        margin-right: 0;
        margin-bottom: 14px;
    }
    #kt_body .emp-profile-name {
        font-size: 20px;
    }
    #kt_body .emp-profile-tiles-grid {
        grid-template-columns: 1fr;
    }
    #kt_body .emp-profile-actions-bar {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    #kt_body .emp-profile-actions-bar .emp-btn-primary,
    #kt_body .emp-profile-actions-bar .emp-btn-blue,
    #kt_body .emp-profile-actions-bar .emp-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================
   MODERN EMPLOYEE ATTENDANCE STYLING
   =================================================== */
#kt_body #kt_content.emp-attendance-wrapper {
    padding-top: 0 !important;
    padding-bottom: 30px;
}
#kt_body .emp-attendance-wrapper #kt_subheader {
    display: none !important;
}

/* Hero Icon & Filter Controls */
#kt_body .emp-att-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3699FF 0%, #1BC5BD 100%);
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(54, 153, 255, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.22);
}
#kt_body .emp-att-month-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(54, 153, 255, 0.2);
    color: #8cc8ff;
    border: 1px solid rgba(54, 153, 255, 0.38);
    vertical-align: middle;
}
/* Modern Period Navigator & Filter Bar */
#kt_body .emp-att-filter-toolbar {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px 8px;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
#kt_body a.emp-att-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 13px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
#kt_body a.emp-att-nav-btn:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}
#kt_body .emp-att-select-group {
    position: relative;
    display: inline-flex;
    align-items: center;
}
#kt_body select.emp-att-select {
    height: 38px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    padding: 0 32px 0 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
#kt_body select.emp-att-select#month {
    min-width: 130px;
}
#kt_body select.emp-att-select[name="year"] {
    min-width: 90px;
}
#kt_body select.emp-att-select:hover,
#kt_body select.emp-att-select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
#kt_body button.emp-att-submit-btn {
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
}
#kt_body button.emp-att-submit-btn:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

/* Segmented View Switcher */
#kt_body .emp-att-view-switch {
    display: inline-flex;
    align-items: center;
    background: #f3f6f9;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid #e6eaf2;
    gap: 4px;
}
#kt_body .emp-att-view-btn {
    border: none;
    background: transparent;
    color: #7E8299;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
#kt_body .emp-att-view-btn:hover {
    color: #181C32;
}
#kt_body .emp-att-view-btn.active {
    background: linear-gradient(135deg, #1b1b28 0%, #282f4d 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(27, 27, 40, 0.18);
}

/* Stat Card Subtle Footer Note */
#kt_body .emp-att-stat-sub {
    font-size: 11.5px;
    font-weight: 500;
    color: #7E8299;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #f0f2f5;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Legend Strip */
#kt_body .emp-att-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #edf0f5;
}
#kt_body .emp-att-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #5E6278;
    background: #f8fafc;
    border: 1px solid #edf0f5;
    padding: 4px 10px;
    border-radius: 20px;
}
#kt_body .emp-att-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.dot-present { background: #1BC5BD; }
.dot-absent { background: #F64E60; }
.dot-half { background: #FFA800; }
.dot-holiday { background: #8950FC; }
.dot-wo { background: #3699FF; }
.dot-wfh { background: #0bb783; }
.dot-none { background: #cbd5e1; }

/* 7-Column Calendar Grid */
#kt_body .emp-att-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}
#kt_body .emp-att-cal-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #7E8299;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 6px 4px;
    background: #f8fafc;
    border-radius: 8px;
}
#kt_body .emp-att-cal-weekday.is-weekend {
    color: #3699FF;
    background: #f1f7ff;
}
#kt_body .emp-att-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}
#kt_body .emp-att-cal-empty {
    min-height: 94px;
    border-radius: 14px;
    background: #fafbfd;
    border: 1px dashed #edf0f5;
}
#kt_body .emp-att-cal-cell {
    min-height: 94px;
    border-radius: 14px;
    padding: 10px;
    border: 1.5px solid #edf0f5;
    background: #fafbfd;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    min-width: 0;
}
#kt_body .emp-att-cal-cell:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(24, 28, 50, 0.08);
    z-index: 2;
}
#kt_body .emp-att-cal-cell.is-selected {
    box-shadow: 0 0 0 2.5px #3699FF, 0 8px 20px rgba(54, 153, 255, 0.18);
    z-index: 3;
}
#kt_body .emp-att-cal-cell.is-today {
    border-color: #3699FF !important;
}
#kt_body .emp-att-cal-cell.status-p {
    background: #f2fbf9;
    border-color: #c5efe6;
}
#kt_body .emp-att-cal-cell.status-a {
    background: #fff5f6;
    border-color: #fcd4da;
}
#kt_body .emp-att-cal-cell.status-fh,
#kt_body .emp-att-cal-cell.status-sh {
    background: #fffaf0;
    border-color: #fde2b8;
}
#kt_body .emp-att-cal-cell.status-holiday {
    background: #f8f5ff;
    border-color: #e1d2ff;
}
#kt_body .emp-att-cal-cell.status-wo {
    background: #f3f8ff;
    border-color: #d1e3ff;
}
#kt_body .emp-att-cal-cell.status-none {
    background: #fafbfd;
    border-color: #edf0f5;
}

#kt_body .emp-att-cell-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 6px;
}
#kt_body .emp-att-day-num {
    font-size: 14.5px;
    font-weight: 700;
    color: #181C32;
    line-height: 1;
}
#kt_body .emp-att-today-tag {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 6px;
    border-radius: 10px;
    background: #3699FF;
    color: #ffffff;
}
#kt_body .emp-att-cell-markers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
#kt_body .emp-att-marker-icon {
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#kt_body .emp-att-marker-note {
    background: rgba(255, 168, 0, 0.16);
    color: #d98200;
}
#kt_body .emp-att-marker-wfh {
    background: rgba(11, 183, 131, 0.15);
    color: #0b9a6f;
}
#kt_body .emp-att-marker-leave {
    background: rgba(137, 80, 252, 0.14);
    color: #7638f7;
}

#kt_body .emp-att-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#kt_body .emp-att-status-pill .label-short {
    display: none;
}
.pill-p { background: #d7f5ee; color: #0c8b83; }
.pill-a { background: #ffe2e6; color: #d62f44; }
.pill-fh, .pill-sh { background: #fff0d4; color: #b87300; }
.pill-holiday { background: #ebe0ff; color: #6c33e6; }
.pill-wo { background: #dfeeff; color: #1673d6; }
.pill-none { background: #eef1f6; color: #9499ad; }

#kt_body .emp-att-cell-sub {
    font-size: 10px;
    font-weight: 600;
    color: #6c7288;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* Selected Day Inspector Strip */
#kt_body .emp-att-inspector {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e5eaf2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
#kt_body .emp-att-inspector-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 280px;
}
#kt_body .emp-att-inspector-datebox {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1b1b28 0%, #282f4d 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27, 27, 40, 0.16);
}
#kt_body .emp-att-inspector-day {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
#kt_body .emp-att-inspector-mon {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.78;
    margin-top: 2px;
}
#kt_body .emp-att-inspector-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
#kt_body .emp-att-inspector-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 8px;
}
#kt_body .emp-att-inspector-note {
    flex: 1 1 220px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Daily Log List View */
#kt_body .emp-att-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
#kt_body .emp-att-filter-chip {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #5E6278;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.18s ease;
}
#kt_body .emp-att-filter-chip:hover {
    border-color: #3699FF;
    color: #3699FF;
}
#kt_body .emp-att-filter-chip.active {
    background: #3699FF;
    border-color: #3699FF;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(54, 153, 255, 0.25);
}
#kt_body .emp-att-list-wrap {
    max-height: 540px;
    overflow-y: auto;
    border: 1px solid #edf0f5;
    border-radius: 14px;
}
#kt_body .emp-att-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
#kt_body .emp-att-table thead th {
    background: #f8fafc;
    color: #7E8299;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 12px 16px;
    border-bottom: 1px solid #edf0f5;
    position: sticky;
    top: 0;
    z-index: 1;
}
#kt_body .emp-att-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f5f9;
    font-size: 13px;
    color: #3F4254;
    vertical-align: middle;
}
#kt_body .emp-att-table tbody tr:last-child td {
    border-bottom: none;
}
#kt_body .emp-att-table tbody tr:hover {
    background: #fafcff;
}
#kt_body .emp-att-table tbody tr.is-today-row {
    background: #f4f9ff;
}

/* Breakdown Progress & Year Summary */
#kt_body .emp-att-progress-wrap {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #f0f2f5;
}
#kt_body .emp-att-progress-bar {
    height: 10px;
    border-radius: 10px;
    background: #f1f3f7;
    overflow: hidden;
    display: flex;
}
#kt_body .emp-att-prog-present { background: #1BC5BD; height: 100%; transition: width 0.4s ease; }
#kt_body .emp-att-prog-half { background: #FFA800; height: 100%; transition: width 0.4s ease; }
#kt_body .emp-att-prog-absent { background: #F64E60; height: 100%; transition: width 0.4s ease; }

#kt_body .emp-att-year-banner {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fbff 100%);
    border: 1px solid #d6e9ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 991.98px) {
    #kt_body .emp-att-filter-toolbar {
        width: 100%;
        justify-content: space-between;
        margin-top: 12px;
    }
}
@media (max-width: 575.98px) {
    #kt_body .emp-att-filter-toolbar {
        flex-wrap: wrap;
        gap: 6px;
    }
    #kt_body .emp-att-filter-toolbar form {
        flex-wrap: wrap;
        width: 100%;
        gap: 6px;
    }
    #kt_body select.emp-att-select.with-icon {
        min-width: 110px;
    }
}
@media (max-width: 767.98px) {
    #kt_body .emp-att-cal-weekdays,
    #kt_body .emp-att-cal-grid {
        gap: 6px;
    }
    #kt_body .emp-att-cal-empty,
    #kt_body .emp-att-cal-cell {
        min-height: 72px;
        padding: 7px 6px;
        border-radius: 10px;
    }
    #kt_body .emp-att-day-num {
        font-size: 12.5px;
    }
}
@media (max-width: 575.98px) {
    #kt_body .emp-att-cal-weekdays,
    #kt_body .emp-att-cal-grid {
        gap: 4px;
    }
    #kt_body .emp-att-cal-empty,
    #kt_body .emp-att-cal-cell {
        min-height: 60px;
        padding: 5px 4px;
    }
    #kt_body .emp-att-status-pill {
        padding: 3px 4px;
        font-size: 10px;
    }
    #kt_body .emp-att-status-pill .label-full {
        display: none;
    }
    #kt_body .emp-att-status-pill .label-short {
        display: inline;
    }
    #kt_body .emp-att-cell-sub,
    #kt_body .emp-att-today-tag {
        display: none;
    }
}

/* ===================================================
   MODERN EMPLOYEE LEAVE DETAILS STYLING
   =================================================== */
#kt_body #kt_content.emp-leave-wrapper {
    padding-top: 0 !important;
    padding-bottom: 30px;
}
#kt_body .emp-leave-wrapper #kt_subheader {
    display: none !important;
}

#kt_body .emp-leave-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3699FF 0%, #8950FC 100%);
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(54, 153, 255, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.22);
}

/* Header Search Bar */
#kt_body .emp-leave-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
#kt_body .emp-leave-search-box {
    position: relative;
    min-width: 220px;
}
#kt_body .emp-leave-search-box .emp-leave-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #A1A5B7;
    font-size: 13px;
    pointer-events: none;
}
#kt_body .emp-leave-search-input {
    width: 100%;
    height: 40px;
    padding: 8px 14px 8px 36px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #181C32;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}
#kt_body .emp-leave-search-input:focus {
    background: #ffffff;
    border-color: #3699FF;
    box-shadow: 0 0 0 3px rgba(54, 153, 255, 0.12);
}
#kt_body .emp-leave-search-btn {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    background: #1b1b28;
    border: 1px solid #1b1b28;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
#kt_body .emp-leave-search-btn:hover {
    background: #3699FF;
    border-color: #3699FF;
    transform: translateY(-1px);
}

/* Category & Status Strip */
#kt_body .emp-leave-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #edf0f5;
}
#kt_body .emp-leave-cat-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
#kt_body .emp-leave-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #edf0f5;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Leave Table */
#kt_body .emp-leave-table-wrap {
    border: 1px solid #edf0f5;
    border-radius: 14px;
    overflow-x: auto;
    background: #ffffff;
}
#kt_body .emp-leave-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    min-width: 820px;
}
#kt_body .emp-leave-table thead th {
    background: #f8fafc;
    color: #7E8299;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 13px 16px;
    border-bottom: 1px solid #edf0f5;
    white-space: nowrap;
}
#kt_body .emp-leave-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f5f9;
    font-size: 13px;
    color: #3F4254;
    vertical-align: middle;
}
#kt_body .emp-leave-table tbody tr:last-child td {
    border-bottom: none;
}
#kt_body .emp-leave-table tbody tr:hover {
    background: #fafcff;
}

/* Badges & Pills */
#kt_body .emp-leave-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}
.emp-leave-cat-sick { background: #e1f0ff; color: #187de4; }
.emp-leave-cat-casual { background: #eee5ff; color: #7638f7; }
.emp-leave-cat-accident { background: #ffe2e6; color: #d62f44; }
.emp-leave-cat-other { background: #fff4de; color: #b87300; }

#kt_body .emp-leave-type-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f3f6f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 600;
}
#kt_body .emp-leave-days-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0f7ff;
    color: #187de4;
    border: 1px solid #d5e8ff;
    font-size: 12px;
    font-weight: 700;
}

#kt_body .emp-leave-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}
#kt_body .emp-leave-status-pill .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.emp-leave-status-approved { background: #d7f5ee; color: #0c8b83; }
.emp-leave-status-pending { background: #fff4de; color: #b87300; }
.emp-leave-status-rejected { background: #ffe2e6; color: #d62f44; }
.emp-leave-status-cancelled { background: #eef1f6; color: #5E6278; }

/* Action Icon Buttons */
#kt_body .emp-leave-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#kt_body a.emp-leave-action-btn,
#kt_body button.emp-leave-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    padding: 0;
    outline: none;
    line-height: 1;
}
#kt_body a.emp-leave-action-btn:hover,
#kt_body button.emp-leave-action-btn:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    text-decoration: none;
}
#kt_body a.emp-leave-btn-view,
#kt_body button.emp-leave-btn-view {
    background: #f8fafc;
    color: #3699FF !important;
    border-color: #e2e8f0;
}
#kt_body a.emp-leave-btn-view:hover,
#kt_body button.emp-leave-btn-view:hover {
    background: #ffffff !important;
    color: #187DE4 !important;
    border-color: #cbd5e1 !important;
}
#kt_body a.emp-leave-btn-edit,
#kt_body button.emp-leave-btn-edit {
    background: #f8fafc;
    color: #FFA800 !important;
    border-color: #e2e8f0;
}
#kt_body a.emp-leave-btn-edit:hover,
#kt_body button.emp-leave-btn-edit:hover {
    background: #ffffff !important;
    color: #EE9D01 !important;
    border-color: #cbd5e1 !important;
}
#kt_body a.emp-leave-btn-delete,
#kt_body button.emp-leave-btn-delete {
    background: #f8fafc;
    color: #F64E60 !important;
    border-color: #e2e8f0;
}
#kt_body a.emp-leave-btn-delete:hover,
#kt_body button.emp-leave-btn-delete:hover {
    background: #ffffff !important;
    color: #EE2D41 !important;
    border-color: #cbd5e1 !important;
}
#kt_body .btn.btn-clean.btn-icon:hover,
#kt_body a.btn.btn-clean.btn-icon:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* ==========================================================================
   Luxury Leave Dossier View Modal (#leaveDossierModal)
   ========================================================================== */
#kt_body #leaveDossierModal .modal-dialog {
    max-width: 680px;
    margin: 1.75rem auto;
}
#kt_body #leaveDossierModal .modal-content {
    border-radius: 22px !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35) !important;
    background: #ffffff;
}
#kt_body #leaveDossierModal .modal-hero-header {
    background: radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 10% 85%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
                linear-gradient(135deg, #090d16 0%, #151c2e 60%, #0f172a 100%) !important;
    padding: 26px 30px 22px !important;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#kt_body #leaveDossierModal .modal-avatar-box {
    position: relative;
    flex-shrink: 0;
}
#kt_body #leaveDossierModal .modal-avatar-frame {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    object-fit: cover;
    display: block;
    background: #1e293b;
}
#kt_body #leaveDossierModal .modal-avatar-fallback {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #3699FF 0%, #8950FC 100%);
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
}
#kt_body #leaveDossierModal .modal-hero-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}
#kt_body #leaveDossierModal .modal-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.3px;
    margin-bottom: 0;
    line-height: 1.25;
}
#kt_body #leaveDossierModal .modal-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
#kt_body #leaveDossierModal .modal-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
#kt_body #leaveDossierModal .modal-header-contact-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
#kt_body #leaveDossierModal .modal-hero-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 600;
}
#kt_body #leaveDossierModal .modal-hero-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
    border: none;
}
#kt_body #leaveDossierModal .modal-hero-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}
#kt_body #leaveDossierModal .leave-modal-subbar {
    background: #f8fafc;
    padding: 12px 28px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
#kt_body #leaveDossierModal .leave-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}
@media (max-width: 575.98px) {
    #kt_body #leaveDossierModal .leave-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
#kt_body #leaveDossierModal .leave-kpi-card {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
}
#kt_body #leaveDossierModal .leave-kpi-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    transform: translateY(-2px);
}
#kt_body #leaveDossierModal .leave-kpi-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
#kt_body #leaveDossierModal .leave-kpi-value {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}
#kt_body #leaveDossierModal .leave-statement-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}
#kt_body #leaveDossierModal .leave-statement-card.is-note {
    background: #fbfcfe;
    border-left: 4px solid #3699FF;
}
#kt_body #leaveDossierModal .leave-statement-card.is-reason {
    background: #fdfefe;
    border-left: 4px solid #8950FC;
}
#kt_body #leaveDossierModal .leave-statement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
#kt_body #leaveDossierModal .leave-statement-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}
#kt_body #leaveDossierModal .leave-statement-content {
    font-size: 13.5px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.6;
    white-space: pre-line;
}

/* ==========================================================================
   Modern SaaS Pagination Component
   ========================================================================== */
#kt_body .emp-leave-pagination,
#kt_body .emp-pagination-wrap {
    padding: 16px 24px;
    border-top: 1px solid #f1f4f8;
    background: #fcfdfe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

#kt_body .pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#kt_body .pagination .page-item {
    margin: 0;
    list-style: none;
}

#kt_body .pagination .page-item .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    border: 1px solid #eef0f5 !important;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    outline: none !important;
}

#kt_body .pagination .page-item:hover:not(.disabled):not(.active) .page-link {
    background: #f0f7ff !important;
    border-color: #cce4ff !important;
    color: #3699FF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(54, 153, 255, 0.16);
}

#kt_body .pagination .page-item.active .page-link {
    background: #3699FF !important;
    border-color: #3699FF !important;
    color: #ffffff !important;
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 153, 255, 0.35);
    cursor: default;
}

#kt_body .pagination .page-item.disabled .page-link {
    background: #f8fafc !important;
    border-color: #f1f3f8 !important;
    color: #b5b5c3 !important;
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
    transform: none !important;
}

#kt_body .pagination .page-item .page-link span[aria-hidden="true"] {
    font-size: 16px;
    line-height: 1;
}

/* Leave Detail Reason & Note Blocks */
#kt_body .emp-leave-text-panel {
    background: #f8fafc;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: #181C32;
    line-height: 1.65;
}
#kt_body .emp-leave-note-panel {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: #92400e;
    line-height: 1.65;
}

/* Form Control Select & Readonly Enhancements */
#kt_body select.emp-form-control,
#kt_body select.form-control,
#kt_body .emp-profile-card select,
#kt_body .invoice-filter-bar select,
#kt_body .user-mgmt-wrapper select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
    padding-left: 14px !important;
    padding-right: 40px !important;
    cursor: pointer;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 500;
    height: 42px;
    line-height: normal;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#kt_body select.emp-form-control:hover,
#kt_body select.form-control:not(.gst-track-year-select):hover,
#kt_body .emp-profile-card select:hover,
#kt_body .invoice-filter-bar select:hover,
#kt_body .user-mgmt-wrapper:not(.emp-hero-card) select:not(.gst-track-year-select):not(.emp-att-select):hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
}

#kt_body select.emp-form-control:focus,
#kt_body select.form-control:not(.gst-track-year-select):focus,
#kt_body .emp-profile-card select:focus,
#kt_body .invoice-filter-bar select:focus,
#kt_body .user-mgmt-wrapper:not(.emp-hero-card) select:not(.gst-track-year-select):not(.emp-att-select):focus {
    background-color: #ffffff;
    border-color: #3699FF !important;
    box-shadow: 0 0 0 3px rgba(54, 153, 255, 0.15) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%233699FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
    outline: none;
}

#kt_body select.emp-form-control:disabled,
#kt_body select.form-control:not(.gst-track-year-select):disabled,
#kt_body .emp-profile-card select:disabled,
#kt_body .invoice-filter-bar select:disabled,
#kt_body .user-mgmt-wrapper:not(.emp-hero-card) select:not(.gst-track-year-select):not(.emp-att-select):disabled {
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
}

#kt_body .emp-hero-card select,
#kt_body .emp-hero-card select:hover,
#kt_body .emp-hero-card select:focus {
    background-image: none !important;
    background-color: transparent !important;
}

#kt_body .emp-input-icon-wrap select.emp-form-control,
#kt_body .emp-input-icon-wrap select.form-control {
    padding-left: 42px !important;
    padding-right: 40px !important;
}
#kt_body .emp-form-control.pointer-events-none {
    pointer-events: none;
    background: #f1f5f9;
    color: #64748b;
}

@media (max-width: 767.98px) {
    #kt_body .emp-leave-search-box {
        min-width: 100%;
    }
    #kt_body .emp-leave-search-form {
        width: 100%;
    }
}

/* ==========================================================================
   EMPLOYEE WORK FROM HOME (WFH) DESIGN SYSTEM
   ========================================================================== */
#kt_body .emp-wfh-wrapper {
    padding-top: 0 !important;
    padding-bottom: 30px;
}
#kt_body .emp-wfh-wrapper #kt_subheader {
    display: none !important;
}
#kt_body .emp-wfh-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1BC5BD 0%, #3699FF 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 24px rgba(27, 197, 189, 0.35);
    flex-shrink: 0;
}
#kt_body .emp-stat-icon-purple {
    background: rgba(137, 80, 252, 0.12);
    color: #8950FC;
}
#kt_body .emp-badge-purple {
    background: rgba(137, 80, 252, 0.12);
    color: #8950FC;
}
@media (max-width: 575.98px) {
    #kt_body .emp-wfh-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

/* WFH Table & Pills */
#kt_body .emp-wfh-table-wrap {
    border: 1px solid #edf0f5;
    border-radius: 14px;
    overflow-x: auto;
    background: #ffffff;
}
#kt_body .emp-wfh-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    min-width: 820px;
}
#kt_body .emp-wfh-table thead th {
    background: #f8fafc;
    color: #7E8299;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 13px 16px;
    border-bottom: 1px solid #edf0f5;
    white-space: nowrap;
}
#kt_body .emp-wfh-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f5f9;
    font-size: 13px;
    color: #3F4254;
    vertical-align: middle;
}
#kt_body .emp-wfh-table tbody tr:last-child td {
    border-bottom: none;
}
#kt_body .emp-wfh-table tbody tr:hover {
    background: #fafcff;
}

#kt_body .emp-wfh-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f0f7ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    font-size: 11.5px;
    font-weight: 700;
}
#kt_body .emp-wfh-days-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-size: 12px;
    font-weight: 700;
}
#kt_body .emp-wfh-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}
#kt_body .emp-wfh-status-pill .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.emp-wfh-status-approved { background: #d7f5ee; color: #0c8b83; }
.emp-wfh-status-pending { background: #fff4de; color: #b87300; }
.emp-wfh-status-rejected { background: #ffe2e6; color: #d62f44; }
.emp-wfh-status-cancelled { background: #eef1f6; color: #5E6278; }

#kt_body .emp-wfh-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#kt_body a.emp-wfh-action-btn,
#kt_body button.emp-wfh-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
    line-height: 1;
}
#kt_body a.emp-wfh-action-btn:hover,
#kt_body button.emp-wfh-action-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}
#kt_body a.emp-wfh-btn-view,
#kt_body button.emp-wfh-btn-view {
    background: #e1f0ff;
    color: #3699FF;
    border-color: #cbe4ff;
}
#kt_body a.emp-wfh-btn-view:hover,
#kt_body button.emp-wfh-btn-view:hover {
    background: #3699FF;
    color: #ffffff;
}
#kt_body a.emp-wfh-btn-edit,
#kt_body button.emp-wfh-btn-edit {
    background: #e8f8f5;
    color: #1BC5BD;
    border-color: #c5efe6;
}
#kt_body a.emp-wfh-btn-edit:hover,
#kt_body button.emp-wfh-btn-edit:hover {
    background: #1BC5BD;
    color: #ffffff;
}
#kt_body a.emp-wfh-btn-delete,
#kt_body button.emp-wfh-btn-delete {
    background: #ffe2e6;
    color: #F64E60;
    border-color: #fcd0d7;
}
#kt_body a.emp-wfh-btn-delete:hover,
#kt_body button.emp-wfh-btn-delete:hover {
    background: #F64E60;
    color: #ffffff;
}

/* ==========================================================================
   Luxury WFH Dossier View Modal (#wfhDossierModal)
   ========================================================================== */
#kt_body #wfhDossierModal .modal-dialog {
    max-width: 680px;
    margin: 1.75rem auto;
}
#kt_body #wfhDossierModal .modal-content {
    border-radius: 22px !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35) !important;
    background: #ffffff;
}
#kt_body #wfhDossierModal .modal-hero-header {
    background: radial-gradient(circle at 85% 15%, rgba(27, 197, 189, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 10% 85%, rgba(54, 153, 255, 0.2) 0%, transparent 50%),
                linear-gradient(135deg, #090d16 0%, #151c2e 60%, #0f172a 100%) !important;
    padding: 26px 30px 22px !important;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#kt_body #wfhDossierModal .modal-avatar-box {
    position: relative;
    flex-shrink: 0;
}
#kt_body #wfhDossierModal .modal-avatar-frame {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    object-fit: cover;
    display: block;
    background: #1e293b;
}
#kt_body #wfhDossierModal .modal-avatar-fallback {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #1BC5BD 0%, #3699FF 100%);
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
}
#kt_body #wfhDossierModal .modal-hero-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}
#kt_body #wfhDossierModal .modal-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.3px;
    margin-bottom: 0;
    line-height: 1.25;
}
#kt_body #wfhDossierModal .modal-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background: rgba(27, 197, 189, 0.16);
    border: 1px solid rgba(27, 197, 189, 0.4);
    color: #1bc5bd;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
#kt_body #wfhDossierModal .modal-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
#kt_body #wfhDossierModal .modal-header-contact-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
#kt_body #wfhDossierModal .modal-hero-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 600;
}
#kt_body #wfhDossierModal .modal-hero-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
    border: none;
}
#kt_body #wfhDossierModal .modal-hero-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}
#kt_body #wfhDossierModal .wfh-modal-subbar {
    background: #f8fafc;
    padding: 12px 28px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
#kt_body #wfhDossierModal .wfh-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}
@media (max-width: 575.98px) {
    #kt_body #wfhDossierModal .wfh-kpi-grid {
        grid-template-columns: 1fr;
    }
}
#kt_body #wfhDossierModal .wfh-kpi-card {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
}
#kt_body #wfhDossierModal .wfh-kpi-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    transform: translateY(-2px);
}
#kt_body #wfhDossierModal .wfh-kpi-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
#kt_body #wfhDossierModal .wfh-kpi-value {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}
#kt_body #wfhDossierModal .wfh-statement-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}
#kt_body #wfhDossierModal .wfh-statement-card.is-note {
    background: #fbfcfe;
    border-left: 4px solid #1BC5BD;
}
#kt_body #wfhDossierModal .wfh-statement-card.is-reason {
    background: #fdfefe;
    border-left: 4px solid #3699FF;
}
#kt_body #wfhDossierModal .wfh-statement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
#kt_body #wfhDossierModal .wfh-statement-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}
#kt_body #wfhDossierModal .wfh-statement-content {
    font-size: 13.5px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.6;
    white-space: pre-line;
}

/* ==========================================================================
   EMPLOYEE SALARY DETAILS DESIGN SYSTEM
   ========================================================================== */
#kt_body #kt_content.emp-salary-wrapper {
    padding-top: 0 !important;
    padding-bottom: 30px;
}
#kt_body .emp-salary-wrapper #kt_subheader {
    display: none !important;
}
#kt_body .emp-salary-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0bb783 0%, #3699FF 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 24px rgba(11, 183, 131, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}
#kt_body .emp-salary-stat-num {
    font-size: 26px;
    font-weight: 700;
    color: #181C32;
    line-height: 1.15;
    margin-bottom: 4px;
    word-break: break-word;
}
#kt_body .emp-salary-month-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
#kt_body .emp-salary-month-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef5ff;
    color: #187de4;
    border: 1px solid #d5e8ff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#kt_body .emp-salary-row-credited .emp-salary-month-badge {
    background: #e8f8f5;
    color: #0c8b83;
    border-color: #c5efe6;
}
#kt_body .emp-salary-net-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 10px;
    background: #e8f8f5;
    color: #0c8b83;
    border: 1px solid #c5efe6;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
#kt_body .emp-salary-deduct-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fff5f6;
    color: #d62f44;
    border: 1px solid #fcd4da;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
#kt_body a.emp-salary-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 10px;
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
#kt_body a.emp-salary-download-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    text-decoration: none;
}
#kt_body a.emp-salary-download-btn:hover i {
    color: #ffffff !important;
}

#kt_body a.btn-salary-slip-pdf,
.btn-salary-slip-pdf {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
#kt_body a.btn-salary-slip-pdf:hover,
.btn-salary-slip-pdf:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
    text-decoration: none !important;
}
#kt_body a.btn-salary-slip-pdf:hover i,
.btn-salary-slip-pdf:hover i {
    color: #ffffff !important;
}
#kt_body .emp-salary-row-uncredited {
    opacity: 0.72;
}
#kt_body .emp-salary-row-uncredited:hover {
    opacity: 1;
}
@media (max-width: 575.98px) {
    #kt_body .emp-salary-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
    #kt_body .emp-salary-stat-num {
        font-size: 22px;
    }
}

/* ==========================================================================
   EMPLOYEE REIMBURSEMENT DESIGN SYSTEM
   ========================================================================== */
#kt_body #kt_content.emp-reim-wrapper {
    padding-top: 0 !important;
    padding-bottom: 30px;
}
#kt_body .emp-reim-wrapper #kt_subheader {
    display: none !important;
}
#kt_body .emp-reim-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, #8950FC 0%, #3699FF 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 24px rgba(137, 80, 252, 0.34);
    border: 2px solid rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}
#kt_body .emp-reim-amount-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 10px;
    background: #eef5ff;
    color: #187de4;
    border: 1px solid #d5e8ff;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}
#kt_body .emp-reim-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f3f0ff;
    color: #7638f7;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}
#kt_body a.emp-reim-invoice-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 8px;
    background: #f8fafc;
    color: #3F4254;
    border: 1px solid #e2e8f0;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}
#kt_body a.emp-reim-invoice-btn:hover {
    background: #e1f0ff;
    color: #187de4;
    border-color: #cbe4ff;
    transform: translateY(-1px);
    text-decoration: none;
}
#kt_body .emp-reim-file-input {
    padding: 9px 14px 9px 42px;
    height: auto;
    line-height: 1.4;
}
#kt_body .emp-reim-helper-note {
    font-size: 11.5px;
    font-weight: 500;
    color: #7E8299;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
#kt_body .emp-reim-existing-file {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 10px;
    background: #e1f0ff;
    border: 1px solid #cbe4ff;
    color: #187de4;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
}
#kt_body .emp-reim-existing-file:hover {
    background: #3699FF;
    color: #ffffff;
    text-decoration: none;
}
@media (max-width: 575.98px) {
    #kt_body .emp-reim-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

/* ==========================================================================
   Employee Reminders Redesign (feat/newdesign)
   ========================================================================== */
#kt_body .emp-reminder-wrapper #kt_subheader {
    display: none !important;
}

#kt_body .emp-reminder-wrapper {
    padding-top: 24px;
}

#kt_body .emp-reminder-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}

/* Calendar Legend Pills */
#kt_body .emp-reminder-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 12px 16px;
    background: #f8faff;
    border: 1px solid #edf0f7;
    border-radius: 12px;
    margin-bottom: 20px;
}

#kt_body .emp-reminder-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

#kt_body .emp-reminder-legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    display: inline-block;
    flex-shrink: 0;
}

/* Scoped FullCalendar 3.0.0 Modernization */
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px !important;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef1f7;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar .fc-left,
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar .fc-right,
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar .fc-center {
    float: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar .fc-clear {
    display: none;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar h2 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #181c32 !important;
    letter-spacing: -0.02em;
    margin: 0 !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-button {
    background: #f5f7fb !important;
    background-image: none !important;
    border: 1px solid #e4e8f2 !important;
    color: #3f4254 !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    padding: 7px 14px !important;
    height: auto !important;
    line-height: 1.4 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-transform: capitalize;
    transition: all 0.18s ease !important;
    outline: none !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-button-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-button:hover:not(.fc-state-disabled) {
    background: #eef3ff !important;
    border-color: #c7d7fe !important;
    color: #4f46e5 !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-button.fc-state-active {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25) !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-button.fc-state-disabled {
    opacity: 0.48 !important;
    cursor: not-allowed !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-unthemed th,
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-unthemed td,
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-unthemed thead,
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-unthemed tbody,
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-unthemed .fc-divider,
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-unthemed .fc-row {
    border-color: #edf0f7 !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box th.fc-day-header.fc-widget-header {
    background: #f8faff !important;
    color: #64748b !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 6px !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-day-top .fc-day-number {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    padding: 7px 10px !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box td.fc-today {
    background: rgba(79, 70, 229, 0.045) !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box td.fc-day-top.fc-today .fc-day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    margin: 5px 6px 2px;
    padding: 0 7px !important;
    border-radius: 999px;
    background: #4f46e5;
    color: #ffffff !important;
    font-weight: 700;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box a.fc-event,
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-event {
    border: none !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    margin: 2px 4px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14);
    opacity: 0.94;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-event[style*="255, 204, 203"],
#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-event[style*="#ffcccb"] {
    color: #881337 !important;
    border-left: 3px solid #e11d48 !important;
}

#kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-unthemed .fc-popover {
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
    border: 1px solid #e5e9f2;
    overflow: hidden;
}

/* My Reminders Side / List Panel */
#kt_body .emp-reminder-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#kt_body .emp-reminder-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #edf0f7;
    background: #fcfdff;
    transition: all 0.18s ease;
}

#kt_body .emp-reminder-item:hover {
    border-color: #d6dff7;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

#kt_body .emp-reminder-item-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

#kt_body .emp-reminder-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

#kt_body .emp-reminder-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #181c32;
    margin-bottom: 3px;
    word-break: break-word;
}

#kt_body .emp-reminder-item-desc {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#kt_body .emp-reminder-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

#kt_body .emp-reminder-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}

#kt_body .emp-reminder-chip-freq {
    background: #eef2ff;
    color: #4338ca;
    text-transform: capitalize;
}

#kt_body .emp-reminder-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    background: #eef3ff;
    color: #3b5bfd;
    border: 1px solid #d9e4ff;
    text-decoration: none !important;
    transition: all 0.16s ease;
    flex-shrink: 0;
}

#kt_body .emp-reminder-edit-btn:hover {
    background: #3b5bfd;
    border-color: #3b5bfd;
    color: #ffffff;
}

#kt_body .emp-reminder-empty {
    text-align: center;
    padding: 36px 18px;
    border: 1px dashed #dbe2ef;
    border-radius: 14px;
    background: #fafcff;
}

#kt_body .emp-reminder-empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eef2ff;
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

@media (max-width: 767.98px) {
    #kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    #kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar .fc-left,
    #kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar .fc-right,
    #kt_body .emp-reminder-wrapper .emp-reminder-calendar-box .fc-toolbar .fc-center {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    #kt_body .emp-reminder-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }

    #kt_body .emp-reminder-item {
        flex-direction: column;
    }

    #kt_body .emp-reminder-edit-btn {
        align-self: flex-start;
    }
}

#kt_body .emp-reminder-wrapper .emp-input-icon-wrap-textarea .emp-input-icon {
    top: 16px;
    transform: none;
}

#kt_body .emp-reminder-wrapper textarea.emp-form-control {
    height: auto;
    min-height: 112px;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
}

#kt_body .emp-reminder-wrapper .emp-profile-alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

#kt_body .emp-reminder-wrapper .emp-profile-alert-error i {
    color: #dc2626;
}

/* ==========================================================================
   Super Admin Dashboard & Launchpad Enhancements
   ========================================================================== */
#kt_body .admin-launchpad-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 575.98px) {
    #kt_body .admin-launchpad-grid {
        grid-template-columns: 1fr;
    }
}

#kt_body .admin-launchpad-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    color: #181c32;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#kt_body .admin-launchpad-btn:hover {
    background: #ffffff;
    border-color: #3699FF;
    color: #3699FF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(54, 153, 255, 0.12);
}

#kt_body .admin-launchpad-btn-title {
    font-weight: 700;
    font-size: 13px;
    color: #181c32;
    display: block;
    line-height: 1.2;
}

#kt_body .admin-launchpad-btn:hover .admin-launchpad-btn-title {
    color: #3699FF;
}

#kt_body .admin-launchpad-btn-desc {
    font-size: 11px;
    color: #7E8299;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

#kt_body .admin-launchpad-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

#kt_body .admin-launchpad-btn:hover .admin-launchpad-icon {
    transform: scale(1.08);
}

/* Modal and pending invoice table styling */
#kt_body .admin-modal-content {
    border-radius: 18px;
    border: 1px solid #edf0f5;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

#kt_body .admin-modal-header {
    background: #ffffff;
    padding: 20px 26px;
    border-bottom: 1px solid #edf0f5;
}

#kt_body .admin-modal-body {
    padding: 24px 26px;
    background: #fbfcfe;
}

#kt_body .admin-modal-footer {
    background: #ffffff;
    padding: 16px 26px;
    border-top: 1px solid #edf0f5;
}

#kt_body .sort-link,
#kt_body .ajax-sort-link {
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: inherit;
    transition: color 0.15s ease;
}

#kt_body .sort-link:hover,
#kt_body .ajax-sort-link:hover {
    color: #3699FF !important;
}

/* ==========================================================================
   User Management Module Styling
   ========================================================================== */
#kt_body .user-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}

@media (max-width: 575.98px) {
    #kt_body .user-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

#kt_body .user-cell-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

#kt_body .user-mgmt-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    flex-shrink: 0;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

#kt_body .user-cell-info {
    display: flex;
    flex-direction: column;
}

#kt_body .user-cell-name {
    font-weight: 700;
    color: #181C32;
    font-size: 13.5px;
    line-height: 1.3;
}

#kt_body .user-cell-sub {
    font-size: 11.5px;
    color: #a1a5b7;
    margin-top: 2px;
}

#kt_body .user-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

#kt_body .user-role-badge i {
    font-size: 11px;
}

#kt_body .user-role-badge-super_admin {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

#kt_body .user-role-badge-admin {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

#kt_body .user-role-badge-hr {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

#kt_body .user-role-badge-ca {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

#kt_body .user-role-badge-trainee {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

#kt_body .user-role-badge-default {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

#kt_body .emp-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #a1a5b7;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    z-index: 3;
    transition: color 0.15s ease;
}

#kt_body .emp-password-toggle:hover {
    color: #3699FF;
}

#kt_body .emp-form-hint {
    font-size: 12px;
    color: #7E8299;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

#kt_body .user-avatar-gradient-0 { background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); }
#kt_body .user-avatar-gradient-1 { background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%); }
#kt_body .user-avatar-gradient-2 { background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%); }
#kt_body .user-avatar-gradient-3 { background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%); }
#kt_body .user-avatar-gradient-4 { background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%); }

/* Premium User Form Submit / Cancel Buttons */
#kt_body .btn-user-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3699FF 0%, #187DE4 50%, #0062cc 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(54, 153, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#kt_body .btn-user-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    transition: left 0.6s ease;
}

#kt_body .btn-user-submit:hover {
    background: linear-gradient(135deg, #187DE4 0%, #0062cc 50%, #004fb0 100%);
    box-shadow: 0 10px 28px rgba(54, 153, 255, 0.55);
    transform: translateY(-2px);
    color: #ffffff !important;
}

#kt_body .btn-user-submit:hover::before {
    left: 100%;
}

#kt_body .btn-user-submit:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(54, 153, 255, 0.3);
}

#kt_body .btn-user-submit i {
    font-size: 15px;
    color: #ffffff !important;
    transition: transform 0.2s ease;
}

#kt_body .btn-user-submit:hover i {
    transform: scale(1.15);
}

#kt_body .btn-user-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background: #f1f5f9;
    color: #475569 !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

#kt_body .btn-user-cancel:hover {
    background: #e2e8f0;
    color: #1e293b !important;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

#kt_body .btn-user-cancel i {
    font-size: 13px;
    color: #64748b !important;
}

/* ==========================================================================
   Role Management Module Styling
   ========================================================================== */
#kt_body .role-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}

@media (max-width: 575.98px) {
    #kt_body .role-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

/* Role List Table Elements */
#kt_body .role-cell-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

#kt_body .role-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#kt_body .role-badge-superadmin {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #ffffff;
}

#kt_body .role-badge-admin {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
}

#kt_body .role-badge-hr {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
}

#kt_body .role-badge-ca {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: #ffffff;
}

#kt_body .role-badge-trainee {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #ffffff;
}

#kt_body .role-badge-employee {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    color: #ffffff;
}

#kt_body .role-badge-default {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    color: #ffffff;
}

#kt_body .role-cell-info {
    display: flex;
    flex-direction: column;
}

#kt_body .role-cell-title {
    font-weight: 700;
    color: #181C32;
    font-size: 14px;
    line-height: 1.3;
}

#kt_body .role-cell-sub {
    font-size: 11.5px;
    color: #a1a5b7;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#kt_body .role-guard-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

#kt_body .role-perm-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #e0e7ff;
}

#kt_body .role-perm-count-badge i {
    font-size: 11px;
    color: #6366f1;
}

/* Permission Matrix Quick Toolbar */
#kt_body .role-matrix-toolbar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf0f5;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 16px 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    position: sticky;
    top: 75px;
    z-index: 20;
    backdrop-filter: blur(10px);
}

#kt_body .role-matrix-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    color: #334155;
    font-weight: 600;
}

#kt_body .role-matrix-stat-pill strong {
    color: #2563eb;
    font-weight: 700;
}

#kt_body .role-matrix-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#kt_body .btn-role-quick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

#kt_body .btn-role-select-all {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

#kt_body .btn-role-select-all:hover {
    background: #0284c7;
    color: #ffffff !important;
}

#kt_body .btn-role-deselect-all {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

#kt_body .btn-role-deselect-all:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

#kt_body .role-matrix-search-box {
    position: relative;
    min-width: 240px;
}

#kt_body .role-matrix-search-input {
    width: 100%;
    padding: 8px 14px 8px 36px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12.5px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

#kt_body .role-matrix-search-input:focus {
    background: #ffffff;
    border-color: #3699FF;
    box-shadow: 0 0 0 3px rgba(54, 153, 255, 0.12);
}

#kt_body .role-matrix-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #94a3b8;
    pointer-events: none;
}

/* Permission Module Card */
#kt_body .role-module-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #edf0f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.25s ease;
}

#kt_body .role-module-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    border-color: #e2e8f0;
}

#kt_body .role-module-card-header {
    padding: 16px 22px;
    background: #fcfdfe;
    border-bottom: 1px solid #edf0f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

#kt_body .role-module-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

#kt_body .role-module-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

#kt_body .role-module-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

#kt_body .role-module-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
}

#kt_body .role-module-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

/* Select All toggle label in header */
#kt_body .role-module-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    user-select: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    margin-bottom: 0;
}

#kt_body .role-module-toggle:hover {
    background: #e2e8f0;
    color: #0f172a;
}

#kt_body .role-module-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3699FF;
    cursor: pointer;
    margin: 0;
}

/* Sub-group Section */
#kt_body .role-subgroups-wrap {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#kt_body .role-subgroup {
    background: #f8fafc;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    padding: 16px;
    transition: all 0.2s ease;
}

#kt_body .role-subgroup:hover {
    border-color: #e2e8f0;
    background: #fbfcfe;
}

#kt_body .role-subgroup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf0f5;
}

#kt_body .role-subgroup-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

#kt_body .role-subgroup-count {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2px 7px;
    border-radius: 6px;
}

#kt_body .role-subgroup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

@media (max-width: 575.98px) {
    #kt_body .role-subgroup-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Permission Chip / Card */
#kt_body .role-perm-chip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-bottom: 0;
}

#kt_body .role-perm-chip:hover {
    border-color: #93c5fd;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

#kt_body .role-perm-chip.is-checked {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.12);
}

#kt_body .role-perm-chip input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #2563eb;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

#kt_body .role-perm-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

#kt_body .role-perm-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

#kt_body .role-perm-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    word-break: break-word;
}

#kt_body .role-perm-chip.is-checked .role-perm-title {
    color: #1d4ed8;
    font-weight: 700;
}

#kt_body .role-perm-slug {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 3px;
    word-break: break-all;
}

#kt_body .role-perm-chip.is-checked .role-perm-slug {
    color: #60a5fa;
}

/* Action pills */
#kt_body .role-action-pill {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

#kt_body .role-action-create { background: #dcfce7; color: #15803d; }
#kt_body .role-action-edit   { background: #e0f2fe; color: #0369a1; }
#kt_body .role-action-delete { background: #fee2e2; color: #b91c1c; }
#kt_body .role-action-view   { background: #ede9fe; color: #6d28d9; }
#kt_body .role-action-export { background: #fef3c7; color: #b45309; }
#kt_body .role-action-other  { background: #f1f5f9; color: #475569; }

/* Permission Catalog View-Only Chips */
#kt_body .perm-view-chip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1.5px solid #edf0f5;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

#kt_body .perm-view-chip:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#kt_body .perm-view-chip .perm-chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}

#kt_body .perm-view-chip .perm-icon-create { background: #dcfce7; color: #16a34a; }
#kt_body .perm-view-chip .perm-icon-edit   { background: #e0f2fe; color: #0284c7; }
#kt_body .perm-view-chip .perm-icon-delete { background: #fee2e2; color: #dc2626; }
#kt_body .perm-view-chip .perm-icon-view   { background: #ede9fe; color: #7c3aed; }
#kt_body .perm-view-chip .perm-icon-export { background: #fef3c7; color: #d97706; }
#kt_body .perm-view-chip .perm-icon-other  { background: #f1f5f9; color: #64748b; }

#kt_body .perm-convention-box {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 16px;
}

#kt_body .perm-convention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

#kt_body .perm-convention-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #475569;
}

#kt_body .perm-convention-item code {
    padding: 2px 6px;
    border-radius: 5px;
    background: #e2e8f0;
    color: #1e293b;
    font-weight: 700;
    font-size: 11px;
}

/* ==========================================================================
   Client Management Module Styling
   ========================================================================== */
#kt_body .client-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}

@media (max-width: 575.98px) {
    #kt_body .client-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

#kt_body .client-cell-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

#kt_body .client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    flex-shrink: 0;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

#kt_body .client-cell-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#kt_body .client-cell-name {
    font-weight: 700;
    color: #181C32;
    font-size: 13.5px;
    line-height: 1.3;
}

#kt_body .client-cell-sub {
    font-size: 11.5px;
    color: #a1a5b7;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

#kt_body .client-gstin-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #e0e7ff;
}

#kt_body .client-gstin-empty {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 600;
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px dashed #cbd5e1;
}

#kt_body .client-contact-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12.5px;
}

#kt_body .client-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-weight: 500;
    transition: color 0.15s ease;
}

#kt_body .client-contact-link:hover {
    color: #3699FF;
}

#kt_body .client-web-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #2563eb;
    transition: all 0.15s ease;
}

#kt_body .client-web-link:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

#kt_body .client-note-pill {
    display: inline-block;
    max-width: 220px;
    font-size: 12px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   Category Management Module Styling
   ========================================================================== */
#kt_body .cat-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}

@media (max-width: 575.98px) {
    #kt_body .cat-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

#kt_body .cat-cell-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

#kt_body .cat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    flex-shrink: 0;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

#kt_body .cat-sub-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #e0e7ff;
    cursor: pointer;
    transition: all 0.2s ease;
}

#kt_body .cat-sub-view-btn:hover {
    background: #4338ca;
    color: #ffffff !important;
    border-color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.2);
}

#kt_body .cat-sub-view-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

#kt_body .cat-sub-view-btn:hover i {
    color: #ffffff !important;
}

#kt_body .cat-sub-builder {
    background: #f8fafc;
    border: 1.5px solid #edf0f5;
    border-radius: 14px;
    padding: 20px;
}

#kt_body .cat-sub-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

#kt_body .cat-sub-index {
    width: 32px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    flex-shrink: 0;
}

#kt_body .cat-sub-input-wrap {
    flex: 1;
    position: relative;
}

#kt_body .cat-sub-btn-remove {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
    cursor: pointer;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

#kt_body .cat-sub-btn-remove:hover {
    background: #ef4444;
    color: #ffffff !important;
    border-color: #ef4444;
    transform: scale(1.05);
}

#kt_body .cat-sub-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1.5px dashed #86efac;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

#kt_body .cat-sub-btn-add:hover {
    background: #dcfce7;
    border-color: #22c55e;
    color: #15803d;
    transform: translateY(-1px);
}

/* ==========================================================================
   Invoice Management Module Styling
   ========================================================================== */
#kt_body .invoice-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}

@media (max-width: 575.98px) {
    #kt_body .invoice-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

#kt_body .invoice-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

#kt_body .invoice-status-done {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

#kt_body .invoice-status-pending {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

#kt_body .invoice-status-in-progress,
#kt_body .invoice-status-inprogress {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

#kt_body .invoice-status-discard {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

#kt_body .invoice-curr-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#kt_body .invoice-curr-inr { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
#kt_body .invoice-curr-usd { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
#kt_body .invoice-curr-aed { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
#kt_body .invoice-curr-aud { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
#kt_body .invoice-curr-cad { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }

#kt_body .invoice-filter-bar {
    background: #f8fafc;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

#kt_body .invoice-received-link {
    font-weight: 700;
    color: #059669;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

#kt_body .invoice-received-link:hover {
    color: #047857;
    text-decoration: underline;
}

#kt_body .invoice-pending-badge {
    font-weight: 700;
    color: #dc2626;
}

#kt_body .invoice-pending-zero {
    font-weight: 600;
    color: #94a3b8;
}

#kt_body .invoice-no-badge {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 700;
    color: #1e293b;
    font-size: 12.5px;
}

#kt_body .invoice-item-table {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

#kt_body .invoice-item-table thead th {
    background: #1e293b;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 11px 10px;
    border: none;
    vertical-align: middle;
}

#kt_body .invoice-item-table tbody td {
    padding: 8px 8px;
    vertical-align: middle;
    border-color: #f1f5f9;
}

#kt_body .invoice-item-table tbody tr:hover {
    background: #f8fafc;
}

#kt_body .invoice-item-table tfoot td {
    padding: 10px 8px;
    vertical-align: middle;
    border-top: 2px solid #e2e8f0;
}

/* ==========================================================================
   PREMIUM INVOICE FORM DESIGN SYSTEM
   ========================================================================== */
#kt_body .inv-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf0f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.25s ease;
}

#kt_body .inv-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

#kt_body .inv-card-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

#kt_body .inv-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

#kt_body .inv-card-icon.inv-icon-blue {
    background: #e0f2fe;
    color: #0284c7;
}

#kt_body .inv-card-icon.inv-icon-indigo {
    background: #ede9fe;
    color: #6366f1;
}

#kt_body .inv-card-icon.inv-icon-green {
    background: #dcfce7;
    color: #16a34a;
}

#kt_body .inv-card-icon.inv-icon-purple {
    background: #f3e8ff;
    color: #9333ea;
}

#kt_body .inv-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

#kt_body .inv-card-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 0;
}

#kt_body .inv-card-body {
    padding: 24px;
}

/* Client Detail Cards */
#kt_body .inv-client-box {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 14px;
    padding: 20px;
    min-height: 220px;
    transition: all 0.2s ease;
}

#kt_body .inv-client-box.has-client {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border-style: solid;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

#kt_body .inv-gstin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 4px 10px;
    border-radius: 8px;
}

/* Form Labels & Inputs */
#kt_body .inv-field-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

#kt_body .inv-field-label .text-danger {
    font-size: 14px;
}

#kt_body .inv-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

#kt_body .inv-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

#kt_body .inv-input-with-icon {
    padding-left: 40px !important;
}

#kt_body .inv-form-control {
    width: 100%;
    height: 42px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #1e293b;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
}

#kt_body .inv-form-control:focus {
    border-color: #3699FF;
    box-shadow: 0 0 0 3px rgba(54, 153, 255, 0.15);
}

#kt_body textarea.inv-form-control {
    height: auto;
    padding: 10px 14px;
    line-height: 1.5;
}

/* Products Table in Form */
#kt_body .inv-table-wrap {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

#kt_body .inv-table-wrap table {
    margin-bottom: 0;
}

#kt_body .inv-table-wrap thead th {
    background: #0f172a;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 12px;
    border: none;
    vertical-align: middle;
}

#kt_body .inv-table-wrap tbody td {
    padding: 12px 10px;
    vertical-align: middle;
    border-color: #f1f5f9;
    background: #ffffff;
}

#kt_body .inv-table-wrap tbody tr:hover td {
    background: #f8fafc;
}

#kt_body .inv-table-wrap tfoot td {
    padding: 14px 12px;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    vertical-align: middle;
}

#kt_body .inv-textarea-item {
    font-size: 13px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    resize: vertical;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1e293b;
    outline: none;
    width: 100%;
}

#kt_body .inv-textarea-item:focus {
    border-color: #3699FF;
    box-shadow: 0 0 0 3px rgba(54, 153, 255, 0.12);
}

#kt_body .inv-num-input {
    height: 38px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1e293b;
    outline: none;
    width: 100%;
}

#kt_body .inv-num-input:focus {
    border-color: #3699FF;
    box-shadow: 0 0 0 3px rgba(54, 153, 255, 0.12);
}

/* Right-aligned Invoice Grand Total Summary Card */
#kt_body .inv-summary-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    max-width: 440px;
    margin-left: auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

#kt_body .inv-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13.5px;
    color: #475569;
}

#kt_body .inv-summary-row.total-row {
    border-top: 2px dashed #cbd5e1;
    margin-top: 10px;
    padding-top: 14px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

/* Advance Invoice Toggle Card */
#kt_body .inv-switch-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

#kt_body .inv-switch-card:hover {
    border-color: #cbd5e1;
}

/* File Upload Dropzone Look */
#kt_body .inv-file-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

#kt_body .inv-file-dropzone:hover {
    border-color: #3699FF;
    background: #f0f7ff;
}

#kt_body .inv-file-dropzone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

/* ==========================================================================
   PAYMENT REMINDER & AGING TRACKER DESIGN SYSTEM
   ========================================================================== */
#kt_body .reminder-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
    flex-shrink: 0;
}

#kt_body .aging-badge-overdue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    letter-spacing: 0.2px;
}

#kt_body .aging-badge-warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
    letter-spacing: 0.2px;
}

#kt_body .aging-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
#kt_body .aging-dot-red {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    animation: agingPulse 2s infinite;
}
#kt_body .aging-dot-amber {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

@keyframes agingPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

#kt_body .reminder-btn-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: #ecfdf5;
    color: #047857 !important;
    border: 1px solid #a7f3d0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    margin-right: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
#kt_body .reminder-btn-send:hover {
    background: #059669;
    color: #ffffff !important;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}
#kt_body .reminder-btn-send i {
    font-size: 11px;
    color: inherit !important;
    margin-right: 5px;
}

#kt_body .reminder-btn-test {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: #eff6ff;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
#kt_body .reminder-btn-test:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
#kt_body .reminder-btn-test i {
    font-size: 11px;
    color: inherit !important;
    margin-right: 5px;
}

#kt_body .emp-action-btn-secondary,
#kt_body a.emp-action-btn-secondary,
#kt_body button.emp-action-btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-weight: 600;
}
#kt_body .emp-action-btn-secondary:hover,
#kt_body a.emp-action-btn-secondary:hover,
#kt_body button.emp-action-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
    transform: translateY(-2px);
}
    color: #ffffff !important;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

#kt_body .email-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: #f8fafc;
    color: #334155;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 500;
    margin: 2px 2px 2px 0;
    border: 1px solid #e2e8f0;
}
#kt_body .email-chip i {
    color: #64748b;
    font-size: 10px;
}

#kt_body .dispatch-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
#kt_body .dispatch-type-manual {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}
#kt_body .dispatch-type-auto {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

#kt_body .received-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none !important;
}
#kt_body .received-pill-btn:hover {
    background: #047857;
    color: #ffffff !important;
    border-color: #047857;
}

#kt_body .modal-luxury-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#kt_body .modal-luxury-header .modal-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
#kt_body .modal-luxury-header .close {
    color: #ffffff;
    opacity: 0.8;
    text-shadow: none;
    transition: opacity 0.2s ease;
}
#kt_body .modal-luxury-header .close:hover {
    opacity: 1;
}

/* ==========================================================================
   EXPENSE MANAGEMENT DESIGN SYSTEM
   ========================================================================== */
#kt_body .expense-mgmt-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.28);
    flex-shrink: 0;
}

#kt_body .expense-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
#kt_body .expense-status-paid {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
#kt_body .expense-status-pending {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
#kt_body .expense-status-in-progress,
#kt_body .expense-status-inprogress {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

#kt_body .expense-branch-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}
#kt_body .expense-branch-mumbai {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}
#kt_body .expense-branch-navsari {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}

#kt_body .expense-reimb-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fef3c7;
    color: #b45309;
    font-size: 10px;
    font-weight: 800;
    border: 1px solid #fde68a;
    margin-left: 4px;
    vertical-align: middle;
}

#kt_body .expense-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
#kt_body .expense-view-btn:hover {
    background: #3b82f6;
    color: #ffffff !important;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}

#kt_body .expense-action-voucher,
#kt_body .expense-action-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    margin-right: 6px;
}
#kt_body .expense-action-voucher:hover,
#kt_body .expense-action-view:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
#kt_body .expense-action-voucher i,
#kt_body .expense-action-view i {
    font-size: 14px !important;
    color: #059669;
    transition: color 0.2s ease;
}
#kt_body .expense-action-voucher:hover i,
#kt_body .expense-action-view:hover i {
    color: #ffffff !important;
}

#kt_body .expense-action-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    margin-right: 6px;
}
#kt_body .expense-action-edit:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
#kt_body .expense-action-edit i {
    font-size: 14px !important;
    color: #2563eb;
    transition: color 0.2s ease;
}
#kt_body .expense-action-edit:hover i {
    color: #ffffff !important;
}

#kt_body .expense-action-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}
#kt_body .expense-action-delete:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}
#kt_body .expense-action-delete i {
    font-size: 14px !important;
    color: #dc2626;
    transition: color 0.2s ease;
}
#kt_body .expense-action-delete:hover i {
    color: #ffffff !important;
}

/* ==========================================================================
   REIMBURSEMENT MANAGEMENT DESIGN SYSTEM
   ========================================================================== */
#kt_body .reimb-mgmt-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
    flex-shrink: 0;
}

#kt_body .reimb-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
#kt_body .reimb-status-paid {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
#kt_body .reimb-status-pending {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

#kt_body .reimb-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
#kt_body .reimb-view-btn:hover {
    background: #0d9488;
    color: #ffffff !important;
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

#kt_body .reimb-action-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    transition: all 0.2s ease;
    text-decoration: none !important;
    margin-right: 6px;
}
#kt_body .reimb-action-edit:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

#kt_body .reimb-action-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
#kt_body .reimb-action-view:hover {
    background: #16a34a;
    color: #ffffff !important;
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

#kt_body .reimb-action-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
#kt_body .reimb-action-delete:hover {
    background: #dc2626;
    color: #ffffff !important;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

/* ==========================================================================
   VOUCHER MANAGEMENT DESIGN SYSTEM
   ========================================================================== */
#kt_body .voucher-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}
@media (max-width: 991.98px) {
    #kt_body .voucher-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

#kt_body .voucher-type-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.2s ease;
}
#kt_body .voucher-type-pill i {
    font-size: 12px;
    margin-right: 6px !important;
}
#kt_body .voucher-type-bank {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}
#kt_body .voucher-type-bank i {
    color: #1d4ed8 !important;
}
#kt_body .voucher-type-cash {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}
#kt_body .voucher-type-cash i {
    color: #047857 !important;
}
#kt_body .voucher-type-cheque {
    background: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}
#kt_body .voucher-type-cheque i {
    color: #b45309 !important;
}

#kt_body .payment-type-selector-pill {
    cursor: pointer;
    opacity: 0.65;
    border-width: 1.5px !important;
    user-select: none;
}
#kt_body .payment-type-selector-pill:hover,
#kt_body .payment-type-selector-pill.active {
    opacity: 1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}
#kt_body .payment-type-selector-pill.active {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #3b82f6 !important;
}

#kt_body .emp-stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #181C32;
    line-height: 1.1;
    margin-bottom: 4px;
}
#kt_body .emp-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #7E8299;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0;
}

#kt_body .voucher-ref-pill {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    color: #4338ca;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

#kt_body .voucher-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eff6ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
#kt_body .voucher-view-btn:hover {
    background: #4f46e5;
    color: #ffffff !important;
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.28);
}

#kt_body .voucher-action-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    transition: all 0.2s ease;
    text-decoration: none !important;
    margin-right: 6px !important;
}
#kt_body .voucher-action-edit:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

#kt_body .voucher-action-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
#kt_body .voucher-action-delete:hover {
    background: #dc2626;
    color: #ffffff !important;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

#kt_body .voucher-process-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    transition: all 0.2s ease;
    cursor: pointer;
}
#kt_body .voucher-process-btn:hover {
    background: #059669;
    color: #ffffff !important;
    border-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

#kt_body .voucher-item-chip {
    display: inline-block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 3px;
    cursor: pointer;
}
#kt_body .voucher-item-chip:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Voucher Narration System */
#kt_body .voucher-narration-wrap {
    position: relative;
    border-radius: 12px;
}
#kt_body .voucher-narration-textarea {
    width: 100%;
    min-height: 130px;
    padding: 14px 18px !important;
    font-size: 13.5px;
    line-height: 1.6;
    color: #1e293b;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-left: 4px solid #6366f1;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    resize: vertical;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
#kt_body .voucher-narration-textarea:focus {
    background: #ffffff;
    border-color: #6366f1;
    border-left-color: #4338ca;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    outline: none;
}
#kt_body .voucher-template-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #4f46e5;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
#kt_body .voucher-template-chip:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    transform: translateY(-1px);
}

/* Voucher Itemized Line Items Table */
#kt_body .voucher-item-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
#kt_body .voucher-item-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}
#kt_body .voucher-item-table tbody td {
    padding: 10px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}
#kt_body .voucher-item-table tbody tr:hover td {
    background: #fbfcfe;
}
#kt_body .voucher-item-desc-input {
    width: 100%;
    height: 40px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
}
#kt_body .voucher-item-desc-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    outline: none;
}
#kt_body .voucher-item-amt-input {
    width: 100%;
    height: 40px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
}
#kt_body .voucher-item-amt-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
    outline: none;
}
#kt_body .voucher-grand-total-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 14px;
}
#kt_body .voucher-grand-total-val {
    font-size: 20px;
    font-weight: 800;
    color: #059669;
    letter-spacing: -0.3px;
}

/* ==========================================================================
   FINANCIAL YEAR TARGET MANAGEMENT DESIGN SYSTEM
   ========================================================================== */
#kt_body .ft-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}
@media (max-width: 991.98px) {
    #kt_body .ft-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

#kt_body .ft-year-pill {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 13px;
    font-weight: 700;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

#kt_body .ft-current-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#kt_body .ft-amount-target {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

#kt_body .ft-amount-profit {
    font-size: 15px;
    font-weight: 700;
    color: #059669;
    font-variant-numeric: tabular-nums;
}

#kt_body .ft-profit-margin-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

#kt_body .ft-action-btn-report {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    transition: all 0.2s ease;
    text-decoration: none !important;
    margin-right: 6px !important;
}
#kt_body .ft-action-btn-report:hover {
    background: #16a34a;
    color: #ffffff !important;
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.28);
}

#kt_body .ft-preview-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px dashed #cbd5e1;
    border-radius: 14px;
    padding: 22px;
    transition: all 0.3s ease;
}
#kt_body .ft-preview-val {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}
#kt_body .ft-preview-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

#kt_body .ft-progress-wrap {
    background: #e2e8f0;
    height: 8px;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 10px;
}
#kt_body .ft-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 6px;
    transition: width 0.4s ease;
}

/* ==========================================================================
   EVENT MANAGEMENT DESIGN SYSTEM
   ========================================================================== */
#kt_body .event-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}
@media (max-width: 991.98px) {
    #kt_body .event-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

/* Event Tabs Switcher */
#kt_body .event-tabs-nav {
    display: inline-flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
    gap: 4px;
}
#kt_body .event-tabs-nav .nav-link {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    padding: 8px 18px;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#kt_body .event-tabs-nav .nav-link:hover {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.6);
}
#kt_body .event-tabs-nav .nav-link.active {
    background: #ffffff;
    color: #3b82f6;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* Scoped FullCalendar 3.0.0 Modernization for Events */
#kt_body .emp-event-calendar-box .fc-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px !important;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef1f7;
}

#kt_body .emp-event-calendar-box .fc-toolbar .fc-left,
#kt_body .emp-event-calendar-box .fc-toolbar .fc-right,
#kt_body .emp-event-calendar-box .fc-toolbar .fc-center {
    float: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

#kt_body .emp-event-calendar-box .fc-toolbar .fc-clear {
    display: none;
}

#kt_body .emp-event-calendar-box .fc-toolbar h2 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #181c32 !important;
    letter-spacing: -0.02em;
    margin: 0 !important;
}

#kt_body .emp-event-calendar-box .fc-button {
    background: #f5f7fb !important;
    background-image: none !important;
    border: 1px solid #e4e8f2 !important;
    color: #3f4254 !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    padding: 7px 14px !important;
    height: auto !important;
    line-height: 1.4 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-transform: capitalize;
    transition: all 0.18s ease !important;
    outline: none !important;
}

#kt_body .emp-event-calendar-box .fc-button-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#kt_body .emp-event-calendar-box .fc-button:hover:not(.fc-state-disabled) {
    background: #eef3ff !important;
    border-color: #c7d7fe !important;
    color: #3b82f6 !important;
}

#kt_body .emp-event-calendar-box .fc-button.fc-state-active {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.28) !important;
}

#kt_body .emp-event-calendar-box .fc-button.fc-state-disabled {
    opacity: 0.48 !important;
    cursor: not-allowed !important;
}

#kt_body .emp-event-calendar-box .fc-unthemed th,
#kt_body .emp-event-calendar-box .fc-unthemed td,
#kt_body .emp-event-calendar-box .fc-unthemed thead,
#kt_body .emp-event-calendar-box .fc-unthemed tbody,
#kt_body .emp-event-calendar-box .fc-unthemed .fc-divider,
#kt_body .emp-event-calendar-box .fc-unthemed .fc-row {
    border-color: #edf0f7 !important;
}

#kt_body .emp-event-calendar-box th.fc-day-header.fc-widget-header {
    background: #f8faff !important;
    color: #64748b !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 6px !important;
}

#kt_body .emp-event-calendar-box .fc-day-top .fc-day-number {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    padding: 7px 10px !important;
}

#kt_body .emp-event-calendar-box td.fc-today {
    background: rgba(59, 130, 246, 0.045) !important;
}

#kt_body .emp-event-calendar-box td.fc-day-top.fc-today .fc-day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    margin: 5px 6px 2px;
    padding: 0 7px !important;
    border-radius: 999px;
    background: #3b82f6;
    color: #ffffff !important;
    font-weight: 700;
}

#kt_body .emp-event-calendar-box a.fc-event,
#kt_body .emp-event-calendar-box .fc-event {
    border: none !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    margin: 2px 4px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    cursor: pointer;
}

#kt_body .emp-event-calendar-box .fc-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
    opacity: 0.94;
}

#kt_body .emp-event-calendar-box .fc-unthemed .fc-popover {
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
    border: 1px solid #e5e9f2;
    overflow: hidden;
}

/* Event Legend Bar */
#kt_body .event-legend-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 18px;
}
#kt_body .event-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}
#kt_body .event-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Event Feed Side Cards */
#kt_body .event-feed-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 16px;
    margin-bottom: 12px;
    border-left: 4px solid #FFA500;
    transition: all 0.2s ease;
    position: relative;
}
#kt_body .event-feed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}
#kt_body .event-feed-card.status-in-progress {
    border-left-color: #10b981;
}
#kt_body .event-feed-card.status-completed {
    border-left-color: #3b82f6;
}
#kt_body .event-feed-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
}
#kt_body .event-feed-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}
#kt_body .event-feed-title a:hover {
    color: #3b82f6;
}
#kt_body .event-feed-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#kt_body .event-feed-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #64748b;
}
#kt_body .event-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
}
#kt_body .event-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}
#kt_body .event-status-upcoming {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}
#kt_body .event-status-in-progress {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
#kt_body .event-status-completed {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

/* Event Live Preview Card (in Form) */
#kt_body .event-preview-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px dashed #cbd5e1;
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
}
#kt_body .event-preview-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}
#kt_body .event-current-doc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* ==========================================================================
   CORPORATE REMINDER MANAGEMENT DESIGN SYSTEM
   ========================================================================== */
#kt_body .reminder-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}
@media (max-width: 991.98px) {
    #kt_body .reminder-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

/* Reminder Feed Cards */
#kt_body .reminder-feed-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 16px;
    margin-bottom: 12px;
    border-left: 4px solid #FFA500;
    transition: all 0.2s ease;
    position: relative;
}
#kt_body .reminder-feed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}
#kt_body .reminder-feed-card.status-due-today {
    border-left-color: #10b981;
}
#kt_body .reminder-feed-card.status-past {
    border-left-color: #009ef7;
}
#kt_body .reminder-feed-card.status-inactive {
    border-left-color: #94a3b8;
    opacity: 0.78;
}
#kt_body .reminder-feed-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
}
#kt_body .reminder-feed-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}
#kt_body .reminder-feed-title a:hover {
    color: #4f46e5;
}
#kt_body .reminder-feed-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#kt_body .reminder-feed-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #64748b;
}

/* Frequency Badges */
#kt_body .reminder-chip-freq {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}
#kt_body .reminder-chip-freq-daily {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}
#kt_body .reminder-chip-freq-weekly {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}
#kt_body .reminder-chip-freq-monthly {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}
#kt_body .reminder-chip-freq-yearly {
    background: #fdf2f8;
    color: #be185d;
    border-color: #fbcfe8;
}

/* Live Reminder Preview Card */
#kt_body .reminder-preview-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px dashed #cbd5e1;
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
}
#kt_body .reminder-preview-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

/* ==========================================================================
   TRAINEE MANAGEMENT DESIGN SYSTEM
   ========================================================================== */
#kt_body .trainee-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}
@media (max-width: 991.98px) {
    #kt_body .trainee-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

/* Trainee Profile Avatar */
#kt_body .trainee-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* Trainee Document Pill Chips in Table */
#kt_body .trainee-doc-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.18s ease;
    margin: 2px 2px;
}
#kt_body .trainee-doc-chip:hover {
    background: #e2e8f0;
    color: #0f172a;
    text-decoration: none;
    transform: translateY(-1px);
}
#kt_body .trainee-doc-chip.has-file {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}
#kt_body .trainee-doc-chip.has-file:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Document Upload Card */
#kt_body .trainee-upload-card {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 14px;
    padding: 16px;
    transition: all 0.22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#kt_body .trainee-upload-card:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}
#kt_body .trainee-upload-card.has-preview {
    border-style: solid;
    border-color: #e2e8f0;
    background: #ffffff;
}
#kt_body .trainee-thumb-preview {
    width: 100%;
    height: 130px;
    border-radius: 10px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #cbd5e1;
    margin-bottom: 12px;
}
#kt_body .trainee-thumb-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#kt_body .trainee-thumb-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
}
#kt_body .trainee-thumb-placeholder i {
    font-size: 32px;
    margin-bottom: 6px;
    color: #cbd5e1;
}

/* Detail Modal Styles */
#kt_body .trainee-detail-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 3px;
}
#kt_body .trainee-detail-value {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}
#kt_body .trainee-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}
#kt_body .trainee-info-box:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Enhanced View Action Button in Actions Column */
#kt_body .emp-leave-actions .btn-view-trainee,
#kt_body .emp-leave-actions a.btn-view-trainee,
#kt_body .emp-leave-actions button.btn-view-trainee,
#kt_body a.emp-leave-btn-view,
#kt_body button.emp-leave-btn-view {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    background: #e0f2fe !important;
    color: #0284c7 !important;
    border: 1px solid #bae6fd !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    outline: none !important;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.12) !important;
    line-height: 1 !important;
}
#kt_body .emp-leave-actions .btn-view-trainee:hover,
#kt_body .emp-leave-actions a.btn-view-trainee:hover,
#kt_body .emp-leave-actions button.btn-view-trainee:hover,
#kt_body a.emp-leave-btn-view:hover,
#kt_body button.emp-leave-btn-view:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 14px rgba(2, 132, 199, 0.35) !important;
    text-decoration: none !important;
}
#kt_body .emp-leave-actions .btn-view-trainee i,
#kt_body a.emp-leave-btn-view i,
#kt_body button.emp-leave-btn-view i {
    color: inherit !important;
    font-size: 13px !important;
    margin: 0 !important;
}

/* Trainee Profile Name Link */
#kt_body .btn-open-trainee-modal {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-block;
    cursor: pointer;
    line-height: 1.35;
}
#kt_body .btn-open-trainee-modal:hover {
    color: #3699FF;
    text-decoration: none;
}

/* ==========================================================================
   TRAINEE & EMPLOYEE LUXURY EXECUTIVE DOSSIER MODALS (V2)
   ========================================================================== */
#traineeViewModal .modal-dialog,
#employeeViewModal .modal-dialog {
    max-width: 980px;
    margin: 1.75rem auto;
}
#salarySlipModal .modal-dialog,
#import-modal .modal-dialog,
#send-email-modal .modal-dialog {
    max-width: 680px;
    margin: 1.75rem auto;
}
#deleteEmployeeModal .modal-dialog {
    max-width: 620px;
    margin: 1.75rem auto;
}
#traineeViewModal .modal-content,
#employeeViewModal .modal-content,
#salarySlipModal .modal-content,
#deleteEmployeeModal .modal-content,
#import-modal .modal-content,
#send-email-modal .modal-content {
    border-radius: 24px;
    overflow: hidden;
    border: none;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35);
}

/* Header Banner */
#traineeViewModal .modal-hero-header,
#employeeViewModal .modal-hero-header,
#salarySlipModal .modal-hero-header,
#deleteEmployeeModal .modal-hero-header,
#import-modal .modal-hero-header,
#send-email-modal .modal-hero-header {
    background: radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 10% 85%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
                linear-gradient(135deg, #090d16 0%, #151c2e 60%, #0f172a 100%);
    padding: 28px 34px 24px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#traineeViewModal .modal-avatar-box,
#employeeViewModal .modal-avatar-box,
#salarySlipModal .modal-avatar-box,
#deleteEmployeeModal .modal-avatar-box,
#import-modal .modal-avatar-box,
#send-email-modal .modal-avatar-box {
    position: relative;
    flex-shrink: 0;
}
#traineeViewModal .modal-avatar-frame,
#employeeViewModal .modal-avatar-frame,
#salarySlipModal .modal-avatar-frame,
#deleteEmployeeModal .modal-avatar-frame,
#import-modal .modal-avatar-frame,
#send-email-modal .modal-avatar-frame {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    object-fit: cover;
    display: block;
    background: #1e293b;
}
#traineeViewModal .modal-avatar-fallback,
#employeeViewModal .modal-avatar-fallback,
#salarySlipModal .modal-avatar-fallback,
#deleteEmployeeModal .modal-avatar-fallback,
#import-modal .modal-avatar-fallback,
#send-email-modal .modal-avatar-fallback {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
}
#traineeViewModal .modal-avatar-status-dot,
#employeeViewModal .modal-avatar-status-dot,
#salarySlipModal .modal-avatar-status-dot,
#deleteEmployeeModal .modal-avatar-status-dot,
#import-modal .modal-avatar-status-dot,
#send-email-modal .modal-avatar-status-dot {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #0f172a;
    background: #10b981;
}
#traineeViewModal .modal-avatar-status-dot.inactive,
#employeeViewModal .modal-avatar-status-dot.inactive,
#salarySlipModal .modal-avatar-status-dot.inactive,
#deleteEmployeeModal .modal-avatar-status-dot.inactive,
#import-modal .modal-avatar-status-dot.inactive,
#send-email-modal .modal-avatar-status-dot.inactive {
    background: #94a3b8;
}

/* Header Text & Badges */
#traineeViewModal .modal-hero-title-row,
#employeeViewModal .modal-hero-title-row,
#salarySlipModal .modal-hero-title-row,
#deleteEmployeeModal .modal-hero-title-row,
#import-modal .modal-hero-title-row,
#send-email-modal .modal-hero-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}
#traineeViewModal .modal-hero-title-row > *,
#employeeViewModal .modal-hero-title-row > *,
#salarySlipModal .modal-hero-title-row > *,
#deleteEmployeeModal .modal-hero-title-row > *,
#import-modal .modal-hero-title-row > *,
#send-email-modal .modal-hero-title-row > * {
    margin-right: 12px !important;
    margin-bottom: 6px !important;
}
#traineeViewModal .modal-hero-title-row > *:last-child,
#employeeViewModal .modal-hero-title-row > *:last-child,
#salarySlipModal .modal-hero-title-row > *:last-child,
#deleteEmployeeModal .modal-hero-title-row > *:last-child,
#import-modal .modal-hero-title-row > *:last-child,
#send-email-modal .modal-hero-title-row > *:last-child {
    margin-right: 0 !important;
}
#traineeViewModal .modal-hero-title,
#employeeViewModal .modal-hero-title,
#salarySlipModal .modal-hero-title,
#deleteEmployeeModal .modal-hero-title,
#import-modal .modal-hero-title,
#send-email-modal .modal-hero-title {
    font-size: 23px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.4px;
    margin-bottom: 0;
    line-height: 1.25;
}
#traineeViewModal .modal-code-pill,
#employeeViewModal .modal-code-pill,
#salarySlipModal .modal-code-pill,
#deleteEmployeeModal .modal-code-pill,
#import-modal .modal-code-pill,
#send-email-modal .modal-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
#traineeViewModal .modal-status-badge,
#employeeViewModal .modal-status-badge,
#salarySlipModal .modal-status-badge,
#deleteEmployeeModal .modal-status-badge,
#import-modal .modal-status-badge,
#send-email-modal .modal-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
#traineeViewModal .modal-status-badge.status-active,
#employeeViewModal .modal-status-badge.status-active,
#salarySlipModal .modal-status-badge.status-active,
#deleteEmployeeModal .modal-status-badge.status-active,
#import-modal .modal-status-badge.status-active,
#send-email-modal .modal-status-badge.status-active {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}
#traineeViewModal .modal-status-badge.status-inactive,
#employeeViewModal .modal-status-badge.status-inactive,
#salarySlipModal .modal-status-badge.status-inactive,
#deleteEmployeeModal .modal-status-badge.status-inactive,
#import-modal .modal-status-badge.status-inactive,
#send-email-modal .modal-status-badge.status-inactive {
    background: rgba(148, 163, 184, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #cbd5e1;
}

/* Header Contact Pills */
#traineeViewModal .modal-header-contact-pills,
#employeeViewModal .modal-header-contact-pills,
#salarySlipModal .modal-header-contact-pills,
#deleteEmployeeModal .modal-header-contact-pills,
#import-modal .modal-header-contact-pills,
#send-email-modal .modal-header-contact-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}
#traineeViewModal .modal-header-contact-pills > *,
#employeeViewModal .modal-header-contact-pills > *,
#salarySlipModal .modal-header-contact-pills > *,
#deleteEmployeeModal .modal-header-contact-pills > *,
#import-modal .modal-header-contact-pills > *,
#send-email-modal .modal-header-contact-pills > * {
    margin-right: 12px !important;
    margin-bottom: 6px !important;
}
#traineeViewModal .modal-header-contact-pills > *:last-child,
#employeeViewModal .modal-header-contact-pills > *:last-child,
#salarySlipModal .modal-header-contact-pills > *:last-child,
#deleteEmployeeModal .modal-header-contact-pills > *:last-child,
#import-modal .modal-header-contact-pills > *:last-child,
#send-email-modal .modal-header-contact-pills > *:last-child {
    margin-right: 0 !important;
}
#traineeViewModal .modal-hero-contact-pill,
#employeeViewModal .modal-hero-contact-pill,
#salarySlipModal .modal-hero-contact-pill,
#deleteEmployeeModal .modal-hero-contact-pill,
#import-modal .modal-hero-contact-pill,
#send-email-modal .modal-hero-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
#traineeViewModal .modal-hero-contact-pill:hover,
#employeeViewModal .modal-hero-contact-pill:hover,
#salarySlipModal .modal-hero-contact-pill:hover,
#deleteEmployeeModal .modal-hero-contact-pill:hover,
#import-modal .modal-hero-contact-pill:hover,
#send-email-modal .modal-hero-contact-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Close Button */
#traineeViewModal .modal-hero-close,
#employeeViewModal .modal-hero-close,
#salarySlipModal .modal-hero-close,
#deleteEmployeeModal .modal-hero-close,
#import-modal .modal-hero-close,
#send-email-modal .modal-hero-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
}
#traineeViewModal .modal-hero-close:hover,
#employeeViewModal .modal-hero-close:hover,
#salarySlipModal .modal-hero-close:hover,
#deleteEmployeeModal .modal-hero-close:hover,
#import-modal .modal-hero-close:hover,
#send-email-modal .modal-hero-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Segmented Modern Tab Bar */
#traineeViewModal .modal-nav-pills,
#employeeViewModal .modal-nav-pills {
    background: #f1f5f9;
    border-radius: 14px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    gap: 4px;
}
#traineeViewModal .modal-nav-pills .nav-link,
#employeeViewModal .modal-nav-pills .nav-link {
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#traineeViewModal .modal-nav-pills .nav-link:hover,
#employeeViewModal .modal-nav-pills .nav-link:hover {
    color: #0f172a;
}
#traineeViewModal .modal-nav-pills .nav-link.active,
#employeeViewModal .modal-nav-pills .nav-link.active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Stat Tile Cards */
#traineeViewModal .trainee-kpi-tile,
#employeeViewModal .trainee-kpi-tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    transition: all 0.2s ease;
    height: 100%;
}
#traineeViewModal .trainee-kpi-tile:hover,
#employeeViewModal .trainee-kpi-tile:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}
#traineeViewModal .trainee-kpi-icon,
#employeeViewModal .trainee-kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
#traineeViewModal .trainee-kpi-title,
#employeeViewModal .trainee-kpi-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 2px;
}
#traineeViewModal .trainee-kpi-val,
#employeeViewModal .trainee-kpi-val {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

/* Info Section Card */
#traineeViewModal .trainee-section-box,
#employeeViewModal .trainee-section-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 20px;
}
#traineeViewModal .trainee-section-header,
#employeeViewModal .trainee-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
#traineeViewModal .trainee-section-title,
#employeeViewModal .trainee-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* Document Vault Showcase Cards */
#traineeViewModal .vault-card,
#employeeViewModal .vault-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
#traineeViewModal .vault-card:hover,
#employeeViewModal .vault-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
#traineeViewModal .vault-card.has-file,
#employeeViewModal .vault-card.has-file {
    border-top: 3px solid #10b981;
}
#traineeViewModal .vault-card.missing-file,
#employeeViewModal .vault-card.missing-file {
    border-top: 3px solid #cbd5e1;
    opacity: 0.88;
}
#traineeViewModal .vault-thumb-box,
#employeeViewModal .vault-thumb-box {
    width: 100%;
    height: 130px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 14px;
    position: relative;
}
#traineeViewModal .vault-thumb-box img,
#employeeViewModal .vault-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
#traineeViewModal .vault-card:hover .vault-thumb-box img,
#employeeViewModal .vault-card:hover .vault-thumb-box img {
    transform: scale(1.05);
}
#traineeViewModal .vault-pdf-box,
#employeeViewModal .vault-pdf-box {
    width: 100%;
    height: 130px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    border: 1.5px dashed #fca5a5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 12px 0 14px;
}
#traineeViewModal .vault-pdf-icon,
#employeeViewModal .vault-pdf-icon {
    font-size: 38px;
    color: #ef4444;
    margin-bottom: 6px;
}
#traineeViewModal .vault-status-pill-ok,
#employeeViewModal .vault-status-pill-ok {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
#traineeViewModal .vault-status-pill-no,
#employeeViewModal .vault-status-pill-no {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Modal Footer Styling */
#traineeViewModal .modal-custom-footer,
#employeeViewModal .modal-custom-footer,
#salarySlipModal .modal-custom-footer,
#deleteEmployeeModal .modal-custom-footer,
#import-modal .modal-custom-footer,
#send-email-modal .modal-custom-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 18px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
#traineeViewModal .modal-custom-footer .btn,
#employeeViewModal .modal-custom-footer .btn,
#salarySlipModal .modal-custom-footer .btn,
#deleteEmployeeModal .modal-custom-footer .btn,
#import-modal .modal-custom-footer .btn,
#send-email-modal .modal-custom-footer .btn {
    margin-right: 14px !important;
    margin-bottom: 8px !important;
    padding: 9px 22px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
}
#traineeViewModal .modal-custom-footer .btn:last-child,
#employeeViewModal .modal-custom-footer .btn:last-child,
#salarySlipModal .modal-custom-footer .btn:last-child,
#deleteEmployeeModal .modal-custom-footer .btn:last-child,
#import-modal .modal-custom-footer .btn:last-child,
#send-email-modal .modal-custom-footer .btn:last-child {
    margin-right: 0 !important;
}

/* ==========================================================================
   EMPLOYEE MANAGEMENT SPECIFIC DESIGN SYSTEM
   ========================================================================== */
#kt_body .emp-mgmt-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(8px);
}
@media (max-width: 991.98px) {
    #kt_body .emp-mgmt-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
        margin-right: 12px;
    }
}

/* Employee Profile Avatar */
#kt_body .emp-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* Branch Badges */
#kt_body .emp-branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.2px;
}
#kt_body .emp-branch-navsari {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}
#kt_body .emp-branch-mumbai {
    background: #faf5ff;
    color: #9333ea;
    border: 1px solid #e9d5ff;
}

/* Salary Slip Action Button (Red PDF Theme) */
#kt_body a.emp-leave-btn-salary,
#kt_body button.emp-leave-btn-salary {
    background: #fff1f2;
    color: #e11d48;
    border-color: #fecdd3;
}
#kt_body a.emp-leave-btn-salary:hover,
#kt_body button.emp-leave-btn-salary:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

#kt_body a.emp-leave-btn-attendance,
#kt_body button.emp-leave-btn-attendance {
    background: #ede9fe;
    color: #7c3aed;
    border-color: #ddd6fe;
}
#kt_body a.emp-leave-btn-attendance:hover,
#kt_body button.emp-leave-btn-attendance:hover {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
}

/* Employee Modal & Attendance Dossier Branch & Designation Pills */
#employeeViewModal .modal-branch-pill,
#salarySlipModal .modal-branch-pill,
.emp-attendance-wrapper .modal-branch-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: capitalize;
}
#employeeViewModal .modal-branch-pill.branch-navsari,
#salarySlipModal .modal-branch-pill.branch-navsari {
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}
.emp-attendance-wrapper .modal-branch-pill.branch-navsari {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}
#employeeViewModal .modal-branch-pill.branch-mumbai,
#salarySlipModal .modal-branch-pill.branch-mumbai {
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
}
.emp-attendance-wrapper .modal-branch-pill.branch-mumbai {
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    color: #7e22ce;
}

#employeeViewModal .modal-designation-pill,
#salarySlipModal .modal-designation-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}
.emp-attendance-wrapper .modal-designation-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}
.emp-attendance-wrapper .modal-code-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
}

#kt_body .btn-open-employee-modal {
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.18s ease;
}
#kt_body .btn-open-employee-modal:hover {
    color: #2563eb;
    text-decoration: none;
}

/* ==========================================================================
   DASHBOARD BUTTONS: SEND EMAIL, IMPORT & UPCOMING
   ========================================================================== */
#kt_body .emp-action-btn-email,
#kt_body a.emp-action-btn-email,
#kt_body button.emp-action-btn-email {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.14) 100%);
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.45);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 600;
}
#kt_body .emp-action-btn-email:hover,
#kt_body a.emp-action-btn-email:hover,
#kt_body button.emp-action-btn-email:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35) 0%, rgba(14, 165, 233, 0.28) 100%);
    border-color: rgba(56, 189, 248, 0.7);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}
#kt_body .emp-action-btn-email i,
#kt_body a.emp-action-btn-email i,
#kt_body button.emp-action-btn-email i {
    color: #38bdf8 !important;
}

#kt_body .emp-action-btn-import,
#kt_body a.emp-action-btn-import,
#kt_body button.emp-action-btn-import {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.14) 100%);
    color: #ffffff !important;
    border: 1px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 600;
}
#kt_body .emp-action-btn-import:hover,
#kt_body a.emp-action-btn-import:hover,
#kt_body button.emp-action-btn-import:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.28) 100%);
    border-color: rgba(16, 185, 129, 0.7);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}
#kt_body .emp-action-btn-import i,
#kt_body a.emp-action-btn-import i,
#kt_body button.emp-action-btn-import i {
    color: #34d399 !important;
}

#kt_body .emp-action-btn-upcoming,
#kt_body a.emp-action-btn-upcoming,
#kt_body button.emp-action-btn-upcoming {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.14) 100%);
    color: #ffffff !important;
    border: 1px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 600;
}
#kt_body .emp-action-btn-upcoming:hover,
#kt_body a.emp-action-btn-upcoming:hover,
#kt_body button.emp-action-btn-upcoming:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(217, 119, 6, 0.28) 100%);
    border-color: rgba(245, 158, 11, 0.7);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}
#kt_body .emp-action-btn-upcoming i,
#kt_body a.emp-action-btn-upcoming i,
#kt_body button.emp-action-btn-upcoming i {
    color: #fbbf24 !important;
}

/* ==========================================================================
   EXECUTIVE AMBIENT MODAL HEADERS (SALARY SLIP, DELETE, SEND EMAIL, IMPORT)
   ========================================================================== */
.modal-hero-ambient-amber {
    background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 50%, #1e1b4b 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}
.modal-hero-ambient-amber::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(245, 158, 11, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.modal-hero-ambient-danger {
    background: linear-gradient(135deg, #2b1115 0%, #450a0a 50%, #1f0709 100%);
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}
.modal-hero-ambient-danger::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, rgba(239, 68, 68, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.modal-hero-ambient-blue {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f233f 100%);
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}
.modal-hero-ambient-blue::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.modal-hero-ambient-emerald {
    background: linear-gradient(135deg, #06241b 0%, #064e3b 50%, #022c22 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.25);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}
.modal-hero-ambient-emerald::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(16, 185, 129, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Modal Icon Boxes */
.modal-hero-icon-amber {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
    flex-shrink: 0;
}
.modal-hero-icon-danger {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(239, 68, 68, 0.22);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.28);
    flex-shrink: 0;
}
.modal-hero-icon-blue {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.22);
    flex-shrink: 0;
}
.modal-hero-icon-emerald {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.22);
    flex-shrink: 0;
}

/* ==========================================================================
   DOCUMENT VAULT & VERIFICATION STEP 4 STYLING
   ========================================================================== */
.emp-doc-vault-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.emp-doc-vault-card:hover {
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.12);
}
.emp-doc-vault-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}
.emp-doc-tag {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
}
.emp-doc-vault-thumb {
    width: 100%;
    height: 125px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}
.emp-doc-vault-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.emp-doc-vault-card:hover .emp-doc-vault-thumb img {
    transform: scale(1.06);
}

/* PDF Upload Zone */
.emp-doc-pdf-dropzone {
    width: 100%;
    height: 125px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    border: 1.5px dashed #fca5a5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 10px;
    transition: all 0.25s ease;
}
.emp-doc-pdf-dropzone.purple-theme {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-color: #d8b4fe;
}
.emp-doc-vault-card:hover .emp-doc-pdf-dropzone {
    border-color: #ef4444;
    background: #fee2e2;
}
.emp-doc-vault-card:hover .emp-doc-pdf-dropzone.purple-theme {
    border-color: #9333ea;
    background: #ede9fe;
}

/* Form 16 Selectable Cards */
.emp-form16-option-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.22s ease;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 14px;
}
.emp-form16-option-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.emp-form16-option-card.active {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
}
.emp-form16-option-card .form16-radio-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.emp-form16-option-card.active .form16-radio-indicator {
    border-color: #3b82f6;
    background: #3b82f6;
}
.emp-form16-option-card.active .form16-radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
}















/* ==========================================================================
   ATTENDANCE MATRIX & SHEET STYLING (ADMIN ATTENDANCE)
   ========================================================================== */

/* 1. Dark Period Navigator & Filter Bar inside Hero Banner */
#kt_body .emp-hero-card .emp-att-filter-toolbar {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    padding: 4px 6px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(10px);
}
#kt_body .emp-hero-card a.emp-att-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
#kt_body .emp-hero-card a.emp-att-nav-btn:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
#kt_body .emp-hero-card select.emp-att-select {
    height: 36px;
    background-color: rgba(255, 255, 255, 0.09) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 9px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 0 30px 0 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
#kt_body .emp-hero-card select.emp-att-select:hover,
#kt_body .emp-hero-card select.emp-att-select:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12) !important;
    outline: none;
}
#kt_body .emp-hero-card select.emp-att-select option {
    background-color: #0f172a !important;
    color: #ffffff !important;
}

/* 2. Main Matrix Card & Toolbar */
.att-matrix-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}
.att-matrix-toolbar {
    padding: 18px 24px 14px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.att-search-box {
    position: relative;
    width: 320px;
    max-width: 100%;
}
.att-search-box .att-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}
.att-search-input {
    width: 100%;
    height: 42px;
    padding: 8px 36px 8px 38px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
}
.att-search-input:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    outline: none;
}
.att-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
    display: none;
    line-height: 1;
}
.att-search-clear:hover {
    color: #ef4444;
}

/* Filter Pills */
.att-filter-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.att-filter-btn {
    padding: 7px 14px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    margin-right: 8px;
    margin-bottom: 6px;
}
.att-filter-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}
.att-filter-btn.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}
.att-filter-btn .badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
}

/* Legend Strip */
.att-legend-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 24px 6px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.att-legend-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 8px;
    margin-right: 10px;
    margin-bottom: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.att-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* 3. Table Structure & Sticky Setup */
.att-table-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    max-height: 75vh;
}
.att-matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}
.att-matrix-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0f172a;
    color: #f8fafc;
    padding: 10px 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #334155;
    border-right: 1px solid #1e293b;
    white-space: nowrap;
    user-select: none;
}
.att-matrix-table thead th.att-th-summary {
    background: #1e293b;
    min-width: 44px;
    padding: 10px 4px;
}
.att-matrix-table thead th.is-weekend {
    background: #1e293b;
    color: #94a3b8;
}
.att-matrix-table thead th.is-today {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}
.att-matrix-table tbody tr {
    transition: background-color 0.15s ease;
}
.att-matrix-table tbody tr:hover {
    background-color: #f1f7ff !important;
}
.att-matrix-table tbody td {
    padding: 8px 4px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    vertical-align: middle;
}
.att-matrix-table tbody td.att-td-summary {
    background: #f8fafc;
    font-weight: 700;
    font-size: 11.5px;
}
.att-matrix-table tbody tr:hover td.att-td-summary {
    background-color: #e8f1fc;
}
.att-matrix-table tbody td.is-weekend {
    background-color: #fafbfc;
}
.att-matrix-table tbody tr:hover td.is-weekend {
    background-color: #ecf3fe;
}
.att-matrix-table tbody td.is-today {
    background-color: rgba(37, 99, 235, 0.04);
    border-left: 1.5px solid rgba(37, 99, 235, 0.25);
    border-right: 1.5px solid rgba(37, 99, 235, 0.25);
}
.att-matrix-table tbody tr:hover td.is-today {
    background-color: rgba(37, 99, 235, 0.08);
}

/* 4. Luxury Employee Personnel Column */
.att-matrix-table thead th.att-th-emp {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 25;
    background: #0f172a;
    text-align: left;
    padding: 12px 18px;
    min-width: 290px;
    max-width: 320px;
    box-shadow: 5px 0 16px rgba(0, 0, 0, 0.2);
    border-right: 2px solid #334155;
}
.att-th-emp-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.att-th-emp-title {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.3px;
}
.att-th-emp-sub {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.att-th-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    font-weight: 700;
}

.att-matrix-table tbody td.att-td-emp {
    position: sticky;
    left: 0;
    z-index: 6;
    background: #ffffff;
    text-align: left;
    padding: 10px 18px;
    min-width: 290px;
    max-width: 320px;
    box-shadow: 5px 0 16px rgba(15, 23, 42, 0.05);
    border-right: 2px solid #e2e8f0;
    transition: all 0.2s ease;
}
.att-matrix-table tbody tr:hover td.att-td-emp {
    background-color: #f8fafc;
}
.att-emp-card-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.att-emp-avatar-box {
    position: relative;
    flex-shrink: 0;
}
.att-emp-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}
.att-emp-avatar-fallback {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}
.att-avatar-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3);
}
.att-emp-info {
    min-width: 0;
    flex: 1;
}
.att-emp-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
.att-emp-name-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    text-decoration: none !important;
    transition: color 0.18s ease;
}
.att-emp-name-link:hover {
    color: #2563eb;
}
.att-emp-link-icon {
    font-size: 10px;
    color: #94a3b8;
    opacity: 0;
    transition: all 0.18s ease;
}
.att-matrix-table tbody tr:hover .att-emp-link-icon {
    opacity: 1;
    color: #2563eb;
    transform: translate(2px, -2px);
}
.att-emp-designation {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 4px;
    line-height: 1.2;
}
.att-emp-meta-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.att-meta-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    line-height: 1.3;
}
.att-meta-code {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.att-meta-branch-nav {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.att-meta-branch-mum {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

/* 5. Matrix Day Cells & Status Badges */
.att-cell-pill {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.16s ease;
    user-select: none;
    line-height: 1;
}
.att-cell-pill:hover {
    transform: scale(1.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 2;
}
.att-cell-p {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}
.att-cell-p:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}
.att-cell-a {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}
.att-cell-a:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

/* ==========================================================================
   Annual Leaves Ledger Matrix Styling
   ========================================================================== */
.att-month-pill {
    min-width: 28px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    padding: 0 6px;
    transition: all 0.16s ease;
}
.att-month-pill.has-leave {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
}
.att-month-pill.has-high-leave {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.att-total-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 8px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}
.att-balance-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 8px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.att-cell-fh, .att-cell-sh {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
    font-size: 10px;
}
.att-cell-fh:hover, .att-cell-sh:hover {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
}
.att-cell-wo {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
    font-size: 10px;
}
.att-cell-wo:hover {
    background: #0ea5e9;
    color: #ffffff;
    border-color: #0ea5e9;
}
.att-cell-holiday {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #d8b4fe;
    font-size: 11px;
}
.att-cell-holiday:hover {
    background: #a855f7;
    color: #ffffff;
    border-color: #a855f7;
}
.att-cell-empty {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
}

/* 6. Modal Status Options Grid */
.att-modal-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.att-modal-status-btn {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    text-align: center;
}
.att-modal-status-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.att-modal-status-btn.active-p {
    border-color: #10b981;
    background: #ecfdf5;
    color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}
.att-modal-status-btn.active-a {
    border-color: #ef4444;
    background: #fef2f2;
    color: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}
.att-modal-status-btn.active-fh, .att-modal-status-btn.active-sh {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #d97706;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}
.att-modal-status-btn.active-wo {
    border-color: #0ea5e9;
    background: #f0f9ff;
    color: #0284c7;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

/* ==========================================================================
   Luxury Delete Confirmation Modals (#deleteLeaveModal, #deleteWfhModal, #deleteHolidayModal, #deleteDeviceModal, #deleteInsuranceModal, #deleteSalaryModal, #deleteSalaryTrackModal)
   ========================================================================== */
#deleteLeaveModal .modal-dialog,
#deleteWfhModal .modal-dialog,
#deleteHolidayModal .modal-dialog,
#deleteDeviceModal .modal-dialog,
#deleteInsuranceModal .modal-dialog,
#deleteSalaryModal .modal-dialog,
#deleteSalaryTrackModal .modal-dialog {
    max-width: 620px;
    margin: 1.75rem auto;
}
#deleteLeaveModal .modal-content,
#deleteWfhModal .modal-content,
#deleteHolidayModal .modal-content,
#deleteDeviceModal .modal-content,
#deleteInsuranceModal .modal-content,
#deleteSalaryModal .modal-content,
#deleteSalaryTrackModal .modal-content {
    border-radius: 24px;
    overflow: hidden;
    border: none;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35);
}
#deleteLeaveModal .modal-hero-header,
#deleteWfhModal .modal-hero-header,
#deleteHolidayModal .modal-hero-header,
#deleteDeviceModal .modal-hero-header,
#deleteInsuranceModal .modal-hero-header,
#deleteSalaryModal .modal-hero-header,
#deleteSalaryTrackModal .modal-hero-header {
    background: radial-gradient(circle at 85% 15%, rgba(239, 68, 68, 0.28) 0%, transparent 60%),
                radial-gradient(circle at 10% 85%, rgba(185, 28, 28, 0.22) 0%, transparent 50%),
                linear-gradient(135deg, #090d16 0%, #171d2b 60%, #0f172a 100%);
    padding: 28px 34px 24px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#deleteLeaveModal .modal-avatar-box,
#deleteWfhModal .modal-avatar-box,
#deleteHolidayModal .modal-avatar-box,
#deleteDeviceModal .modal-avatar-box,
#deleteInsuranceModal .modal-avatar-box,
#deleteSalaryModal .modal-avatar-box,
#deleteSalaryTrackModal .modal-avatar-box {
    position: relative;
    flex-shrink: 0;
}
#deleteLeaveModal .modal-avatar-status-dot,
#deleteWfhModal .modal-avatar-status-dot,
#deleteHolidayModal .modal-avatar-status-dot,
#deleteDeviceModal .modal-avatar-status-dot,
#deleteInsuranceModal .modal-avatar-status-dot,
#deleteSalaryModal .modal-avatar-status-dot,
#deleteSalaryTrackModal .modal-avatar-status-dot {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #0f172a;
    background: #ef4444;
}
#deleteLeaveModal .modal-hero-title-row,
#deleteWfhModal .modal-hero-title-row,
#deleteHolidayModal .modal-hero-title-row,
#deleteDeviceModal .modal-hero-title-row,
#deleteInsuranceModal .modal-hero-title-row,
#deleteSalaryModal .modal-hero-title-row,
#deleteSalaryTrackModal .modal-hero-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}
#deleteLeaveModal .modal-hero-title,
#deleteWfhModal .modal-hero-title,
#deleteHolidayModal .modal-hero-title,
#deleteDeviceModal .modal-hero-title,
#deleteInsuranceModal .modal-hero-title,
#deleteSalaryModal .modal-hero-title,
#deleteSalaryTrackModal .modal-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.4px;
    margin-bottom: 0;
    line-height: 1.25;
}
#deleteLeaveModal .modal-code-pill,
#deleteWfhModal .modal-code-pill,
#deleteHolidayModal .modal-code-pill,
#deleteDeviceModal .modal-code-pill,
#deleteInsuranceModal .modal-code-pill,
#deleteSalaryModal .modal-code-pill,
#deleteSalaryTrackModal .modal-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.38);
    color: #f87171;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
#deleteLeaveModal .modal-status-badge,
#deleteWfhModal .modal-status-badge,
#deleteHolidayModal .modal-status-badge,
#deleteDeviceModal .modal-status-badge,
#deleteInsuranceModal .modal-status-badge,
#deleteSalaryModal .modal-status-badge,
#deleteSalaryTrackModal .modal-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}
#deleteLeaveModal .modal-header-contact-pills,
#deleteWfhModal .modal-header-contact-pills,
#deleteHolidayModal .modal-header-contact-pills,
#deleteDeviceModal .modal-header-contact-pills,
#deleteInsuranceModal .modal-header-contact-pills,
#deleteSalaryModal .modal-header-contact-pills,
#deleteSalaryTrackModal .modal-header-contact-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}
#deleteLeaveModal .modal-hero-contact-pill,
#deleteWfhModal .modal-hero-contact-pill,
#deleteHolidayModal .modal-hero-contact-pill,
#deleteDeviceModal .modal-hero-contact-pill,
#deleteInsuranceModal .modal-hero-contact-pill,
#deleteSalaryModal .modal-hero-contact-pill,
#deleteSalaryTrackModal .modal-hero-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
#deleteLeaveModal .modal-hero-close,
#deleteWfhModal .modal-hero-close,
#deleteHolidayModal .modal-hero-close,
#deleteDeviceModal .modal-hero-close,
#deleteInsuranceModal .modal-hero-close,
#deleteSalaryModal .modal-hero-close,
#deleteSalaryTrackModal .modal-hero-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
}
#deleteLeaveModal .modal-hero-close:hover,
#deleteWfhModal .modal-hero-close:hover,
#deleteHolidayModal .modal-hero-close:hover,
#deleteDeviceModal .modal-hero-close:hover,
#deleteInsuranceModal .modal-hero-close:hover,
#deleteSalaryModal .modal-hero-close:hover,
#deleteSalaryTrackModal .modal-hero-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}
#deleteLeaveModal .modal-custom-footer,
#deleteWfhModal .modal-custom-footer,
#deleteHolidayModal .modal-custom-footer,
#deleteDeviceModal .modal-custom-footer,
#deleteInsuranceModal .modal-custom-footer,
#deleteSalaryModal .modal-custom-footer,
#deleteSalaryTrackModal .modal-custom-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 18px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* Holiday Hero Icon */
#kt_body .emp-holiday-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    #kt_body .emp-holiday-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

/* Device Allocation Hero Icon */
#kt_body .emp-device-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    #kt_body .emp-device-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

/* Insurance Hero Icon */
#kt_body .emp-insurance-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #059669 0%, #0d9488 50%, #0284c7 100%);
    color: #ffffff;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    #kt_body .emp-insurance-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

/* Employee Salary Hero Icon */
#kt_body .emp-salary-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #ffffff;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    #kt_body .emp-salary-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

/* Employee Salary Track Hero Icon */
#kt_body .emp-salary-track-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
    color: #ffffff;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    #kt_body .emp-salary-track-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

/* GST Track Hero Icon */
#kt_body .gst-track-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
    color: #ffffff;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    #kt_body .gst-track-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

/* Revenue Report Hero Icon */
#kt_body .revenue-report-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #0d9488 100%);
    color: #ffffff;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    #kt_body .revenue-report-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

/* Expense Report Hero Icon & Design System */
#kt_body .expense-report-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
    color: #ffffff;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    #kt_body .expense-report-hero-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        border-radius: 14px;
    }
}

#kt_body a.expense-pdf-btn,
.expense-pdf-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}
#kt_body a.expense-pdf-btn:hover,
.expense-pdf-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
}
#kt_body a.expense-pdf-btn:hover i,
.expense-pdf-btn:hover i {
    color: #ffffff !important;
}
