/* Quill editor overrides */
.ql-container {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    font-size: 0.9375rem;
}
.ql-toolbar.ql-snow {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    background: #f9fafb;
}
.ql-editor {
    min-height: 150px;
}
.description-quill .ql-editor {
    min-height: 250px;
}

/* Image grid items */
.image-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0.375rem;
    overflow: hidden;
    cursor: grab;
    border: 2px solid transparent;
}
.image-item:hover {
    border-color: #3b82f6;
}
.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-item .delete-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s;
}
.image-item:hover .delete-btn {
    opacity: 1;
}

/* Sortable ghost */
.sortable-ghost {
    opacity: 0.4;
}

/* Tab accordion */
.tab-item .tab-header {
    cursor: pointer;
    user-select: none;
}
.tab-item .tab-body {
    display: none;
}
.tab-item.expanded .tab-body {
    display: block;
}
.tab-item .drag-handle {
    cursor: grab;
}

/* Toast notifications */
.toast {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: toast-in 0.3s ease;
}
.toast-success { background: #065f46; color: #fff; }
.toast-error { background: #991b1b; color: #fff; }

@keyframes toast-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
