:: **Zploit** v1.0 | Current Path: **/home/kreativepixelz/public_html/kreative_crm/**
:: Editing File: invoice_style.css
/* ---------------------------------------------------------------------- * Optimized CSS for Single-Page Invoice Layout * ---------------------------------------------------------------------- */ /* Basic Reset & Font */ body { font-family: 'Roboto', Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; } .invoice-container { max-width: 800px; margin: 0 auto; padding: 20px; background-color: #fff; border: 1px solid #ccc; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } /* Header Section */ .invoice-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 10px; border-bottom: 3px solid #000; margin-bottom: 15px; } .company-logo h1 { margin: 0; font-size: 28px; color: #000; } .company-info { text-align: right; font-size: 11px; } .company-info p { margin: 2px 0; } /* Title */ .invoice-title h2 { text-align: center; font-size: 20px; margin-top: 0; margin-bottom: 20px; padding: 3px 0; background-color: #12649c; color: #fff; } /* Details Section */ .details-section { display: flex; justify-content: space-between; margin-bottom: 15px; } .invoice-details, .client-details { width: 48%; padding: 5px 10px; border: 1px solid #ddd; font-size: 13px; } .section-title { font-weight: bold; border-bottom: 1px solid #eee; padding-bottom: 3px; margin-top: 0; color: #266c9c; } .invoice-details p, .client-details p { margin: 3px 0; } .client-name { margin-top: 5px; font-size: 15px; } /* Items Table */ .items-table { width: 100%; border-collapse: collapse; margin-bottom: 15px; font-size: 12px; } .items-table th, .items-table td { border: 1px solid #ccc; padding: 6px; text-align: left; } .items-table th { background-color: #12649c; font-weight: bold; text-align: center; color: #fff; } .items-table td:nth-child(4), .items-table td:nth-child(6), .items-table td:nth-child(7) { text-align: right; } .total-row { font-weight: bold; background-color: #e5e5e5; } /* Summary Section */ .summary-section { display: flex; justify-content: space-between; margin-bottom: 15px; } .amount-words { width: 60%; padding: 5px 0; border-top: 1px solid #ccc; font-size: 13px; } .words-text { font-style: italic; font-size: 13px; } .amount-summary { width: 35%; } .summary-table { width: 100%; border-collapse: collapse; } .summary-table td { padding: 4px; border-bottom: 1px solid #eee; font-size: 13px; } .summary-table td:last-child { text-align: right; font-weight: bold; } .balance td { background-color: #e5e5e5; border-top: 2px solid #000; } /* Bank & Terms */ .bank-terms-section { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 20px; padding-top: 10px; border-top: 1px solid #ccc; } .terms { width: 30%; } .bank-details { width: 30%; font-size: 11px; } .bank-details p { margin: 2px 0; } .qr-code { width: 20%; text-align: center; font-weight: bold; } .sign-code { width: 20%; text-align: center; font-weight: bold; } .terms ul { list-style-type: disc; padding-left: 15px; font-size: 11px; } .terms li { margin-bottom: 2px; line-height: normal; } /* Acknowledgment Section */ .acknowledgement-section { margin-top: 20px; padding: 10px; border: 1px solid #000; } .acknowledgement-section .section-title { margin-bottom: 5px !important; padding-bottom: 3px; font-size: 14px; } .acknowledgement-section h2 { font-size: 18px !important; margin: 5px 0 !important; } .ack-details { display: flex; justify-content: space-between; align-items: flex-end; font-size: 12px; } .received-info, .ack-invoice-info, .ack-signature { width: 33%; } .received-info p, .ack-invoice-info p { margin: 2px 0; } .signature-line { border-bottom: 1px solid #000; margin-top: 20px; } .ack-invoice-info > div, .ack-signature > div { margin-top: 15px !important; } /* Footer */ .invoice-footer { text-align: right; margin-top: 20px; padding-top: 10px; border-top: 3px solid #000; font-size: 13px; } strong { color: #12649c; } .invoice-footer p { margin: 2px 0; } .thank-you { font-style: italic; text-align: center; margin-top: 10px !important; } /* Print Styles */ @media print { @page { margin: 0.5cm; } body { background-color: #fff; padding: 0; } .invoice-container { box-shadow: none; border: none; padding: 10px; } } /* Responsive */ @media (max-width: 600px) { .invoice-header, .details-section, .summary-section, .bank-terms-section { flex-direction: column; } .company-info { text-align: left; margin-top: 10px; } .invoice-details, .client-details, .amount-words, .amount-summary, .terms, .bank-details, .qr-code { width: 100%; margin-bottom: 10px; } }