 
        /* Custom styles for the document body and print view */
        body {
            font-family: 'Nunito', sans-serif;
            background-color: #ffffff;
             
        }
        .document-container {
            max-width: 210mm; /* A4 width approximation */
            min-height: 297mm; /* A4 height approximation */
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            background-color: white;
        }
        /* Custom red color to match the image closely */
        .color-primary {
            background-color: #d11e3b; /* A deep, estimate-style red */
        }
        .text-primary {
            color: #d11e3b;
        }
        .border-gray-500-custom {
             border-color: #9ca3af; /* Slightly darker than Tailwind's default 500 */
        }

        /* Specific styles for the table to ensure clean lines */
        .item-table th, .item-table td {
            border: 1px solid #e5e7eb; /* Light gray border */
            padding: 0.5rem 0.75rem;
            line-height: 1.25;
        }
        .item-table {
            border-collapse: collapse;
            width: 100%;
        }
        .item-table th {
            background-color: #f9fafb;
            font-weight: 600;
        }

        /* Print Media Query */
        @media print {
            body {
                background-color: white;
                padding: 0;
            }
            .document-container {
                box-shadow: none;
                min-height: auto;
                max-width: 100%;
                margin: 0;
            }
        }
        
        
    .top-header {
    background: #d21f2b;
    color: white;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px;  
     border-bottom-left-radius:0px;
    justify-content: space-between;
}

    .top-section {
        display: flex;
        align-items: center;
        gap: 60px;
    }

    .top-item {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        line-height: 18px;
    }

    /* Logo Block */
    .logo-block {
        background: #d21f2b;
        color: white;
        padding:  0px;
        padding-left: 30px;
        border-bottom-right-radius: 0px;
        width: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Black Section */
    .black-section {
    background: #1f2732;
    color: white;
    padding: 10px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-right-radius: 271px;
    margin-top: -10px;
}

    .company-info {
        font-size: 14px;
        line-height: 20px;
    }

    .company-info h2 {
        font-size: 30px;
        margin: 0;
        font-weight: bold;
    }

    .estimate-title {
          font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    margin-right: 40px;
    }
    a {
        color :#fff;
    }
    a:hover{
        color:#ffb3b3;
        
    }
    .bg-red{
       background: #d21f2b !important;
    }
    th{
        color:#fff;
        background:#d21f2b;
    }
    
    .br-20{
        border-radius:20px;
    }
    p{
        margin-bottom:8px !important;
    }
    .list-style-none{
        list-style:none;
    }
 .pb-50{
     padding-bottom:50px;
 }
 

 
@media (max-width: 576px) {
    .estimate-title h2 {
        font-size: 20px;
    }
}
