/* ===========================
   WC Request Quote Popup
=========================== */

#wcrq-popup{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.65);
    z-index:999999;
    overflow-y:auto;
}

.wcrq-popup-content{
    width:700px;
    max-width:95%;
    background:#ffffff;
    margin:50px auto;
    padding:30px;
    border-radius:8px;
    position:relative;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

#wcrq-close{
    position:absolute;
    top:15px;
    right:20px;
    font-size:28px;
    cursor:pointer;
    font-weight:bold;
    color:#666;
}

#wcrq-close:hover{
    color:#000;
}

.wcrq-popup-content h2{
    margin-top:0;
    margin-bottom:25px;
    text-align:center;
}

/* Form Layout */

#wcrq-form{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

/* Full Width Fields */

.wcrq-full{
    width:100%;
}

/* Two Column Fields */

.wcrq-half{
    width:calc(50% - 10px);
}

/* Labels */

#wcrq-form label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
}

/* Inputs */

#wcrq-form input,
#wcrq-form textarea{
    width:100%;
    padding:12px;
    border:1px solid #dcdcdc;
    border-radius:5px;
    font-size:15px;
    box-sizing:border-box;
}

#wcrq-form textarea{
    resize:vertical;
}

/* Button */

.wcrq-submit{
    width:100%;
    padding:14px;
    background:#c91317;
    color:#fff;
    border:none;
    border-radius:5px;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.wcrq-submit:hover{
    background:#c91312;
}

/* Request Quote Button */

.wcrq-button{
    background:#c91317;
    color:#fff;
    border:none;
    padding:12px 24px;
    border-radius:5px;
    cursor:pointer;
    font-size:15px;
    transition:.3s;
}

.wcrq-button:hover{
    background:#c91312;
}

/* Mobile */

@media(max-width:768px){

    .wcrq-popup-content{
        margin:20px auto;
        padding:20px;
    }

    .wcrq-half{
        width:100%;
    }

}

/*=================================
Message Box
=================================*/

#wcrq-message{
    display:none;
    margin-bottom:20px;
    padding:15px;
    border-radius:5px;
    font-size:15px;
}

#wcrq-message.success{
    background:#d4edda;
    color:#155724;
    border:1px solid #c3e6cb;
}

#wcrq-message.error{
    background:#f8d7da;
    color:#721c24;
    border:1px solid #f5c6cb;
}

/*=================================
Loading Spinner
=================================*/

.wcrq-spinner{

    display:none;

    width:18px;
    height:18px;

    border:3px solid rgba(255,255,255,.3);

    border-top:3px solid #fff;

    border-radius:50%;

    animation:wcrq-spin .8s linear infinite;

    vertical-align:middle;

    margin-left:10px;

}

@keyframes wcrq-spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

/*=================================
Disabled Button
=================================*/

.wcrq-submit:disabled{

    opacity:.6;

    cursor:not-allowed;

}

#wcrq-success-box{

    display:none;

    text-align:center;

    padding:25px;

}

.wcrq-success{

    background:#ecfdf3;

    border:1px solid #28a745;

    border-radius:8px;

    padding:25px;

}

.wcrq-success h2{

    color:#28a745;

    margin-bottom:20px;

}