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

#pdc-container > div{
    width: 50%;
}

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

p{
    margin: 0;
}

/* 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;
    font-size: 14px;
    background-color: rgba(0, 0, 0, .04);
    border-radius: 4px;
    border: 2px solid transparent;
    padding: 10px;
    width: 100%;
    font-size: 14px;
    font-family: inherit;
    line-height: 24px;
    color: #555;
}

.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% !important;
	background-color: var(--pdc-primary-color) !important;
}

#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;
    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;
}

@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);
}
/* RESPONSIVE */

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