/* Inputs modernes */
.custom-input {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.custom-input:focus {
    background-color: #fff;
    border-color: #ea6b0b;
    box-shadow: 0 0 0 4px rgba(234, 107, 11, 0.1);
    color: #212529;
}

/* Utilitaires pour les icônes à gauche */
.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.bg-orange-light {
    background-color: rgba(234, 107, 11, 0.1) !important;
}

.tracking-wider {
    letter-spacing: 1px;
}

.extra-small {
    font-size: 0.7rem;
}

.input-geo:hover>.datalist,
#ville:focus~.datalist.ville,
#code:focus~.datalist.code {
    display: initial;
}


.datalist {
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    background: #ffffff;
    padding: 0.35rem 0;
    margin-top: 4px;
    display: none;
    width: inherit;
    z-index: 1050;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.datalist li {
    list-style: none;
    padding: 0.55rem 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333333;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.datalist li:not(:last-child) {
    border-bottom: 1px solid #f1f3f5;
}

.datalist li:hover {
    background-color: color-mix(in srgb, var(--default) 5%, transparent) !important;
    color: var(--default) !important;
}

.datalist-second-el {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    background-color: color-mix(in srgb, var(--orange) 8%, transparent);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Style bonus pour personnaliser la barre de défilement (Scrollbar) sous Chrome/Safari */
.datalist::-webkit-scrollbar {
    width: 6px;
}

.datalist::-webkit-scrollbar-track {
    background: transparent;
}

.datalist::-webkit-scrollbar-thumb {
    background: #deb89e;
    border-radius: 10px;
}
