/**
* 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.
*/

.pdv-commission {
    display:flex;
    justify-content:center;
    padding:30px 20px;
}
.pdv-commission__card {
    width:800px;
    max-width:100%;
    background:#f8eee5;
    border-radius:28px;
    padding:35px;
    box-shadow:0 15px 40px rgba(44,38,102,.15);
}
.pdv-commission__header {
    text-align:center;
    margin-bottom:25px;
}
.pdv-commission__title {
    margin:0;
    color:#2c2666;
    font-size:28px;
    font-weight:700;
}
.pdv-commission__subtitle {
    margin-top:8px;
    color:#6b647a;
}
.pdv-commission__types {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:25px;
}
.pdv-commission__type-button {
    border:2px solid #2c2666;
    background:white;
    color:#2c2666;
    padding:15px 10px;
    border-radius:18px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}
.pdv-commission__type-button small {
    display:block;
    margin-top:5px;
    font-size:12px;
    font-weight:400;
}
.pdv-commission__type-button--active {
    background:#2c2666;
    color:white;
}
.pdv-commission__field {
    margin-bottom:25px;
}
.pdv-commission__label {
    display:block;
    margin-bottom:8px;
    color:#2c2666;
    font-weight:600;
}
.pdv-commission__input {
    width:100%;
    padding:16px;
    border-radius:15px;
    border:2px solid #e6ddd3;
    font-size:20px;
    color:#2c2666;
}
.pdv-commission__input:focus {
    outline:none;
    border-color:#ee7b6a;
}
.pdv-commission__distribution {
    margin-bottom:25px;
}
.pdv-commission__distribution-info {
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    color:#2c2666;
}
.pdv-commission__bar {
    height:18px;
    width:100%;
    display:flex;
    overflow:hidden;
    border-radius:20px;
    background:#eee;
}
.pdv-commission__bar-shop {
    width:35%;
    background:#2c2666;
    transition:.5s;
}
.pdv-commission__bar-seller {
    width:65%;
    background:#ee7b6a;
    transition:.5s;
}
.pdv-commission__results {
    display:grid;
    gap:15px;
}
.pdv-commission__result {
    padding:20px;
    border-radius:20px;
    background:white;
}
.pdv-commission__result span {
    display:block;
    color:#6b647a;
    margin-bottom:5px;
}
.pdv-commission__result strong {
    font-size:32px;
    color:#2c2666;
}
.pdv-commission__result--shop {
    border-left:6px solid #2c2666;
}
.pdv-commission__result--seller {
    border-left:6px solid #ee7b6a;
}
@media(max-width:500px){
    .pdv-commission__types {
        grid-template-columns:1fr;
    }
    .pdv-commission__card {
        padding:25px;
    }
}
