.abl-upload-wrapper {
    padding: 15px 0;
}

.abl-slots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    min-height: 20px;
}

/* Sorting Placeholder */
.abl-sortable-placeholder {
    border: 1px dashed #2271b1;
    background: #f0f6fc;
    border-radius: 4px;
    width: 100px;
    height: 100px;
    visibility: visible !important;
}

.abl-slot, .abl-upload-action {
    position: relative;
    width: 100px;
    height: 100px;
    border: 1px dashed  #ccc;
    background: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
    cursor: move;
	
	/* --- MOBILE TOUCH FIXES --- */
    /* Prevents the browser from scrolling while you are dragging this item */
    touch-action: none; 
    /* Prevents selecting the slot as text/object */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

div.abl-upload-action {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.abl-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abl-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* The Magic Fix */
    -webkit-user-drag: none;
}

.abl-status-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #ffba00;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
    z-index: 5;
}

.abl-type-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
}

.abl-remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #dc3232;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s;
	pointer-events: auto;
}

.abl-slot:hover .abl-remove-btn {
    opacity: 1;
}

.abl-upload-btn {
    background: #2271b175;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    height: 30px;
    width: 30px;
    text-align: center;
    padding-top: 5px;
}

.abl-upload-action:hover > .abl-upload-btn{
    background: #2271b1;
}

.abl-file-input {
    display: none;
}

.abl-upload-action.hidden {
    display: none;
}

.abl-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.8);
    display: none;
}

.abl-progress-bar .bar {
    height: 100%;
    background: #2271b1;
    width: 0%;
    transition: width 0.1s linear;
}

.abl-dokan-gallery-images .abl-upload-wrapper.abl_feature_wrap .abl-upload-action , .abl-dokan-gallery-images .abl-upload-wrapper.abl_feature_wrap .abl-slot{
	width: 100%;
	min-height: 300px;
	border: 4px dashed #2c89ff4d;
	position: relative;
}
.abl-dokan-gallery-images .abl-upload-wrapper.abl_feature_wrap .abl-slot .abl-preview img {
	width: auto;
	height: auto;
}


@media only screen and (max-width: 991px) {
	.abl-slot, .abl-upload-action {
		width: 70px;
		height: 70px;
	}
}

