/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
.form-group{
    flex-basis: calc(50% - 10px);
    margin-bottom: 15px;
}

.form-row{
    display: block;
    gap: 30px;
}

.form-control{
    height: 50px;
    border-radius: 4px;
}

#order-refund h1.h2{
    font-size: 32px;
    margin-bottom: 40px;
    line-height: 1.2;
    text-transform: none;
}

#order-refund form{
    background: #fdfdfd;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #cdcdcd;
}

.form-control-label{
    font-weight: 500;
    margin-bottom: 3px;
    font-size: 14px;
}

#order-refund form select.form-control{
    height: 50px;
}

#order-refund form .form-footer button{
    height: 50px;
    font-size: 16px;
}

#order-refund form .form-footer{
    margin-top: 30px;
}

#order-refund form .input_error{
    color: red;
}

#order-refund form .has-error input{
    border-color: red;
    outline: none!important;
}

#order-refund-form .alert.alert-danger.js-error{
    display: none;
}

#order-refund-form li.select_products_item{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgb(215, 215, 215);
}

#order-refund-form .select_products_check{
    flex: 1;
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
    margin: 0;
}

#order-refund-form li.select_products_item:last-child{
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
#order-refund-form li.select_products_item img{
    border: 1px solid rgb(215, 215, 215);
    border-radius: 4px;
    padding: 4px;
    margin: 0;
    max-width: 100px;
    margin-right: 15px;
    background: white;
}

#order-refund-form .select_products_hint{
    margin-bottom: 20px;
    color: black;
    font-size: 16px;
}

#order-refund-form li.select_products_item .select_products_item_container{
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid rgba(36, 113, 63, 0.1);
    transition: .3s;
    background: white;
}

#order-refund-form li.select_products_item:hover .select_products_item_container{
    background: rgba(36, 113, 63, 0.03)
}

#order-refund-form .select_products_check .js-product-select{
    display: none;
}

#order-refund-form .select_products_check .js-product-select + span.custom-checkbox{
    display: block;
    margin-right: 15px;
}

#order-refund-form .select_products_check .js-product-select + span.custom-checkbox:before{
    content: "";
    width: 25px;
    height: 25px;
    border: 1px solid rgba(36, 113, 63, 0.5);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#order-refund-form .select_products_check .js-product-select:checked + span.custom-checkbox:before{
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    background: #24713f;
    font-size: 13px;
}

#order-refund-form .select_products_max{
    flex: 1;
    text-align: center;
}

#order-refund-form .product_title_container span{
    display: block;
}

#order-refund-form .product_title_container{
    width: 300px;
}

#order-refund-form .select_products_max .form-control-label{
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
}

#order-refund-form li.select_products_item .select_products_item_container:has(.js-product-select:checked){
    background: rgba(36, 113, 63, 0.03);
}

.select_products_qty .js-product-qty::-webkit-outer-spin-button,
.select_products_qty .js-product-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.select_products_qty .js-product-qty{
    appearance: textfield;
    -moz-appearance: textfield;
    text-align: center;
    padding: 0 30px;
}

.select_products_qty .js-qty-spinner{
    position: relative;
    display: inline-block;
}

.select_products_qty .qty_spinner_btn{
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: #232323;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.select_products_qty .qty_spinner_minus{
    left: 0;
}

.select_products_qty .qty_spinner_plus{
    right: 0;
}

.select_products_qty .qty_spinner_btn:hover:not(:disabled){
    color: #24713f;
}

.select_products_qty .qty_spinner_btn:disabled{
    opacity: .35;
    cursor: not-allowed;
}

.select_products_check.confirm_agreement_label{
    display: block!important;
    padding-left: 25px;
    position: relative;
    cursor: pointer!important;
}

.select_products_check.confirm_agreement_label .js-confirm-agreement{
    display: none;
}

.select_products_check.confirm_agreement_label .js-confirm-agreement + span.custom-checkbox{
    position: absolute;
    left: 0;
    top: 4px;
}

.select_products_check.confirm_agreement_label .js-confirm-agreement + span.custom-checkbox:before{
    content: "";
    width: 15px;
    height: 15px;
    border: 1px solid rgba(36, 113, 63, 0.5);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select_products_check.confirm_agreement_label .js-confirm-agreement:checked + span.custom-checkbox:before{
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    background: #24713f;
    font-size: 9px;
}

.form-group.confirm_agreement{
    margin-top: 20px;
}

#order-refund-form .confirm_products_list li.select_products_item .select_products_item_container{
    cursor: default;
    background: white;
}

#order-refund-form .confirm_products_list .select_products_check{
    cursor: default;
}

.select_products_check.confirm_agreement_label.has-error .js-confirm-agreement + span.custom-checkbox{
    border-color: red;
}

#order-refund-form .refund_sent_container .refund_sent_icon{
    margin-bottom: 20px;
}

#order-refund-form .refund_sent_container .refund_sent_icon i{
    color: #24713f;
    font-size: 75px;
}

#order-refund-form .refund_sent_container .refund_sent_title{
    font-size: 22px;
    margin-bottom: 15px;
}

#order-refund-form .refund_sent_container .refund_sent_message{
    line-height: 1.2;
    font-size: 16px;
    max-width: 600px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.refund_sent_container.text-center{
    text-align: center;
}

body.refund_loader:before{
    content: "";
    width: 96px;
    height: 96px;
    border: 8px solid #FFF;
    border-bottom-color: #24713f;
    border-radius: 50%;
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    animation: rotation 1s linear infinite;
    z-index: 999999;
}

body.refund_loader:after{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    z-index: 99999;
}

body.refund_loader #order-refund-form button[type="submit"]{
    pointer-events: none;
}

#order-refund-form .form_step{
    display: none;
}

#order-refund-form .form_step.current{
    display: block;
}

#order-refund-form .form-footer.text-sm-right{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

#order-refund-form button[name="submitOrderRefund"]{
    margin-left: auto;
}

#order-refund-form .refund_sent_container .refund_sent_message + .btn-primary{
    margin-top: 25px;
    height: 50px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.select_products_qty .js-qty-spinner.qty_spinner{
    position: relative;
}

.select_products_qty .js-qty-minus.qty_spinner_btn{
    top: 0;
    background: white;
    position: absolute;
    height: 100%;
    border: 1px solid #ededed;
    border-radius: 4px 0 0 4px;
}

.select_products_qty .js-qty-plus.qty_spinner_btn{
    top: 0;
    right: 0;
    background: white;
    position: absolute;
    height: 100%;
    border: 1px solid #ededed;
    border-radius: 0 4px 4px 0;
}

.select_products_qty label{
    display: block;
}

#order-refund-form .form-group{
    max-width: 520px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#order-refund-form .form-group.confirm_agreement{
    max-width: unset;
}

#order-refund-form .form-row + .form-footer{
    max-width: 520px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px){
    .form-row{
        flex-direction: column;
        gap: 15px;
    }

    .form-group{
        flex-basis: 100%;
        margin: 0;
    }

    #order-refund h1.h2{
        font-size: 24px;
        margin-bottom: 25px;
    }

    #order-refund form{
        padding: 20px;
    }

    #order-refund-form li.select_products_item .select_products_item_container{
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    #order-refund-form .select_products_check{
        flex-wrap: wrap;
        gap: 10px;
    }

    #order-refund-form .product_title_container{
        width: auto;
    }

    #order-refund-form .select_products_max{
        text-align: center;
    }

    #order-refund-form .select_products_max .form-control-label{
        text-align: center;
    }

    #order-refund-form li.select_products_item img{
        max-width: 70px;
    }

    #order-refund-form .select_products_qty{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .select_products_qty .form-control-label{
        display: none;
    }
}

@media (max-width: 550px){
    #order-refund-form .select_products_check .js-product-select + span.custom-checkbox{
        margin-right: 5px;
    }

    #order-refund-form li.select_products_item img{
        margin-right: 5px;
    }

    #order-refund-form .product_title_container span{
        font-size: 12px;
    }

    #order-refund-form .select_products_hint{
        font-size: 14px;
        line-height: 1.2;
    }

    #order-refund-form .select_products_list{
        margin-left: -20px;
        width: calc(100% + 40px);
    }
}

@media (max-width: 400px){
    #order-refund form .form-footer button{
        width: 100%;
        font-size: 14px;
    }
}

@keyframes rotation {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}