diff --git a/dashboards/school-fax.html b/dashboards/school-fax.html index de7de6c..90a3210 100644 --- a/dashboards/school-fax.html +++ b/dashboards/school-fax.html @@ -19,153 +19,151 @@ } body { font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif; - background: #E2E8F0; + background: #F1F5F9; color: #0F172A; display: flex; flex-direction: column; align-items: center; - padding: 24px 0; - font-size: 10pt; - line-height: 1.6; + padding: 20px 0; + font-size: 8.8pt; + line-height: 1.5; } .sheet-wrapper { width: 210mm; height: 297mm; position: relative; background: #FFFFFF; - box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); overflow: hidden; - } - .bg-letterhead { - position: absolute; - top: 0; - left: 0; - width: 210mm; - height: 297mm; - object-fit: fill; - z-index: 1; - pointer-events: none; - } - .sheet-content { - position: absolute; - top: 0; - left: 0; - width: 210mm; - height: 297mm; - z-index: 2; - padding: 27mm 18mm 20mm 18mm; display: flex; flex-direction: column; justify-content: space-between; } + .header-img { + width: 100%; + height: auto; + display: block; + } + .footer-img { + width: 100%; + height: auto; + display: block; + } + .main-body { + flex: 1; + padding: 4mm 16mm 2mm 16mm; + display: flex; + flex-direction: column; + justify-content: flex-start; + gap: 7px; + } .doc-meta { display: flex; - justify-content: flex-start; - margin-top: -12mm; - margin-bottom: 6mm; - font-size: 9pt; + justify-content: space-between; + align-items: flex-start; + font-size: 8.2pt; color: #334155; - font-weight: 500; + padding-bottom: 4px; + border-bottom: 1px dashed #E2E8F0; } - .meta-box { - width: 55mm; - text-align: right; - line-height: 1.5; + .meta-item { + display: inline-block; + margin-left: 12px; } - .recipient-block { - margin-bottom: 8px; + .recipient-title { font-weight: 800; - font-size: 11pt; + font-size: 9.8pt; color: #1E1B4B; + margin-top: 2px; } .lead-text { text-align: justify; color: #1E293B; - font-size: 9.3pt; - line-height: 1.65; - margin-bottom: 10px; + font-size: 8.5pt; + line-height: 1.6; } .section-title { - font-size: 9.8pt; + font-size: 9pt; font-weight: 800; color: #4C1D95; - margin-bottom: 5px; display: flex; align-items: center; gap: 6px; + margin-top: 2px; } .packages-table { width: 100%; border-collapse: collapse; - margin-bottom: 10px; - font-size: 8.7pt; + font-size: 8pt; } .packages-table th, .packages-table td { border: 1px solid #CBD5E1; - padding: 5px 8px; + padding: 4.5px 6px; text-align: center; } .packages-table th { - background: #F1F5F9; + background: #F8FAFC; color: #4C1D95; font-weight: 800; - font-size: 8.5pt; + font-size: 8pt; } .packages-table td.strong-col { font-weight: 800; color: #0F172A; + background: #FAF5FF; + width: 22%; + font-size: 7.9pt; } .perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; - margin-bottom: 10px; } .perk-card { background: #F8FAFC; border: 1px solid #E2E8F0; - border-radius: 6px; - padding: 6px 8px; + border-radius: 5px; + padding: 5px 6px; text-align: center; } .perk-card b { display: block; color: #4C1D95; - font-size: 8.5pt; + font-size: 8pt; margin-bottom: 2px; } .perk-card span { - font-size: 7.8pt; + font-size: 7.4pt; color: #475569; line-height: 1.3; display: block; } .cta-card { background: #FAF5FF; - border: 1.5px dashed #7C3AED; - border-radius: 8px; - padding: 9px 12px; + border: 1.2px dashed #7C3AED; + border-radius: 7px; + padding: 7px 10px; display: flex; align-items: center; justify-content: space-between; - gap: 14px; + gap: 10px; } .cta-info h4 { color: #4C1D95; - font-size: 10pt; + font-size: 8.8pt; font-weight: 800; - margin-bottom: 3px; + margin-bottom: 2px; } .cta-info p { - font-size: 8.7pt; + font-size: 7.8pt; color: #334155; - line-height: 1.5; + line-height: 1.4; } .cta-phones { font-weight: 800; color: #7C2D12; - margin-top: 4px; - font-size: 9.3pt; + margin-top: 3px; + font-size: 8.5pt; direction: ltr; text-align: right; } @@ -174,42 +172,42 @@ flex-shrink: 0; } .qr-container img { - width: 76px; - height: 76px; - border-radius: 6px; - border: 1px solid #E2E8F0; + width: 62px; + height: 62px; + border-radius: 4px; + border: 1px solid #CBD5E1; background: #FFF; padding: 2px; } .qr-container span { display: block; - font-size: 7.5pt; + font-size: 6.8pt; font-weight: 700; color: #64748B; - margin-top: 2px; + margin-top: 1px; } .signature-row { display: flex; justify-content: space-between; align-items: flex-end; - padding: 0 8px; - margin-top: 10px; + padding: 0 4px; + margin-top: 2px; } .signature-box { text-align: center; } .signature-title { - font-size: 8.5pt; + font-size: 7.8pt; color: #64748B; } .signature-name { - font-size: 10pt; + font-size: 8.8pt; font-weight: 800; color: #0F172A; - margin-top: 2px; + margin-top: 1px; } .signature-sub { - font-size: 8.2pt; + font-size: 7.5pt; color: #4C1D95; font-weight: 600; } @@ -231,128 +229,141 @@
-