.fake-select {
    cursor: pointer;
    width: 350px;
    text-align: left;
}
.fake-list::-webkit-scrollbar {
  display: none;
}

.fake-list {
    position: absolute;
    max-height: 260px;
    width: 400px;
    overflow-y: auto;
    background: white;
    border: 1px solid #d7dce2;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    z-index: 300;
    top: 55px;
    right: 0;
}
.fake-list.hidden {
    display: none;
}
.fake-option {
    padding: 5px;
    border-bottom: 1px solid #eef1f5;
    cursor: pointer;
    line-height: 20px;
    color: #fff;
}
.fake-option:nth-child(odd) {
    background: #536580;
}
.fake-option:nth-child(even) {
    background: #94a3b9;
}
.fake-option:hover {
    background: rgba(55, 98, 203, 0.78);
}


.none, .gestion, .add {
    display: none;
}
.gestion, .add {
    height: 100svh;
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

form {
    background-color: #F0F1F3;
    color: #000;
    text-align: center;
    margin: 0 10px;
    border-radius: 20px;
    height: calc(100svh - 130px);
    padding: 20px;
}

H3 {
    margin: 10px 10px 20px 10px;
    box-shadow: 2px 2px 5px 5px #797979;
    padding: 20px;
    background-color: #F0F1F3;
    border-radius: 10px;
    color: #000;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    display: grid;
    grid-template-columns: 30px 1fr;
}
h3 i {
    cursor: pointer;
}

form .other, form .quant {
    line-height: 50px;
    margin-bottom: 15px;
    border-bottom: 1px solid #a4a4a4;
   /* background-color: #fff;*/
    width: 500px;
    margin-left: calc(50% - 250px);
    display: grid;
    grid-template-columns: 150px 150px 100px;
}
form .quant {
    grid-template-columns: 150px 50px 50px 50px 100px;
}
form .quant DIV {
    background-color: #1454A6;
    color: #FFF;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    display: grid;
    align-content: center;
    height: 30px;
    font-weight: bold;
    margin-top: 10px;
}
form LABEL {
    display: inline-block;
    width: 100px;
    font-weight: bold;
   text-align: left
}
form input, form SELECT {
    border: 0;
    width: 150px;
    text-align: center;
    height: 50px;
    background-color: #F0F1F3;
}
form .quant input {
    width: 50px;
}
form SPAN {
    text-align: right;
}
form input:focus, form SELECT:focus {
    outline: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; 
}
form .button {
    width: 500px;
    height: 50px;
    margin-top: 50px;
    display: grid;
    align-content: center;
    text-align: center;
    background-color: #0E1C49;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    margin-left: calc(50% - 250px);
}


.autocomplete {
    position: absolute;  
    right: 0;
    width: 400px;
    border-radius: 8px;
    z-index: 30;
    max-height: 250px;
    overflow: hidden;
    overflow-y: auto;
    top: 55px;
}
.autocomplete::-webkit-scrollbar {
  display: none;
}
.autocomplete div {
    padding: 5px;
    cursor: pointer;
    color: #fff;
    line-height: 15px;
}
.autocomplete .add-new {
    padding: 12px;
    background-color: #b0d7fd;
    cursor: pointer;
    color: #000;
    display: grid;
    grid-template-columns: 300px 50px;
    position: relative;
}
.autocomplete .add-new:after {
    content: "NEW";
    position: absolute;
    right: 5px;
    top: 7px;
    font-size: 10px;
    font-style: italic;
    color: #fff;
    font-weight: bold;
    background-color: red;
    padding: 5px 10px;
    border-radius: 10px;
}
.autocomplete .add-new:hover {
    background: #b0d7fd;
}
.autocomplete .itemm:nth-child(odd) {
    background: #131C2A;
}
.autocomplete .itemm:nth-child(even) {
    background: #1F2A38;
}
.autocomplete .itemm:hover {
    background: #e49e6d;
}


.cat-popup {
    position: fixed;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cat-popup.hidden {
    display: none;
}
.cat-popup-inner {
    background: #131C2A;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 400px;
}
.cat-popup-inner div {
    padding: 12px;
    margin: 6px 0;
    background: #1F2A38;
    border-radius: 8px;
    color: white;
    text-align: center;
    cursor: pointer;
}
.cat-popup-inner div:hover {
    background: #273549;
}



