/* Print Layout Styles */
.bluepiquote-print-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    /* Lighter text (gray-700) */
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    box-sizing: border-box;
}

.bluepiquote-header {
    text-align: center !important;
    margin-bottom: 35px !important;
    background: none !important;
    padding: 0 !important;
}

.bluepiquote-logo {
    max-height: 80px !important;
    display: block !important;
    margin: 0 auto !important;
    float: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.bluepiquote-meta-info {
    margin-bottom: 20px !important;
    font-weight: 500;
    font-size: 14px;
    color: #1f2937;
}

/* Gray-800 */
.bluepiquote-meta-row {
    margin-bottom: 8px;
}

.bluepiquote-meta-label {
    font-weight: 700;
    color: #374151;
    margin-right: 5px;
}

/* Gray-700 */
.bluepiquote-product-list {
    width: 100%;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.bluepiquote-product-item {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
}

.bluepiquote-product-item:last-child {
    border-bottom: none;
}

.bluepiquote-product-name {
    font-weight: 500;
    color: #1f2937;
    flex: 1;
    padding-right: 20px;
}

.bluepiquote-product-qty-price {
    white-space: nowrap;
    font-weight: 600;
    color: #4b5563;
}

/* Gray-600 */
.bluepiquote-totals-wrapper {
    width: 50%;
    margin-left: auto;
    margin-bottom: 15px !important;
}

.bluepiquote-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
    color: #6b7280;
}

/* Gray-500 */
.bluepiquote-grand-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #e5e7eb;
    font-weight: 800;
    font-size: 16px;
    color: inherit;
}

.bluepiquote-signature-section {
    margin-bottom: 15px !important;
    page-break-inside: avoid;
}

.bluepiquote-signer-name {
    font-weight: 800;
    font-size: 15px;
    color: #1f2937;
    display: block;
}

.bluepiquote-signer-role {
    color: #6b7280;
    font-size: 13px;
}

.bluepiquote-footer {
    border-top: 1px solid #e5e7eb !important;
    padding-top: 30px !important;
    font-size: 11px !important;
    color: #6b7280 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    background: none !important;
    page-break-inside: avoid;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.bluepiquote-footer p {
    text-align: left !important;
    margin-bottom: 15px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.bluepiquote-footer-cols {
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 40px !important;
    align-items: flex-end !important;
    font-weight: 500 !important;
    color: #374151 !important;
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

@media print {
    body>*:not(#bluepiquote-print-container) {
        display: none !important;
    }

    #bluepiquote-print-container {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        background: white !important;
        z-index: 9999 !important;
    }

    /* Set standard, clean browser printing margins */
    @page {
        margin: 1.2cm;
        size: auto;
    }

    /* Remove excessive padding and rely on native page margins */
    .bluepiquote-print-wrapper {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}