
/* ==========================================================
   CANTAIMY v6.4.1 — Creator Studio responsive layout
   Scoped only to #upload.
   ========================================================== */

#upload{
  min-height:100dvh !important;
  background:
    radial-gradient(circle at 24% 18%,rgba(117,81,255,.09),transparent 30%),
    radial-gradient(circle at 76% 14%,rgba(0,232,255,.045),transparent 28%),
    #070319 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}

/* Compact, stable topbar */
#upload .std-topbar{
  position:sticky !important;
  top:0 !important;
  z-index:150 !important;
  min-height:62px !important;
  padding:12px clamp(22px,4.5vw,78px) !important;
  gap:24px !important;
}

#upload .std-topbar button{
  font-size:16px !important;
}

#upload .std-topbar h1{
  font-size:16px !important;
}

/* Main intro: smaller and tighter than other subpages */
#upload .page-head{
  width:min(1180px,calc(100vw - 96px)) !important;
  margin:0 auto !important;
  padding:34px 0 20px !important;
}

#upload .page-head .eyebrow{
  margin-bottom:8px !important;
  font-size:12px !important;
  letter-spacing:.16em !important;
}

#upload .page-head h1{
  margin:0 0 12px !important;
  font-size:clamp(48px,5vw,78px) !important;
  line-height:.98 !important;
  letter-spacing:-.045em !important;
}

#upload .page-head p{
  margin:0 !important;
  max-width:760px !important;
  font-size:18px !important;
  line-height:1.4 !important;
}

/* Royalty notice and form share same content width */
#upload .royalty-notice{
  width:min(1180px,calc(100vw - 96px)) !important;
  max-width:none !important;
  margin:0 auto 18px !important;
  padding:16px 18px !important;
  border-radius:18px !important;
  align-items:flex-start !important;
}

#upload .royalty-notice-icon{
  width:42px !important;
  height:42px !important;
  flex:0 0 42px !important;
}

#upload .royalty-notice strong{
  font-size:17px !important;
}

#upload .royalty-notice p{
  font-size:14px !important;
  line-height:1.48 !important;
  margin-top:5px !important;
}

/* Form container */
#upload .upload-card{
  width:min(1180px,calc(100vw - 96px)) !important;
  max-width:none !important;
  margin:0 auto 54px !important;
  padding:24px 26px 26px !important;
  border-radius:22px !important;
  background:rgba(15,10,48,.78) !important;
  border:1px solid rgba(120,92,255,.28) !important;
}

/* Balanced 2-column form */
#upload .form-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px 20px !important;
}

#upload .upload-card label{
  min-width:0 !important;
  gap:7px !important;
  font-size:14px !important;
  font-weight:600 !important;
  color:#c9cce0 !important;
}

#upload .upload-card input,
#upload .upload-card select,
#upload .upload-card textarea{
  width:100% !important;
  min-width:0 !important;
  height:48px !important;
  padding:0 14px !important;
  border-radius:11px !important;
  border:1px solid rgba(116,116,170,.42) !important;
  background:#09081e !important;
  color:#fff !important;
  font-size:14px !important;
  outline:none !important;
}

#upload .upload-card textarea{
  height:auto !important;
  min-height:108px !important;
  padding:12px 14px !important;
  resize:vertical !important;
}

#upload .upload-card input:focus,
#upload .upload-card select:focus,
#upload .upload-card textarea:focus{
  border-color:rgba(0,232,255,.55) !important;
  box-shadow:0 0 0 3px rgba(0,232,255,.07) !important;
}

/* File inputs: remove browser-default ugly white button */
#upload input[type="file"]{
  padding:7px 9px !important;
  height:48px !important;
  line-height:32px !important;
}

#upload input[type="file"]::file-selector-button{
  height:32px;
  margin-right:10px;
  padding:0 12px;
  border:0;
  border-radius:8px;
  background:linear-gradient(90deg,#6d4cff,#b63dff);
  color:#fff;
  font:700 12px/1 Inter,Arial,sans-serif;
  cursor:pointer;
}

/* Description + declaration */
#upload .wide{
  margin-top:18px !important;
}

#upload .check{
  display:flex !important;
  flex-direction:row !important;
  align-items:flex-start !important;
  gap:10px !important;
  margin:18px 0 14px !important;
  font-size:13px !important;
  line-height:1.45 !important;
  color:#b7bdd1 !important;
}

#upload .check input[type="checkbox"]{
  width:17px !important;
  height:17px !important;
  min-width:17px !important;
  flex:0 0 17px !important;
  margin-top:1px !important;
  padding:0 !important;
}

/* Progress + submit */
#upload .upload-progress{
  height:7px !important;
  margin:14px 0 !important;
}

#upload .primary{
  min-height:44px !important;
  padding:0 20px !important;
  font-size:14px !important;
}

/* Full-HD / laptop */
@media(max-height:820px) and (min-width:1000px){
  #upload .page-head{
    padding-top:24px !important;
    padding-bottom:16px !important;
  }

  #upload .page-head h1{
    font-size:58px !important;
  }

  #upload .page-head p{
    font-size:16px !important;
  }

  #upload .royalty-notice{
    padding:13px 15px !important;
    margin-bottom:14px !important;
  }

  #upload .royalty-notice p{
    font-size:13px !important;
  }

  #upload .upload-card{
    padding:20px 22px 22px !important;
  }

  #upload .form-grid{
    gap:13px 18px !important;
  }

  #upload .upload-card input,
  #upload .upload-card select{
    height:44px !important;
  }
}

/* Tablet */
@media(max-width:900px){
  #upload .page-head,
  #upload .royalty-notice,
  #upload .upload-card{
    width:calc(100vw - 36px) !important;
  }

  #upload .form-grid{
    grid-template-columns:1fr !important;
  }

  #upload .page-head{
    padding-top:26px !important;
  }

  #upload .page-head h1{
    font-size:clamp(42px,11vw,64px) !important;
  }
}

/* Mobile */
@media(max-width:560px){
  #upload .std-topbar{
    padding:11px 16px !important;
    gap:14px !important;
  }

  #upload .page-head,
  #upload .royalty-notice,
  #upload .upload-card{
    width:calc(100vw - 28px) !important;
  }

  #upload .royalty-notice{
    flex-direction:column !important;
  }

  #upload .upload-card{
    padding:18px 16px 20px !important;
  }
}
