.generic-receipt-body {
    font-family: 'Inter', sans-serif;
    background-color: #f6f8fa;
    color: #294b6a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.generic-receipt-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2.5rem;
    background-color: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
}
.generic-receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #1a365d; /* Darker brand color for main heading */
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}
.generic-company-info {
    text-align: left;
}
.generic-company-title {
    color: #1a365d;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.generic-company-subtitle, .generic-company-tagline {
    color: #4b5563;
    margin: 0.25rem 0;
}
.generic-company-details { 
    margin-top: 1rem;
    font-size: 0.875rem;
}
.generic-logo-container { max-width: 150px; }
.generic-logo { max-width: 100%; height: auto; }
.generic-receipt-main { margin-bottom: 2rem; }
.generic-receipt-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.generic-receipt-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a365d;
}
.generic-receipt-info {
    text-align: right;
}
.generic-receipt-info p { margin: 0.25rem 0; font-size: 0.875rem; }
.generic-details-container {
    border: 1px solid #e3e8ee;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    background-color: #f9fafb;
}
.generic-detail-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e3e8ee;
    font-size: 0.875rem;
}
.generic-detail-row:last-child { border-bottom: none; }
.generic-detail-label {
    font-weight: 600;
    flex-basis: 200px;
    color: #1a365d;
}
.generic-placeholder { font-style: normal; color: #294b6a; }
.generic-table-container { margin-bottom: 2rem; }
.generic-table {
    width: 100%;
    border-collapse: collapse;
}
.generic-table-th, .generic-table-td {
    border: 1px solid #e3e8ee;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.875rem;
}
.generic-table-header { 
    background-color: #f9fafb;
    color: #1a365d;
    font-weight: 600;
}
.generic-table-th-narrow { width: 100px; }
.generic-table-td-center { text-align: center; }
.generic-table-td-right { text-align: right; }
.generic-financial-summary {
    margin-left: auto;
    width: 100%;
    max-width: 350px;
    margin-bottom: 2rem;
}
.generic-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid #e3e8ee;
    font-size: 0.875rem;
}
.generic-summary-label { font-weight: 600; color: #1a365d; }
.generic-summary-total {
    font-size: 1rem;
    font-weight: 700;
    background-color: #f9fafb;
    color: #1a365d;
}
.generic-summary-balance {
    font-weight: 700;
    color: #dc3545;
}
.generic-payment-terms {
    border-top: 1px solid #e3e8ee;
    padding-top: 1.5rem;
}
.generic-receipt-footer {
    border-top: 2px solid #1a365d;
    padding-top: 1.5rem;
    margin-top: 2rem;
}
.generic-signature-section {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}
.generic-signature-block { text-align: center; }
.generic-signature-line {
    border-bottom: 1px solid #294b6a;
    padding: 2rem 4rem;
    min-width: 200px;
}
.tawseeq-branding {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #6b7280;
}
.tawseeq-branding a { color: #1a365d; text-decoration: none; font-weight: 600; }
.tawseeq-branding a:hover { color: #1ce1ff; }
.generic-detail-row-multiline { flex-direction: column; align-items: flex-start; }
.generic-detail-row-multiline .generic-detail-value { margin-top: 0.5rem; }
.generic-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
