.vexalyn-loading {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: #555;
}

.vexalyn-loading .components-spinner {
    flex-shrink: 0;
    margin-top: 2px;
}

.vexalyn-loading-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vexalyn-loading-msg {
    font-style: italic;
    font-size: 13px;
    line-height: 1.4;
    color: #1e1e1e;
    animation: vexalyn-fade-in 0.4s ease;
}

.vexalyn-loading-elapsed {
    font-size: 11px;
    color: #888;
    font-variant-numeric: tabular-nums;
}

@keyframes vexalyn-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vexalyn-notice {
    width: 100%;
    margin: 4px 0;
}

/* ---- Notice ---- */
.vexalyn-notice {
    width: 100%;
    margin: 4px 0;
    box-sizing: border-box;
}

/* ---- Confirmation après insertion ---- */
.vexalyn-confirm-header {
    width: 100%;
}

.vexalyn-confirm-header .vexalyn-notice {
    margin-bottom: 0;
}

.vexalyn-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    width: 100%;
    padding: 4px 0;
}

.vexalyn-btn-validate {
    grid-column: 1;
    justify-content: center;
}

.vexalyn-btn-cancel {
    grid-column: 2;
    justify-content: center;
}

.vexalyn-btn-regen {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
}

/* ---- Boutons d'action (erreur) ---- */
.vexalyn-action-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 0;
    width: 100%;
}

.editor-sidebar .components-panel__body-title button {
    font-weight: 600;
}

/* ---- Icône SVG du bouton Générer ---- */
.vexalyn-btn-generate svg stop {
    stop-color: #fff;
    transition: stop-color 0.2s ease;
}

.vexalyn-btn-generate:hover svg stop{
    stop-color: #000;
    transition: stop-color 0.2s ease;
}
