/**
 * app.css — Custom Stylesheet
 * Sistem Invoice & Kwitansi — Madrasah Indonesia
 * Color Scheme: Navy #1a5276 | Hijau #27ae60 | Background #f8f9fa
 */

/* =============================================
   VARIABEL CSS (DESIGN TOKENS)
   ============================================= */
:root {
    /* Warna Utama */
    --color-primary:       #1a5276;   /* Navy */
    --color-primary-dark:  #154360;
    --color-primary-light: #2e86c1;
    --color-accent:        #27ae60;   /* Hijau */
    --color-accent-dark:   #1e8449;
    --color-accent-light:  #2ecc71;

    /* Sidebar */
    --sidebar-bg:          #0d1b2a;   /* Dark Navy */
    --sidebar-bg-hover:    #162535;
    --sidebar-active-bg:   rgba(39, 174, 96, 0.15);
    --sidebar-active-border: #27ae60;
    --sidebar-text:        #a9b8c3;
    --sidebar-text-hover:  #ffffff;
    --sidebar-width:       260px;
    --sidebar-collapsed:   70px;

    /* Layout */
    --header-height:       60px;
    --bg-body:             #f0f2f5;
    --bg-card:             #ffffff;

    /* Tipografi */
    --font-main:           'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono:           'Consolas', 'Courier New', monospace;

    /* Radius & Shadow */
    --radius-sm:           6px;
    --radius-md:           10px;
    --radius-lg:           16px;
    --shadow-sm:           0 1px 4px rgba(0,0,0,.08);
    --shadow-md:           0 4px 16px rgba(0,0,0,.12);
    --shadow-lg:           0 8px 32px rgba(0,0,0,.16);

    /* Transisi */
    --transition:          all 0.25s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: #2c3e50;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =============================================
   WRAPPER LAYOUT UTAMA
   ============================================= */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.main-content.sidebar-collapsed {
    margin-left: var(--sidebar-collapsed);
}

.page-content {
    flex: 1;
    padding: 24px;
    padding-top: calc(var(--header-height) + 24px);
}

/* =============================================
   SIDEBAR
   ============================================= */
#sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: var(--sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    overflow: hidden;
}

#sidebar.collapsed {
    width: var(--sidebar-collapsed);
}

/* Brand / Logo area */
.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: var(--header-height);
    background: rgba(0,0,0,0.2);
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-brand-icon {
    width: 38px;
    height: 38px;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: #fff;
}

.sidebar-brand-text {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.2s;
}

#sidebar.collapsed .sidebar-brand-text {
    opacity: 0;
    width: 0;
}

.sidebar-brand-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

.sidebar-brand-subtitle {
    font-size: 11px;
    color: var(--sidebar-text);
    white-space: nowrap;
}

/* User info */
.sidebar-user {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.1);
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid var(--color-accent);
}

.sidebar-user-info {
    margin-left: 10px;
    flex: 1;
    overflow: hidden;
    transition: opacity 0.2s;
}

#sidebar.collapsed .sidebar-user-info {
    opacity: 0;
    width: 0;
}

.sidebar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 11px;
    color: var(--color-accent-light);
    white-space: nowrap;
}

/* Nav list */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 0;
}

.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.nav-section-title {
    padding: 12px 16px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.2s;
}

#sidebar.collapsed .nav-section-title {
    opacity: 0;
}

/* Nav item */
.nav-item-wrapper {
    position: relative;
}

.nav-link-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: var(--sidebar-text);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-link-item:hover {
    background: var(--sidebar-bg-hover);
    color: var(--sidebar-text-hover);
}

.nav-link-item.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-text-hover);
    border-left-color: var(--sidebar-active-border);
}

.nav-link-item i {
    font-size: 18px;
    min-width: 38px;
    text-align: center;
    flex-shrink: 0;
}

.nav-link-text {
    flex: 1;
    font-size: 13.5px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.2s;
}

#sidebar.collapsed .nav-link-text {
    opacity: 0;
    width: 0;
}

.nav-arrow {
    font-size: 12px;
    transition: transform 0.25s;
    transition: opacity 0.2s;
}

#sidebar.collapsed .nav-arrow {
    opacity: 0;
}

.nav-link-item[aria-expanded="true"] .nav-arrow {
    transform: rotate(90deg);
}

/* Sub-menu */
.sidebar-submenu {
    background: rgba(0,0,0,0.15);
    overflow: hidden;
}

.sidebar-submenu .nav-link-item {
    padding: 8px 16px 8px 54px;
    font-size: 13px;
    color: rgba(169,184,195,0.85);
    border-left: none;
}

.sidebar-submenu .nav-link-item:hover,
.sidebar-submenu .nav-link-item.active {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.sidebar-submenu .nav-link-item.active::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Tooltip saat collapsed */
#sidebar.collapsed .nav-link-item {
    justify-content: center;
    padding: 10px;
}

#sidebar.collapsed .nav-link-item i {
    min-width: unset;
}

/* Sidebar footer */
.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-footer-text {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    transition: opacity 0.2s;
}

#sidebar.collapsed .sidebar-footer-text {
    opacity: 0;
}

/* =============================================
   HEADER / NAVBAR
   ============================================= */
#main-header {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--header-height);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    z-index: 999;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 12px;
    transition: left 0.3s ease;
}

#main-header.sidebar-collapsed {
    left: var(--sidebar-collapsed);
}

.header-toggle-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    line-height: 1;
}

.header-toggle-btn:hover {
    background: #f0f2f5;
    color: var(--color-primary);
}

.header-breadcrumb {
    flex: 1;
}

.header-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 13px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 18px;
    cursor: pointer;
    padding: 7px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-btn:hover {
    background: #f0f2f5;
    color: var(--color-primary);
}

.header-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.header-clock {
    font-size: 12px;
    color: #6c757d;
    text-align: right;
    line-height: 1.4;
}

.header-user-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.header-user-dropdown .dropdown-toggle:hover {
    background: #f0f2f5;
}

.header-user-dropdown .dropdown-toggle::after {
    display: none;
}

.header-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-accent);
}

.header-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
}

/* =============================================
   CARDS
   ============================================= */
.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--bg-card);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid #eef0f2;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
}

.card-body {
    padding: 18px;
}

/* Summary/Stats Cards */
.stat-card {
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.stat-card-info { flex: 1; }

.stat-card-label {
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 4px;
    font-weight: 500;
}

.stat-card-value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.stat-card-trend {
    font-size: 11px;
    opacity: 0.75;
    margin-top: 2px;
}

.bg-stat-navy   { background: linear-gradient(135deg, #1a5276, #2e86c1); }
.bg-stat-green  { background: linear-gradient(135deg, #1e8449, #27ae60); }
.bg-stat-orange { background: linear-gradient(135deg, #ca6f1e, #e67e22); }
.bg-stat-red    { background: linear-gradient(135deg, #922b21, #e74c3c); }
.bg-stat-purple { background: linear-gradient(135deg, #6c3483, #9b59b6); }
.bg-stat-teal   { background: linear-gradient(135deg, #148f77, #1abc9c); }

/* =============================================
   TABLE STYLING
   ============================================= */
.table-responsive {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.table {
    margin: 0;
    font-size: 13.5px;
}

.table thead th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
    padding: 10px 14px;
    white-space: nowrap;
}

.table tbody td {
    padding: 10px 14px;
    vertical-align: middle;
    border-color: #f0f2f5;
}

.table tbody tr:hover {
    background: #f8fdff;
}

/* Badge Status */
.badge-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge-lunas    { background: #d4efdf; color: #1e8449; }
.badge-pending  { background: #fdebd0; color: #ca6f1e; }
.badge-overdue  { background: #fadbd8; color: #922b21; }
.badge-draft    { background: #eaecee; color: #5d6d7e; }
.badge-cancel   { background: #f9ebea; color: #c0392b; }

/* =============================================
   FORM ELEMENTS
   ============================================= */
.form-control, .form-select {
    border-color: #dee2e6;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.12);
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.input-group-text {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-success {
    background: var(--color-accent);
    border-color: var(--color-accent);
}
.btn-success:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

.btn-sm { font-size: 12px; }

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.page-subtitle {
    font-size: 13px;
    color: #6c757d;
    margin: 2px 0 0;
}

/* =============================================
   AUTH LAYOUT
   ============================================= */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d4a2e 0%, #1a5276 50%, #0a2d4d 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(39,174,96,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(26,82,118,0.15) 0%, transparent 50%);
    animation: authBg 15s ease-in-out infinite alternate;
}

@keyframes authBg {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(2%, 2%) rotate(2deg); }
}

.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(26,82,118,0.3);
}

.auth-logo-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 2px;
}

.auth-logo-subtitle {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}

.auth-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 24px;
}

/* =============================================
   FLASH MESSAGES
   ============================================= */
.flash-container {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 380px;
    width: calc(100vw - 32px);
}

.flash-alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 13.5px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: var(--shadow-md);
    animation: flashIn 0.3s ease;
}

@keyframes flashIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.flash-alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.flash-close { margin-left: auto; cursor: pointer; opacity: 0.7; font-size: 16px; }

/* =============================================
   LOADING SPINNER
   ============================================= */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Overlay full page */
#page-loading {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

#page-loading.show { display: flex; }

.spinner-ring {
    width: 48px;
    height: 48px;
    border: 4px solid #dee2e6;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* =============================================
   INVOICE / KWITANSI DOCUMENT
   ============================================= */
.doc-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.doc-header { display: flex; justify-content: space-between; margin-bottom: 30px; }
.doc-company-name { font-size: 20px; font-weight: 800; color: var(--color-primary); }
.doc-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
    text-align: right;
}

.doc-info-table { width: 100%; font-size: 13px; }
.doc-info-table td { padding: 3px 6px; }
.doc-info-table td:first-child { font-weight: 600; color: #555; width: 130px; }

.doc-items table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.doc-items thead th {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
}
.doc-items tbody td { padding: 9px 12px; border-bottom: 1px solid #eee; font-size: 13px; }
.doc-items tfoot td { padding: 9px 12px; font-weight: 700; }

.doc-total-box {
    background: var(--color-primary);
    color: #fff;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    text-align: right;
    font-size: 15px;
}

/* =============================================
   DASHBOARD WIDGETS
   ============================================= */
.chart-container {
    position: relative;
    height: 280px;
}

.table-mini td, .table-mini th {
    font-size: 12.5px;
    padding: 8px 12px;
}

/* =============================================
   FOOTER
   ============================================= */
.app-footer {
    padding: 12px 24px;
    background: #fff;
    border-top: 1px solid #eef0f2;
    font-size: 12px;
    color: #95a5a6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-primary  { color: var(--color-primary) !important; }
.text-accent   { color: var(--color-accent) !important; }
.bg-primary    { background: var(--color-primary) !important; }
.bg-accent     { background: var(--color-accent) !important; }

.fw-semibold { font-weight: 600; }
.fs-13 { font-size: 13px; }
.fs-12 { font-size: 12px; }
.fs-11 { font-size: 11px; }

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }

.cursor-pointer { cursor: pointer; }

.divider {
    height: 1px;
    background: #eef0f2;
    margin: 16px 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
    #sidebar {
        width: var(--sidebar-collapsed);
    }
    #sidebar .sidebar-brand-text,
    #sidebar .sidebar-user-info,
    #sidebar .nav-link-text,
    #sidebar .nav-arrow,
    #sidebar .nav-section-title,
    #sidebar .sidebar-footer-text {
        display: none;
    }
    #sidebar.mobile-open {
        width: var(--sidebar-width);
    }
    #sidebar.mobile-open .sidebar-brand-text,
    #sidebar.mobile-open .sidebar-user-info,
    #sidebar.mobile-open .nav-link-text,
    #sidebar.mobile-open .nav-arrow,
    #sidebar.mobile-open .nav-section-title,
    #sidebar.mobile-open .sidebar-footer-text {
        display: block;
        opacity: 1;
        width: auto;
    }
    .main-content {
        margin-left: var(--sidebar-collapsed);
    }
    .page-content {
        padding: 16px;
        padding-top: calc(var(--header-height) + 16px);
    }
    #main-header {
        left: var(--sidebar-collapsed);
    }
}

@media (max-width: 575.98px) {
    .page-content { padding: 12px; padding-top: calc(var(--header-height) + 12px); }
    .stat-card-value { font-size: 18px; }
    .auth-card { padding: 28px 20px; }
    .header-clock { display: none; }
}

/* =============================================
   PRINT CSS
   ============================================= */
@media print {
    .no-print { display: none !important; }
    body { background: #fff !important; }
    #sidebar, #main-header, .app-footer { display: none !important; }
    .main-content { margin-left: 0 !important; }
    .page-content { padding: 0 !important; }
    .doc-wrapper {
        box-shadow: none;
        padding: 0;
        max-width: 100%;
    }
    .doc-items thead th { background: #1a5276 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .doc-total-box { background: #1a5276 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    @page {
        margin: 15mm 15mm 15mm 15mm;
        size: A4;
    }
}
