/* =========================================================
   OSBEATS CREATOR STUDIO
   UPLOAD BEAT POLISH V2

   Scope:
   Upload Beat tab ONLY.

   No upload logic, API behavior, pricing logic,
   entitlements, or validation is changed.
   ========================================================= */


/* ---------------------------------------------------------
   CLEAN PAGE SHELL
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"] #upload{
  background:transparent !important;
  border:0 !important;

  padding:0 !important;

  width:100% !important;
  max-width:none !important;

  color:#111318 !important;
}


/*
  The Creator Studio toolbar already tells the user
  "Upload Beat", so remove the duplicate page heading.
*/

body[data-creator-studio-view="upload"]
#upload > .section-kicker,

body[data-creator-studio-view="upload"]
#upload > h2{
  display:none !important;
}


/* ---------------------------------------------------------
   INTRO / NEW RELEASE CARD
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
.upload-beat-intro{
  margin:0 0 16px !important;

  padding:17px 20px !important;

  background:
    linear-gradient(
      110deg,
      #0b0d11 0%,
      #101318 72%,
      #25060a 100%
    ) !important;

  border:1px solid #2e333c !important;
  border-left:4px solid #9d0912 !important;

  box-shadow:
    0 8px 24px rgba(0,0,0,.08) !important;
}


body[data-creator-studio-view="upload"]
.upload-beat-intro > span{
  color:#e01424 !important;

  font-size:10px !important;
  font-weight:900 !important;

  letter-spacing:.12em !important;
}


body[data-creator-studio-view="upload"]
.upload-beat-intro strong{
  margin-top:5px !important;

  color:#fff !important;

  font-size:17px !important;
  line-height:1.3 !important;
}


body[data-creator-studio-view="upload"]
.upload-beat-intro small{
  margin-top:5px !important;

  color:#aeb5c0 !important;

  font-size:11px !important;
  line-height:1.5 !important;
}


/* ---------------------------------------------------------
   STEP CARDS
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
.upload-form-section{
  position:relative !important;

  margin:0 0 14px !important;

  padding:20px !important;

  background:#f8f7f4 !important;

  border:1px solid #cbc9c4 !important;
  border-left:4px solid #73070B !important;

  box-shadow:
    0 5px 18px rgba(18,20,24,.06) !important;
}


body[data-creator-studio-view="upload"]
.upload-form-section:first-of-type{
  border-top:1px solid #cbc9c4 !important;
}


body[data-creator-studio-view="upload"]
.upload-form-heading{
  margin:0 0 16px !important;

  padding-bottom:10px !important;

  border-bottom:1px solid #dedbd5 !important;
}


body[data-creator-studio-view="upload"]
.upload-form-heading > span{
  display:inline-flex !important;

  align-items:center !important;

  min-height:22px !important;

  padding:0 8px !important;

  background:#73070B !important;

  color:#fff !important;

  font-size:9px !important;
  font-weight:900 !important;

  letter-spacing:.10em !important;
}


body[data-creator-studio-view="upload"]
.upload-form-heading h3{
  margin:7px 0 0 !important;

  color:#111318 !important;

  font-size:20px !important;
  line-height:1.2 !important;
}


/* ---------------------------------------------------------
   FIELD GRID
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
.field-grid{
  display:grid !important;

  grid-template-columns:
    repeat(2,minmax(0,1fr)) !important;

  gap:15px 18px !important;

  width:100% !important;
}


body[data-creator-studio-view="upload"]
.field.full{
  grid-column:1 / -1 !important;
}


body[data-creator-studio-view="upload"]
.field > label{
  display:block !important;

  margin:0 0 7px !important;

  color:#464b55 !important;

  font-size:12px !important;
  font-weight:900 !important;
}


body[data-creator-studio-view="upload"]
.field > label b{
  color:#b20c17 !important;
}


/* ---------------------------------------------------------
   INPUTS / SELECTS / TEXTAREA
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
.field input:not([type="checkbox"]):not([type="radio"]),

body[data-creator-studio-view="upload"]
.field select,

body[data-creator-studio-view="upload"]
.field textarea{
  width:100% !important;

  box-sizing:border-box !important;

  min-height:48px !important;

  padding:11px 13px !important;

  background:#090b0f !important;

  border:1px solid #353a44 !important;

  color:#fff !important;

  border-radius:0 !important;

  font-size:14px !important;

  transition:
    border-color .15s ease,
    box-shadow .15s ease,
    background .15s ease !important;
}


body[data-creator-studio-view="upload"]
.field textarea{
  min-height:100px !important;

  line-height:1.5 !important;
}


body[data-creator-studio-view="upload"]
.field input:focus,

body[data-creator-studio-view="upload"]
.field select:focus,

body[data-creator-studio-view="upload"]
.field textarea:focus{
  outline:none !important;

  border-color:#b20c17 !important;

  box-shadow:
    0 0 0 2px rgba(178,12,23,.13) !important;

  background:#0d0f14 !important;
}


body[data-creator-studio-view="upload"]
.field-help,

body[data-creator-studio-view="upload"]
.field small{
  display:block !important;

  margin-top:5px !important;

  color:#707680 !important;

  font-size:9px !important;
  line-height:1.45 !important;
}


/* ---------------------------------------------------------
   SCHEDULED RELEASE
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
.scheduled-release-field{
  margin-top:3px !important;

  padding:13px !important;

  background:#f1efeb !important;

  border:1px solid #d6d2cb !important;
  border-left:4px solid #73070B !important;
}


body[data-creator-studio-view="upload"]
.membership-feature-tag{
  margin-left:6px !important;

  padding:3px 6px !important;

  background:#73070B !important;

  color:#fff !important;

  font-size:8px !important;
}


/* ---------------------------------------------------------
   PURCHASE OPTIONS
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
.upload-option-row{
  display:grid !important;

  grid-template-columns:
    repeat(4,minmax(0,1fr)) !important;

  gap:9px !important;

  padding:12px !important;

  background:#0c0e12 !important;

  border:1px solid #303640 !important;
}


body[data-creator-studio-view="upload"]
.upload-option-row label{
  position:relative !important;

  display:flex !important;

  align-items:center !important;

  min-height:62px !important;

  padding:12px !important;

  background:#11141a !important;

  border:1px solid #414751 !important;

  color:#fff !important;

  cursor:pointer !important;

  transition:
    background .15s ease,
    border-color .15s ease,
    transform .15s ease !important;
}


body[data-creator-studio-view="upload"]
.upload-option-row label:hover{
  border-color:#8c0a12 !important;

  background:#171319 !important;
}


body[data-creator-studio-view="upload"]
.upload-option-row label:has(input:checked){
  background:
    linear-gradient(
      125deg,
      #1a0c10 0%,
      #31070b 70%,
      #72070c 100%
    ) !important;

  border-color:#c20d19 !important;

  box-shadow:
    inset 3px 0 0 #d7101d !important;
}


body[data-creator-studio-view="upload"]
.upload-option-row input[type="checkbox"]{
  width:18px !important;
  height:18px !important;

  min-width:18px !important;

  accent-color:#b20c17 !important;
}


/* ---------------------------------------------------------
   SALE / PROMOTION
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
.upload-sale-box,

body[data-creator-studio-view="upload"]
.sale-box{
  overflow:hidden !important;

  padding:0 !important;

  background:#0c0e12 !important;

  border:1px solid #303640 !important;
}


body[data-creator-studio-view="upload"]
.upload-sale-toggle{
  min-height:62px !important;

  padding:13px 16px !important;

  background:
    linear-gradient(
      90deg,
      #101318 0%,
      #13151a 100%
    ) !important;

  border-bottom:1px solid #303640 !important;
}


body[data-creator-studio-view="upload"]
.upload-sale-toggle:hover{
  background:#171319 !important;
}


body[data-creator-studio-view="upload"]
.upload-sale-toggle > input{
  width:19px !important;
  height:19px !important;

  accent-color:#b20c17 !important;
}


body[data-creator-studio-view="upload"]
.upload-sale-toggle strong{
  color:#fff !important;

  font-size:13px !important;
}


body[data-creator-studio-view="upload"]
.upload-sale-toggle small{
  color:#9299a5 !important;

  font-size:9px !important;
}


body[data-creator-studio-view="upload"]
#uploadSaleFields{
  padding:16px !important;

  background:#0a0c10 !important;
}


body[data-creator-studio-view="upload"]
#uploadSaleFields.sale-fields-disabled{
  opacity:.48 !important;

  filter:none !important;
}


/* ---------------------------------------------------------
   ARTWORK + AUDIO
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
input[type="file"]{
  width:100% !important;

  min-height:50px !important;

  padding:7px !important;

  box-sizing:border-box !important;

  background:#090b0f !important;

  border:1px solid #353a44 !important;

  color:#c8cdd5 !important;
}


body[data-creator-studio-view="upload"]
input[type="file"]::file-selector-button{
  min-height:34px !important;

  margin-right:10px !important;

  padding:0 13px !important;

  background:
    linear-gradient(
      110deg,
      #73070B,
      #310609
    ) !important;

  border:1px solid #a60c15 !important;

  color:#fff !important;

  font-weight:900 !important;

  cursor:pointer !important;
}


body[data-creator-studio-view="upload"]
.file-selection{
  margin-top:6px !important;

  min-height:14px !important;

  color:#737984 !important;

  font-size:9px !important;
}


body[data-creator-studio-view="upload"]
.file-selection.selected{
  color:#14713a !important;

  font-weight:800 !important;
}


/* ---------------------------------------------------------
   FINAL PUBLISH BAR
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
.upload-actions-polished{
  display:flex !important;

  align-items:center !important;
  justify-content:space-between !important;

  gap:20px !important;

  margin:16px 0 0 !important;

  padding:16px 18px !important;

  background:
    linear-gradient(
      110deg,
      #0c0e12 0%,
      #111419 68%,
      #26060a 100%
    ) !important;

  border:1px solid #303640 !important;
  border-left:4px solid #a20a13 !important;
}


body[data-creator-studio-view="upload"]
.upload-actions-polished strong{
  color:#fff !important;

  font-size:14px !important;
}


body[data-creator-studio-view="upload"]
.upload-actions-polished small{
  margin-top:4px !important;

  color:#9ba2ae !important;

  font-size:9px !important;
}


body[data-creator-studio-view="upload"]
#uploadTrackButton{
  min-width:170px !important;
  min-height:50px !important;

  padding:0 22px !important;

  background:
    linear-gradient(
      110deg,
      #a10913 0%,
      #73070B 50%,
      #360508 100%
    ) !important;

  border:1px solid #c8101c !important;

  color:#fff !important;

  font-size:16px !important;
  font-weight:900 !important;

  cursor:pointer !important;

  box-shadow:
    0 5px 16px rgba(115,7,11,.18) !important;
}


body[data-creator-studio-view="upload"]
#uploadTrackButton:hover:not(:disabled){
  filter:brightness(1.13) !important;
}


body[data-creator-studio-view="upload"]
#uploadTrackButton:disabled{
  opacity:.6 !important;

  cursor:wait !important;
}


/* ---------------------------------------------------------
   STATUS MESSAGE
   --------------------------------------------------------- */

body[data-creator-studio-view="upload"]
#msg{
  margin-top:12px !important;

  padding:12px 14px !important;

  font-size:11px !important;

  border-radius:0 !important;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media(max-width:900px){

  body[data-creator-studio-view="upload"]
  .upload-option-row{
    grid-template-columns:
      repeat(2,minmax(0,1fr)) !important;
  }

}


@media(max-width:700px){

  body[data-creator-studio-view="upload"]
  .field-grid{
    grid-template-columns:1fr !important;
  }


  body[data-creator-studio-view="upload"]
  .field.full{
    grid-column:auto !important;
  }


  body[data-creator-studio-view="upload"]
  .upload-form-section{
    padding:15px !important;
  }


  body[data-creator-studio-view="upload"]
  .upload-actions-polished{
    align-items:stretch !important;

    flex-direction:column !important;
  }


  body[data-creator-studio-view="upload"]
  #uploadTrackButton{
    width:100% !important;
  }

}


@media(max-width:520px){

  body[data-creator-studio-view="upload"]
  .upload-option-row{
    grid-template-columns:1fr !important;
  }

}


/* END OSBEATS UPLOAD BEAT POLISH V2 */
