*{
    padding: 0px;
    margin: 0px;
    font-family: "poppins", sans-serif;
    box-sizing: border-box;
}
body{
    background-color: #342a37;
    color: #fff;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
  }
.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1140px;
    margin: 50px auto;
}
.container-vendre{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    padding: 50px 30px;
    border-radius: 10px;
    background-color: #1e1521;
}
.left-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%;
    padding-right: 30px;
    border-right: 1px solid #492b53;
}
.grp-stocks{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.stock-container{
    display: flex;
    align-items: center;
    gap: 10px;
}
.item-stock{
    display: flex;
    align-items: center;
    gap: 10px;
}
.item-stock img{
    height: 40px;
}
.info-item-stock{
    display: flex;
    flex-direction: column;
    font-size: 14px;
}
.info-item-stock h4{
    color: #DB67FF;
}
.grp-inputs{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.grp-inputs:nth-child(3){
    border-top: 1px solid #492b53;
    border-bottom: 1px solid #492b53;
    padding: 20px 0px;
}
.row-inputs{
    display: flex;
    align-items: center;
    gap: 10px;
    > div{
        width: 50%;
        flex-grow: 1;
    }
}
.grp-selector{
    display: flex;
    flex-direction: column;
    gap: 10px; 
}
.grp-selector h3{
    font-size: 14px;
    font-weight: normal;
}
.selector-igdream{
    position: relative;
}
.current-item-selected{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    background-color: #17061c;
}
.list-items-selector{
    position: absolute;
    top: 50px;
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    padding: 10px 0px;
    border-radius: 3px;
    background-color: #17061c;
    border: 1px solid #492b53;
    z-index: 999;
    max-height: 150px;
    overflow-y: scroll;
}
.list-items-selector.active{
    display: flex;
}
.list-items-selector {
    scrollbar-width: thin;
    scrollbar-color: #DB67FF #421350;
}
.list-items-selector::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.list-items-selector::-webkit-scrollbar-track {
  background: #792323;
  border-radius: 10px;
}
.list-items-selector::-webkit-scrollbar-thumb {
  background: #DB67FF;
  border-radius: 10px;
}
.list-items-selector::-webkit-scrollbar-thumb:hover {
  background: #DB67FF;
}
.item-selector{
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.item-selector:hover{
    background-color: #41234b;
}
.input-igdream{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.input-igdream label{
    font-size: 14px;
    font-weight: normal;
}
.input-igdream input{
    outline: none;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    color: #fff;
    background-color: #17061c;
}
.input-igdream input::placeholder{
    color: #41234b;
}
.grp-stock-quantity{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.grp-notif{
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.grp-notif span{
    font-size: 14px;
}
.grp-notif.active{
    display: flex;
}
.grp-notif i{
    display: none;
    color: gold;
    animation: bellShake 1s ease-in-out infinite;
}
.grp-notif i.active{
    display: block;
}
.grp-notif:hover{
    color: #DB67FF;
}
.grp-kamas{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}
.grp-kamas img{
    width: 16px;
}
.grps-speed-payment{
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.grps-speed-payment.active{
    display: flex;
}
.item-speed-payment{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 10px 20px;
    border-radius: 3px;
    border: 1px solid #fff;
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.item-speed-payment:hover{
    scale: 1.01;
    border: 1px solid #DB67FF;
}
.item-speed-payment i{
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 21px;
}
.item-speed-payment .grp-title{
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.item-speed-payment.active{
    opacity: 1;
    border: 1px solid #DB67FF;
}
.price-virment{
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}
.price-virment p:last-child{
    text-decoration: line-through;
}
.item-speed-payment h4{
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.item-speed-payment span{
    font-size: 14px;
    color: #e5e5e5;
}
.item-speed-payment img{
    opacity: 0;
    position: absolute;
    top: -30px;
    left: -20px;
    width: 60px;
    z-index: 99;
    transition: all 0.3s ease-in-out;
}
.item-speed-payment.active img{
    opacity: 1;
}
.right-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 35%;
}
.right-container img{
    width: 100%;
    max-width: 250px;
    filter: drop-shadow(0px 0px 70px #492b53);
    margin: auto;
}
.grp-info-payments{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
.item-info-payment{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    background-color: #17061c;
    padding: 10px 20px;
    border-radius: 3px;
    width: 100%;
}
.item-info-payment h4{
    font-weight: normal;
}
.grps-errors{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
.grps-errors p{
    font-size: 14px;
    color: red;
}
#btn-add-product{
    display: block;
    pointer-events: none;
    opacity: 0.3;
    font-size: 14px;
    text-align: center;
    background-color: #f7a438;
    padding: 10px 20px;
    border-radius: 3px;
    max-width: 100%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
#btn-add-product.active{
    pointer-events: all;
    opacity: 1;
}
#btn-add-product:hover{
    background-color: #DB67FF;
}
.inputigdream{
    pointer-events: none;
    opacity: 0.5;
}
.inputigdream.active{
    pointer-events:all;
    opacity: 1;
}
.grp-inputs.disabled,.grps-speed-payment.disabled{
    pointer-events: none;
    opacity: 0.5;
}
.grp-inputs.active{
    pointer-events: all;
    opacity: 1;
}


/* -------------------------------- */
/* TABLE SERVERS */

.table-servers{
    position: relative;
    border-radius: 10px;
    margin-top: 130px;
    height: max-content;
    width: 100%;
}
.image-header-table{
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 300px;
}
.image-header-table img{
    width: 100%;
}
.container-table{
    padding: 50px 30px 50px 30px;
    background-color: var(--colordark);
}
.header-table{
    display: flex;
    justify-content: space-between;
    background-color: #c58a14;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    margin:20px 0px;
    width: 100%;
}
.header-table span{
    text-align: left;
    width: calc(100%/4);
    color: #fff;
}
.List-rows{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.row-table{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #522f5d;
    padding-bottom: 10px;
}
.row-table span{
    text-align: left;
    width: calc(100%/4);
    color: #fff;
    margin-left: 5px;
    font-size: 14px;
}
.etat-server-active{
    color: #c58a14 !important;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.etat-server-active:hover{
    color: #daaa49 !important;
}
.etat-server-stock{
    color: #e9161b !important;
    pointer-events: none;
}
.type-games-dofus{
    display: flex;
    gap:5px;
}
.version-game-item{
    display: flex;
    align-items: center;
    gap:10px;
    padding: 5px 20px;
    border-radius: 18px 10px 0px 0px;
    background-color: #b2a1b8;
    cursor:pointer;
    transition: all 0.3s ease-in-out;
}
.version-game-item.active{
    background-color: var(--colordark);
}
.version-game-item span{
    color: #000;
    font-size: 14px;
}
.version-game-item.active span{
    color: #fff;
    transition: all 0.3s ease-in-out;
}
.version-game-item img{
    height: 50px;
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}
.version-game-item.active img{
    height: 50px;
    filter: grayscale(0%);
}
.version-game-item:hover{
    background-color: var(--colordark);
}
.version-game-item:hover span{
    color: #fff;
}
.version-game-item:hover img{
    filter: grayscale(0%);
}

.image-header-table-new{
    position: absolute;
    top: -110px;
    right: -20px;
    max-width: 300px;
}
.image-header-table-new img {
    width: 100%;
}
.header-table-mobile{
    display: none;
}
.features{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 150px auto;
    color: #fff;
}
.item-feature{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}
.icon-feature{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: #7f54b3;
    border-radius: 50%;
}
.icon-feature i{
    font-size: 32px;
}

@keyframes bellShake {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
  }
  
  
/*Table Prices  */

.form-vente{
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #1e1521;
    padding: 50px 30px;
    border-radius: 10px;
}
.btn-logout{
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.btn-logout a{
    display: block;
    font-size: 14px;
    text-align: center;
    background-color: #f7a438;
    padding: 10px 20px;
    border-radius: 3px;
    max-width: 150px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.btn-logout a:hover {
    background-color: #DB67FF;
}

@media (max-width:750px) {
    .container{
        margin: 50px 10px;
    }
    .container-vendre{
        flex-direction: column;
    }
    .left-container ,.right-container{
        width: 100%;
        border: none;
        padding: 0px;
    }
    .row-inputs{
        flex-direction: column;
        > div{
            width: 100%;
        }
    }
    .grps-speed-payment{
        flex-direction: column;
        > div{
            width: 100%;
        }
    }
    .right-container img{
        display: none;
    }
    .item-stock img{
        height: 30px;
    }
    
    /*Tables */
    .header-table-mobile{
        display: flex;
        position: relative;
        cursor: pointer;
    }
    .current_version_game{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background: #fff;
        width: 100%;
        border-radius: 10px 10px 0px 0px;
        color: #000;
    }
    .list-version-games{
        display: none;
    }
    .list-version-games.active{
        position: absolute;
        display: flex;
        flex-direction: column;
        top: 50px;
        background-color: #fff;
        width: 100%;
    }
    .item-version-game{
        padding: 10px;
        font-size: 14px;
        color: #000;
        transition: all 0.3s ease-in-out;
    }
    .item-version-game:hover{
        padding: 10px;
        background-color: var(--colorlight);
    }
    .item-server img{
        width: 130px;
    }
    .select-verseion {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .image-header-table{
        width: 100%;
    }
    .table-servers{
        border-radius: 20px;
        padding: 0px;
    }
    .container-table{
        width: 100%;
        padding: 50px 10px 50px 10px;
        padding-bottom: 50px;
    }
    .List-rows{
        justify-content: center;
        align-items: center;
        width: 90%;
        margin: auto;
    }
    .header-table{
        display: none;
    }
    .row-table{
        flex-direction: column;
        width: 100%;
    }
    .row-table span{
        width: 100%;
        margin-left: 0px;
        text-align: center;
    }
    .row-table span p{
        float: right;
    }
    .item-server-list::before{
        content: 'Serveur :';
        float: left;
    }
    .item-mad-list::before{
        content: 'Prix(MAD) :';
        float: left;
    }
    .item-eur-list::before{
        content: 'Prix(EURO) :';
        float: left;
    }
    .item-usdt-list::before{
        content: 'Prix(USDT) :';
        float: left;
    }
    .etat-server::before{
        content: 'Etat : ';
        float: left;
    }
    .row-table span:last-child::before {
        content: "Quantité requise : " !important;
        float: left;
    }
    .form-vente{
        flex-direction: column;
        padding: 50px 10px 50px 10px;
        border-radius: 30px;
    }
    .image-form{
        width: 100%;
    }
    .image-form img{
        margin-left: 0px;
        width: 90%;
    }
    .form-inputs{
        width: 100%;
    }
    .tow-inputs{
        flex-direction: column;
    }
    .select-input-half{
        width: 100%;
    }
    .form-inputs{
        padding: 0px 10px;
    }
    .btns-payment{
        flex-direction: column;
        margin-bottom: 40px;
    }
    .btns-payment span{
        text-align: center;
    }

    .features{
        flex-direction: column;
    }
    .form-vente{
        border-radius: 10px;
    }
    .list-devis-balance{
        gap: 10px 20px;
        flex-wrap: wrap;
    }
    .item-balance img{
        height:20px;
    }
    .item-balance .title_devis{
        font-size: 18px;
    }
    .important-msg span{
        text-align: center;
    }
    .type-games-dofus{
        display: none;
    }
    .logout-user p{
        font-size:14px;
        text-align: center;
    }
    .btn-logout{
        flex-direction: column;
        justify-content: center;
    }
    .btn-logout a{
        width: 100%;
        max-width: 100%;
    }
}