/* =========================================================
   FILE: equote-view.css
   VERSION: 1.0
   PURPOSE: Customer-facing eQuote view page
========================================================= */

.equote_customer_shell{
    max-width:980px;
    margin:0 auto;
    padding:28px 16px 50px;
}

.equote_customer_box{
    background:#ffffff;
    border-radius:22px;
    border:1px solid #d8e8ef;
    box-shadow:0 10px 26px rgba(0,0,0,0.06);
    padding:24px;
    margin-bottom:22px;
}

.equote_customer_box--cream{
    background:#fffdf4;
    border-color:#e9d79a;
}

.equote_customer_box--green{
    background:#edf8ef;
    border-color:#9fd3a8;
}

.equote_customer_box--grey{
    background:#f7f7f7;
    border-color:#d7d7d7;
}

.equote_customer_box--blue{
    background:#eef7ff;
    border-color:#bddbed;
}

.equote_customer_subject{
    background:#1c9b49;
    color:#ffffff;
    font-size:22px;
    font-weight:800;
    text-align:center;
    padding:16px;
    border-radius:22px 22px 0 0;
    margin:-24px -24px 24px -24px;
}

.equote_customer_hero{
    text-align:center;
}

.equote_customer_hero h1{
    margin:0 0 14px 0;
    font-size:34px;
    line-height:1.15;
    font-weight:900;
    color:#111111;
}

.equote_customer_hero p{
    margin:0 auto 12px auto;
    max-width:760px;
    color:#444444;
    font-size:16px;
    line-height:1.7;
}

.equote_customer_ref{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:10px;
    padding:9px 16px;
    border-radius:999px;
    background:#fff7d6;
    border:1px solid #dcbf58;
    color:#6b5300;
    font-size:14px;
    font-weight:800;
}

.equote_customer_box h2{
    margin:0 0 18px 0;
    color:#111111;
    font-size:21px;
    line-height:1.2;
    font-weight:900;
    text-align:center;
    text-transform:uppercase;
}

.equote_customer_request_grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-bottom:18px;
}

.equote_customer_request_item{
    background:#ffffff;
    border:1px solid #dce7ee;
    border-radius:16px;
    padding:15px;
    text-align:center;
}

.equote_customer_label{
    display:block;
    margin-bottom:7px;
    color:#2b6f8f;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.08em;
}

.equote_customer_value{
    display:block;
    color:#111111;
    font-size:16px;
    line-height:1.3;
    font-weight:800;
}

.equote_customer_description{
    max-width:720px;
    margin:0 auto;
    text-align:center;
    color:#444444;
    font-size:16px;
    line-height:1.7;
}

.equote_customer_estimate{
    text-align:center;
    color:#444444;
    font-size:17px;
    line-height:1.7;
}

.equote_customer_gallery{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.equote_customer_image{
    display:block;
    background:#ffffff;
    border:1px solid #d8e8ef;
    border-radius:18px;
    padding:10px;
    overflow:hidden;
    text-decoration:none;
}

.equote_customer_image img{
    display:block;
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:12px;
}

.equote_customer_price_table{
    width:100%;
    max-width:720px;
    margin:0 auto;
    border-collapse:collapse;
}

.equote_customer_price_table td{
    padding:9px 0;
    font-size:16px;
    color:#333333;
}

.equote_customer_price_table td:first-child{
    font-weight:800;
    text-align:left;
}

.equote_customer_price_table td:last-child{
    text-align:right;
}

.equote_customer_price_rule td{
    border-top:2px solid #666666;
    padding:0;
    height:1px;
    line-height:1px;
    font-size:1px;
}

.equote_customer_total td{
    padding-top:14px !important;
    font-size:24px !important;
    font-weight:900 !important;
    color:#111111 !important;
    text-transform:uppercase;
}

.equote_customer_total td:first-child{
    font-size:21px !important;
}

.equote_customer_next_text{
    text-align:center;
    color:#444444;
    font-size:16px;
    line-height:1.7;
    max-width:760px;
    margin:0 auto 20px auto;
}

.equote_customer_actions{
    display:flex;
    justify-content:center;
    gap:22px;
    flex-wrap:wrap;
}

.equote_customer_button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:190px;
    min-height:50px;
    padding:0 24px;
    border-radius:999px;
    color:#ffffff !important;
    text-decoration:none !important;
    font-size:18px;
    font-weight:900;
    text-transform:uppercase;
    box-shadow:0 8px 18px rgba(0,0,0,0.15);
}

.equote_customer_button--accept{
    background:#2f9442;
}

.equote_customer_button--cancel{
    background:#c94646;
}

.equote_customer_text{
    color:#444444;
    font-size:16px;
    line-height:1.75;
}

.equote_customer_text p{
    margin:0 0 12px 0;
}

.equote_customer_text a{
    color:#23566d;
    font-weight:800;
    text-decoration:underline;
}

.equote_customer_trust{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:28px;
    text-align:left;
}

.equote_customer_trust_logo{
    display:block;
    width:100%;
    max-width:260px;
    height:auto;
}

.equote_customer_trust_content{
    max-width:430px;
}

.equote_customer_trust_text{
    margin:0 0 10px 0;
    color:#444444;
    font-size:16px;
    line-height:1.6;
}

.equote_customer_trust_link{
    color:#23566d !important;
    font-size:15px;
    font-weight:900;
    text-decoration:underline !important;
}

.equote_customer_help{
    text-align:center;
}

.equote_customer_help h2{
    margin-bottom:14px;
}

.equote_customer_help p{
    margin:0 0 12px 0;
    color:#444444;
    font-size:16px;
    line-height:1.7;
}

.equote_customer_help a{
    color:#23566d;
    font-weight:800;
    text-decoration:underline;
}

@media(max-width:760px){

    .equote_customer_shell{
        padding:20px 14px 38px;
    }

    .equote_customer_box{
        padding:20px;
        border-radius:18px;
    }

    .equote_customer_subject{
        margin:-20px -20px 20px -20px;
        border-radius:18px 18px 0 0;
        font-size:20px;
    }

    .equote_customer_hero h1{
        font-size:28px;
    }

    .equote_customer_request_grid,
    .equote_customer_gallery{
        grid-template-columns:1fr;
    }

    .equote_customer_image img{
        height:auto;
    }

    .equote_customer_total td{
        font-size:21px !important;
    }

    .equote_customer_total td:first-child{
        font-size:18px !important;
    }

    .equote_customer_button{
        width:100%;
        min-width:0;
        font-size:17px;
    }

    .equote_customer_price_table td{
        display:block;
        text-align:center !important;
        padding:6px 0;
    }

    .equote_customer_price_rule td{
        display:table-cell;
    }

    .equote_customer_trust{
        display:block;
        text-align:center;
    }

    .equote_customer_trust_logo{
        margin:0 auto 16px auto;
    }

    .equote_customer_trust_content{
        max-width:none;
    }

}