/* Conteneur principal du formulaire */
#pdc-container {
    display: flex;
    max-width: 100%;
    margin: auto;
	gap:50px;
}

#pdc-container > div{
    width: 50%;
    /* min-width: 50%;
    max-width: 50%; */
}

.titre-reservation{
    text-align: left;
    font-size: 38px;
    font-weight: 600;
    color: #444444;
    padding-bottom: 20px;
}

p{
    margin: 0;
}

input {
    &::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    &::-o-inner-spin-button {
        -o-appearance: none;
        margin: 0;
    }
}

/* ETAPE BLOC  */
.reserver-visible{
    height: 94%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stepper-box {
    background-color: rgb(249, 249, 249);
    border-radius: 12px;
    padding: 40px;
    width: 450px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgb(186, 186, 186);
}

.stepper-step {
    display: flex;
    position: relative;
}

.stepper-step:last-child {
    margin-bottom: 0;
}

.stepper-line {
    margin-left: 25px;
    width: 2px;
    height: 50px;
    background-color: #e2e8f0;
}

.stepper-step:last-child .stepper-line {
    display: none;
}

.stepper-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    z-index: 2;
}

.stepper-active .stepper-circle {
    border: 2px solid #0f172a;
    color: #0f172a;
}

.stepper-pending .stepper-circle {
    border: 2px solid #e2e8f0;
    color: #94a3b8;
}

.stepper-content {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.stepper-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    margin-top: 5px;
}

.stepper-title2{
    font-size: 14px;
}

.stepper-active .stepper-title {
    color: #0f172a;
}

.stepper-pending .stepper-title {
    color: #94a3b8;
}

.stepper-completed .stepper-title {
  color: #94a3b8;
}

.stepper-status {
    font-size: 14px;
    display: inline-block;
    border-radius: 12px;
    color: #64748b;
}

.stepper-box2 {
    border-radius: 12px;
    padding-top: 10px;
    display: flex;
    justify-content: center;
}

.stepper-step2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: center;
    width: 85px;
}

.stepper-step2:last-child {
  margin-right: 0;
}

.stepper-line2 {
    margin-top: 25px;
    width: 100px;
    height: 2px;
    background-color: #e2e8f0;
    z-index: 1;
}

.stepper-completed .stepper-circle {
  background-color: #0f172a;
  color: white;
}

.stepper-circle2{
    margin: 0;
}

.stepper-step:last-child .stepper-line2 {
    display: none;
}

/* RESUME TRAJET */

.resume-trajet {
    padding: 30px;
    border-radius: 0.75em;
    border: 1px solid #dfdfdf;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resume-form-2col-50{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.icone-form{
    width: 35px !important;
    height: 35px !important;
    margin: 0 !important;
}
/* Carte */
#pdc-map {
    height: 400px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Labels et inputs */
form label {
	text-align:left;
    display: block;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 3px;
    color: #676767;
    font-size: 14px;
    font-weight: 600;
}

form input{
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, .04);
    border: 0 !important;
    border-radius: 4px;
    border: 2px solid transparent;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    font-family: inherit;
    line-height: 24px;
    color: #555;
}

.iti{
    width: 100%;
}

.input-container{
    color: #555 !important;
}


gmp-place-autocomplete{
    box-sizing: border-box !important;
    font-size: 14px !important;
    background-color: rgba(0, 0, 0, .04) !important;
    border-radius: 4px !important;
    border: 2px solid transparent !important;
    width: 100% !important;
    font-size: 16px;
    font-family: inherit !important;
    line-height: 24px !important;
    color-scheme: light;
}

.pdc-form-2col{
	display: flex;
	gap: 10px;
}

.pdc-form-2col-50{
	width: 50%;
}
.pdc-form-2col-40 {
    width: 40%;
}
.pdc-form-2col-33 {
    width: 33.3%;
}
.pdc-form-2col-30 {
    width: 30%;
}
.pdc-form-2col-20 {
    width: 20%;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.input-error {
    border: 1px solid red !important;
    animation: shake 0.3s;
}

/* Bouton */
#pdc-form button {
    color: white;
    border: none;
    padding: 15px 22px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    background-color: var(--pdc-primary-color);
}

.button-reserver{
	color: white;
    border: none;
    padding: 15px 22px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
	background-color: var(--pdc-primary-color) !important;
}

.button-annulation {
    color: white;
    border: none;
    padding: 15px 22px;
    border-radius: 20px;
    cursor: pointer;
    width: 300px !important;
    margin: auto;
    background-color: var(--pdc-primary-color) !important;
    text-decoration: none;
}

#pdc-form button:hover, #pdc-form-2 button:hover{
    background-color: var(--pdc-primary-color)!important;
}

#calculerPrix.non-actif{
    border: 1px solid #676767 !important;
    color: #676767 !important;
    background-color: #F8F8F8 !important;
}

#calculerPrix.non-actif:hover {
    color: #F8F8F8 !important;
    background-color: black !important;
}

/* SELECT OPTION */

select {
    text-align: center;
    padding: 10px !important;
    border: none;
    border-radius: 4px;
    width: 100%;
    height: 48px;
    background-color: rgba(0, 0, 0, .04);
    color: #6d6d6d !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

select option {
    background-color: rgba(0, 0, 0, .04);
    color: #333;
    font-weight: normal;
}

/* Résultat et loader */
#pdc-result {
    margin-top: 20px;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
}

#pdc-loading {
    text-align: center;
    color: #555;
    display: none;
}

/* PDC Confirmation */

.pdc-confirmation{
    text-align: center;
    font-size: 16px;
    margin: 75px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.resume-valide{
    width: 50%;
    margin: auto;
}

.resume-title{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

/* PDC mon-trajet */

.pdc-mon-trajet{
    text-align: left;
}

/* LOADER */

.button-loader{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader {
    border: 2px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
    border-left-color: transparent;
    width: 19px;
    height: 19px;
    animation: spin89345 1s linear infinite;
}

.text-button{
    font-weight: 600;
    line-height: 19px;
    font-size: 16px;
}

@keyframes spin89345 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ANIMATION */

.button-animation{
    opacity: 1;
    box-shadow: none;
    transform: translateY(0);
    transition: opacity 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.button-animation:hover{
    opacity: 0.95;
    box-shadow: 0 20px 38px 0 rgba(0, 0, 0, 0.104);
    transform: translateY(-2.50px);
}

/* ERROR */

/* From Uiverse.io by andrew-demchenk0 */
/* From Uiverse.io by andrew-demchenk0 */
.error {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 400px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: #FCE8DB;
    border-radius: 8px;
    border: 1px solid #EF665B;
    box-shadow: 0px 0px 5px -3px #111;
    display: none;
    margin: 15px auto 0 auto;
}

.error__icon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
    margin-right: 8px;
}

.error__icon path {
    fill: #EF665B;
}

.error__title {
    font-weight: 500;
    font-size: 14px;
    color: #71192F;
}

.error__close {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
}

.error__close path {
    fill: #71192F;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    #pdc-container{
        flex-direction: column;
    }
        #pdc-container > div {
            width: 100%;
        }
    .resume-valide{
        box-sizing: border-box;
        width: 100%;
    }
    .reserver-visible{
        display: none;
    }
    .stepper-line2{
        width: 50px;
    }
    .resume-trajet{
        padding: 20px;
    }
    #titreReservez{
        display: none;
    }
        .flatpickr-input {
            font-size: 16px;
            /* empêche le zoom iOS */
        }
                
}

 #suggestions {
     list-style: none;
     margin: 0;
     padding: 0;
     border: 1px solid #ccc;
     max-width: 100%;
     position: absolute;
     background: white;
     z-index: 1000;
     
 }

 #suggestions li {
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
    width: 475px;
 }

 #suggestions li:hover {
     background: #eee;
 }