:root {
    --pn-topbar-bg: #0b4d8c;
    --pn-sidebar-bg: #457b9d;
    --pn-sidebar-hover: #386785;
    --pn-sidebar-active: #2e5670;
    --pn-accent-gold: #f0ad4e;
    --pn-grid-header: #2596d4;
    --pn-border: #dddddd;
}

body.pn-pos-body {
    margin: 0;
    padding: 0;
    background-color: #f4f6f9;
    background-image: var(--pn-bg-pattern);
    background-repeat: repeat;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #222222;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =========================================================
   FASTPAY-STYLE 2-TIER TOPBAR & LEFT BRAND BOX (Identik Gambar 2)
   ========================================================= */
.pn-pos-topbar.fp-pos-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 102px;
    background: linear-gradient(90deg, #0088cc 0%, #00a1e4 55%, #0082c8 100%);
    color: #ffffff;
    display: flex;
    align-items: stretch;
    padding: 0;
    z-index: 1030;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.pn-pos-topbar.fp-pos-header.fp-pos-header-compact {
    height: 58px;
}

.pn-pos-topbar.fp-pos-header.fp-pos-header-compact .fp-topbar-main {
    justify-content: center;
    padding: 0 16px;
}

.pn-pos-topbar.fp-pos-header.fp-pos-header-compact .fp-topbar-brand-box {
    padding: 4px 10px;
}

.fp-topbar-brand-box {
    width: 225px;
    min-width: 225px;
    background-color: #ffffff;
    border-right: 1px solid #d5d9de;
    border-bottom: 1px solid #d5d9de;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 10px 6px 10px;
    transition: margin-left 0.2s ease;
}

.fp-topbar-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    line-height: 1;
    margin-bottom: 5px;
}

.fp-topbar-brand-blue {
    font-size: 21px;
    font-weight: 900;
    color: #0065b3;
    letter-spacing: -0.4px;
}

.fp-topbar-brand-orange {
    font-size: 21px;
    font-weight: 700;
    color: #f37021;
    letter-spacing: -0.4px;
}

.fp-topbar-loket-id {
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    letter-spacing: 0.2px;
}

/* Overlapping Spheres Brand Icon */
.fp-logo-spheres {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 34px;
    height: 24px;
    flex-shrink: 0;
}

.fp-logo-spheres-md {
    width: 32px;
    height: 22px;
}

.fp-logo-spheres-sm {
    width: 24px;
    height: 16px;
}

.fp-sphere-orange,
.fp-sphere-cyan,
.fp-sphere-blue {
    position: absolute;
    border-radius: 50%;
}

.fp-sphere-orange {
    width: 20px;
    height: 20px;
    left: 0;
    background: radial-gradient(circle at 35% 35%, #ff9f43, #ee5a24);
    z-index: 3;
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.2);
}

.fp-sphere-cyan {
    width: 20px;
    height: 20px;
    left: 7px;
    background: radial-gradient(circle at 35% 35%, #48dbfb, #0abde3);
    z-index: 2;
}

.fp-sphere-blue {
    width: 20px;
    height: 20px;
    left: 13px;
    background: radial-gradient(circle at 35% 35%, #2e86de, #0652dd);
    z-index: 1;
}

.fp-logo-spheres-sm .fp-sphere-orange,
.fp-logo-spheres-sm .fp-sphere-cyan,
.fp-logo-spheres-sm .fp-sphere-blue {
    width: 14px;
    height: 14px;
}

.fp-logo-spheres-sm .fp-sphere-cyan {
    left: 5px;
}

.fp-logo-spheres-sm .fp-sphere-blue {
    left: 10px;
}

.fp-topbar-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 16px 8px 16px;
    min-width: 0;
}

.fp-topbar-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    gap: 12px;
}

.fp-topbar-left-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fp-hamburger-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    padding: 4px 6px;
    cursor: pointer;
    opacity: 0.95;
}

.fp-hamburger-btn:hover {
    opacity: 1;
}

.fp-menu-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 220px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    padding-bottom: 2px;
}

.fp-menu-search-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 12.5px;
    width: 100%;
    padding: 2px 22px 2px 4px;
    outline: none;
}

.fp-menu-search-input::placeholder {
    color: rgba(255, 255, 255, 0.82);
}

.fp-menu-search-icon {
    position: absolute;
    right: 4px;
    color: #ffffff;
    font-size: 13px;
    pointer-events: none;
}

.fp-topbar-right-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-balance-block {
    text-align: right;
    line-height: 1.15;
    margin-right: 2px;
}

.fp-balance-line {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.fp-balance-refresh-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 12px;
    padding: 0;
    cursor: pointer;
}

.fp-balance-sub {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.92);
}

.fp-balance-store {
    font-weight: 700;
    color: #ffffff;
}

.fp-btn-tambah-saldo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    color: #0077b6 !important;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 5px;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.fp-btn-tambah-saldo:hover {
    background-color: #f0f9ff;
    transform: translateY(-1px);
}

.fp-promo-coin-badge {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    margin: 0 2px;
}

.fp-coin-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fde047, #eab308);
    border: 2px solid #fef08a;
    color: #92400e;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.fp-coin-tag {
    background-color: #dc2626;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 0 4px;
    border-radius: 2px;
    margin-top: -5px;
    letter-spacing: 0.3px;
}

.fp-circle-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fp-circle-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #0077b6 !important;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.fp-circle-icon-btn:hover {
    background-color: #e0f2fe;
    transform: translateY(-1px);
}

.fp-circle-icon-btn.no-caret::after {
    display: none !important;
}

.fp-circle-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tier 2: Quick Transaction Widgets Row */
.fp-topbar-row-quick {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
}

.fp-quick-widgets-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.fp-quick-widget {
    position: relative;
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: visible;
    height: 38px;
    flex: 1;
    max-width: 315px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
}

.fp-quick-widget-token {
    max-width: 365px;
}

.fp-quick-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px 0 11px;
    color: #9ca3af;
    font-size: 13.5px;
    background: transparent;
    border: none;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.fp-quick-icon:hover {
    color: #475569;
}

/* Dark Tooltip "Lihat Riwayat Transaksi" (Identik Gambar 3) */
.fp-quick-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #262626;
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 2000;
}

.fp-quick-icon[data-tooltip]::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #262626 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 2000;
}

.fp-quick-icon[data-tooltip]:hover::after,
.fp-quick-icon[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

.fp-quick-input {
    border: none;
    outline: none;
    font-size: 12.5px;
    color: #1e293b;
    width: 100%;
    padding: 0 8px 0 4px;
    background: transparent;
    border-radius: 5px 0 0 5px;
}

.fp-quick-input::placeholder {
    color: #6b7280;
    text-decoration: underline;
    text-decoration-color: #9ca3af;
}

.fp-quick-denom {
    border: none;
    border-left: 1px solid #f37021;
    background-color: #ffffff;
    color: #1e293b;
    font-size: 12px;
    font-weight: 500;
    padding: 0 6px;
    outline: none;
    cursor: pointer;
}

.fp-quick-btn {
    position: relative;
    background: linear-gradient(180deg, #f58220 0%, #ea6a12 100%);
    color: #ffffff;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0 14px 0 18px;
    min-width: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.08;
    cursor: pointer;
    transition: filter 0.15s ease;
}

/* White Right-Pointing Arrow Notch into Orange Button (Identik Gambar 3) */
.fp-quick-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #ffffff;
}

.fp-quick-btn span {
    font-size: 10px;
    font-weight: 500;
}

.fp-quick-btn strong {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.fp-quick-btn:hover {
    filter: brightness(0.95);
}

.fp-quick-note-btn {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    border: none;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none !important;
    background: transparent;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.fp-quick-note-btn:hover {
    opacity: 0.85;
}

/* =========================================================
   QUICK MENU SELECTOR & HISTORY TRANSAKSI MODALS (Gambar 2 & 4)
   ========================================================= */
.fp-custom-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 9990;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 28px;
}

.k-overlay {
    z-index: 100040 !important;
}

.k-dialog-wrapper,
.k-window-wrapper,
.k-dialog,
.k-window {
    z-index: 100050 !important;
}

.fp-custom-modal-dialog {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border-radius: 3px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    animation: fpModalFadeIn 0.15s ease-out;
}

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

.fp-custom-modal-header {
    background-color: #0099e5;
    color: #ffffff;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fp-custom-modal-title {
    font-size: 13.5px;
    font-weight: 500;
    color: #ffffff;
}

.fp-custom-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.fp-custom-modal-close:hover {
    color: #ffffff;
}

.fp-custom-modal-body {
    padding: 16px;
    max-height: 75vh;
    overflow-y: auto;
}

.fp-quick-option-list {
    list-style: none;
    margin: 0;
    padding: 4px 14px;
}

.fp-quick-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    border-bottom: 1px solid #eeeeee;
    cursor: pointer;
    user-select: none;
}

.fp-quick-option-item:hover {
    background-color: #f8fafc;
}

.fp-quick-option-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-quick-opt-icon {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.fp-quick-opt-label {
    font-size: 12px;
    color: #555555;
    font-weight: 400;
}

.fp-quick-opt-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #0099e5;
    border-radius: 3px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
}

.fp-quick-opt-checkbox:checked {
    background-color: #0099e5;
    border-color: #0099e5;
}

.fp-quick-opt-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fp-custom-modal-footer {
    padding: 12px 18px 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
}

.fp-btn-modal-tutup {
    background: transparent;
    border: none;
    color: #333333;
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 10px;
    cursor: pointer;
}

.fp-btn-modal-tutup:hover {
    text-decoration: underline;
}

.fp-btn-modal-simpan {
    background-color: #d9534f;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 28px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(217, 83, 79, 0.28);
}

.fp-btn-modal-simpan:hover {
    background-color: #c9302c;
}

/* History Transaksi Modal Content (Identik Gambar 4) */
.fp-history-search-wrap {
    margin-bottom: 12px;
}

.fp-history-search-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d1d5db;
    padding: 6px 2px;
    font-size: 12px;
    color: #333333;
    outline: none;
}

.fp-history-search-input:focus {
    border-bottom-color: #0099e5;
}

.fp-history-table-wrap {
    max-height: 320px;
    overflow-y: auto;
}

.fp-history-table {
    width: 100%;
    border-collapse: collapse;
}

.fp-history-table thead th {
    font-size: 12.5px;
    font-weight: 500;
    color: #222222;
    padding: 8px 6px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.fp-history-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.fp-history-table tbody tr:hover {
    background-color: #f0f9ff;
}

.fp-history-table tbody td {
    padding: 10px 6px;
    font-size: 12.5px;
    color: #333333;
    vertical-align: middle;
}

.fp-history-del-btn {
    background: transparent;
    border: none;
    color: #d9534f;
    font-size: 14px;
    padding: 2px 6px;
    cursor: pointer;
}

.fp-history-del-btn:hover {
    color: #b91c1c;
}

/* =========================================================
   LEFT SIDEBAR (225px Light Metallic White-Gray Identik Gambar 2)
   ========================================================= */
.pn-pos-sidebar {
    position: fixed;
    top: 102px;
    bottom: 26px;
    left: 0;
    width: 225px;
    background-color: #f4f5f7;
    color: #2d3748;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1020;
    border-right: 1px solid #d5d9de;
    transition: transform 0.2s ease;
}

.pn-pos-sidebar::-webkit-scrollbar {
    width: 5px;
}

.pn-pos-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 3px;
}

/* Kendo PanelBar Overrides in Sidebar (Fastpay Metallic Light Theme) */
#pn-sidebar-panelbar,
#pn-sidebar-panelbar ul,
#pn-sidebar-panelbar li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#pn-sidebar-panelbar:not(.k-panelbar) > li > ul {
    display: none !important;
}

#pn-sidebar-panelbar:not(.k-panelbar) > li.k-state-active > ul,
#pn-sidebar-panelbar:not(.k-panelbar) > li.k-expanded > ul {
    display: block !important;
}

#pn-sidebar-panelbar.k-panelbar {
    background: #f4f5f7 !important;
    border: none !important;
    padding: 0 0 52px 0 !important;
}

#pn-sidebar-panelbar .k-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    margin: 0 !important;
    color: #333333 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f1f3f6 100%) !important;
    text-decoration: none !important;
    border-bottom: 1px solid #e2e6ea !important;
    box-shadow: inset 0 1px 0 #ffffff;
    cursor: pointer !important;
    user-select: none;
}

#pn-sidebar-panelbar .k-link *,
#pn-sidebar-panelbar .k-item {
    cursor: pointer !important;
}

#pn-sidebar-panelbar .k-link .k-icon,
#pn-sidebar-panelbar .k-link .k-panelbar-expand,
#pn-sidebar-panelbar .k-link .k-panelbar-collapse {
    display: none !important;
}

.fp-sb-item-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fp-sb-icon {
    width: 22px;
    text-align: center;
    font-size: 15px;
    color: #2c3e50;
    flex-shrink: 0;
}

.fp-sb-subicon {
    width: 18px;
    text-align: center;
    font-size: 12.5px;
    color: #0088cc;
    flex-shrink: 0;
}

.fp-sb-plus {
    font-size: 11px;
    color: #333333;
    transition: transform 0.15s ease;
}

#pn-sidebar-panelbar .k-item.k-expanded > .k-link .fp-sb-plus,
#pn-sidebar-panelbar .k-item.k-state-active > .k-link .fp-sb-plus {
    transform: rotate(45deg);
    color: #0088cc;
}

#pn-sidebar-panelbar .k-link:hover {
    background: linear-gradient(180deg, #f8fdff 0%, #e6f4fb 100%) !important;
    color: #006699 !important;
}

#pn-sidebar-panelbar .k-item.active > .k-link,
#pn-sidebar-panelbar .k-item.k-state-selected > .k-link {
    background: linear-gradient(180deg, #e8f6fd 0%, #d5eefb 100%) !important;
    color: #005b8f !important;
    font-weight: 700 !important;
    border-left: 4px solid #0088cc !important;
}

#pn-sidebar-panelbar .k-panelbar-group {
    background: #eef4f8 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#pn-sidebar-panelbar .k-panelbar-group .k-link {
    padding: 8px 12px 8px 26px !important;
    font-size: 12px !important;
    color: #334155 !important;
    background: #f8fbfd !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#pn-sidebar-panelbar .k-panelbar-group .k-link:hover {
    background: #e2f2fc !important;
    color: #006699 !important;
}

/* Floating "Geser Menu" Pill at Bottom-Left */
.fp-geser-menu-pill {
    position: fixed;
    left: 14px;
    bottom: 34px;
    background-color: #1294e6;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 600;
    z-index: 1035;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.fp-geser-badge-x {
    position: absolute;
    top: -6px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #f59e0b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   MAIN POS WORKSPACE CONTENT AREA & ADMIN BAR COMPATIBILITY
   ========================================================= */
.pn-pos-wrapper {
    padding-top: 102px;
}

.pn-pos-main {
    margin-top: 0;
    margin-left: 225px;
    margin-bottom: 28px;
    padding: 14px 18px 28px 18px;
    min-height: calc(100vh - 130px);
    background-color: #ffffff;
    transition: margin-left 0.2s ease;
}

body.fp-sidebar-collapsed .pn-pos-sidebar {
    transform: translateX(-225px);
}

body.fp-sidebar-collapsed .pn-pos-main {
    margin-left: 0;
}

body.show-admin-bar,
body:has(#admin_bar) {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: static !important;
}

body.show-admin-bar .pn-pos-wrapper,
body:has(#admin_bar) .pn-pos-wrapper {
    padding-top: 142px;
}

body.show-admin-bar .pn-pos-topbar,
body:has(#admin_bar) .pn-pos-topbar {
    top: 40px;
}

body.show-admin-bar .pn-pos-sidebar,
body:has(#admin_bar) .pn-pos-sidebar {
    top: 142px;
}

body:has(.fp-pos-header-compact) .pn-pos-wrapper {
    padding-top: 58px;
}

body:has(.fp-pos-header-compact) .pn-pos-sidebar {
    top: 58px;
}

body.show-admin-bar:has(.fp-pos-header-compact) .pn-pos-wrapper,
body:has(#admin_bar):has(.fp-pos-header-compact) .pn-pos-wrapper {
    padding-top: 98px;
}

body.show-admin-bar:has(.fp-pos-header-compact) .pn-pos-sidebar,
body:has(#admin_bar):has(.fp-pos-header-compact) .pn-pos-sidebar {
    top: 98px;
}

body.show-admin-bar .pn-pos-main,
body:has(#admin_bar) .pn-pos-main {
    margin-top: 0;
    min-height: calc(100vh - 170px);
}

/* =========================================================
   LOKET AGENCY HEADER & GREEN SECTION BANNER (Identik Asli)
   ========================================================= */
.pn-loket-header-info {
    margin: -14px -20px 18px -20px;
    padding: 12px 22px 13px 22px;
    background: linear-gradient(180deg, #b8dcf5 0%, #d4ebfa 100%);
    border-bottom: 1px solid #a6cce8;
}

.pn-loket-title {
    font-size: 20px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 2px 0;
    line-height: 1.25;
}

.pn-loket-balance {
    font-size: 13.5px;
    font-weight: 700;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-pn-refresh {
    background: none;
    border: none;
    color: #111111;
    font-size: 0.92rem;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease, color 0.2s ease;
}

.btn-pn-refresh:hover {
    transform: rotate(180deg);
    color: #0b4d8c;
}

/* =========================================================
   DESKTOP POS MODULE HEADER BAR (Tanpa Tombol - □ x)
   ========================================================= */
.pn-section-banner-box {
    background: transparent;
    border: none;
    padding: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
}

.pn-section-banner-box.pn-desktop-module-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-bottom: 1px solid #cbd5e1;
    border-radius: 10px 10px 0 0;
    padding: 12px 22px;
    margin: -18px -20px 18px -20px;
}

.pn-section-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pn-green-square {
    width: 7px;
    height: 26px;
    border-radius: 4px;
    background: linear-gradient(180deg, #0284c7 0%, #16a34a 100%);
    display: inline-block;
    flex-shrink: 0;
}

.pn-section-title-text {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18.5px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.pn-desktop-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-pn-toolbar-inquiry,
.btn-pn-toolbar-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
}

.btn-pn-toolbar-inquiry {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    border: 1px solid #1e40af;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(29, 78, 216, 0.25);
}

.btn-pn-toolbar-inquiry:hover {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%);
    color: #ffffff;
}

.btn-pn-toolbar-reset {
    background: linear-gradient(180deg, #64748b 0%, #475569 100%);
    border: 1px solid #334155;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(51, 65, 85, 0.2);
}

.btn-pn-toolbar-reset:hover {
    background: linear-gradient(180deg, #475569 0%, #334155 100%);
    color: #ffffff;
}

.pn-toolbar-kbd,
.pn-kbd-badge {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.95;
}

/* =========================================================
   DESKTOP POS WORKSPACE WINDOW & TOP SPLIT AREA
   ========================================================= */
.pn-form-box,
.pn-workspace-card {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 18px 20px 22px 20px;
    border-radius: 10px;
    margin-bottom: 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.pn-form-box.pn-desktop-pos-window {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 18px 20px 0 20px;
    overflow: hidden;
}

.pn-desktop-top-split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pn-desktop-form-col {
    flex: 1 1 auto;
    min-width: 320px;
}

.pn-desktop-total-col {
    flex: 0 0 auto;
    margin-left: auto;
}

/* Digital Total Display Panel (Kanan Atas - Identik Mockup v2) */
.pn-digital-total-frame {
    background: #1e293b;
    padding: 7px;
    border-radius: 8px;
    border: 1px solid #0f172a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14);
    min-width: 320px;
}

.pn-digital-total-inner {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 12px 20px;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    text-align: right;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.pn-digital-total-label,
#pos-digital-total-text {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 23px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    line-height: 1.15;
    white-space: nowrap;
}

.pn-inquiry-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.pn-inquiry-row:last-child {
    margin-bottom: 0;
}

.pn-inquiry-label {
    width: 165px;
    min-width: 165px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    padding-top: 8px;
    margin-bottom: 0;
    line-height: 1.3;
}

.pn-inquiry-field-wrap {
    width: 335px;
    min-width: 280px;
    max-width: 380px;
    flex: 0 1 335px;
}

.pn-input-inline-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
}

.pn-operator-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(29, 78, 216, 0.08);
}

.pn-inline-inquiry-wrap {
    display: inline-flex;
    align-items: center;
    height: 36px;
    flex-shrink: 0;
}

.pn-input-group {
    display: flex;
    width: 100%;
}

.pn-input-group-addon {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-right: none;
    padding: 6px 11px;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    font-size: 13px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.pn-input-control {
    border: 1px solid #cbd5e1;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    width: 100%;
    height: 36px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pn-input-control:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Kendo UI Searchable DropDownList inside POS Form Input Group */
.pn-input-group .k-dropdownlist,
.pn-input-group .k-dropdown,
.pn-inquiry-field-wrap > .k-dropdownlist,
.pn-inquiry-field-wrap > .k-dropdown {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 0 6px 6px 0 !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.pn-inquiry-field-wrap > .k-dropdownlist,
.pn-inquiry-field-wrap > .k-dropdown {
    border-radius: 6px !important;
}

.pn-input-group .k-dropdownlist.k-focus,
.pn-input-group .k-dropdown.k-state-focused,
.pn-inquiry-field-wrap > .k-dropdownlist.k-focus,
.pn-inquiry-field-wrap > .k-dropdown.k-state-focused {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.pn-input-group .k-dropdownlist .k-input-inner,
.pn-input-group .k-dropdown .k-input,
.pn-inquiry-field-wrap > .k-dropdownlist .k-input-inner,
.pn-inquiry-field-wrap > .k-dropdown .k-input {
    padding: 5px 12px !important;
    font-size: 13px !important;
    color: #0f172a !important;
    line-height: 24px !important;
}

.pn-input-group .k-dropdownlist .k-input-button,
.pn-inquiry-field-wrap > .k-dropdownlist .k-input-button {
    background: transparent !important;
    border: none !important;
    color: #475569 !important;
    padding: 0 10px !important;
}

.k-list-container .k-list-filter {
    padding: 6px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.k-list-container .k-list-filter .k-input,
.k-list-container .k-list-filter .k-textbox {
    font-size: 12.5px !important;
    height: 32px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
}

.k-list-container .k-list-scroller,
.k-list-container .k-list-content {
    max-height: 240px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.k-list-container .k-list-item,
.k-list-container .k-item {
    font-size: 12.5px !important;
    padding: 6px 12px !important;
    color: #0f172a !important;
}

.k-list-container .k-list-item.k-selected,
.k-list-container .k-item.k-state-selected {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.pn-subhint {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
    margin-bottom: 6px;
}

.pn-subhint a {
    color: #0284c7;
    font-weight: 700;
    text-decoration: underline;
}

.btn-pn-inquiry {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border: 1px solid #1e3a8a;
    border-radius: 6px;
    height: 36px;
    padding: 0 18px !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(29, 78, 216, 0.28);
    transition: all 0.15s ease;
}

.btn-pn-inquiry:hover:not(:disabled) {
    background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
}

.btn-pn-inquiry:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Subscriber / Inquiry Summary Card (Responsive Multi-Column Strip) */
.pn-subscriber-info-box {
    display: none;
    margin: 4px 0 12px 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #0284c7;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    width: 100%;
}

.pn-subscriber-info-header {
    background: linear-gradient(90deg, #f0f9ff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    color: #0369a1;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pn-subscriber-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 0;
    background: #ffffff;
}

.pn-subscriber-info-item {
    padding: 9px 14px;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pn-subscriber-info-item:last-child {
    border-right: none;
}

.pn-subscriber-info-item.pn-subscriber-item-highlight {
    background: #f8fafc;
}

.pn-subscriber-info-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    line-height: 1.25;
}

.pn-subscriber-info-value {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}

.pn-subscriber-item-highlight .pn-subscriber-info-value {
    color: #0284c7;
}

/* =========================================================
   MODERN SEGMENTED CATALOG FILTER TABS & SEARCH TOOLBAR
   ========================================================= */
.pn-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 10px;
    margin: 8px 0 8px 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.pn-catalog-toolbar-end {
    justify-content: space-between;
}

.pn-catalog-toolbar-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    padding-left: 4px;
    display: inline-flex;
    align-items: center;
}

.pn-segmented-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #e2e8f0;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.pn-seg-tab {
    appearance: none;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.16s ease;
    line-height: 1.2;
    white-space: nowrap;
}

.pn-seg-tab:hover:not(.active) {
    color: #0f172a;
    background-color: rgba(255, 255, 255, 0.65);
}

.pn-seg-tab.active {
    background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
    color: #ffffff;
    border-color: #1e40af;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.28);
}

.pn-seg-icon {
    font-size: 12.5px;
    opacity: 0.9;
}

.pn-seg-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 800;
    background-color: rgba(15, 23, 42, 0.09);
    color: #334155;
    transition: all 0.16s ease;
}

.pn-seg-tab.active .pn-seg-badge {
    background-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.pn-catalog-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 285px;
    max-width: 100%;
}

.pn-catalog-search-icon {
    position: absolute;
    left: 11px;
    color: #64748b;
    font-size: 12.5px;
    pointer-events: none;
}

.pn-catalog-search-input {
    width: 100%;
    height: 34px;
    padding: 5px 32px 5px 32px;
    font-size: 12.5px;
    font-weight: 500;
    color: #0f172a;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pn-catalog-search-input::placeholder {
    color: #94a3b8;
}

.pn-catalog-search-input:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.pn-catalog-search-clear {
    position: absolute;
    right: 6px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 13.5px;
    padding: 2px 5px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.pn-catalog-search-clear:hover {
    color: #ef4444;
}

/* =========================================================
   KENDO UI DATA GRID DESKTOP POS (#grid-products)
   Identik Mockup v2 (Silver-Slate Header, Crisp Gridlines, Sky-Blue Selected)
   ========================================================= */
.k-grid-container {
    margin-top: 8px;
    border: 1px solid #94a3b8;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

#grid-products,
.k-grid {
    border: none !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden;
}

#grid-products .k-grid-container,
#grid-products .k-grid-content,
#grid-products .k-table,
#grid-products .k-grid-header-wrap,
.k-grid .k-grid-container,
.k-grid .k-grid-content {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

#grid-products table,
.k-grid table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    margin: 0 !important;
}

#grid-products .k-grid-header,
.k-grid .k-grid-header {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
    padding-right: 0 !important;
    border: none !important;
    border-bottom: 2px solid #94a3b8 !important;
}

#grid-products .k-grid-header tr,
.k-grid .k-grid-header tr {
    height: 36px !important;
}

#grid-products tbody tr,
.k-grid tbody tr {
    height: 35px !important;
}

#grid-products .k-grid-header th.k-header,
#grid-products .k-grid-header th.k-table-th,
#grid-products .k-grid-header th,
.k-grid .k-grid-header .k-table-th,
.k-grid .k-grid-header th.k-header {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 7px 14px !important;
    line-height: 1.3 !important;
    border: none !important;
    border-right: 1px solid #cbd5e1 !important;
    vertical-align: middle !important;
}

#grid-products .k-grid-header th:last-child,
.k-grid .k-grid-header th:last-child {
    border-right: none !important;
}

#grid-products .k-grid-header th .k-cell-inner,
.k-grid .k-grid-header th .k-cell-inner {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

#grid-products .k-grid-header th .k-link,
#grid-products .k-grid-header th .k-cell-inner .k-link,
.k-grid .k-grid-header th .k-link {
    color: #0f172a !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.3 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: 100% !important;
    text-decoration: none !important;
}

#grid-products .k-grid-header th.pn-th-right,
#grid-products .k-grid-header th.pn-th-right .k-cell-inner,
#grid-products .k-grid-header th.pn-th-right .k-cell-inner .k-link {
    justify-content: flex-end !important;
    text-align: right !important;
}

#grid-products .k-grid-header th .k-sort-icon,
#grid-products .k-grid-header th .k-icon {
    display: none !important;
}

#grid-products tbody tr td,
#grid-products tbody tr td.k-table-td,
.k-grid tbody tr td,
.k-grid tbody tr td.k-table-td {
    height: 35px !important;
    min-height: 35px !important;
    padding: 6px 14px !important;
    line-height: 1.35 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    border: none !important;
    border-right: 1px solid #cbd5e1 !important;
    border-bottom: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    vertical-align: middle !important;
}

#grid-products tbody tr td:last-child,
.k-grid tbody tr td:last-child {
    border-right: none !important;
}

/* Zebra Striping (Baris Genap Abu-Abu Lembut) */
#grid-products tbody tr:nth-child(even) td,
#grid-products tbody tr.k-alt td,
.k-grid tbody tr:nth-child(even) td,
.k-grid tbody tr.k-alt td {
    background-color: #f8fafc !important;
}

#grid-products tbody tr td.pn-td-right {
    text-align: right !important;
    padding-right: 14px !important;
    font-weight: 600 !important;
}

#grid-products tbody tr td.pn-col-first {
    font-weight: 500 !important;
    padding-left: 14px !important;
}

#grid-products tbody tr td input[type="radio"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #0284c7;
    vertical-align: middle;
    margin: 0;
}

/* Hover Row */
#grid-products tbody tr:hover td,
.k-grid tbody tr:hover td {
    background-color: #f0f9ff !important;
    cursor: pointer;
}

/* Selected Row Highlight (Soft Sky-Blue seperti Gambar Mockup v2) */
#grid-products tbody tr.k-selected td,
#grid-products tbody tr.k-state-selected td,
#grid-products tbody tr.pn-row-selected td,
.k-grid tbody tr.k-selected td {
    background-color: #dbeafe !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-right-color: #93c5fd !important;
    border-bottom-color: #93c5fd !important;
}

/* Disabled / Gangguan Row (Tidak Bisa Diklik) */
#grid-products tbody tr.pn-row-disabled,
.k-grid tbody tr.pn-row-disabled {
    cursor: not-allowed !important;
}

#grid-products tbody tr.pn-row-disabled td,
#grid-products tbody tr.pn-row-disabled:hover td,
#grid-products tbody tr.pn-row-disabled.k-selected td,
#grid-products tbody tr.pn-row-disabled.k-state-selected td,
#grid-products tbody tr.pn-row-disabled.pn-row-selected td,
.k-grid tbody tr.pn-row-disabled td,
.k-grid tbody tr.pn-row-disabled:hover td {
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    user-select: none !important;
}

#grid-products tbody tr.pn-row-disabled td strong,
.k-grid tbody tr.pn-row-disabled td strong {
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

#grid-products tbody tr.pn-row-disabled td input[type="radio"],
.k-grid tbody tr.pn-row-disabled td input[type="radio"] {
    cursor: not-allowed !important;
    opacity: 0.45 !important;
    pointer-events: none !important;
}

/* Empty State Row ("No data available in table") */
#grid-products .k-grid-norecords,
.k-grid .k-grid-norecords {
    background-color: #f8fafc !important;
}

#grid-products .k-grid-norecords td,
.pn-grid-empty-row {
    text-align: center !important;
    padding: 12px 14px !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    background-color: #f8fafc !important;
}

/* =========================================================
   BOTTOM HORIZONTAL CASHIER DOCK & SEGMENTED STATUS BAR (Mockup v2)
   ========================================================= */
.pn-calc-wrapper.pn-desktop-dock-wrapper {
    margin: 18px -20px 0 -20px;
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
    border-top: 1px solid #cbd5e1;
}

.pn-calc-box.pn-desktop-dock-box {
    width: 100%;
    max-width: none;
}

.pn-desktop-cashier-dock {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    flex-wrap: wrap;
}

.pn-dock-field {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    flex: 1 1 180px;
    min-width: 150px;
}

.pn-dock-field.pn-dock-field-lembar {
    flex: 0 0 115px;
    min-width: 100px;
    max-width: 120px;
}

#pn-calc-hp-row {
    flex: 1 1 190px;
    min-width: 170px;
    max-width: 235px;
}

.pn-dock-label {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}

.pn-dock-input-wrap {
    width: 100%;
}

.pn-dock-input {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 18px;
    font-weight: 800;
    text-align: right;
    color: #0f172a;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pn-dock-input.pn-dock-input-center {
    text-align: center !important;
    background-color: #ffffff !important;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a !important;
}

.pn-dock-input.pn-dock-input-left {
    text-align: left !important;
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a !important;
}

.pn-dock-input.pn-dock-total-input {
    text-align: right !important;
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.pn-dock-input.pn-dock-pay-input {
    text-align: right !important;
    background-color: #ffffff !important;
    border: 2px solid #0284c7 !important;
    color: #0f172a !important;
}

.pn-dock-input.pn-dock-pay-input:focus {
    border-color: #1d4ed8 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}

.pn-dock-input.pn-dock-change-input {
    text-align: right !important;
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #15803d !important;
    font-weight: 800 !important;
}

.pn-dock-action {
    flex: 0 0 210px;
    display: flex;
    align-items: stretch;
}

.btn-pn-pay.pn-dock-btn-pay {
    width: 100%;
    height: 100%;
    min-height: 58px;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px;
    padding: 0 22px !important;
    border-radius: 8px !important;
    cursor: pointer;
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
    border: 1px solid #1e3a8a;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 8px rgba(29, 78, 216, 0.3);
    transition: all 0.15s ease;
}

.btn-pn-pay.pn-dock-btn-pay:hover:not(:disabled) {
    background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-1px);
}

.btn-pn-pay.pn-dock-btn-pay:disabled {
    background: #94a3b8;
    border-color: #64748b;
    box-shadow: none;
    opacity: 0.75;
    cursor: not-allowed;
}

/* Segmented Desktop Status Bar (Bagian Paling Bawah Window POS) */
.pn-desktop-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e2e8f0;
    border-top: 1px solid #cbd5e1;
    padding: 0 16px;
    min-height: 32px;
    font-size: 12px;
    color: #334155;
    flex-wrap: wrap;
}

.pn-statusbar-seg {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-right: 1px solid #cbd5e1;
    line-height: 1.2;
}

.pn-statusbar-seg:first-child {
    padding-left: 4px;
    font-weight: 700;
    color: #0f172a;
}

.pn-statusbar-seg:last-child {
    border-right: none;
    padding-right: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 700;
    color: #0f172a;
}

.pn-statusbar-printer {
    flex: 1 1 auto;
}

.pn-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    background-color: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.22);
}

/* Fastpay / Print Application Status Line inside Status Bar */
.pn-print-plugin-status {
    font-size: 11.5px;
    font-weight: 600;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.pn-print-plugin-status.connected {
    color: #059669;
}

.pn-print-download-link {
    color: #dc2626;
    text-decoration: underline;
    font-weight: 700;
}

.pn-print-download-link:hover {
    color: #991b1b;
}

.btn-pn-print-refresh {
    background: none;
    border: none;
    color: #dc2626;
    padding: 0 0 0 3px;
    font-size: 11.5px;
    cursor: pointer;
}

.pn-print-plugin-status.connected .btn-pn-print-refresh {
    color: #059669;
}

/* =========================================================
   BOTTOM RUNNING NEWSBAR (#pn-newsbar - White Bar + Bold Black Text)
   ========================================================= */
#pn-newsbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 26px;
    overflow: hidden;
    background-color: #ffffff;
    border-top: 1px solid #cccccc;
    color: #111111;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 26px;
    z-index: 1030;
}

#pn-newsbar marquee {
    line-height: 26px;
    font-size: 13.5px;
    font-weight: 700;
    color: #111111;
}

.pn-newsbar-sep {
    color: #0284c7;
    font-weight: 900;
}

.pn-newsbar-action-link {
    display: inline-block;
    margin-left: 6px;
    padding: 0 7px;
    height: 18px;
    line-height: 17px;
    border-radius: 3px;
    background-color: #0284c7;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
    vertical-align: baseline;
}

.pn-newsbar-action-link:hover {
    background-color: #0369a1;
}

/* =========================================================
   SUPPRESS KENDO UI WATERMARK / LICENSE BANNERS
   ========================================================= */
#k-license-banner,
.k-watermark,
.k-license-banner,
div[class*="watermark"],
div[class*="k-watermark"],
div[class*="k-licensing"],
div[class*="license-banner"],
span[class*="watermark"],
svg.k-watermark,
.k-licensing-banner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    z-index: -9999 !important;
}

/* =========================================================
   GLOBAL LOADING OVERLAY (.dimmed + .loadingAjax)
   ========================================================= */
.dimmed {
    z-index: 99999;
    background: rgba(0, 0, 0, 0.28);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
}

.loadingAjax {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -96px;
    margin-top: -24px;
    display: block;
}

/* =========================================================
   KENDO UI DIALOG / MODAL HEADER (Identik Master #337ab7)
   ========================================================= */
.k-dialog .k-window-titlebar,
.k-dialog .k-dialog-titlebar,
.k-window .k-window-titlebar {
    background-color: #337ab7 !important;
    color: #ffffff !important;
    padding: 10px 15px !important;
    font-weight: 700 !important;
}

.k-dialog .k-dialog-title,
.k-window .k-window-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
}

.k-dialog .k-dialog-titlebar .k-button,
.k-window .k-window-titlebar .k-button {
    color: #ffffff !important;
    opacity: 0.9;
    background: transparent !important;
    border: none !important;
}

.k-dialog .k-dialog-actions {
    padding: 8px 15px !important;
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    justify-content: flex-end !important;
}

/* =========================================================
   FASTPAY-STYLE FLOATING CARD LOGIN & DASHBOARD TILES (Gambar 1 & 2)
   ========================================================= */
.fp-login-viewport {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fp-login-bg-svg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.fp-login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 950px;
    min-height: 535px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
    display: flex;
    overflow: hidden;
}

.fp-login-banner {
    position: relative;
    width: 47%;
    background: radial-gradient(circle at 30% 25%, #0a46e4 0%, #03259c 55%, #001468 100%);
    color: #ffffff;
    padding: 18px 42px 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fp-banner-wave-divider {
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    width: 56px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.fp-banner-inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.fp-banner-top-pill {
    align-self: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 4px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.fp-pill-brand-blue {
    font-size: 13px;
    font-weight: 900;
    color: #0065b3;
}

.fp-pill-brand-orange {
    font-size: 13px;
    font-weight: 800;
    color: #f37021;
}

.fp-banner-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0 8px 0;
}

.fp-hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48%;
}

.fp-edc-illustration {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: -6px;
}

.fp-edc-device {
    width: 58px;
    height: 82px;
    background: linear-gradient(145deg, #334155, #0f172a);
    border: 2px solid #64748b;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.fp-edc-screen {
    background: #38bdf8;
    color: #0f172a;
    font-size: 7px;
    font-weight: 900;
    text-align: center;
    padding: 5px 2px;
    border-radius: 3px;
    margin-bottom: 6px;
}

.fp-edc-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.fp-edc-keypad span {
    height: 6px;
    background: #cbd5e1;
    border-radius: 1px;
}

.fp-agent-avatar {
    width: 64px;
    height: 76px;
    border-radius: 50% 50% 12px 12px;
    background: linear-gradient(180deg, #f97316, #ffffff);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fp-edc-title-badge {
    background: linear-gradient(180deg, #0284c7, #0369a1);
    border: 2px solid #ffffff;
    border-radius: 8px;
    padding: 3px 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.fp-edc-line1 {
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.05;
}

.fp-edc-line2 {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: #fde047;
    font-style: italic;
    line-height: 1.05;
}

.fp-hero-right {
    width: 52%;
    text-align: center;
}

.fp-price-strike {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}

.fp-price-main {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(180deg, #f97316, #ea580c);
    padding: 2px 10px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    display: inline-block;
    margin: 2px 0 5px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.fp-price-Sub,
.fp-price-sub {
    font-size: 9.5px;
    line-height: 1.25;
    color: #e0f2fe;
    margin-bottom: 5px;
}

.fp-claim-cta {
    line-height: 1.15;
}

.fp-claim-yellow {
    font-size: 12px;
    font-weight: 900;
    color: #fde047;
}

.fp-claim-white {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
}

.fp-keuntungan-box {
    position: relative;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    padding: 18px 10px 10px 10px;
    margin-top: 8px;
}

.fp-keuntungan-pill {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #f97316, #ea580c);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.fp-keuntungan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.fp-keuntungan-card {
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 6px;
    color: #1e293b;
}

.fp-keuntungan-card-head {
    background-color: #0284c7;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 4px 2px;
    line-height: 1.15;
}

.fp-keuntungan-card-icon {
    font-size: 22px;
    padding: 6px 0 3px 0;
}

.fp-keuntungan-card-desc {
    font-size: 7.5px;
    line-height: 1.2;
    color: #334155;
    padding: 0 4px;
}

.fp-banner-sk {
    text-align: center;
    font-size: 8.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.fp-banner-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.fp-hashtag {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fp-hash-mark {
    font-size: 22px;
    font-weight: 900;
    color: #fde047;
    line-height: 1;
}

.fp-hash-top {
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.fp-hash-bot {
    font-size: 10px;
    font-weight: 800;
    color: #fde047;
    line-height: 1.1;
}

.fp-gplay-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #000000;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 2px 8px;
    text-decoration: none !important;
    line-height: 1.05;
}

.fp-gplay-badge small {
    display: block;
    font-size: 6.5px;
}

.fp-gplay-badge strong {
    font-size: 9.5px;
}

/* Right Login Form Panel */
.fp-login-form-side {
    width: 53%;
    background-color: #ffffff;
    padding: 46px 52px 26px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fp-form-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.fp-brand-text-blue {
    font-size: 26px;
    font-weight: 900;
    color: #0065b3;
    letter-spacing: -0.4px;
}

.fp-brand-text-orange {
    font-size: 26px;
    font-weight: 700;
    color: #f37021;
    letter-spacing: -0.4px;
}

.fp-field-group {
    margin-bottom: 18px;
}

.fp-field-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.fp-forgot-link {
    font-size: 12px;
    color: #0284c7;
    text-decoration: none;
}

.fp-forgot-link:hover {
    text-decoration: underline;
}

.fp-input-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    overflow: hidden;
    height: 40px;
    background-color: #ffffff;
}

.fp-input-wrap:focus-within {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.fp-input-addon {
    width: 40px;
    background-color: #f3f4f6;
    border-right: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 14px;
    flex-shrink: 0;
}

.fp-input-control {
    border: none;
    outline: none;
    width: 100%;
    padding: 0 12px;
    font-size: 13px;
    color: #1f2937;
}

.fp-input-control::placeholder {
    color: #9ca3af;
}

.fp-toggle-pass {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 13px;
}

.fp-btn-masuk {
    width: 100%;
    height: 42px;
    background-color: #db524b;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    transition: background-color 0.15s ease;
}

.fp-btn-masuk:hover {
    background-color: #c9302c;
}

.fp-login-copyright {
    text-align: center;
    font-size: 11.5px;
    color: #333333;
    line-height: 1.45;
    margin-top: 24px;
}

.fp-floating-chat-circle {
    position: fixed;
    right: 22px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1da1f2;
    color: #ffffff;
    border: none;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 1050;
}

/* =========================================================
   FASTPAY-STYLE DASHBOARD SERVICE CARDS & PROMO BANNERS (Gambar 2)
   ========================================================= */
.fp-dashboard-wrap {
    padding: 2px 0 12px 0;
}

.fp-top-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.fp-service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.fp-service-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 60px;
    padding: 8px 12px;
    border: 1px solid #8fd3e8;
    border-radius: 5px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 52%, #d5f2fa 100%);
    text-decoration: none !important;
    color: #2d3748 !important;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 136, 204, 0.08);
    cursor: pointer;
    user-select: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.fp-service-card * {
    cursor: pointer;
}

.fp-service-card:active {
    cursor: grabbing;
}

.fp-service-card:hover {
    transform: translateY(-2px);
    border-color: #0088cc;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.18);
}

.fp-sortable-placeholder {
    opacity: 0.4 !important;
    border: 2px dashed #0099e5 !important;
    background: #e0f2fe !important;
    box-shadow: none !important;
}

.fp-sortable-hint {
    opacity: 0.96 !important;
    transform: scale(1.03) rotate(-1deg) !important;
    border: 1.5px solid #0099e5 !important;
    box-shadow: 0 10px 24px rgba(0, 136, 204, 0.32) !important;
    z-index: 100020 !important;
    cursor: grabbing !important;
    pointer-events: none !important;
}

@keyframes fpCardWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-1.5deg) translateY(-1px); }
    75% { transform: rotate(1.5deg) translateY(-1px); }
}

.fp-card-wiggle-hint {
    animation: fpCardWiggle 0.28s ease-in-out 4;
    border-color: #0099e5 !important;
}

.fp-card-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.fp-card-title {
    font-size: 12px;
    font-weight: 500;
    color: #333333;
    line-height: 1.22;
}

.fp-card-title-single {
    font-size: 12.5px;
    font-weight: 500;
    color: #333333;
    line-height: 1.25;
}

.fp-ribbon-new {
    position: absolute;
    top: 4px;
    right: -20px;
    background-color: #dc2626;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 20px;
    transform: rotate(40deg);
    letter-spacing: 0.4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.fp-show-all-bar {
    width: 100%;
    height: 30px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 12px;
}

.fp-show-all-bar:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

/* 3 Promotional Banners Row at Bottom of Dashboard (Simple Slider Integration) */
.fp-promo-banners-wrap {
    position: relative;
    margin-top: 8px;
    padding: 0 6px;
}

.fp-promo-banners-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
}

.fp-promo-banners-track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.fp-promo-banner,
.fp-promo-slide-card {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 14px 20px;
    min-height: 178px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none !important;
    box-sizing: border-box;
    flex: 0 0 calc((100% - 24px) / 3);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    background-size: cover;
    background-position: center;
}

a.fp-promo-slide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.fp-promo-image-only {
    padding: 0 !important;
}

.fp-promo-full-img {
    width: 100%;
    height: 100%;
    min-height: 178px;
    object-fit: cover;
    display: block;
}

.fp-promo-blue-gold,
.fp-promo-variant-blue-gold {
    background-image: var(--fp-slide-bg, linear-gradient(135deg, #002b7f 0%, #0052cc 65%, #0284c7 100%));
    background-color: #003d99;
    color: #ffffff !important;
}

.fp-promo-royal,
.fp-promo-variant-royal {
    background-image: var(--fp-slide-bg, linear-gradient(135deg, #001a66 0%, #0a3d91 60%, #1e40af 100%));
    background-color: #0a3d91;
    color: #ffffff !important;
    text-align: center;
}

.fp-promo-warning,
.fp-promo-variant-warning {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b !important;
}

.fp-promo-variant-emerald {
    background-image: var(--fp-slide-bg, linear-gradient(135deg, #065f46 0%, #0d9488 100%));
    background-color: #065f46;
    color: #ffffff !important;
    text-align: center;
}

.fp-promo-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.fp-promo-top-tag {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    opacity: 0.92;
}

.fp-promo-top-pill {
    font-size: 8.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    letter-spacing: 0.3px;
}

.fp-promo-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fp-okbos-title {
    font-size: 22px;
    font-weight: 900;
    color: #fde047;
    line-height: 1.05;
}

.fp-okbos-title span {
    color: #ffffff;
}

.fp-okbos-sub {
    font-size: 11.5px;
    font-weight: 700;
    margin-top: 5px;
    line-height: 1.25;
    color: #ffffff;
}

.fp-okbos-period {
    font-size: 9.5px;
    color: #bae6fd;
    margin-top: 6px;
}

.fp-bonus-mini-table {
    background: #ffffff;
    color: #1e293b;
    border-radius: 6px;
    padding: 6px 9px;
    min-width: 148px;
    font-size: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.fp-bonus-head {
    background: #f59e0b;
    color: #ffffff;
    font-weight: 800;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 4px;
    text-align: center;
}

.fp-bonus-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.fp-marathon-badge {
    font-size: 21px;
    font-weight: 900;
    color: #fde047;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.fp-marathon-sub {
    display: inline-block;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 3px;
    margin: 4px 0 6px 0;
}

.fp-marathon-desc {
    font-size: 10.5px;
    color: #e0f2fe;
    margin-bottom: 8px;
    line-height: 1.35;
}

.fp-marathon-prizes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.fp-promo-cta-row {
    margin-top: 6px;
}

.fp-promo-cta-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 12px;
    background: #fde047;
    color: #0f172a;
    font-size: 10.5px;
    font-weight: 800;
}

.fp-warning-title {
    font-size: 15px;
    font-weight: 900;
    color: #b91c1c;
    margin-bottom: 6px;
}

.fp-warning-box {
    border: 1.5px solid #ef4444;
    border-radius: 5px;
    padding: 8px 10px;
    background: #fff5f5;
}

.fp-warning-box-head {
    display: inline-block;
    background: #ef4444;
    color: #ffffff;
    font-size: 8.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 2px;
    margin-bottom: 4px;
}

.fp-warning-box-body {
    font-size: 10.5px;
    color: #334155;
    line-height: 1.35;
}

.fp-banner-nav {
    position: absolute;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #0284c7;
    color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 6;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.fp-banner-nav:hover {
    background-color: #0369a1;
    transform: translateY(-50%) scale(1.06);
}

.fp-banner-prev {
    left: -8px;
}

.fp-banner-next {
    right: -8px;
}

.fp-promo-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.fp-promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    border: none;
    background-color: #cbd5e1;
    padding: 0;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.fp-promo-dot.active {
    width: 22px;
    background-color: #0284c7;
}

.fp-floating-bell-btn {
    position: fixed;
    right: 16px;
    bottom: 32px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #0284c7;
    color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
    z-index: 1035;
    cursor: pointer;
}

.fp-bell-count-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
}

@media (max-width: 1199px) {
    .fp-service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .fp-login-banner {
        display: none;
    }
    .fp-login-form-side {
        width: 100%;
        padding: 36px 28px;
    }
    .fp-top-featured-grid,
    .fp-promo-banners-grid {
        grid-template-columns: 1fr;
    }
    .fp-service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================================
   REUSABLE REPORT TABLE TOOLBAR & SUMMARY TABLE (Rekap Hari Ini & Mutasi)
   ========================================================= */
.pn-report-table-box {
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    background-color: #ffffff;
    padding: 8px 10px 6px 10px;
}

.pn-report-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    flex-wrap: wrap;
}

.btn-pn-export {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-pn-export:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.pn-report-search-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}

.pn-report-search-wrap label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin: 0;
}

.pn-report-search-input {
    border: 1px solid #d1d5db;
    border-radius: 3px;
    padding: 4px 10px;
    font-size: 12px;
    width: 195px;
    height: 28px;
    color: #1e293b;
}

.pn-report-search-input:focus {
    border-color: #66afe9;
    outline: none;
}

.btn-pn-reprint-row {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    padding: 2px 7px;
    color: #1e293b;
    font-size: 11.5px;
    cursor: pointer;
}

.btn-pn-reprint-row:hover {
    background-color: #e2e8f0;
}

/* Compact Product Summary Table (Bottom Left of Rekap Hari Ini) */
.pn-rekap-summary-wrapper {
    max-width: 475px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    overflow: hidden;
}

.pn-rekap-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.pn-rekap-summary-table thead th {
    background-color: #1e91cf;
    color: #ffffff;
    font-weight: 700;
    padding: 6px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

.pn-rekap-summary-table thead th:last-child {
    border-right: none;
}

.pn-rekap-summary-table tbody td {
    padding: 6px 12px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    color: #1e293b;
    background-color: #ffffff;
}

.pn-rekap-summary-table tbody td:last-child {
    border-right: none;
}

.pn-rekap-summary-table tfoot tr.pn-rekap-summary-footer td {
    padding: 6px 12px;
    background-color: #f8fafc;
    border-right: 1px solid #e5e7eb;
    color: #0f172a;
    font-weight: 700;
}

.pn-rekap-summary-table tfoot tr.pn-rekap-summary-footer td:last-child {
    border-right: none;
}

/* =========================================================
   REUSABLE 2-COLUMN VERTICAL KEY-VALUE DETAIL TABLE (Desktop POS v2)
   ========================================================= */
.pn-kv-detail-container {
    margin: 10px 0 4px 0;
}

.pn-kv-detail-heading {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 2px solid #cbd5e1;
    padding: 9px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pn-kv-table-wrap {
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.pn-kv-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    color: #0f172a;
}

.pn-kv-detail-table tbody tr td {
    padding: 8px 16px;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.45;
    vertical-align: top;
}

.pn-kv-detail-table tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

.pn-kv-detail-table tbody tr:last-child td {
    border-bottom: none;
}

.pn-kv-col-key {
    width: 245px;
    min-width: 220px;
    border-right: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 700;
    background-color: #f8fafc;
    text-transform: uppercase;
    font-size: 12.5px;
    letter-spacing: 0.25px;
    white-space: nowrap;
}

.pn-kv-col-val {
    color: #0f172a;
    font-weight: 700;
    font-size: 13.5px;
}

.pn-kv-val-inner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pn-kv-colon {
    color: #64748b;
    font-weight: 700;
    flex-shrink: 0;
}

.pn-kv-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.pn-kv-detail-table tbody tr.pn-kv-row-total td {
    background-color: #dbeafe !important;
    color: #1e3a8a !important;
    font-weight: 800 !important;
    font-size: 15.5px !important;
    border-top: 1px solid #93c5fd !important;
}

.pn-kv-idle-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 185px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 28px 20px;
    text-align: center;
    color: #64748b;
}

.pn-kv-idle-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.pn-kv-idle-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
}

.pn-kv-idle-desc {
    font-size: 12px;
    color: #64748b;
    max-width: 480px;
}

@media (max-width: 991px) {
    .pn-desktop-total-col {
        width: 100%;
        margin-left: 0;
    }

    .pn-digital-total-frame {
        min-width: 0;
        width: 100%;
    }
}
