/* Wrapper */
.beu-wrap{
  
  padding : 10px!important;
  padding-top : 20px!important;
  position: relative;
  margin: 10px 0;
  border: 2px dashed #d7d7d7 !important;
  border-radius: 5px;
 
}

/* The submitted value field (hidden but still in DOM) */
.beu-result{
  display : none!important;
}

/* Pick button */
.beu-pick{
  width :100%!important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: none;
  background: #F3F3F300!important;
  color: #BEBEBE!important;
  border-radius: 5px;
  cursor: pointer;
  line-height: 1;
}







.beu-pick:focus {  background: #F3F3F300!important;
  color: #BEBEBE!important; }

.beu-pick:hover{  background: #F3F3F300!important;
  color: #BEBEBE!important; }
.beu-pick:active{ 
  
  background:  background: #F3F3F300!important;
  color: #BEBEBE!important;
  
  transform: translateY(1px); }

/* Required message box */
.beu-required-msg{
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #f5c2c7;
  background: #f8d7da;
  color: #842029;
  border-radius: 10px;
  font-size: 13px;
}

/* Upload list */
.beu-list{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

/* Item row */
.beu-item{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

/* Thumbnail */
.beu-thumb{
  width: 72px!important;
  aspect-ratio: 1 / 1!important;
  border-radius: 5px!important;
  object-fit: cover!important;

}

/* Meta column */
.beu-meta{
  min-width: 0;
}

/* Top row: name + delete */
.beu-top{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.beu-name{
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  word-break: break-word;
  min-width: 0;
}

/* Delete button */
.beu-del{
  flex: 0 0 auto;
  padding: 3px 5px;
  background: #F3F3F3!important;
  color: gray!important;
  border-radius: 5px;
  cursor: pointer;
  line-height: 1;
  border-style: none!important;
}

.beu-del:hover{ 

 background: black!important;
  color: white!important;

}
.beu-del:disabled{ opacity: 0.6; cursor: not-allowed; }



/* Mobile */
@media (max-width: 480px){
  .beu-item{
    grid-template-columns: 56px 1fr;
  }
  .beu-thumb{
    width: 56px;
    height: 56px;
  }
}


/* Progress bar wrapper */
.beu-barwrap{
  margin-top: 8px;
  height: 8px;
  background: #F3F3F3;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

/* Progress bar */
.beu-bar{
  height: 100%;
  width: 0%;
  background: green;
  border-radius: 999px;
  transition: width 0.2s linear; /* smooth width updates */
}