/*=========================================
Proposal
=========================================*/

.proposal-header{
    margin-bottom:40px;
}

.proposal-logo{
    height:70px;
    margin-bottom:40px;
    display: inline-block;
}

.proposal-header h2{
    font-weight:800;
    margin-top:20px;
}

.proposal-header p{
    color:#6c757d;
}

/* Hero */

.proposal-hero{
    background:linear-gradient(
        180deg,
        #ffffff,
        #f8fbff
    );
    border:2px solid #edf2f7;
    border-radius:24px;
    padding:40px;
    margin-bottom:35px;
}

.proposal-hero small{
    color:#6c757d;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.proposal-hero h1{
    color:var(--primary);
    font-size:3rem;
    font-weight:800;
}

.proposal-hero h3{
    margin-bottom:20px;
    font-weight:700;
}

.proposal-hero h4{
    font-weight:600;
}

#printCustomerName{
    font-size:30px;
    font-weight:700;
    color:var(--primary);
    letter-spacing:.5px;
}

/* Cards */

.proposal-card{
    background:#fff;
    border:2px solid #edf2f7;
    border-radius:22px;
    padding:30px;
    margin-bottom:25px;
}

.proposal-card-title{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:700;
    margin-bottom:25px;
    font-size:18px;
}

/* Lists */

.proposal-list{
    list-style:none;
    margin:0;
    padding:0;
}

.proposal-list li{
    padding:12px 0;
    border-bottom:1px solid #f1f3f6;
}

.proposal-list li:last-child{
    border-bottom:none;
}

/* Breakdown */

.proposal-breakdown>div{
    display:flex;
    justify-content:space-between;
    margin-bottom:16px;
}

.proposal-total{
    font-size:20px;
    font-weight:700;
}

/* Steps */

.proposal-steps div{
    display:flex;
    gap:18px;
    margin-bottom:20px;
}

.proposal-steps span{
    width:36px;
    height:36px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    flex-shrink:0;
}

.proposal-steps p{
    margin:0;
    color:#6c757d;
}

/* Footer */

.proposal-footer{
    margin-top:40px;
}

.proposal-footer small{
    display:block;
    margin-top:15px;
    color:#6c757d;
}

/********************************************
preview and print
********************************************/
.contact-submit-section{
    margin-top:50px;
}

.proposal-preview-box{
    /*display:flex;
    gap:18px;
    align-items:flex-start;*/
    background:#f8fbff;
    border:1px solid rgba(23,92,221,.12);
    border-radius:18px;
    padding:22px;
    margin-bottom:24px;
}

.proposal-preview-icon{
    width:55px;
    height:55px;
    border-radius:14px;
    background:rgba(23,92,221,.1);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--primary);
    font-size:24px;
    flex-shrink:0;
}

.proposal-preview-content h4{
    margin-bottom:8px;
    font-weight:700;
}

.proposal-preview-content p{
    margin:0;
    color:#6c757d;
    line-height:1.7;
}

#btnPreviewProposal{
    border-radius:14px;
}

#btnSubmitProposal{
    height:58px;
    border-radius:14px;
    font-size:18px;
    font-weight:700;
}

.submit-note{
    display:block;
    text-align:center;
    margin-top:15px;
    color:#6c757d;
}

#proposalModal .modal-content{
    border:none;
    border-radius:18px;
    overflow:hidden;
}

#proposalModal .modal-header{
    background:#fff;
    border-bottom:1px solid #ececec;
}

#proposalModal .modal-footer{
    background:#fff;
    border-top:1px solid #ececec;
}

#proposalModal .modal-body{
    background:#f6f8fb;
    padding:40px;
}

/********************************************
modal
********************************************/

.proposal-document{
    width:210mm;
    max-width:100%;
    margin:auto;
    padding:60px;
    background:#fff;
    color:#2f2f2f;
}

.proposal-cover{
    text-align:center;
    margin-bottom:50px;
}

.proposal-cover h1{
    font-size:36px;
    font-weight:800;
    margin-bottom:10px;
    color:#0F172A;;
}

.proposal-cover h2{
    color:var(--primary);
    margin:15px 0;
    color:#0F172A;;
}

.proposal-cover span{
    color:#6c757d;
}

.proposal-section{
    padding:35px 0 10px;
}

.proposal-section h3{
    font-size:22px;
    font-weight:700;
    margin-bottom:20px;
    color:#0F172A;;
}

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

.proposal-table td{
    padding:15px 0;
    border-bottom:1px solid #ececec;
}

.proposal-table td:last-child{
    text-align:right;
    font-weight:600;
}

.proposal-list{
    list-style:none;
    padding:0;
    margin:0;
}

.proposal-list li{
    padding:12px 0;
    border-bottom:1px solid #f3f3f3;
}

.proposal-list li::before{
    content:"✓";
    color:var(--primary);
    font-weight:bold;
    margin-right:12px;
}

.proposal-grand-total{
    margin-top:30px;
    padding-top:20px;
    border-top:3px solid var(--primary);
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.proposal-grand-total span{
    font-size:22px;
    font-weight:700;
}

.proposal-grand-total strong{
    font-size:34px;
    font-weight:800;
    color:var(--primary);
}

.proposal-discount{
    color:#198754;
}

.proposal-disclaimer{
    background:#f8fbff;
    border-left:5px solid var(--primary);
    border-radius:12px;
    padding:25px;
}

.proposal-disclaimer h4{
    font-weight:700;
    margin-bottom:12px;
    color:#0F172A;;
}

.proposal-disclaimer p{
    margin:0;
    line-height:1.8;
    color:#666;
}

.proposal-footer{
    margin-top:60px;
    padding-top:25px;
    border-top:2px solid #e8e8e8;
    text-align:center;
}

.proposal-footer h4{
    color:var(--primary);
    margin-bottom:20px;
}

.proposal-contact{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.proposal-contact span{
    color:#555;
    font-size:15px;
}

.proposal-contact i{
    color:var(--primary);
    margin-right:6px;
}

.proposal-disclaimer{
    max-width:700px;
    margin:20px auto;
    color:#777;
    line-height:1.7;
    font-size:14px;
}

.proposal-footer small{
    color:#999;
}

.proposal-table td:last-child{
    text-align:right;
    font-weight:600;
    text-transform:capitalize;
}

.proposal-text{
    text-transform:capitalize;
}


/* print  */
.proposal-page{
    width:210mm;
    min-height:297mm;
    margin:auto;
    background:#fff;
    padding:22mm;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}   

@media print{
    body{
        background:#fff;
        padding:0;
    }

    .proposal-page{
        width:100%;
        padding:15mm;
        box-shadow:none;
    }

}