/* Images Container */
.twssc-slider-images-container {
    padding: 20px;
}

.twssc-slider-images-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    min-height: 150px;
    border: 2px dashed #ddd;
    padding: 15px;
    border-radius: 4px;
    background: #f9f9f9;
    position: relative;
}

.twssc-slider-images-list.ui-sortable {
    min-height: 150px;
}

.twssc-slider-image-item {
    position: relative;
    border: 1px solid #ddd;
    padding: 8px;
    background: #fff;
    border-radius: 4px;
    width: 160px;
    cursor: move;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.twssc-slider-image-item:hover {
    border-color: #007cba;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.twssc-slider-image-item.ui-sortable-helper {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: rotate(2deg);
    z-index: 9999;
}

.twssc-slider-image-preview {
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 3px;
}

.twssc-slider-image-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.twssc-slider-image-item:hover .twssc-slider-image-preview img {
    transform: scale(1.05);
}

.twssc-slider-remove-image {
    width: 100%;
    background: #dc3232;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 8px;
    font-size: 12px;
    text-align: center;
    transition: background 0.3s ease;
}

.twssc-slider-remove-image:hover {
    background: #a00;
}

.twssc-sortable-placeholder {
    background: #f0f0f0;
    border: 2px dashed #007cba;
    width: 160px;
    height: 180px;
    border-radius: 4px;
    opacity: 0.5;
}

.twssc-no-images {
    color: #666;
    font-style: italic;
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
}

.twssc-slider-settings {
    padding: 10px 0;
}

.twssc-slider-settings label {
    display: block;
    margin: 10px 0;
}

.twssc-slider-styling-options {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.twssc-slider-styling-options h3 {
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.twssc-slider-styling-options table.form-table th {
    width: 200px;
    padding: 15px 10px 15px 0;
}

.twssc-slider-styling-options table.form-table td {
    padding: 15px 0;
}

.color-picker {
    width: 100px;
}

#twssc_slider_shortcode {
    background: #f1f1f1;
    cursor: pointer;
    user-select: all;
    font-family: monospace;
    font-size: 14px;
}

.custom-arrow-preview img {
    border: 1px solid #ddd;
    padding: 3px;
    background: #fff;
}

.twssc-shortcode-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.twssc-shortcode-field {
    width: 180px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    padding: 3px 5px;
    font-family: monospace;
    font-size: 11px;
}