:root {
    --glass-bg: rgba(255, 255, 255, .72);
    --glass-bg-strong: rgba(255, 255, 255, .86);
    --glass-border: rgba(148, 163, 184, .28);
    --glass-shadow: 0 18px 48px rgba(15, 23, 42, .10);
    --glass-shadow-soft: 0 10px 28px rgba(15, 23, 42, .08);
    --neon-blue: #0d6efd;
    --neon-cyan: #08c7e8;
    --neon-green: #22c55e;
    --neon-rose: #f43f5e;
    --page-ease: cubic-bezier(.2, .8, .2, 1);
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(130deg, rgba(13, 110, 253, .10), transparent 34%),
        linear-gradient(230deg, rgba(34, 197, 94, .09), transparent 38%),
        linear-gradient(0deg, #f6f8fc, #eef4ff);
    color: #172033;
    height: 100%;
    min-height: 100vh;
}

body.app-page {
    overflow: hidden;
}

body.app-page {
    height: 100%;
}

body::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .60) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, .48) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 72%);
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

body.page-loading .app-content {
    opacity: 0;
    transform: translateY(12px) scale(.995);
}

body.page-ready .app-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.app-content {
    transition: opacity .42s var(--page-ease), transform .42s var(--page-ease);
}

.page-transition-overlay {
    background: rgba(248, 251, 255, .64);
    backdrop-filter: blur(14px) saturate(150%);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity .24s var(--page-ease);
    z-index: 2040;
}

body.page-leaving .page-transition-overlay {
    opacity: 1;
}

.login-page {
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.14), rgba(34, 197, 94, 0.10)),
        #f5f7fb;
}

.login-card,
.panel,
.metric-card {
    backdrop-filter: blur(18px) saturate(145%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: var(--glass-shadow-soft);
}

.login-card {
    padding: 32px;
}

.app-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #0d6efd;
    color: #fff;
    font-weight: 700;
}

.app-shell {
    display: flex;
    flex-direction: column;
    inset: 0;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.app-topbar {
    flex: 0 0 64px;
    height: 64px;
    backdrop-filter: blur(18px) saturate(155%);
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 1px 0 rgba(148, 163, 184, .22);
    z-index: 1020;
}

.app-body {
    display: flex;
    flex: 1 1 auto;
    height: calc(100vh - 64px);
    min-height: 0;
    overflow: hidden;
}

.app-sidebar {
    flex: 0 0 270px;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    width: 270px;
    backdrop-filter: blur(18px) saturate(155%);
    background: rgba(255, 255, 255, .66);
    box-shadow: 1px 0 0 rgba(148, 163, 184, .20);
}

.sidebar-profile {
    border-bottom: 1px solid #e5e7eb;
    flex: 0 0 auto;
    padding: 20px;
}

.sidebar-nav-scroll {
    flex: 1 1 auto;
    flex-wrap: nowrap !important;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-color: rgba(100, 116, 139, .58) rgba(226, 232, 240, .58);
    scrollbar-width: thin;
}

.app-sidebar .sidebar-nav-scroll .sidebar-heading,
.app-sidebar .sidebar-nav-scroll .nav-link {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
}

.app-sidebar .sidebar-nav-scroll .nav-link {
    min-width: 0;
}

.sidebar-nav-scroll::-webkit-scrollbar {
    width: 9px;
}

.sidebar-nav-scroll::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, .58);
}

.sidebar-nav-scroll::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, .58);
    border: 2px solid rgba(226, 232, 240, .58);
    border-radius: 999px;
}

.sidebar-nav-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, .72);
}

.app-sidebar .nav-link,
.offcanvas .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    border-radius: 6px;
    padding: 10px 12px;
    position: relative;
    transition: background-color .22s var(--page-ease), color .22s var(--page-ease), transform .22s var(--page-ease), box-shadow .22s var(--page-ease);
}

.sidebar-heading {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 14px 8px 4px;
    text-transform: uppercase;
}

.app-sidebar .nav-link.active,
.offcanvas .nav-link.active,
.app-sidebar .nav-link:hover,
.offcanvas .nav-link:hover {
    background: rgba(13, 110, 253, .10);
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, .14), 0 10px 24px rgba(13, 110, 253, .10);
    color: #0d6efd;
    transform: translateX(3px);
}

.app-content {
    flex: 1 1 auto;
    height: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(100, 116, 139, .58) rgba(226, 232, 240, .58);
    scrollbar-width: thin;
}

.app-content::-webkit-scrollbar {
    width: 10px;
}

.app-content::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, .58);
}

.app-content::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, .58);
    border: 2px solid rgba(226, 232, 240, .58);
    border-radius: 999px;
}

.app-content::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, .72);
}

.panel {
    padding: 20px;
    position: relative;
}

.document-preview-frame {
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 8px;
    height: min(72vh, 760px);
    width: 100%;
}

.modal {
    z-index: 2065 !important;
}

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

.modal.show {
    pointer-events: auto;
}

.metric-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform .28s var(--page-ease), box-shadow .28s var(--page-ease), border-color .28s var(--page-ease);
}

.metric-card:hover,
.panel:hover {
    border-color: rgba(13, 110, 253, .22);
    box-shadow: var(--glass-shadow);
}

.metric-card:hover {
    transform: translateY(-2px);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.check-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    color: #374151;
    background: #f9fafb;
}

.check-item i {
    color: #198754;
    margin-right: 8px;
}

.module-link {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    text-decoration: none;
}

.module-link:hover {
    background: rgba(13, 110, 253, .10);
    border-color: #b6d4fe;
    box-shadow: 0 12px 26px rgba(13, 110, 253, .10);
    color: #0d6efd;
}

.detail-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    min-height: 74px;
    padding: 12px 14px;
}

.employee-hero {
    align-items: stretch;
    backdrop-filter: blur(22px) saturate(155%);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(240, 248, 255, .68)),
        radial-gradient(circle at 16% 20%, rgba(13, 110, 253, .16), transparent 32%),
        radial-gradient(circle at 85% 12%, rgba(8, 199, 232, .14), transparent 30%);
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 8px;
    box-shadow: 0 20px 52px rgba(15, 23, 42, .10);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    overflow: hidden;
    padding: 22px;
    position: relative;
}

.employee-hero::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, .52), transparent);
    content: "";
    height: 130px;
    pointer-events: none;
    position: absolute;
    right: -28px;
    top: -64px;
    transform: rotate(14deg);
    width: 210px;
}

.employee-hero-main {
    align-items: center;
    display: flex;
    gap: 22px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.employee-photo-wrap {
    flex: 0 0 auto;
    position: relative;
}

.employee-photo {
    align-items: center;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #0d6efd, #08c7e8);
    border: 4px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(13, 110, 253, .22);
    color: #fff;
    display: flex;
    font-size: 32px;
    font-weight: 800;
    height: 118px;
    justify-content: center;
    object-fit: cover;
    width: 118px;
}

.employee-photo-fallback {
    letter-spacing: 0;
}

.employee-photo-spark {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(13, 110, 253, .18);
    border-radius: 999px;
    bottom: 6px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
    color: #0d6efd;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    position: absolute;
    right: 0;
    width: 34px;
}

.employee-hero-copy {
    min-width: 0;
}

.employee-hero-title {
    color: #111827;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 10px;
}

.employee-hero-subtitle {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 16px;
}

.employee-hero-subtitle span {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.employee-mini-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
}

.employee-mini-grid > div {
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    min-width: 0;
    padding: 10px 12px;
}

.employee-mini-grid span {
    color: #64748b;
    display: block;
    font-size: 12px;
}

.employee-mini-grid strong {
    color: #172033;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-hero-actions {
    align-content: flex-start;
    display: flex;
    flex: 0 0 360px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.panel .nav-link {
    border-radius: 6px;
    color: #4b5563;
    transition: background-color .22s var(--page-ease), color .22s var(--page-ease), box-shadow .22s var(--page-ease), transform .22s var(--page-ease);
}

.panel .nav-link.active,
.panel .nav-link:hover {
    background: rgba(13, 110, 253, .10);
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, .10), 0 10px 24px rgba(13, 110, 253, .10);
    color: #0d6efd;
    transform: translateY(-1px);
}

.total-slip {
    align-items: center;
    background: linear-gradient(135deg, #0d6efd, #08c7e8);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(13, 110, 253, .24);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
}

.total-slip strong {
    font-size: 24px;
}

@media print {
    html,
    body,
    .app-shell {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        position: static !important;
    }

    .app-topbar,
    .app-sidebar,
    .offcanvas,
    .btn {
        display: none !important;
    }

    .app-body,
    .app-content {
        display: block;
        min-height: auto;
    }

    body {
        background: #fff;
    }

    .slip-panel {
        border: 0;
        box-shadow: none;
    }
}

.table thead th {
    background: #f9fafb;
    color: #4b5563;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.table {
    --bs-table-hover-bg: #f6f9ff;
}

.table tbody td {
    border-color: #eef2f7;
    vertical-align: middle;
}

.dt-container {
    padding: 14px 14px 10px;
}

.dt-container .row:first-child {
    align-items: center;
    gap: 8px 0;
    margin-bottom: 10px;
}

.dt-container .dt-search {
    text-align: right;
}

.dt-container .dt-search label,
.dt-container .dt-length label,
.dt-container .dt-info {
    color: #6b7280;
    font-size: 13px;
}

.dt-container .dt-search input,
.dt-container .dt-length select {
    border-color: #d8dee8;
    border-radius: 6px;
    box-shadow: none;
}

.dt-container .dt-search input:focus,
.dt-container .dt-length select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .12);
}

.dt-container .pagination {
    margin-bottom: 0;
}

.dt-container .page-link {
    border-color: #e5e7eb;
    color: #4b5563;
}

.dt-container .active > .page-link,
.dt-container .page-link.active {
    background: linear-gradient(135deg, #0d6efd, #08c7e8);
    border-color: rgba(13, 110, 253, .72);
    box-shadow: 0 10px 22px rgba(13, 110, 253, .18);
    color: #fff;
}

.btn {
    border-radius: 8px;
    position: relative;
    transition: transform .2s var(--page-ease), box-shadow .2s var(--page-ease), border-color .2s var(--page-ease), background-color .2s var(--page-ease), color .2s var(--page-ease);
}

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

.btn:active {
    transform: translateY(0) scale(.985);
}

.btn-primary,
.btn-success {
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(13, 110, 253, .18);
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #08c7e8);
}

.btn-success {
    background: linear-gradient(135deg, #198754, #22c55e);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .16), 0 14px 30px rgba(13, 110, 253, .24);
}

.btn-success:hover,
.btn-success:focus-visible {
    box-shadow: 0 0 0 .22rem rgba(34, 197, 94, .16), 0 14px 30px rgba(34, 197, 94, .22);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .12), 0 12px 24px rgba(13, 110, 253, .16);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus-visible {
    box-shadow: 0 0 0 .22rem rgba(244, 63, 94, .12), 0 12px 24px rgba(244, 63, 94, .14);
}

.form-control,
.form-select {
    background-color: rgba(255, 255, 255, .78);
    border-color: rgba(148, 163, 184, .42);
    border-radius: 8px;
    transition: border-color .22s var(--page-ease), box-shadow .22s var(--page-ease), background-color .22s var(--page-ease), transform .22s var(--page-ease);
}

.form-control:hover,
.form-select:hover {
    border-color: rgba(13, 110, 253, .38);
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, .94);
    border-color: rgba(13, 110, 253, .72);
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .13), 0 0 28px rgba(8, 199, 232, .16);
    transform: translateY(-1px);
}

.select2-container {
    max-width: 100%;
}

.select2-container--default .select2-selection--single {
    align-items: center;
    background-color: rgba(255, 255, 255, .78);
    border: 1px solid rgba(148, 163, 184, .42);
    border-radius: 8px;
    display: flex;
    height: 42px;
    transition: border-color .22s var(--page-ease), box-shadow .22s var(--page-ease), background-color .22s var(--page-ease), transform .22s var(--page-ease);
}

.select2-container--default .select2-selection--single:hover {
    border-color: rgba(13, 110, 253, .38);
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    background-color: rgba(255, 255, 255, .94);
    border-color: rgba(13, 110, 253, .72);
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .13), 0 0 28px rgba(8, 199, 232, .16);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #172033;
    line-height: 40px;
    padding-left: 14px;
    padding-right: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6b7280;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #6b7280;
    cursor: pointer;
    font-size: 18px;
    margin-right: 28px;
}

.select2-dropdown {
    backdrop-filter: blur(18px) saturate(145%);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(13, 110, 253, .22);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
    overflow: hidden;
    z-index: 2055;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid rgba(148, 163, 184, .42);
    border-radius: 8px;
    outline: none;
    padding: 8px 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: rgba(13, 110, 253, .72);
    box-shadow: 0 0 0 .18rem rgba(13, 110, 253, .12);
}

.select2-results__option {
    padding: 8px 12px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: linear-gradient(135deg, #0d6efd, #08c7e8);
}

.form-check-input {
    transition: border-color .2s var(--page-ease), box-shadow .2s var(--page-ease), background-color .2s var(--page-ease);
}

.form-check-input:focus {
    border-color: rgba(13, 110, 253, .72);
    box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .13), 0 0 20px rgba(8, 199, 232, .12);
}

.badge,
.alert,
.dropdown-menu,
.offcanvas {
    backdrop-filter: blur(16px) saturate(140%);
}

.alert {
    border-radius: 8px;
    box-shadow: var(--glass-shadow-soft);
}

.table-responsive,
.salary-table-wrap,
.salary-scroll-x {
    scrollbar-color: rgba(100, 116, 139, .72) rgba(226, 232, 240, .76);
}

.dataTable thead th {
    white-space: nowrap;
}

.dataTable > tbody > tr:last-child > * {
    border-bottom-width: 0;
}

.salary-history-panel {
    border-radius: 8px;
    max-width: 100%;
}

.salary-scroll-x {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    height: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: #9ca3af #eef2f7;
    scrollbar-width: thin;
    width: 100%;
}

.salary-scroll-x > div {
    height: 1px;
}

.salary-table-wrap {
    max-height: calc(100vh - 330px);
    min-height: 360px;
    overflow-x: auto;
    overflow-y: auto;
    position: relative;
    scrollbar-color: #9ca3af #eef2f7;
    scrollbar-width: thin;
    width: 100%;
}

.salary-history-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
    min-width: 5200px;
    table-layout: fixed;
}

.salary-history-table th,
.salary-history-table td {
    border-color: #e5e7eb;
    min-width: 120px;
    overflow: hidden;
    padding: 12px 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.salary-history-table thead th {
    background: #fff;
    border-bottom: 2px solid #111827;
    border-right: 1px solid #d1d5db;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    position: sticky;
    text-transform: none;
    top: 0;
    z-index: 4;
    height: 46px;
    box-shadow: inset 0 -2px #111827, inset -1px 0 #d1d5db;
}

.salary-history-table thead th:last-child {
    border-right: 0;
}

.salary-history-table thead tr:nth-child(2) th {
    top: 46px;
}

.salary-history-table .group-heading {
    border-bottom: 2px solid #111827;
    font-size: 14px;
    text-align: center !important;
    box-shadow: inset 0 -2px #111827, inset -1px 0 #d1d5db;
}

.salary-history-table thead tr:first-child th {
    border-top: 1px solid #d1d5db;
}

.salary-history-table thead tr:first-child .group-heading {
    border-left: 1px solid #d1d5db;
}

.salary-history-table thead tr:nth-child(2) th {
    border-top: 1px solid #d1d5db;
}

.salary-history-table tbody td {
    background: #fff;
    color: #374151;
    font-size: 14px;
    height: 52px;
}

.salary-history-table tbody tr:hover td {
    background: #f6f9ff;
}

.salary-history-table .sticky-col {
    background: #fff;
    position: sticky;
    z-index: 3;
}

.salary-history-table thead .sticky-col {
    z-index: 6;
}

.salary-history-table .sticky-name {
    left: 0;
    min-width: 280px;
    width: 280px;
}

.salary-history-table .sticky-nik {
    left: 280px;
    min-width: 170px;
    width: 170px;
}

.salary-history-table .sticky-unit {
    left: 450px;
    min-width: 120px;
    width: 120px;
}

.salary-history-table th:nth-child(4),
.salary-history-table td:nth-child(4) {
    min-width: 165px;
    width: 165px;
}

.salary-history-table th:last-child,
.salary-history-table td:last-child {
    min-width: 74px;
    width: 74px;
}

.salary-history-table tbody .sticky-col,
.salary-history-table thead .sticky-col {
    box-shadow: 1px 0 0 #e5e7eb;
}

.salary-history-table .salary-sortable {
    cursor: pointer;
    padding-right: 24px;
    position: sticky;
    user-select: none;
}

.salary-history-table .salary-sortable::after {
    color: #9ca3af;
    content: "↕";
    font-size: 12px;
    margin-left: 7px;
}

.salary-history-table .salary-sort-asc::after {
    color: #0d6efd;
    content: "↑";
}

.salary-history-table .salary-sort-desc::after {
    color: #0d6efd;
    content: "↓";
}

body.page-ready .panel,
body.page-ready .metric-card,
body.page-ready .module-link,
body.page-ready .login-card {
    animation: liquid-rise .42s var(--page-ease) both;
}

body.page-ready .panel:nth-of-type(2),
body.page-ready .metric-card:nth-of-type(2),
body.page-ready .module-link:nth-of-type(2) {
    animation-delay: .035s;
}

body.page-ready .panel:nth-of-type(3),
body.page-ready .metric-card:nth-of-type(3),
body.page-ready .module-link:nth-of-type(3) {
    animation-delay: .07s;
}

@keyframes liquid-rise {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.995);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    .page-transition-overlay {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .employee-hero {
        padding: 18px;
    }

    .employee-hero,
    .employee-hero-main,
    .employee-hero-actions {
        flex-direction: column;
    }

    .employee-hero-main {
        align-items: flex-start;
    }

    .employee-photo {
        height: 96px;
        width: 96px;
    }

    .employee-hero-title {
        font-size: 27px;
    }

    .employee-mini-grid {
        grid-template-columns: 1fr;
    }

    .employee-hero-actions {
        flex-basis: auto;
        justify-content: flex-start;
        width: 100%;
    }

    .employee-hero-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .dt-container .dt-search {
        text-align: left;
    }

    .salary-history-table .sticky-name {
        min-width: 220px;
        width: 220px;
    }

    .salary-history-table .sticky-nik {
        left: 220px;
        min-width: 132px;
        width: 132px;
    }

    .salary-history-table .sticky-unit {
        left: 352px;
        min-width: 100px;
        width: 100px;
    }

    .salary-table-wrap {
        max-height: calc(100vh - 280px);
        min-height: 320px;
    }
}

@media print {
    .app-topbar,
    .app-sidebar,
    .offcanvas,
    .no-print {
        display: none !important;
    }

    .app-body,
    .app-content {
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .panel {
        border: 0;
        box-shadow: none;
    }
}

.nominal-gaji-page .panel {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(240, 248, 255, .72)),
        radial-gradient(circle at 92% 8%, rgba(8, 199, 232, .11), transparent 28%);
}

.nominal-gaji-page .rounded-3.border {
    transition: border-color .24s var(--page-ease), box-shadow .24s var(--page-ease), transform .24s var(--page-ease);
}

.nominal-gaji-page .rounded-3.border:hover {
    border-color: rgba(13, 110, 253, .36) !important;
    box-shadow: 0 14px 30px rgba(13, 110, 253, .12);
    transform: translateY(-2px);
}

.nominal-gaji-page .btn {
    transition: box-shadow .24s var(--page-ease), transform .24s var(--page-ease), border-color .24s var(--page-ease);
}

.nominal-gaji-page .btn:hover {
    box-shadow: 0 12px 28px rgba(13, 110, 253, .16);
    transform: translateY(-1px);
}

.nominal-gaji-actions {
    align-items: stretch;
}

.nominal-gaji-actions form {
    display: flex;
}

.nominal-gaji-actions .btn {
    align-items: center;
    display: inline-flex;
    min-height: 48px;
    padding: 10px 16px;
}

.nominal-gaji-page .modal-content {
    backdrop-filter: blur(20px) saturate(150%);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .20);
}

