*{
    padding: 0px;
    margin: 0px;
    font-family: "poppins", sans-serif;
    box-sizing: border-box;
}
body{
    background-color: #342a37;
    color: #fff;
}
.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1140px;
    margin: 300px auto 200px auto;
}
.container-echange input{
    outline: none;
    border: none;
    color: #fff;
    background-color: transparent;
}
.container-echange input::placeholder{
    color: #41234b;
}
.grp-inputs{
    display: flex;
    gap: 10px;
    width: 100%;
}
.item-form{
    width: 50%;
}
label , .label-selector{
    font-size: 14px;
}
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-echange{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    padding: 50px 30px;
    border-radius: 10px;
    background-color: #1e1521;
}
.right-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 800px;
    max-width: 100%;
}
.right-container img{
    width: 100%;
}
.right-container .note-echange{
    color: #f7a438;
    font-size: 14px;
}
#errors-echange{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.left-echange{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: -webkit-fill-available;
}
.grp-echange-form{
    display: flex;
    flex-direction: column;
}
.sender{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.item-input,.item-quantity{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.grp-servers{
    position: relative;
}
.grp-current{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    background-color: #17061c;
}
.current-server{
    font-size: 14px;
}
.selector-servers{
    position: absolute;
    display: none;
    flex-direction: column;
    padding: 10px;
    border-radius: 3px;
    background-color: #17061c;
    width: 100%;
    top: 45px;
    z-index: 99;
    max-height: 150px;
    overflow-y: scroll;
}




.selector-servers {
    scrollbar-width: thin;
    scrollbar-color: #DB67FF #421350;
}
.selector-servers::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.selector-servers::-webkit-scrollbar-track {
  background: #792323;
  border-radius: 10px;
}
.selector-servers::-webkit-scrollbar-thumb {
  background: #DB67FF;
  border-radius: 10px;
}
.selector-servers::-webkit-scrollbar-thumb:hover {
  background: #DB67FF;
}


.server-item{
    font-size: 14px;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.server-item:hover{
    background-color: #41234b;
}
.selector-servers.active{
    display: flex;
}
.grp-input-kamas{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    background-color: #17061c;
}
.item-quantity input , .item-input input{
    color: #fff;
    outline: none;
    border: none;
    background-color: transparent;
}
.grp-kamas{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}
.grp-kamas img{
    width: 16px;
}
.item-input{
    width: 100%;
}
.item-input input{
    padding: 10px 20px;
    border-radius: 3px;
    background-color: #17061c;
}
.separ{
    position: relative;
    width: 100%;
    margin: 10px auto;
}
.separ .divider{
    border-top: 1px solid #41234b;
    height: 1px;
}
.separ img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.separ.clicked img{
    animation: rotate360 2s linear 1;
}
.separ img:hover{
    opacity: 0.8;
}
.receiver{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-server{
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #41234b;
}
.echnage-code ,.stock-server{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}
.echnage-code input{
    padding: 10px 20px;
    background-color: #17061c;
}
.echnage-code label{
    font-size: 14px;
}
.top-stock-server{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.grp-notif{
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.active-notif{
    display: flex;
}
.grp-notif:hover{
    opacity: 0.8;
}
.grp-notif i{
    color: #f7a438;
}
.grp-notif:hover i{
    animation: bellShake 1s ease-in-out 1;
}
#btn-echange{
    display: flex;
    justify-content: center;
    text-align: center;
    text-transform: capitalize;
    color: #17061c;
    padding: 5px 20px;
    border-radius: 3px;
    background-color: #f7a438;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    pointer-events: none;
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
#btn-echange.active{
     pointer-events: all;
    opacity: 1;  
}
#btn-echange:hover{
    color: #fff;
    background-color: #41234b;
}
/* Aniamtions  */
@keyframes rotate360 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@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); }
}
/* Version mobile */
@media (max-width: 950px) {
    .container{
        margin: 300px 10px;
    }
    .container-echange{
        flex-direction: column-reverse;
    }
    .right-container img{
        display: none;
    }
}
@media (max-width: 950px) {
    .container-echange{
    }
    .grp-inputs{
        flex-direction: column;
        gap: 20px;
    }
    .item-form{
        width: 100%;
    }
    .info-server{
        flex-direction: column;
    }
    .echnage-code, .stock-server{
        width: 100%;
    }
    .sender , .receiver{
        gap: 20px;
    }
}
