
button:disabled {
  cursor: not-allowed;
  opacity: .7;
}

#skelb-status {
  margin-top: 15px;
  font-weight: 600;
}

#photo-preview {
     display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; 
    }

 
.photo-item {
  width: 120px;
  height: 120px;
  position: relative;
  border-radius: .5rem;
  overflow: hidden;
  cursor: grab;
  flex: 0 0 auto;
}

/* paveikslas – fonas */
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* trynimo mygtukas */
.photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  background: rgba(0,0,0,.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.photo-remove:hover {
  background: rgba(0,0,0,.85);
}

/* 📱 mobile perrikiavimo mygtukai */
.photo-move-controls {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  gap: 6px;
}

.photo-move-controls button {
  background: rgba(0,0,0,.65);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 14px;
  line-height: 26px;
  cursor: pointer;
}

.photo-move-controls button:disabled {
  opacity: .4;
  cursor: default;
}

.sk-dropzone{
  border: 2px dashed rgba(0,0,0,.2);
  border-radius: .75rem;
  padding: 18px;
  background: rgba(0,0,0,.02);
  transition: .15s ease;
  cursor: pointer;
}

.sk-dropzone:hover{
  background: rgba(0,0,0,.03);
}

.sk-dropzone.is-dragover{
  border-color: #0d6efd;
  background: rgba(13,110,253,.06);
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

.sk-dropzone-inner{
  text-align: center;
}

.sk-dropzone-title{
  font-weight: 700;
  font-size: 1.05rem;
}

.sk-dropzone-sub{
  margin-top: 8px;
}

.sk-dropzone-hint{
  margin-top: 8px;
  font-size: .85rem;
  opacity: .75;
}

.sk-photo-preview{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-item{
  width: 120px;
  height: 120px;
  position: relative;
  border-radius: .75rem;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  background: rgba(0,0,0,.06);
}

.photo-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-remove{
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.65);
  color: #fff;
  line-height: 26px;
  font-size: 16px;
  display: grid;
  place-items: center;
  z-index: 3;
}

.photo-remove:hover{
  background: rgba(0,0,0,.8);
}

/* Mobilūs perrikiavimo mygtukai (matosi tik coarse pointer) */
.photo-move{
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  display: none;
  gap: 6px;
  z-index: 3;
}

.photo-move button{
  flex: 1;
  border: 0;
  border-radius: .5rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  padding: 4px 0;
  font-size: 14px;
}

.photo-move button:disabled{
  opacity: .45;
}

@media (pointer: coarse) {
  .photo-item{ cursor: default; }
  .photo-move{ display: flex; }
}

.my-listing-item {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
}
.my-listing-item + .my-listing-item {
    margin-top: 15px;
}

