/**
 * BW Gallery Slider Block - Editor Styles
 */

.bw-gallery-slider-editor {
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.bw-gallery-slider-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.bw-gallery-slider-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #eee;
}

.bw-gallery-slider-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bw-gallery-slider-remove-image {
    position: absolute !important;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.6) !important;
    color: white !important;
    border-radius: 50%;
    padding: 2px;
    min-width: auto !important;
    width: 24px;
    height: 24px;
}

.bw-gallery-slider-notice {
    color: #d94f4f;
    font-style: italic;
    margin-top: 10px;
    padding: 10px;
    background: #fff6f6;
    border-left: 4px solid #d94f4f;
}

.bw-gallery-slider-empty {
    padding: 30px;
    background: #f8f8f8;
    border: 1px dashed #ccc;
    text-align: center;
    color: #888;
}

/* Instructions */
.components-placeholder__label .block-editor-block-icon {
    margin-right: 1em;
}

.components-placeholder__fieldset p {
    margin-bottom: 1em;
}

/* Improve button appearance */
.bw-gallery-slider-editor .components-button.is-button {
    height: auto;
    padding: 8px 16px;
    margin-top: 15px;
}

/* Better empty state */
.components-placeholder {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: #f8f8f8;
    border: 1px dashed #ccc;
    text-align: center;
}