@import"https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap";*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%;width:100%}.preview-container{background:#f1f5f9;min-height:100vh;padding:20px 0;font-family:Times New Roman,Times,serif;color:#000}@media print{body,html{background:#fff!important;margin:0!important;padding:0!important}.preview-container{background:none!important;padding:0!important;margin:0!important;box-shadow:none!important;display:block!important}nav,footer,header,.navbar,.footer,.no-print,.aurora-background>*:not(main){display:none!important;height:0!important;visibility:hidden!important}main{padding:0!important;margin:0!important}.invoice-page{margin:0 auto!important;box-shadow:none!important;border:none!important;width:210mm!important;height:297mm!important;padding:15mm!important;page-break-after:always!important;break-after:page!important;box-sizing:border-box!important;background:#fff!important}@page{size:A4;margin:0}}.action-btn{transition:all .2s ease}.action-btn:hover{transform:translateY(-2px)}.action-btn:active{transform:translateY(0)}.download-btn:hover{background:linear-gradient(135deg,#059669,#047857)!important;box-shadow:0 6px 20px #10b98166!important}.print-btn:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af)!important;box-shadow:0 6px 20px #2563eb66!important}.control-bar{max-width:794px;margin:0 auto 20px;display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#fff;border-radius:12px;box-shadow:0 4px 15px #0000000d;box-sizing:border-box}.control-bar-title{margin:0;font-size:16px;font-weight:700;color:#1e293b;font-family:sans-serif}.control-bar-buttons{display:flex;gap:12px}.download-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:8px;padding:10px 18px;font-size:13px;font-weight:700;cursor:pointer;display:flex;align-items:center;gap:8px;box-shadow:0 4px 12px #10b98140;font-family:sans-serif}.print-btn{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;border-radius:8px;padding:10px 18px;font-size:13px;font-weight:700;cursor:pointer;display:flex;align-items:center;gap:8px;box-shadow:0 4px 12px #2563eb40;font-family:sans-serif}.invoice-page{width:794px;height:1123px;background:#fff;box-shadow:0 10px 30px #00000014;box-sizing:border-box;display:flex;flex-direction:column}.invoice-page.page-1{margin:0 auto 30px;padding:40px 48px;position:relative;justify-content:space-between}.invoice-page.page-2{margin:0 auto;padding:50px 48px;justify-content:flex-start}.header-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.company-info{flex:1;padding-right:20px}.company-name-en{font-size:20px;font-weight:700;color:#000;margin-bottom:3px;line-height:1.1}.company-name-ar{font-size:14px;font-weight:700;color:#000;margin-bottom:6px;line-height:1.1;text-align:left}.company-vat,.company-cr{font-size:11px;color:#000;margin-bottom:3px}.company-address{font-size:11px;color:#000;margin-bottom:3px;line-height:1.3;white-space:nowrap}.company-email{font-size:11px;color:#000}.logo-title-container{width:220px;display:flex;flex-direction:column;align-items:flex-end}.logo-wrapper{width:160px;padding:6px 12px;background-color:#fff;margin-bottom:14px;text-align:center;box-sizing:border-box}.logo-img{max-width:100%;height:auto}.title-wrapper{text-align:right}.invoice-title-en{font-size:24px;font-weight:700;color:#000;line-height:1.1}.invoice-title-ar{font-size:19px;font-weight:700;color:#000;margin-top:2px;line-height:1.1}.billing-meta-row{display:flex;justify-content:space-between;margin-top:70px;align-items:flex-start;margin-bottom:20px}.bill-to-container{flex:1;padding-right:10px}.bill-to-label-en{font-size:11px;font-weight:700;color:#000;line-height:1.2}.bill-to-label-ar{font-size:11px;font-weight:700;color:#000;margin-top:1px;line-height:1.2;text-align:left}.client-name{font-size:11px;color:#000;margin-top:4px;font-weight:700}.client-detail{font-size:11px;color:#000;margin-top:2px}.qr-container{width:120px;display:flex;justify-content:center;align-items:center;padding:0 10px}.invoice-meta-wrapper{flex:1;display:flex;justify-content:flex-end}.invoice-meta-box{width:190px}.meta-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:6px}.meta-row.last{margin-bottom:0}.meta-label-wrapper{display:flex;gap:5px}.meta-label-box{width:70px}.meta-label-en{font-size:11px;font-weight:700;color:#000;line-height:1.1}.meta-label-ar{font-size:11px;font-weight:700;color:#000;margin-top:1px;line-height:1.1;text-align:left}.meta-colon{font-size:11px;color:#000}.meta-value-bold{font-size:11px;color:#000;font-weight:700;text-align:right}.meta-value{font-size:11px;color:#000;text-align:right}.items-table{width:100%;border-collapse:collapse;border:1px solid #000000;margin-bottom:20px;font-size:11px;color:#000}.table-header-row{background-color:#eaecee}.items-table th{border:1px solid #000000;padding:6px 8px;font-weight:700}.th-center{text-align:center}.th-left{text-align:left}.th-col-id{width:4%}.th-col-desc{width:34%}.th-col-hours,.th-col-rate{width:10%}.th-col-taxable{width:16%}.th-col-tax,.th-col-net{width:13%}.th-ar-desc{margin-top:1px;line-height:1.1;text-align:left;white-space:nowrap}.th-ar-label{margin-top:1px;line-height:1.1;white-space:nowrap}.items-table td{border:1px solid #000000;padding:6px 8px;vertical-align:top}.td-center{text-align:center}.td-left{text-align:left}.td-right{text-align:right}.item-desc-title{font-weight:700}.item-desc-note,.item-tax-note{font-size:10px;margin-top:2px}.table-total-row{font-weight:700}.table-total-row td{vertical-align:middle!important}.total-ar-label{margin-top:1px;line-height:1.1;text-align:left;white-space:nowrap}.table-net-row{font-weight:700}.net-empty-cell{border-left:1px solid #000000!important;border-bottom:1px solid #000000!important;border-top:none!important;border-right:none!important;background-color:#fff!important}.net-label-cell{border:1px solid #000000!important;padding:6px 8px!important;text-align:right!important;background-color:#fff!important}.net-label-en{font-size:11px}.net-label-ar{font-size:11px;margin-top:1px;line-height:1.1;text-align:left;white-space:nowrap}.net-val-cell{border:1px solid #000000!important;padding:6px 8px!important;text-align:right!important;font-size:12px!important;background-color:#fff!important}.amount-words-container{margin-bottom:22px;font-size:11px;color:#000}.amount-words-line-1{margin-bottom:4px}.amount-words-line-2{margin-bottom:8px}.amount-words-label{font-weight:700}.note-paragraph{margin:0;font-size:11px;line-height:1.4}.bank-details-container{font-size:11px;color:#000;line-height:1.4;margin-bottom:30px}.bank-details-row-1{display:flex;flex-wrap:wrap;align-items:baseline;margin-bottom:2px}.bank-beneficiary-label{font-weight:700;margin-right:4px}.bank-short-name-label{font-weight:700;margin:0 4px}.bank-short-name-value{font-weight:700;text-align:left}.bank-details-label{font-weight:700}.signature-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:15px}.signature-box{width:200px}.signature-label{font-size:11px;color:#000}.signature-value{font-size:11px;font-weight:700;color:#000;margin-top:2px}.page-footer{border-top:1px solid #000000;padding-top:6px;text-align:center;font-size:10px;color:#000}.mgce-invoice-theme{--primary-blue: #0b4c8c;--dark-blue: #052646;--text-black: #000000;--border-color: #000000;--table-header-bg: #ffffff;--sheet-width: 210mm;--sheet-height: 297mm}.mgce-invoice-theme,.mgce-invoice-theme *{box-sizing:border-box!important;margin:0;padding:0;font-family:Inter,sans-serif;line-height:1.2}.mgce-invoice-theme .invoice-sheet{width:210mm!important;min-height:297mm!important;max-height:297mm!important;background-color:#fff!important;padding:15mm 15mm 12mm!important;color:#000!important;position:relative!important;margin:0 auto!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}.mgce-invoice-theme .top-date-label{position:absolute!important;top:15mm!important;right:15mm!important;font-family:Inter,sans-serif!important;font-size:13.5px!important;font-weight:700!important;color:#000!important;z-index:5!important;white-space:nowrap!important}.mgce-invoice-theme .invoice-inner-content{width:100%!important;display:flex!important;flex-direction:column!important}.mgce-invoice-theme .invoice-header{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:15px!important;margin-bottom:22px!important;width:100%!important;margin-top:10px!important}.mgce-invoice-theme .header-left{text-align:center!important}.mgce-invoice-theme .header-left h1{font-family:Inter,sans-serif!important;font-size:14px!important;font-weight:800!important;color:var(--primary-blue)!important;margin-bottom:4px!important;white-space:nowrap!important}.mgce-invoice-theme .header-left h2{font-family:Inter,sans-serif!important;font-size:13px!important;font-weight:700!important;color:var(--primary-blue)!important;margin-bottom:6px!important}.mgce-invoice-theme .header-left p{font-family:Inter,sans-serif!important;font-size:11.5px!important;font-weight:700!important;color:#000!important;margin-bottom:5px!important}.mgce-invoice-theme .header-left .cr-no{font-family:Inter,sans-serif!important;font-size:11.5px!important;font-weight:800!important;color:#000!important}.mgce-invoice-theme .header-logo{display:flex!important;justify-content:center!important;align-items:center!important}.mgce-invoice-theme .header-right{text-align:center!important;direction:rtl!important}.mgce-invoice-theme .header-right h1{font-family:Cairo,sans-serif!important;font-size:15px!important;font-weight:800!important;color:var(--primary-blue)!important;margin-bottom:4px!important;white-space:nowrap!important}.mgce-invoice-theme .header-right h2{font-family:Cairo,sans-serif!important;font-size:13.5px!important;font-weight:700!important;color:var(--primary-blue)!important;margin-bottom:6px!important}.mgce-invoice-theme .header-right p{font-family:Cairo,sans-serif!important;font-size:12px!important;font-weight:700!important;color:#000!important;margin-bottom:5px!important}.mgce-invoice-theme .header-right .cr-no{font-family:Cairo,sans-serif!important;font-size:11.5px!important;font-weight:800!important;color:#000!important}.mgce-invoice-theme .invoice-body-wrapper{width:100%!important;margin-top:10px!important}.mgce-invoice-theme .statement-box{border:2px solid #000000!important;border-radius:20px 20px 0 0!important;overflow:hidden!important;background-color:#fff!important;width:100%!important}.mgce-invoice-theme .client-info-row{display:grid!important;grid-template-columns:1fr 2fr 1fr!important;align-items:center!important;padding:10px 15px!important;width:100%!important}.mgce-invoice-theme .client-info-row .date-manual-left{font-family:Inter,sans-serif!important;font-size:13px!important;font-weight:600!important;text-align:left!important;white-space:pre!important}.mgce-invoice-theme .client-info-row .client-name-center{font-family:Inter,sans-serif!important;font-size:16px!important;font-weight:800!important;text-align:center!important;color:#000!important;padding:0 10px!important;white-space:normal!important;word-wrap:break-word!important;word-break:break-word!important;display:block!important;line-height:1.2!important;max-width:100%!important}.mgce-invoice-theme .client-info-row .date-manual-right{font-family:Cairo,sans-serif!important;font-size:12.5px!important;font-weight:700!important;text-align:right!important;direction:rtl!important;white-space:pre!important}.mgce-invoice-theme .statement-title-block{text-align:center!important;padding:8px 10px!important;border-bottom:2px solid #000000!important;background-color:#fff!important;width:100%!important}.mgce-invoice-theme .statement-title-block h3{font-family:Inter,sans-serif!important;font-size:13.5px!important;font-weight:800!important;letter-spacing:.5px!important;color:#000!important}.mgce-invoice-theme .statement-table{width:100%!important;border-collapse:collapse!important;margin:0!important;table-layout:fixed!important}.mgce-invoice-theme .statement-table th,.mgce-invoice-theme .statement-table td{border:1px solid #000000!important;padding:8px 6px!important;font-family:Inter,sans-serif!important;color:#000!important;text-align:center!important;vertical-align:middle!important;word-wrap:break-word!important}.mgce-invoice-theme .statement-table th:first-child,.mgce-invoice-theme .statement-table td:first-child{border-left:none!important}.mgce-invoice-theme .statement-table th:last-child,.mgce-invoice-theme .statement-table td:last-child{border-right:none!important}.mgce-invoice-theme .statement-table thead tr{border-bottom:2px solid #000000!important}.mgce-invoice-theme .statement-table th{font-size:11.5px!important;font-weight:800!important;background-color:var(--table-header-bg)!important;letter-spacing:.2px!important;padding:10px 4px!important}.mgce-invoice-theme .col-sl{width:6%!important}.mgce-invoice-theme .col-project{width:30%!important;text-align:left!important;padding-left:12px!important}.mgce-invoice-theme .col-month{width:15%!important}.mgce-invoice-theme .col-invoice{width:9%!important}.mgce-invoice-theme .col-amount,.mgce-invoice-theme .col-paid,.mgce-invoice-theme .col-net{width:14%!important;white-space:nowrap!important}.mgce-invoice-theme .statement-table td{font-size:12px!important;font-weight:600!important;height:38px!important}.mgce-invoice-theme .statement-table td.col-project-val{text-align:left!important;padding-left:12px!important;font-weight:700!important}.mgce-invoice-theme .statement-table td.col-amount-val,.mgce-invoice-theme .statement-table td.col-paid-val,.mgce-invoice-theme .statement-table td.col-net-val{font-weight:700!important;white-space:nowrap!important}.mgce-invoice-theme .statement-table tr.total-row{border-top:2px solid #000000!important;background-color:#fff!important}.mgce-invoice-theme .statement-table tr.total-row td{font-weight:800!important;font-size:12px!important;white-space:nowrap!important}.mgce-invoice-theme .statement-table tr.total-row td.total-label{text-align:right!important;padding-right:15px!important;letter-spacing:.5px!important}.mgce-invoice-theme .invoice-footer{width:100%!important;margin-top:25px!important;padding-top:10px!important;border-top:1px solid #000000!important;text-align:center!important;display:flex!important;flex-direction:column!important;gap:5px!important}.mgce-invoice-theme .footer-arabic{font-family:Cairo,sans-serif!important;font-size:9.8px!important;font-weight:700!important;color:#000!important;direction:rtl!important;line-height:1.3!important;letter-spacing:.1px!important}.mgce-invoice-theme .footer-english{font-family:Inter,sans-serif!important;font-size:9.5px!important;font-weight:700!important;color:#000!important;line-height:1.3!important;letter-spacing:.05px!important}.mgce-invoice-theme .footer-email{font-family:Inter,sans-serif!important;font-size:10px!important;font-weight:700!important;color:#000!important;letter-spacing:.1px!important}@media print{@page{size:A4;margin:0!important}body{background:#fff!important;margin:0!important;padding:0!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.mgce-invoice-theme .invoice-sheet{margin:0!important;border:none!important;box-shadow:none!important;width:210mm!important;height:296mm!important;padding:15mm 15mm 12mm!important;page-break-inside:avoid!important;break-inside:avoid!important}}.mgce-invoice-theme .control-bar{width:794px!important;margin:0 auto 24px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;padding:16px 24px!important;background:#fff!important;border-radius:12px!important;box-shadow:0 4px 15px #0000000d!important;box-sizing:border-box!important;z-index:100!important}.mgce-invoice-theme .control-bar-title{margin:0!important;font-size:16px!important;font-weight:700!important;color:#1e293b!important;font-family:sans-serif!important;letter-spacing:.1px!important}.mgce-invoice-theme .control-bar-buttons{display:flex!important;gap:12px!important}.mgce-invoice-theme .download-btn{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important;border:none!important;border-radius:8px!important;padding:10px 18px!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;display:flex!important;align-items:center!important;gap:8px!important;box-shadow:0 4px 12px #10b98133!important;font-family:sans-serif!important;transition:all .2s ease!important}.mgce-invoice-theme .download-btn:hover{transform:translateY(-2px)!important;background:linear-gradient(135deg,#059669,#047857)!important;box-shadow:0 6px 20px #10b98159!important}.mgce-invoice-theme .download-btn:active{transform:translateY(0)!important}.mgce-invoice-theme .print-btn{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;color:#fff!important;border:none!important;border-radius:8px!important;padding:10px 18px!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;display:flex!important;align-items:center!important;gap:8px!important;box-shadow:0 4px 12px #2563eb33!important;font-family:sans-serif!important;transition:all .2s ease!important}.mgce-invoice-theme .print-btn:hover{transform:translateY(-2px)!important;background:linear-gradient(135deg,#1d4ed8,#1e40af)!important;box-shadow:0 6px 20px #2563eb59!important}.mgce-invoice-theme .print-btn:active{transform:translateY(0)!important}.mgce-invoice-theme .toast{position:fixed!important;bottom:24px!important;background:#10b981f2!important;color:#fff!important;padding:12px 20px!important;border-radius:8px!important;box-shadow:0 10px 25px #10b9814d!important;font-weight:600!important;font-size:13.5px!important;display:flex!important;align-items:center!important;gap:8px!important;transition:all .3s cubic-bezier(.175,.885,.32,1.275)!important;z-index:1000!important;left:50%!important;transform:translate(-50%,100px)!important;opacity:0!important}.mgce-invoice-theme .toast.show{transform:translate(-50%)!important;opacity:1!important}.mgce-invoice-theme .toast-icon{font-size:16px!important}@media print{.mgce-invoice-theme .no-print{display:none!important;height:0!important;visibility:hidden!important}}
