/* ==========================================================================
   RCP Registration Form
   ========================================================================== */
.rcp_discount_code_field_wrap {
    float: right;
    display: flex;
    gap: 5px;
}

#rcp_discount_code{
    margin-bottom: 10px;
    width: 200px !important;
    border-radius: 0px;
}

#rcp_apply_discount{
    background-color: #fff;
    border: 1px solid #d3d3d3;
    color: #000;
    cursor: pointer;
    height: 42px;
    text-wrap-mode: nowrap;
}

section.product-detail{
    padding-left: 15px;
    padding-right: 15px;
}

.rcp-separator{
    align-items: center;
    display: flex;
    font-size: 13px;
    font-weight: 500;
    margin: 10px 0;
    padding: 1px 0;
    text-align: center;
}
.rcp-separator::before{
    border-bottom: 1px solid #cfd7df;
    content: "";
    flex: 1;
    margin-right: .25em;
}
.rcp-separator::after{
    border-bottom: 1px solid #cfd7df;
    content: "";
    flex: 1;
    margin-left: .25em;
}

.divider-product {
    background-color: #888;
    height: 2px;
    margin: 6px 0;
    opacity: .3;
    width: 100%;
}

.order-total{
    color: #333;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: space-between;
    margin-bottom: 10px;
}

.item-price{
    color: #1571a8;
    font-weight: 700;
}

.text-right{
    text-align: right;
}

#rcp_discount_code_wrap{
    display: flex  ;
    justify-content: end;
    align-items: center;
    gap: 15px;
}

#rcp_submit_wrap{
    margin-top: 20px !important;
}

.order-form-footer{
    color: #9c9c9c;
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
    word-break: break-word;
}
#rcp_submit{
    background-color:#188bf6;
    font-size: 1rem;
    font-weight: 700;
}

.roboto{
    font-family: 'Roboto', sans-serif !important;
}


.checkbox-group{
    width: 100%;
    color: gray;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: normal;
}



#rcp_registration_form{
    font-family: 'Roboto','Open Sans' !important;
}



/* ==========================================================================
   RCP Login Form
   ========================================================================== */

main.content:has(#login-form){
    height: 100%;
    width: 100%;
    position: absolute;
}

.entry-content:has(#login-form){
    background-color: white;
    padding-bottom: 0;
    height: 100%;
}

.site-inner:has(#login-form) {
    padding: 0;
}


.site-inner:has(#login-form) ~ footer {
    display: none;
}

main.content:has(#login-form) > article{
    height: 100%;
}

.entry-content:has(#login-form) .wp-block-columns{
    height: 100%;
    padding-top: 0;
    max-width: 100%;
    border: none;
}

.entry-content:has(#login-form) .wp-block-column{
    border: none;
    padding: 36px;
    margin-bottom: 0;
}

.entry-content:has(#login-form) .wp-block-column:nth-of-type(1){
    align-content: center;
}

#rcp_login_form, #rcp_lostpassword_form{
    background-color: white;
    width: 100%;
}


#login-image-column figure{
    height: 100%;
}
#login-image-column img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 24px;
}

#login-form-container input[type='text'],
#login-form-container input[type='password']{
    border-radius: var(--radius-md, 8px);
    border: 0.5px solid var(--Grey, #B8B8B8);
    background: var(--Solid-White, #FFF);
    /* Shadows/shadow-xs */
    box-shadow: 0px 1px 2px 0px var(--Colors-Effects-Shadows-shadow-xs, rgba(10, 13, 18, 0.05));
}

#login-form-container input[type='submit']
{
    border-radius: 120px;
    background: #EF6820;
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    text-transform: uppercase;
}

p:has(input#rcp_user_remember){
    float:left;
}

p.rcp_lost_password{
    float:right;
}

@media (max-width: 768px) {
    .entry-content:has(#login-form){
        padding: 8px;
    }

    #login-image-column {
        display: none;
    }

    .entry-content:has(#login-form) .wp-block-column:nth-of-type(1){
        margin: 0;
    }
}
