@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #0f172a;
    --bg-surface: #1e293b;
    --bg-card: #ffffff;
    --bg-input: #f8fafc;
    --border-color: #e2e8f0;
    --border-focus: #3b82f6;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f1f5f9;
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Navigation */
.app-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* Page Layout */
.main-container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
    flex: 1;
}

.main-container-wide {
    max-width: 1300px;
    margin: 1.5rem auto;
    padding: 0 1rem;
    width: 100%;
    flex: 1;
}

/* Document Paper View */
.doc-sheet {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 3rem;
    margin-bottom: 2rem;
    position: relative;
}

.doc-header-block {
    text-align: center;
    border-bottom: 2px solid var(--text-primary);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.doc-main-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    color: #111827;
    text-transform: uppercase;
}

.doc-subtitle-text {
    font-size: 1.02rem;
    color: #374151;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto;
}

.party-highlight {
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1px dashed var(--primary);
    padding: 0 4px;
}

/* Privacy & Signer Notice Banner */
.privacy-badge-banner {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
}

.privacy-badge-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.row-assignment-tag {
    background: #059669;
    color: #ffffff;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Signer Exclusive Table Card */
.single-row-table-wrapper {
    margin: 2rem 0;
    overflow-x: auto;
}

.official-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 2px solid #000000;
}

.official-table th {
    background: #f8fafc;
    border: 1px solid #000000;
    padding: 0.85rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
}

.official-table td {
    border: 1px solid #000000;
    padding: 0.75rem;
    vertical-align: middle;
}

.col-seq {
    width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.col-id {
    width: 220px;
}

.col-name {
    min-width: 250px;
}

.col-sign {
    width: 260px;
    text-align: center;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: #0f172a;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-input:read-only, .form-input:disabled {
    background: #f1f5f9;
    color: #475569;
    cursor: not-allowed;
}

/* Signature Area */
.sig-canvas-container {
    background: #ffffff;
    border: 2px dashed #94a3b8;
    border-radius: var(--radius-md);
    position: relative;
    padding: 0.5rem;
    margin-top: 0.5rem;
    user-select: none;
    -webkit-user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sig-canvas-container:hover,
.sig-canvas-container:focus-within {
    border-color: var(--primary);
    background: #fbfdff;
    box-shadow: 0 4px 14px rgba(0, 43, 102, 0.08);
}

.sig-canvas {
    width: 100%;
    height: 150px;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: url("pen-cursor.png?v=3") 2 20, url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAACqUlEQVR4AczUX0hTURgA8HPn/I+ZS9tid5sb1ETKPaQxkrUKRChQoZ6yMB9CmPkSMUGoCCqilwiH0ktBD1IRrayHitrcdKkQbCIue3CUm9Schrnl1t2/vnP2ty31Tgga5zvn3nPO99t3zsPloH/0+3/haDRaC1GVefAtVwxYxRoTNUzOfp9xL3vd8N6Xjm8JBoS34guONfU8VCtP9iGB+iKlGzJeh/lTCTxnGJKrfvgYS2uvvsYyNgL5UWK9stiD8NABQRoskJFVB+hOQM0tvc/2mE0GyI2hOFlG78iH8TMEabBIxk07QAUrXma0VftcnoniZG1nswfGyxCksYIB5QM63qpV7zaZ31EIpSpV1Igizrc3PbSgQkVRlJuo0G0Kx9EJQCWmUUMW+lLXvQyoEtBP4CXbhjCgQqg0DU3mIVzpC51mMY46Uiuxp3VhgvoYfPx4pbEE3CdQkYCHK81C8Z6/woBKfvqZ923ap3Ts+HhrLDLQL7HZ7D4LBrTQ67Qa6cZzYpPZCHeaSiJov8YFlTbAna6L4ow/YEDzV6f1j/xvuqT3mm3O7QUBvIeEQi4KD/drnKJdvEZAXWRygy4JA1oZcE7ORuYGWyLMgveQcE40cNhixzhBdZp5MUsU/18SZhbt3b9sV2RP7AFqIiAsi3AKXE3Sb7WPTziCw7fPJtAFnMQmknB4db7DseRCd0bEaClQhEqry2mqXIJU7Tc8YjGthuN/ZQMm9hAYrkExY30tfWCl0VDnNDpT70KhID9ccuT+h6JqlRxQZyKB7Uhgam+XreHqGmqvL0MSvhKFeOfDHFnPx2LRgWOA+thi6fs4+IXL5frzuXmRuuO3Lm07evdg6f4LxWV1p/cBij8seEvOQeDQ1EBJcGowr7BSdg2wcQj8bc0ZS0/4DQAA//+Ndg8QAAAABklEQVQDACWBJjwtyLp2AAAAAElFTkSuQmCC") 2 20, auto !important;
    display: block;
    background: #ffffff;
}

.sig-canvas-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.sig-canvas-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-tool {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-tool svg, .btn-tool i {
    width: 13px;
    height: 13px;
}

.btn-tool:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
    background: #e2e8f0;
    color: #334155;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.btn-success {
    background: var(--success);
    color: #ffffff;
}

.btn-success:hover {
    background: #059669;
}

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

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

/* Submitted Status Screen */
.status-completed-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.status-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
}

.status-completed-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.status-completed-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.submitted-signature-preview {
    max-height: 90px;
    max-width: 220px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px;
}

/* Admin Dashboard Elements */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stat-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-progress {
    margin-top: 0.75rem;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.stat-progress-bar {
    height: 100%;
    background: var(--primary);
    transition: width 0.4s ease;
}

.admin-toolbar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pending {
    background: var(--warning-light);
    color: #b45309;
}

.badge-signed {
    background: var(--success-light);
    color: #065f46;
}

/* Admin Table */
.admin-table-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.admin-table tr:hover {
    background: #f8fafc;
}

.action-buttons {
    display: flex;
    gap: 0.4rem;
}

/* SweetAlert2 Custom Styling Standard (crm-swal-modal) */
.crm-swal-modal {
    border-radius: var(--radius-md) !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    padding: 1.75rem !important;
}

/* QR Code Modal Styling */
.qr-modal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0.25rem 0;
}

.qr-canvas-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0, 43, 102, 0.08);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.qr-canvas-card canvas {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.qr-link-preview {
    font-family: monospace;
    font-size: 0.8rem;
    color: #64748b;
    word-break: break-all;
    max-width: 280px;
    background: #f8fafc;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.qr-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    width: 100%;
    margin-top: 0.75rem;
}

.btn-qr-download {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-qr-download:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-qr-share {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-qr-share:hover {
    background: #1e293b;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.btn-qr-copy {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1.1rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-qr-copy:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.crm-swal-modal .swal2-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
}

.crm-swal-modal .swal2-html-container {
    font-size: 0.95rem !important;
    color: var(--text-secondary) !important;
}

/* Constant Public Link Callout Banner */
.constant-link-banner {
    background: linear-gradient(135deg, #002b66 0%, #1e3a8a 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 43, 102, 0.15);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.constant-link-info {
    flex: 1;
    min-width: 280px;
}

.constant-link-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.constant-link-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.constant-link-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.4;
}

.constant-link-action {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 8px 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 100%;
}

.constant-link-url {
    font-family: monospace;
    font-size: 0.9rem;
    color: #93c5fd;
    user-select: all;
    word-break: break-all;
}

/* Submission Receipt / Confirmation View */
.receipt-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.receipt-icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.receipt-title {
    font-size: 1.4rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.receipt-row-badge {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.receipt-details-table {
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.receipt-details-table th, 
.receipt-details-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.receipt-details-table th {
    color: var(--text-secondary);
    font-weight: 600;
    width: 40%;
}

.receipt-details-table td {
    color: #0f172a;
    font-weight: 700;
}

.receipt-sig-preview {
    max-height: 50px;
    max-width: 180px;
    object-fit: contain;
}

/* ==========================================================================
   Mobile Responsive Single Row View (Zero Horizontal Scroll)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .main-container {
        padding: 0 0.5rem;
        margin: 1rem auto;
    }

    .doc-sheet {
        padding: 1.25rem 0.75rem;
        margin-bottom: 1.25rem;
    }

    .doc-header-block {
        padding-bottom: 1rem;
        margin-bottom: 1.25rem;
    }

    .doc-main-title {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
        letter-spacing: 0.2px;
    }

    .doc-subtitle-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .privacy-badge-banner {
        padding: 0.6rem 0.75rem;
        font-size: 0.82rem;
        gap: 0.5rem;
    }

    .row-assignment-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
        white-space: nowrap;
    }

    /* Keep official table strictly within viewport width: zero horizontal scrolling */
    .single-row-table-wrapper {
        margin: 1.25rem 0;
        overflow-x: hidden;
        width: 100%;
    }

    .official-table {
        table-layout: fixed;
        width: 100%;
        border-width: 1.5px;
    }

    .official-table th {
        padding: 6px 2px;
        font-size: 0.7rem;
        line-height: 1.2;
        letter-spacing: 0;
        word-break: break-word;
        hyphens: auto;
    }

    .official-table td {
        padding: 4px 2px;
    }

    .col-seq {
        width: 32px;
        min-width: 32px;
        max-width: 38px;
        font-size: 0.88rem;
        padding: 4px 2px !important;
        text-align: center;
    }

    .col-id {
        width: 25%;
        min-width: 0 !important;
        padding: 4px 2px !important;
    }

    .col-name {
        width: 33%;
        min-width: 0 !important;
        padding: 4px 2px !important;
    }

    .col-sign {
        width: 42%;
        min-width: 0 !important;
        padding: 4px 2px !important;
    }

    .form-input {
        padding: 6px 4px;
        font-size: 0.8rem;
        border-radius: 4px;
    }

    .sig-canvas-container {
        padding: 2px;
        margin-top: 0;
        border-width: 1.5px;
    }

    .sig-canvas {
        height: 100px;
    }

    .sig-canvas-tools {
        padding: 2px 3px;
        margin-top: 2px;
        justify-content: flex-end;
    }

    .sig-canvas-hint {
        display: none !important;
    }

    .btn-tool {
        padding: 2px 6px;
        font-size: 0.72rem;
    }

    .submitted-signature-preview {
        max-height: 60px;
        max-width: 100%;
    }

    .receipt-card {
        padding: 1.25rem 0.75rem;
    }

    .receipt-details-table th,
    .receipt-details-table td {
        padding: 6px 8px;
        font-size: 0.82rem;
    }

    .brand-badge {
        display: none;
    }
}

@media screen and (max-width: 420px) {
    .main-container {
        padding: 0 0.25rem;
    }

    .doc-sheet {
        padding: 1rem 0.4rem;
    }

    .col-seq {
        width: 28px;
        min-width: 28px;
        font-size: 0.82rem;
    }

    .col-id {
        width: 26%;
    }

    .col-name {
        width: 32%;
    }

    .col-sign {
        width: 42%;
    }

    .official-table th {
        font-size: 0.65rem;
        padding: 5px 2px;
    }

    .form-input {
        padding: 5px 3px;
        font-size: 0.75rem;
    }

    .sig-canvas {
        height: 90px;
    }
}

/* Print Styles for Master Declaration matching doc.pdf */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt !important;
    }
    
    .app-header, .admin-toolbar, .no-print, .btn, .nav-links {
        display: none !important;
    }
    
    .doc-sheet {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .official-table {
        border: 1.5pt solid #000000 !important;
        page-break-inside: auto;
    }
    
    .official-table tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    
    .official-table th, .official-table td {
        border: 1pt solid #000000 !important;
        padding: 4pt 6pt !important;
        color: #000000 !important;
    }
    
    .page-break {
        page-break-after: always;
    }
}
