/* =========================
   WRAPPER
========================= */
.dzg-wrapper {
    max-width: 100%;
    margin: 0px 0;
    font-family: Poppins;
}

/* =========================
   GALLERY GRID
========================= */
#dzg_gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 10px;
    padding: 0;
}

/* =========================
   GALLERY ITEM (CARD)
========================= */
.dzg-item {
    position: relative;
    background: transparent;
    border: 0px;
    border-radius: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: grab;
	    width: 150px;
    height: 150px;
}
.dzg-item:active {
    cursor: grabbing;
}
.dzg-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* =========================
   IMAGE
========================= */
.dzg-item img {
    width: 100%;
    height: 150px !important;
    object-fit: cover;
    border-radius: 0px;
	 pointer-events: none;
}

/* =========================
   DRAG HANDLE
========================= */
.dzg-handle {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #00b0cc;
    color: #fff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: grab;
}

/* =========================
   REMOVE BUTTON
========================= */
.dzg-remove {
margin-top: 8px;
    background: #ea465c;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 4px 8px;
    font-size: 12px;
    position: absolute;
    right: 7px;
    top: -5px;
}


/* =========================
   DROPZONE AREA
========================= */
#dzg-dropzone {
    border: 0px;
    padding: 25px;
    background: #ffffff;
    border-radius: 6px;
    margin-bottom: 15px;
    margin-top: 42px;
    box-shadow: 5px 5px 15px -1px rgba(0, 0, 0, 0.37);
    -webkit-box-shadow: 5px 5px 15px -1px rgba(0, 0, 0, 0.37);
    -moz-box-shadow: 5px 5px 15px -1px rgba(0,0,0,0.37);
	text-align: center;
}


/* Dropzone internal text */
.dz-message {
    font-size: 14px;
    color: #666;
}

/* =========================
   SAVE BUTTON
========================= */


/* =========================
   SORTABLE PLACEHOLDER
========================= */
.ui-sortable-placeholder {
    visibility: visible !important;
    background: #f0f0f0;
    border: 2px dashed #bbb;
    border-radius: 10px;
}

/* =========================
   DRAGGING STATE
========================= */
.ui-sortable-helper {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: rotate(2deg);
}

