@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Corrige la modal latérale */
.modal-dialog.modal-dialog-slideout {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
    max-width: 90%;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 1060;
    /* Au-dessus du backdrop Bootstrap (1050) */
}

.modal.show .modal-dialog.modal-dialog-slideout {
    transform: translateX(0);
}

/* S'assurer que le backdrop n’écrase pas la modal */
.modal-backdrop {
    z-index: 1050;
}


body.modal-open {
    overflow: hidden;
}

.text-green {
    color: #2eae36;
}

.header-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Quelques styles pour l'exemple */
.preview-image {
    max-width: 150px;
    max-height: 150px;
    margin-top: 10px;
    border: 1px solid #ddd;
    padding: 5px;
}

.form-section {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.message_bubble img,
.message_bubble video {
    max-width: 100%;
    border-radius: 12px;
}

.message_bubble a {
    color: #fff;
}

iframe {
    max-width: 100%;
    border-radius: 12px;
}

.rating {
    display: flex;
    gap: 6px;
    font-size: 28px;
    line-height: 1;
}

.rating .star {
    transition: transform 120ms ease, opacity 120ms ease;
}

.rating .star.is-active {
    opacity: 1;
    transform: translateY(-1px);
    color: #ffa400;
}

.rating .star.is-inactive {
    opacity: 0.45;
}

.rating .star:focus {
    outline: 2px solid rgba(13, 110, 253, 0.35);
    outline-offset: 4px;
    border-radius: 6px;
}

#loading-steps li {
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.4s ease;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

#loading-steps li.active {
    opacity: 1;
    transform: translateY(0);
}

#loading-steps li.done {
    opacity: 1;
    color: #2878a7;
}

#loading-steps li.done::before {
    content: "✔ ";
}