form {
    position: relative;
    width: 70%;
}

.firstname, .description, .value {
    width: 100%;
}

form input::placeholder, textarea::placeholder {
    color: #8A8784;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Raleway';
}

/* Style des champs input */
form input[type="text"],
form input[type="number"],
textarea {
    width: 100%;
    padding: 12px 15px;
    /* margin-bottom: 15px; */
    border: #D0CBC5 1px solid;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    color: #666;
    height: 5vh;
    outline: none;
}

textarea {
    height: auto;
}

.field-error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70%;
}

.content p {
    text-align: center;
    font-size: 1.5rem;
}

.mapboxgl-ctrl-geocoder--input {
    height: 100% !important;
}

.mapboxgl-ctrl-geocoder {
    margin-top: 1vh;
} 

.check-button {
    background-color: #F5C362;
    margin-top: 2vh;
}

.submit-button {
    color: black;
}

.successMessage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    height: 100vh;
}

.popupBackground {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popupContent {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.popupInnerContent {
    display: flex;
    gap: 15px;
}

.exemple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.exemple img {
    width: 20vw;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.closePopup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

#openPopupBtn {
    cursor: pointer;
    background-color: #F5C362;
    padding: 10px 20px;
}

#selectedCardType {
    margin-left: 15px;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 1024px) {

    .content {
        width: 100%;
    }

    form {
        width: 100%;
    }

    .popupInnerContent {
        flex-direction: column;
    }

    .popupContent {
        width: 80%;
    }

    .exemple img {
        width: 50vw;
    }
}