.realisation-form {
    max-width: 780px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.realisation-form h3 {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 1.6rem;
    color: var(--wp--preset--color--primary);
}
.realisation-form input, 
.realisation-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.realisation-form button {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}
.realisation-form button:hover {
    background: #005f8d;
}
#image-preview {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-top: 10px;
    display: none;
}

/* Overlay de chargement */
#realisation-loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

/* Animation de chargement */
#realisation-loading::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 5px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: block;
    margin-top: 15px;
}

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