body{
    font-family: Roboto, sans-serif;
}
.form-control:focus{
    box-shadow: none;
    border-color:#008081 !important;
    background-color: rgba(25,200,225,0.2);
}
.form-select:focus{
    box-shadow: none;
    border-color:#008081 !important;
    background-color: rgba(25,200,225,0.2);
}
.alert-result {
    display: none;
    position: fixed;
    top: 20px; /* Ajuste selon l'espacement voulu */
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    z-index: 1050; /* S'assure que l'alerte est bien au-dessus des autres éléments */
    padding: 20px;
}

.alert {
    width: 100%; /* Prend la largeur définie par .alert-result */
    background: red;
    color: white;
    text-align: center; /* Centre le texte */
    padding: 15px;
    border-radius: 5px; /* Pour un effet plus esthétique */
}

input:hover{
    border: 1px solid black;
}
select:hover{
    border: 1px solid black;
}

.form-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 90%;
    margin: auto;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-weight: 500;
    color: #6c757d;
    border-bottom:1px solid #6c757d;
}
.steps .step-title.active {
    color: #008081;
    border-bottom: 3px solid #008081;
    padding-bottom: 5px;
}
.step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.step.active {
    display: block;
}
.next-step, .btn-success, .btn-secondary {
    width: 100%;
    padding: 10px;
}
.prev-step {
    width: 100%;
    background-color: #6c757d;
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px;
}
.prev-step:hover{
    width: 100%;
    background-color: transparent;
    border: 1px solid #343a40;
    color: #343a40;
    font-weight: bold;
    padding: 10px;
}
.next-step {
    background-color: #343a40;
    color: white;
    font-weight: bold;
    border: none;
}
.next-step:hover {
    background-color: #343a41;
    color: white;
    font-weight: bold;
}
.btn-success {
    background-color: #198754;
    border: none;
}

.hidden { display: none; }
.preview img, .preview iframe {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
@media (max-width: 992px) {
    .container{
        width: 100%;
        padding:15px !important;
    }
    .steps{
        text-align: center;
        max-width: 600vh;
    }
    .form-container {
        padding:10px !important;
    }
    .scroll-container {
        display: flex;
        justify-content: space-between;
        overflow-x: hidden;
    }
    .scroll-container .carre-wrapper {
        display: block;
        margin-right: 0;
    }
    .form-control{
        width: 100%;
    }
    .step-title{
        font-size: 0.6em;
        font-weight: 600;
        margin-right: 10px;
    }
    p{
        font-size: 0.8em;
    }
}