/* Template 1 - Classic Professional */

/* Orange Bar */
.header-bar {
    width: 100%;
    height: 8px;
    background-color: #ff6600;
    margin-bottom: 15px;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    margin-top: 20px;
}

.logo {
    max-width: 200px;
    max-height: 80px;
}

.header-right {
    text-align: right;
    width: 60%;
}

.header-date {
    font-size: 24pt;
    font-weight: 800;
    color: #ff6600;
    margin-bottom: 5px;
}

.header-note {
    font-size: 9pt;
    color: #666;
}

.header-meta-row {
    font-size: 10pt;
    font-weight: 600;
    color: #0f172a;
    padding-top: 5px;
    text-transform: uppercase;
}

.meta-separator {
    margin: 0 5px;
    color: #ccc;
}

/* Info Section */
.info-total-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    align-items: flex-start;
}

.info-col-left {
    width: 45%;
}

.company-info-block {
    border-left: 4px solid #0f172a;
    padding-left: 15px;
    font-size: 9pt;
    color: #444;
    line-height: 1.5;
}

.company-name {
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-col-right {
    width: 45%;
    text-align: left;
}

.customer-info-block-right {
    font-size: 10pt;
    color: #333;
}

.sayin-label {
    font-size: 8pt;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.customer-name-right {
    font-weight: 800;
    font-size: 11pt;
    margin-bottom: 5px;
    color: #0f172a;
    text-transform: uppercase;
}

.customer-address-right {
    margin-bottom: 5px;
    color: #555;
    white-space: pre-line;
}

.customer-phone-right {
    color: #555;
    font-weight: 500;
}

/* Items Table */
.items-section {
    margin-bottom: 30px;
}

.table-header-row {
    display: flex;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #0f172a;
    font-size: 9pt;
    text-transform: uppercase;
}

.th-desc {
    width: 50%;
}

.th-price {
    width: 15%;
    text-align: right;
}

.th-qty {
    width: 15%;
    text-align: center;
}

.th-total {
    width: 20%;
    text-align: right;
}

.item-row-display {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
}

.item-row-display:last-child {
    border-bottom: none;
}

.col-desc {
    width: 50%;
    padding-left: 0;
    font-weight: 700;
    color: #444;
}

.col-price {
    width: 15%;
    text-align: right;
    color: #444;
    font-size: 9pt;
}

.col-qty {
    width: 15%;
    text-align: center;
    color: #444;
}

.col-total {
    width: 20%;
    text-align: right;
    padding-right: 0;
    font-weight: 700;
    color: #444;
}

/* Totals Section */
.totals-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    align-items: flex-start;
}

.notes-col {
    width: 55%;
    padding-right: 20px;
}

.notes-content {
    font-size: 9pt;
    color: #555;
    white-space: pre-line;
    line-height: 1.4;
}

.totals-col-right {
    width: 40%;
}

.totals-table {
    width: 100%;
    border-collapse: collapse;
}

.totals-table th {
    text-align: left;
    padding: 8px 0;
    font-size: 8pt;
    color: #444;
    font-weight: 700;
    text-transform: uppercase;
}

.totals-table td {
    text-align: right;
    padding: 8px 0;
    font-weight: 800;
    color: #333;
}

.totals-table tr {
    border-bottom: 1px dotted #ccc;
}

.totals-table tr:last-child {
    border-bottom: none;
}

/* Footer */
.invoice-footer {
    margin-top: auto;
    border-top: 1px solid #999;
    padding-top: 20px;
    display: flex;
    align-items: center;
}

.footer-logo {
    margin-right: 20px;
}

.footer-logo-img {
    height: 40px;
}

.footer-info {
    font-size: 8pt;
    color: #666;
    line-height: 1.4;
}

.footer-info strong {
    color: #333;
}

.text-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--paper-accent, #0f172a);
    text-align: left;
    line-height: 1.2;
    margin-bottom: 10px;
}

.footer-logo .text-logo {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

