@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-fadeIn{animation:fadeIn .3s ease-out}@media print{@page{size:A4 portrait;margin:15mm}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body{background:#fff!important;font-family:Inter,Segoe UI,Arial,sans-serif!important;font-size:11pt!important;line-height:1.4;color:#1e293b!important}.no-print{display:none!important}.print-only{display:block!important}.a4-page{width:210mm;min-height:297mm;padding:0;margin:0 auto;background:#fff;box-shadow:none}.estimate-table{width:100%;border-collapse:collapse;font-size:10pt}.estimate-table th,.estimate-table td{border:1px solid #334155;padding:6px 8px;text-align:left}.estimate-table th{background-color:#1e40af!important;color:#fff!important;font-weight:600;text-transform:uppercase;font-size:9pt}.estimate-table tbody tr:nth-child(2n){background-color:#f1f5f9!important}.estimate-table tfoot td{background-color:#0f172a!important;color:#fff!important;font-weight:700;font-size:11pt}.estimate-header{text-align:center;margin-bottom:20px;padding-bottom:15px;border-bottom:3px double #1e40af}.estimate-title{font-size:18pt;font-weight:800;color:#1e40af;text-transform:uppercase;letter-spacing:2px;margin-bottom:8px}.estimate-subtitle{font-size:10pt;color:#64748b}.signature-area{margin-top:40px;display:flex;justify-content:space-between;page-break-inside:avoid}.signature-box{width:45%;text-align:center}.signature-box p{font-size:10pt;margin:0}.signature-line{margin-top:60px;border-top:1px solid #334155;padding-top:5px}}.a4-preview{width:210mm;min-height:297mm;margin:0 auto;padding:15mm;background:#fff;box-shadow:0 4px 20px #00000026;border-radius:4px}.print-only{display:none}.estimate-table{width:100%;border-collapse:collapse;font-size:13px;margin-top:20px}.estimate-table th,.estimate-table td{border:1px solid #cbd5e1;padding:10px 12px;text-align:left}.estimate-table th{background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;font-weight:600;text-transform:uppercase;font-size:11px;letter-spacing:.5px}.estimate-table tbody tr:hover{background-color:#f8fafc}.estimate-table tbody tr:nth-child(2n){background-color:#f1f5f9}.estimate-table .text-right{text-align:right}.estimate-table .text-center{text-align:center}.estimate-table tfoot td{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;font-weight:700;font-size:14px}.estimate-table .subtotal-row td{background-color:#e2e8f0;font-weight:600;color:#1e40af}.estimate-table .highlight-row td{background:linear-gradient(135deg,#dcfce7,#bbf7d0);font-weight:600;color:#166534}.estimate-header{text-align:center;margin-bottom:24px;padding-bottom:16px;border-bottom:3px double #1e40af}.estimate-title{font-size:28px;font-weight:800;color:#1e40af;text-transform:uppercase;letter-spacing:3px;margin-bottom:8px;text-shadow:1px 1px 2px rgba(30,64,175,.1)}.estimate-subtitle{font-size:14px;color:#64748b}.project-info{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:24px;padding:16px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:8px;border:1px solid #e2e8f0}.project-info-item{display:flex;justify-content:space-between;padding:8px 12px;background:#fff;border-radius:6px;border:1px solid #e2e8f0}.project-info-label{font-size:12px;color:#64748b;font-weight:500}.project-info-value{font-size:14px;color:#0f172a;font-weight:700}.signature-area{margin-top:48px;display:flex;justify-content:space-between;padding-top:24px;border-top:1px dashed #cbd5e1}.signature-box{width:45%;text-align:center}.signature-box p{font-size:13px;margin:0;color:#475569}.signature-box .title{font-weight:700;color:#1e293b;text-transform:uppercase;font-size:12px;letter-spacing:.5px}.signature-line{margin-top:80px;border-top:1px solid #475569;padding-top:8px;font-style:italic;color:#94a3b8;font-size:11px}.notes-section{margin-top:24px;padding:16px;background:#fefce8;border:1px solid #fde047;border-radius:8px}.notes-section h5{font-size:13px;font-weight:700;color:#854d0e;margin-bottom:8px;text-transform:uppercase}.notes-section ul{margin:0;padding-left:20px;list-style:disc}.notes-section li{font-size:12px;color:#713f12;margin-bottom:4px}.estimate-footer{margin-top:24px;padding-top:16px;border-top:1px solid #e2e8f0;text-align:center;font-size:11px;color:#94a3b8}.estimate-footer .company-name{font-weight:700;color:#1e40af}
