/**
 * pour l´affichage des erreurs
 */

section.form-section{
    margin: 24px 0;
}

form .block-form{
    margin: 24px 0;
}

form .row{
    margin: 8px 0;
}

form .row .col{
    /*justify-content: end;*/
    display: flex;
    flex-direction: column;
}

.form-error-list{
    list-style: none;
    padding: 0;
    margin-bottom: 5px;
}

.form-control-search .item,
.form-control-search .ts-dropdown #search_dechet_form_search_dechet-ts-dropdown .option {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.form-control-search.focus .item + input{
    display: none !important;
}

.input-file-wrapper input[type=file]{
    visibility: hidden;
    opacity: 0;
    position: absolute;
}

.input-file-wrapper label{
    border-radius: 15px;
    padding: 6px 18px;
    box-shadow: 0 2px 2px 0 #00000040;
    border: 1px solid var( --color-secondary-darkest );
    color: var( --color-secondary-darkest );
    background-color: transparent;
}

.input-file-wrapper label:hover {
    background-color: var( --color-secondary-darkest );
    border: 1px solid var( --color-secondary-darkest );
    color: var( --color-primary-lightest );
    cursor: pointer;
}

.input-file-wrapper label .file-name.with-file{
    margin-left: 5px;
}

.input-group .input-icon-left {
    border-right: 0;
    border: 0.5px solid var( --color-secondary-dark );
    background-color: var( --color-primary-lightest );
    border-radius: 5px;
    padding: 0 1rem;
    line-height: 39px;
}

#administre_form_adresse + div.ts-wrapper{
    border-radius: 5px !important;
}

.input-standard {
    border: 0.5px solid #000000;
    border-radius: 5px;
    background: var( --color-primary-light );
    font-family: Quicksand;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    color: #5D5D5D;
    padding: 1.5px 7px;
    width: 100%;
    height: 41px;
}

.input-group .input-standard {
    /*border-left: 0;*/
    display: flex;
    align-items: center;
    position: relative;
    flex: 1 1 auto;
    width: 1%;
}

.input-group .input-standard.left-group {
    border-left: 0.5px solid var( --color-secondary-dark );
    border-right: 0;
    display: flex;
    align-items: center;
    position: relative;
    flex: 1 1 auto;
    width: 1%;
}

.input-group .input-standard-icon-middle {
    border: 0.5px solid var( --color-secondary-dark );
    border-right: 0;
    border-left: 0;
    background-color: var( --color-primary-lightest );
    border-radius: 2px;
    padding: 5px 2px 2px 2px;
}

select.input-standard {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
   /* background-image: url("../img/arrow-select-closed-0fc12be99d832d14ea43b4eed7aabe23.svg");
    background-position: calc(100% - 6px) 10px;
    background-repeat: no-repeat;
    background-size: 7px 5px;*/
}

select.input-standard::after {
    content: " ";
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #808080 transparent transparent transparent;
}

/* Le wrapper pour positionner correctement */
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 200px; /* Vous pouvez définir une largeur personnalisée */
}

.select-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 10px;
    padding-right: 30px;
    cursor: pointer;
}

/* Pseudo-element pour la flèche */
.select-wrapper::after {
    content: " ";
    position: absolute;
    top: 40%;
    right: 35px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px; /* Triangle */
    border-color: #808080 transparent transparent transparent; /* Couleur de la flèche */
    pointer-events: none; /* La flèche ne doit pas être cliquable */
}

/* Modifier la couleur de la flèche au survol */
.select-wrapper select:hover + ::after {
    border-color: var( --color-secondary-middle ) transparent transparent transparent; /* Couleur d'accent */
}

select.input-standard > option {
    font-family: sans-serif;
    /*font-family: Quicksand;*/ /* limitation des navigateurs */
}

/*select.input-standard:focus {
    background-image: url("../img/arrow-select-opened-a10007f1a163b2db963003a110b9c8c8.svg");
    background-position: calc(100% - 6px) 10px;
    background-repeat: no-repeat;
    background-size: 7px 5px;
}*/

.input-group .input-standard-icon-right {
    border: 0.5px solid var( --color-secondary-dark );
    border-left: 0;
    background-color: var( --color-primary-lightest );
    border-radius: 2px;
    padding: 5px 5px 2px 2px;
}

