/* R.S Films Group v23.7.0 — Artist upload + withdrawal polish
   Scope: artist portal only. No backend/business-logic changes. */

/* ---------- Release upload zones ---------- */
.artist-portal .meta-form .upload-box{
  position:relative!important;
  isolation:isolate;
  min-height:168px!important;
  margin:20px 28px 0!important;
  padding:30px 24px 28px!important;
  border:1.5px dashed #b9c7d0!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fffdf9 0%,#f8fafb 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  gap:7px!important;
  cursor:pointer!important;
  overflow:hidden!important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.artist-portal .meta-form .upload-box:hover,
.artist-portal .meta-form .upload-box:focus-within{
  border-color:#b98a32!important;
  background:linear-gradient(180deg,#fffdf6 0%,#fbf8ef 100%)!important;
  box-shadow:0 0 0 4px rgba(185,138,50,.08),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
.artist-portal .meta-form .upload-box svg{
  width:30px!important;
  height:30px!important;
  color:#b78328!important;
  margin-bottom:2px!important;
  pointer-events:none!important;
}
.artist-portal .meta-form .upload-box strong{
  max-width:78%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#14222d!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.35!important;
  pointer-events:none!important;
}
.artist-portal .meta-form .upload-box>span{
  color:#7c8994!important;
  font-size:10.5px!important;
  line-height:1.45!important;
  text-align:center!important;
  pointer-events:none!important;
}
/* Keep the real input for form validation/accessibility, but make the entire drop zone clickable. */
.artist-portal .meta-form .upload-box input[type="file"]{
  position:absolute!important;
  inset:0!important;
  z-index:5!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  cursor:pointer!important;
  border:0!important;
}
.artist-portal .meta-form .upload-box::after{
  content:"Choose file";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:104px;
  min-height:34px;
  margin-top:7px;
  padding:0 14px;
  border:1px solid #d7dde1;
  border-radius:9px;
  background:#fff;
  color:#23333e;
  box-shadow:0 2px 8px rgba(18,37,50,.06);
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.01em;
  pointer-events:none;
  transition:.16s ease;
}
.artist-portal .meta-form .upload-box:hover::after,
.artist-portal .meta-form .upload-box:focus-within::after{
  border-color:#c7a45d;
  color:#7f5d1e;
  transform:translateY(-1px);
}
.artist-portal .meta-form .upload-box.rsf-file-selected::after{content:"Change file";}
.artist-portal .meta-form .upload-box.rsf-file-selected{
  border-style:solid!important;
  border-color:#b9d5c6!important;
  background:linear-gradient(180deg,#fbfffc,#f5faf7)!important;
}
.artist-portal .meta-form .upload-box.rsf-file-selected svg{color:#3c8b61!important;}

/* ---------- Professional upload progress ---------- */
.artist-portal .meta-form .rsf-pro-upload-progress{
  margin:14px 28px 0!important;
  padding:13px 15px 12px!important;
  border:1px solid #e0e6ea!important;
  border-radius:11px!important;
  background:#fbfcfd!important;
  box-shadow:0 5px 18px rgba(15,34,47,.035)!important;
  color:#1a2934!important;
}
.artist-portal .meta-form .rsf-pro-upload-progress-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:9px!important;
}
.artist-portal .meta-form .rsf-pro-upload-progress-head span{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  font-size:11px!important;
  font-weight:800!important;
  color:#243540!important;
}
.artist-portal .meta-form .rsf-pro-upload-progress-head i{
  width:8px!important;
  height:8px!important;
  flex:0 0 8px!important;
  border-radius:50%!important;
  background:#c49338!important;
  box-shadow:0 0 0 4px rgba(196,147,56,.12)!important;
}
.artist-portal .meta-form .rsf-pro-upload-progress-head strong{
  min-width:44px!important;
  text-align:right!important;
  font-size:11px!important;
  color:#172833!important;
}
.artist-portal .meta-form .rsf-pro-upload-progress progress{
  display:block!important;
  width:100%!important;
  height:8px!important;
  overflow:hidden!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  border-radius:999px!important;
  background:#e8edf0!important;
}
.artist-portal .meta-form .rsf-pro-upload-progress progress::-webkit-progress-bar{
  background:#e8edf0!important;
  border-radius:999px!important;
}
.artist-portal .meta-form .rsf-pro-upload-progress progress::-webkit-progress-value{
  background:linear-gradient(90deg,#b78328,#d9ad55)!important;
  border-radius:999px!important;
  transition:width .18s ease!important;
}
.artist-portal .meta-form .rsf-pro-upload-progress progress::-moz-progress-bar{
  background:linear-gradient(90deg,#b78328,#d9ad55)!important;
  border-radius:999px!important;
}
.artist-portal .meta-form .rsf-pro-upload-progress small{
  display:block!important;
  margin-top:7px!important;
  color:#7a8892!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}

/* ---------- Withdrawal ledger empty state ---------- */
.artist-portal .rsx-withdraw-history{
  min-height:0!important;
}
.artist-portal .rsx-withdraw-history .rsx-empty{
  min-height:118px!important;
  margin:0!important;
  padding:25px 20px!important;
  border:0!important;
  border-radius:0 0 14px 14px!important;
  background:linear-gradient(180deg,#fbfcfd,#f7f9fa)!important;
  color:#657681!important;
  font-size:11px!important;
  box-shadow:none!important;
}
.artist-portal .rsx-withdraw-history .rsx-empty::before{
  content:"";
  width:34px;
  height:34px;
  margin-bottom:2px;
  border-radius:50%;
  background:radial-gradient(circle at 50% 45%,#d5ad5d 0 3px,#fff 4px 100%);
  border:1px solid #e0e6ea;
  box-shadow:0 4px 12px rgba(21,43,57,.06);
}
.artist-portal .rsx-withdraw-history .rsx-empty::after{
  content:"New payout requests and completed payments will appear here.";
  display:block;
  margin-top:4px;
  color:#8a969f;
  font-size:9.5px;
  line-height:1.45;
}

/* ---------- Responsive ---------- */
@media(max-width:700px){
  .artist-portal .meta-form .upload-box{
    min-height:150px!important;
    margin:16px 16px 0!important;
    padding:24px 15px 22px!important;
  }
  .artist-portal .meta-form .upload-box strong{max-width:94%!important;font-size:13px!important;}
  .artist-portal .meta-form .upload-box>span{font-size:10px!important;}
  .artist-portal .meta-form .rsf-pro-upload-progress{
    margin:11px 16px 0!important;
    padding:12px 13px 11px!important;
  }
  .artist-portal .rsx-withdraw-history>header{
    padding:15px 16px!important;
  }
  .artist-portal .rsx-withdraw-history .rsx-empty{
    min-height:100px!important;
    padding:22px 14px!important;
  }
}
