/* Shine Clean – DEMO editor front-end (attivo solo con ?modifica) */
.sc-editing body {
    padding-top: 64px;
}
.sc-editor-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 20px;
    background: #3A1424;
    color: #FFF;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.sc-editor-left {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.sc-editor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #EC4F8C;
    box-shadow: 0 0 0 4px rgba(236, 79, 140, 0.3);
}
.sc-editor-status {
    opacity: 0.7;
    font-size: 13px;
}
.sc-editor-hint {
    opacity: 0.8;
    font-size: 13px;
    text-align: center;
}
.sc-editor-actions {
    display: flex;
    gap: 8px;
}
.sc-editor-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #FFF;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.sc-editor-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}
.sc-editor-save {
    background: #EC4F8C;
    border-color: #EC4F8C;
}
.sc-editor-save:hover {
    background: #d9407c;
}
.sc-editor-save:disabled {
    opacity: 0.45;
    cursor: default;
}
.sc-editing .header {
    top: 94px;
}
.sc-editing [contenteditable="true"] {
    outline: 2px dashed transparent;
    outline-offset: 4px;
    border-radius: 4px;
    cursor: text;
    transition: outline-color 0.15s ease, background 0.15s ease;
}
.sc-editing [contenteditable="true"]:hover {
    outline-color: rgba(236, 79, 140, 0.7);
}
.sc-editing [contenteditable="true"]:focus {
    outline: 2px solid #EC4F8C;
    background: rgba(252, 228, 238, 0.35);
}
.sc-editing .sc-editable-img {
    cursor: pointer;
    outline: 3px dashed transparent;
    outline-offset: -3px;
    transition: outline-color 0.15s ease, filter 0.15s ease;
}
.sc-editing .sc-editable-img:hover {
    outline-color: #EC4F8C;
    filter: brightness(0.85);
}
.sc-editor-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 10001;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    background: #3A1424;
    color: #FFF;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.sc-editor-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
@media (max-width: 991px) {
    .sc-editor-hint {
        display: none;
    }
}
@media (max-width: 575px) {
    .sc-editor-bar {
        padding: 8px 12px;
    }
    .sc-editor-status,
    .sc-editor-reset {
        display: none;
    }
}
