/* ==========================================================================
   Modern PEA Web Application Design System (Clean Single-Button Edition)
   ========================================================================== */
:root {
    --pea-purple: #6a1b9a;
    --pea-purple-dark: #4a148c;
    --pea-purple-light: #9c4dcc;
    --pea-purple-soft: #f3e5f5;
    --pea-gold: #ffb703;
    --pea-gold-dark: #fb8500;
    --bg-slate: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --accent-blue: #2563eb;
    --accent-green: #16a34a;
    --danger-red: #dc2626;
    --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.01);
    --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* ==========================================================================
   Font Faces (TH SarabunIT9 & Fallbacks) - Strictly 16px for A4 Documents
   ========================================================================== */
@font-face {
    font-family: 'THSarabunIT9';
    src: local('TH Sarabun IT9'), local('THSarabunIT9'),
         url('https://cdn.jsdelivr.net/gh/thaifonts/th-sarabun-psk@1.0/THSarabun.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'THSarabunIT9';
    src: local('TH Sarabun IT9 Bold'), local('THSarabunIT9-Bold'),
         url('https://cdn.jsdelivr.net/gh/thaifonts/th-sarabun-psk@1.0/THSarabun%20Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* ==========================================================================
   Reset & Base Layout
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Prompt', 'Sarabun', sans-serif;
    background-color: var(--bg-slate);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   App Header & Banner
   ========================================================================== */
.app-header {
    background: linear-gradient(135deg, var(--pea-purple-dark) 0%, var(--pea-purple) 100%);
    color: #ffffff;
    padding: 16px 32px;
    box-shadow: 0 4px 20px rgba(74, 20, 140, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo-container {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-title h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.brand-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

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

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Prompt', sans-serif;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.btn-glass-green {
    background: rgba(22, 163, 74, 0.35);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.btn-glass-green:hover {
    background: rgba(22, 163, 74, 0.6);
    transform: translateY(-1px);
}

.btn-glass-dark {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
}

.btn-glass-dark:hover {
    background: var(--bg-slate);
    border-color: #cbd5e1;
}

.btn-gold-action {
    background: linear-gradient(135deg, var(--pea-gold) 0%, var(--pea-gold-dark) 100%);
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(251, 133, 0, 0.35);
}

.btn-gold-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.45);
}

.btn-outline {
    background: #ffffff;
    border: 1.5px solid var(--pea-purple);
    color: var(--pea-purple);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--pea-purple);
    color: #ffffff;
}

/* Single Bottom Save Button Layout */
.form-submit-flex-bar {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.btn-save-large {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 18px 36px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-save-large.full-width {
    width: 100%;
    max-width: 500px;
}

.btn-save-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.4);
}

.btn-danger-sm {
    background: #fef2f2;
    color: var(--danger-red);
    border: 1px solid #fecaca;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger-sm:hover {
    background: var(--danger-red);
    color: #ffffff;
}

/* Quick Saved History Bar */
.saved-quick-card {
    background: #ffffff;
    border: 1.5px solid var(--pea-purple-soft);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-subtle);
    gap: 16px;
}

.quick-card-title {
    font-weight: 600;
    color: var(--pea-purple-dark);
    font-size: 0.92rem;
    white-space: nowrap;
}

.quick-card-select-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.saved-select-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: 'Prompt', sans-serif;
    font-size: 0.9rem;
    background: #ffffff;
}

/* ==========================================================================
   Navigation Bar Tabs
   ========================================================================== */
.main-workspace {
    max-width: 1400px;
    margin: 24px auto;
    padding: 0 24px;
}

.navigation-bar {
    margin-bottom: 24px;
}

.nav-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    background: #ffffff;
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.nav-tab:hover {
    background: var(--bg-slate);
}

.nav-tab.active {
    background: linear-gradient(135deg, var(--pea-purple) 0%, var(--pea-purple-dark) 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(106, 27, 154, 0.25);
}

.nav-icon {
    font-size: 1.5rem;
}

.nav-text strong {
    display: block;
    font-size: 1.05rem;
}

.nav-text small {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ==========================================================================
   Tab 1: Form Layout & Step Cards
   ========================================================================== */
.container-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modern-form-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s ease;
}

.section-card:hover {
    box-shadow: var(--shadow-hover);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.flex-between {
    justify-content: space-between;
    align-items: center;
}

.flex-align {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pea-purple-soft);
    color: var(--pea-purple-dark);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
}

.section-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Grids Layout */
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.req {
    color: var(--danger-red);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: 'Prompt', sans-serif;
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: all 0.2s ease;
    color: var(--text-main);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--pea-purple-light);
    box-shadow: 0 0 0 4px rgba(156, 77, 204, 0.15);
}

/* Segmented Radio Controls */
.segmented-control {
    display: flex;
    background: var(--bg-slate);
    padding: 6px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    gap: 8px;
}

.segmented-control.compact {
    max-width: 480px;
}

.segmented-option {
    flex: 1;
    cursor: pointer;
}

.segmented-option input[type="radio"] {
    display: none;
}

.segmented-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.segmented-option input[type="radio"]:checked + .segmented-btn {
    background: #ffffff;
    color: var(--pea-purple-dark);
    font-weight: 600;
    box-shadow: var(--shadow-subtle);
}

/* Dynamic Items Form Cards */
.items-cards-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.item-row-card {
    background: var(--bg-slate);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
}

.item-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--pea-purple);
    font-size: 0.9rem;
}

/* VAT Switch Container */
.vat-switch-container {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vat-switch-label strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.vat-switch-label span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Executive Calculation Summary Dashboard */
.calc-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 24px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.calc-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 16px;
    backdrop-filter: blur(8px);
}

.calc-card.total-highlight {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.2) 0%, rgba(251, 133, 0, 0.2) 100%);
    border-color: var(--pea-gold);
}

.calc-card.words-card {
    grid-column: span 3;
}

.calc-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.calc-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.calc-value-grand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pea-gold);
}

.calc-value-words {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
}

.sub-person-card {
    background: var(--bg-slate);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px;
}

.person-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pea-purple-dark);
    margin-bottom: 10px;
}

/* ==========================================================================
   Tab 2: Document Preview Toolbar & Page Chips
   ========================================================================== */
.preview-toolbar {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-card);
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
}

.toolbar-info span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.page-selector-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding: 8px 0;
}

.page-chip {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-main);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: var(--shadow-subtle);
}

.page-chip:hover {
    background: var(--pea-purple);
    color: #ffffff;
    border-color: var(--pea-purple);
}

/* ==========================================================================
   A4 Document Sheet Formatting (STRICTLY 16px TH SarabunIT9)
   ========================================================================== */
.document-pages-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.sarabun-font {
    font-family: 'THSarabunIT9', 'TH Sarabun IT9', 'THSarabunPSK', 'Sarabun', sans-serif;
    font-size: 16px !important; /* Strict 16px Requirement */
    line-height: 1.4;
    color: #000000;
}

.a4-page {
    width: 210mm;
    min-height: 297mm;
    background: #ffffff;
    padding: 20mm 20mm 20mm 25mm; /* Standard Official Margin: Left 2.5cm, Others 2cm */
    box-shadow: var(--shadow-hover);
    border-radius: 2px;
    position: relative;
    box-sizing: border-box;
}

.landscape-page {
    width: 297mm;
    min-height: 210mm;
    padding: 15mm;
}

/* Variable Highlighting in Preview */
.red-var {
    color: #d32f2f;
    font-weight: normal;
    transition: color 0.3s;
}

.hide-red-highlight .red-var {
    color: #000000 !important;
}

/* PEA Logo Image Sizing & Layout (100% Match with User Image) */
.pea-header-left-stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
}

.official-logo-img-wrapper {
    width: 210px;
    max-width: 100%;
}

.official-logo-img-wrapper-center {
    width: 190px;
    max-width: 100%;
    margin: 0 auto;
}

.pea-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

.official-pea-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 24px;
}

.doc-title-main {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.doc-title-sub {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 4px;
}

/* Header Rows & "ถึง" / "วันที่" Alignment */
.doc-row-header {
    display: flex;
    margin-bottom: 4px;
    font-size: 16px;
}

.doc-cell-half {
    width: 45%;
}

.doc-cell-mid {
    margin-left: 2%;
    text-align: left !important;
}

.doc-cell-full {
    width: 100%;
}

.label {
    font-weight: bold;
    margin-right: 6px;
}

.indent-paragraph {
    text-indent: 2.5cm;
    text-align: justify;
    margin-bottom: 8px;
    font-size: 16px;
}

.indent-bullet-heading {
    margin-left: 0.5cm;
    margin-top: 6px;
    font-size: 16px;
}

.indent-bullet-sub-aligned {
    margin-left: 1cm;
    text-align: justify;
    font-size: 16px;
}

.indent-sm {
    text-indent: 1cm;
}

/* Tables */
.doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 16px;
}

.doc-table th,
.doc-table td {
    border: 1px solid #000000;
    padding: 4px 8px;
    vertical-align: middle;
}

.doc-table th {
    font-weight: bold;
    text-align: center;
    background-color: #fcfcfc;
}

.table-summary-row td {
    border-top: 2px solid #000000;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: bold; }

/* TOR Author Signature Block Alignment */
.tor-author-sig-block {
    text-align: center;
}

.tor-author-name-center {
    display: inline-block;
    text-align: center;
    margin-left: -50px;
}

/* Checkbox Section Right Shift */
.cb-shifted-right .cb-item {
    margin-left: 5.5cm !important;
}

/* Signature Layouts */
.signature-layout {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    font-size: 16px;
}

.sig-left {
    width: 48%;
    text-align: center;
}

.sig-right-box {
    width: 48%;
}

.approval-box {
    border: 1px solid #000000;
    padding: 12px 16px;
    text-align: center;
}

.box-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.sig-space { height: 50px; }
.sig-space-sm { height: 35px; }
.sig-space-md { height: 55px; }
.sig-space-lg { height: 75px; }

.sig-center-block {
    text-align: center;
    font-size: 16px;
}

.tor-approval-grid {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

.tor-appr-left {
    width: 50%;
}

.tor-appr-right {
    width: 45%;
}

/* Report Approval 2-Column Section */
.report-approval-container {
    display: flex;
    align-items: stretch;
    font-size: 16px;
}

.appr-col-left {
    width: 50%;
    padding: 10px 16px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.appr-item-left p:first-child {
    font-weight: normal;
}

.appr-col-right-boxed {
    width: 50%;
    border: 1px solid #000000;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.checkbox-section {
    margin: 8px 0;
    font-size: 16px;
}

.cb-item {
    margin-left: 2cm;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-box {
    font-size: 16px;
}

/* Margin Helpers */
.margin-top-xs { margin-top: 6px; }
.margin-top-sm { margin-top: 12px; }
.margin-top-md { margin-top: 20px; }
.margin-top-lg { margin-top: 30px; }
.margin-top-xl { margin-top: 45px; }
.margin-bottom-xs { margin-bottom: 6px; }
.margin-bottom-sm { margin-bottom: 12px; }

/* PR Form Specific Styles */
.pr-outer-table,
.pr-grid-table,
.pr-sig-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pr-outer-table td,
.pr-sig-table td {
    border: 1px solid #000000;
    padding: 6px;
    vertical-align: top;
}

.pr-cb-row {
    display: flex;
    border: 1px solid #000000;
    border-top: none;
    font-size: 13px;
}

.pr-cb-col {
    flex: 1;
    padding: 6px;
    border-right: 1px solid #000000;
}

.pr-cb-col:last-child {
    border-right: none;
}

.pr-header-note {
    border: 1px solid #000000;
    border-top: none;
    padding: 6px;
    font-size: 14px;
}

.pr-grid-table th,
.pr-grid-table td {
    border: 1px solid #000000;
    padding: 3px 6px;
    font-size: 13px;
}

.pr-summary-bar {
    display: flex;
    border: 1px solid #000000;
    border-top: none;
    padding: 6px 12px;
    font-weight: bold;
    justify-content: space-between;
    font-size: 14px;
}

/* PR Signatures Centered */
.pr-sig-table td {
    text-align: center !important;
}

/* ==========================================================================
   @media print Rules (Strict Page Break & Print Display Fix)
   ========================================================================== */
@page {
    size: A4 portrait;
    margin: 0;
}

@media print {
    /* Hide all UI elements */
    header, nav, .app-header, .navigation-bar, .preview-toolbar, 
    .page-selector-bar, .saved-quick-card, #tab-input, .no-print {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Reset Body & Containers */
    html, body, .main-workspace, .container-wrapper {
        background: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        display: block !important;
    }

    /* Unhide Tab 2 and Page Container */
    .tab-content,
    #tab-preview,
    .document-pages-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        overflow: visible !important;
    }

    /* Each A4 Page Card */
    .a4-page {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        width: 210mm !important;
        min-height: 297mm !important;
        box-sizing: border-box !important;
        padding: 20mm 20mm 20mm 25mm !important;
        margin: 0 auto !important;
        box-shadow: none !important;
        border: none !important;
        page-break-after: always !important;
        page-break-inside: avoid !important;
        break-after: page !important;
    }

    .landscape-page {
        width: 297mm !important;
        min-height: 210mm !important;
        padding: 15mm !important;
    }

    .red-var {
        color: #000000 !important;
    }
}
