/**
 * Invoice Templates CSS
 */

/* Template 1: Standard Modern */
.ss-invoice-preview-content.template-1 {
    border-top: 10px solid #007bff;
}

/* Template 2: Minimalist Grey */
.ss-invoice-preview-content.template-2 {
    border-top: 10px solid #6c757d;
    background: #fdfdfd;
}
.ss-invoice-preview-content.template-2 h2 { color: #333; }

/* Template 3: Professional Blue */
.ss-invoice-preview-content.template-3 {
    border-top: 10px solid #1a237e;
}
.ss-invoice-preview-content.template-3 .preview-header {
    background: #f5f5f5;
    padding: 20px;
    margin: -40px -40px 20px -40px;
}

/* Template 4: Clean Green */
.ss-invoice-preview-content.template-4 {
    border-top: 10px solid #2e7d32;
}

/* Template 5: Elegant Purple */
.ss-invoice-preview-content.template-5 {
    border-top: 10px solid #4a148c;
}

/* Template 6: Bold Red */
.ss-invoice-preview-content.template-6 {
    border-top: 10px solid #c62828;
}

/* Template 7: Golden / Luxury */
.ss-invoice-preview-content.template-7 {
    border-top: 10px solid #f9a825;
}

/* Template 8: Dark / Sleek */
.ss-invoice-preview-content.template-8 {
    background: #fff;
    border-top: 10px solid #212121;
}

/* Template 9: Soft Orange */
.ss-invoice-preview-content.template-9 {
    border-top: 10px solid #ef6c00;
}

/* Template 10: Custom Teal */
.ss-invoice-preview-content.template-10 {
    border-top: 10px solid #00695c;
}

/* Shared Template Styles */
.preview-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.preview-biz-info { text-align: right; }
.preview-biz-info h2 { margin: 0; font-size: 2.5em; color: var(--ss-primary); }
.preview-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.preview-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.preview-items-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}
.preview-items-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}
.preview-summary {
    width: 300px;
    margin-left: auto;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}
.summary-row.total {
    font-size: 1.4em;
    font-weight: 700;
    border-top: 2px solid #333;
    margin-top: 10px;
    padding-top: 15px;
}
.preview-footer {
    margin-top: 50px;
    font-size: 0.9em;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
