.nc-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  padding: 20px;
}
.nc-modal:not(.hidden){ display: flex; }

.nc-modal .nc-modal-content{
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 520px;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.nc-close-btn{
  position:absolute;
  right:10px; top:8px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.nc-main-btn{
  background:#000;
  color:#fff;
  border:0;
  padding: 14px 26px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}
.nc-main-btn:hover{ background:#222; }

.file-label{
  display:block;
  margin-bottom:10px;
  font-weight:600;
}

input[type="file"]{
  display:block;
  margin-bottom: 16px;
}

#uploadButtonSingle,
#uploadButtonMulti{
  background:#000;
  color:#fff;
  border:0;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#uploadButtonSingle.hidden,
#uploadButtonMulti.hidden{
  display:none;
}

.progress-bar{
  position:absolute;
  left:0; top:0; bottom:0;
  width:0%;
  background:#0a7bdc;
  z-index:0;
  transition: width .25s ease;
  border-radius: 6px 0 0 6px;
}
#uploadButtonSingle span,
#uploadButtonMulti span{
  position:relative;
  z-index:1;
}

.nc-upload-result{
  margin-top:12px;
  color:#900;
  white-space:pre-wrap;
}
