/* ===== STYLES SÉLECTEUR ENTREPRISE/PARTICULIER ===== */
#btn-entreprise.selected {
    background-color: #FF4E00 !important;
    border-color: #FF4E00 !important;
}

#btn-particulier.selected {
    background-color: #209AEF !important;
    border-color: #209AEF !important;
}

#btn-entreprise:not(.selected):hover {
    background-color: white !important;
    border-color: white !important;
    color: #FF4E00 !important;
}

#btn-particulier:not(.selected):hover {
    background-color: white !important;
    border-color: white !important;
    color: #209AEF !important;
}

#toggle-slider {
    transition: all 0.3s ease-in-out;
}

/* ===== THÈMES ===== */
.theme-orange .input-field,
.theme-orange #devis-btn {
    border-color: #FF4E00 !important;
}

.theme-orange #devis-btn {
    background-color: #FF4E00 !important;
}

.theme-orange #devis-btn:hover {
    background-color: white !important;
    color: #FF4E00 !important;
}

.theme-blue .input-field,
.theme-blue #devis-btn {
    border-color: #209AEF !important;
}

.theme-blue #devis-btn {
    background-color: #209AEF !important;
}

.theme-blue #devis-btn:hover {
    background-color: white !important;
    color: #209AEF !important;
}

/* ===== CHAMPS D'ADRESSE PERSONNALISÉS ===== */
.address-input {
    width: 13rem;
}

@media (min-width: 768px) {
    .address-input {
        width: 15rem;
    }
}

@media (min-width: 1024px) {
    .address-input {
        width: 18rem;
    }
}

@media (min-width: 1280px) {
    .address-input {
        width: 20rem;
    }
}

/* ===== DROPDOWN AUTOCOMPLETE GOOGLE ===== */
.pac-container {
    background-color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    margin-top: 4px !important;
    font-family: inherit !important;
    z-index: 9999 !important;
    display: block !important;
    visibility: visible !important;
}

.pac-container:empty {
    display: none !important;
}

.pac-item {
    padding: 8px 12px !important;
    cursor: pointer !important;
    border: none !important;
    font-size: 14px !important;
    color: #1F1F1F !important;
    display: flex !important;
    align-items: center !important;
}

.pac-item:hover {
    background-color: #FFF5F0 !important;
}

.pac-item-selected {
    background-color: #FFE5D9 !important;
}

.pac-icon {
    width: 15px !important;
    height: 20px !important;
    margin-right: 7px !important;
    margin-top: 6px !important;
    display: inline-block !important;
    vertical-align: top !important;
    background-image: url(https://maps.gstatic.com/mapfiles/api-3/images/autocomplete-icons.png) !important;
    background-size: 34px !important;
}

.pac-item-query {
    font-weight: 600 !important;
    color: #FF4E00 !important;
}

.pac-matched {
    font-weight: 700 !important;
}

.pac-container::after {
    content: '';
    display: block;
    height: 14px;
    background-image: url(https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    margin: 4px 8px;
}

.pac-logo::after,
img[src*="powered-by-google"] {
    display: none !important;
}

/* ===== SELECT VÉHICULE ===== */
#vehicule-select option {
    background-color: white;
    color: black;
    padding: 8px;
}

#vehicule-select option:first-child {
    color: #9CA3AF !important;
}

gmp-place-autocomplete .input-container input,
gmp-place-autocomplete input {
    display: block !important;
    width: 100% !important;
    padding: 0.5rem 1rem 0.5rem 2.25rem !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0.5rem !important;
    color: white !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
}

gmp-place-autocomplete input::placeholder {
    color: rgb(209, 213, 219) !important;
}

gmp-place-autocomplete .input-container:focus-within {
    border-color: #FF4E00 !important;
    box-shadow: 0 0 0 2px rgba(255, 78, 0, 0.2) !important;
}

/* SUPPRIMER COMPLÈTEMENT LA LOUPE ET TOUS LES BOUTONS */
gmp-place-autocomplete .autocomplete-icon,
gmp-place-autocomplete .icon,
gmp-place-autocomplete button,
gmp-place-autocomplete .back-button,
gmp-place-autocomplete .clear-button,
gmp-place-autocomplete [role="button"],
gmp-place-autocomplete svg,
gmp-place-autocomplete .widget-container svg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

gmp-place-autocomplete .focus-ring {
    display: none !important;
}

gmp-place-autocomplete::before,
gmp-place-autocomplete::after {
    display: none !important;
}

/* ===== DROPDOWN AUTOCOMPLETE ===== */
.pac-container {
    background-color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    margin-top: 4px !important;
    font-family: inherit !important;
    z-index: 9999 !important;
}

.pac-item {
    padding: 8px 12px !important;
    cursor: pointer !important;
    border: none !important;
    font-size: 14px !important;
}

.pac-item:hover {
    background-color: #FFF5F0 !important;
}

.pac-item-selected {
    background-color: #FFE5D9 !important;
}

.pac-icon {
    display: none !important;
}

.pac-item-query {
    font-weight: 600 !important;
    color: #FF4E00 !important;
}

/* ===== SELECT VÉHICULE ===== */
#vehicule-select option {
    background-color: white;
    color: black;
    padding: 8px;
}

#vehicule-select option:first-child {
    color: #9CA3AF;
}