
.cc-upload *, .cc-upload *::before, .cc-upload *::after { box-sizing: border-box; }
.cc-upload { font-family: inherit; color: #1c1917; max-width: 860px; margin: 0 auto; padding: 40px 24px 80px; }
.cc-upload .cc-hero { text-align: center; padding: 56px 20px 48px; background: radial-gradient(ellipse at 20% 50%, rgba(180,83,9,0.08) 0%, transparent 55%), radial-gradient(ellipse at 80% 50%, rgba(22,163,74,0.06) 0%, transparent 55%); border-radius: 32px; margin-bottom: 36px; }
.cc-upload .cc-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #f0fdf4; color: #15803d; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 18px; border-radius: 999px; border: 1px solid #bbf7d0; margin-bottom: 24px; }
.cc-upload .cc-eyebrow span { width: 8px; height: 8px; background: #16a34a; border-radius: 50%; animation: cc-pulse 1.8s ease-in-out infinite; }
@keyframes cc-pulse { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:0.5;transform:scale(1.4);} }
.cc-upload .cc-hero h1 { font-size: clamp(28px, 4.5vw, 52px) !important; font-weight: 800 !important; color: #1c1917 !important; line-height: 1.15 !important; letter-spacing: -0.02em; margin: 0 0 14px !important; }
.cc-upload .cc-hero h1 .cc-accent { color: var(--color-brand); background: none; -webkit-text-fill-color: var(--color-brand); }
.cc-upload .cc-hero .cc-sub { font-size: clamp(17px, 2vw, 19px); color: #3f3a36; max-width: 560px; margin: 0 auto 10px; line-height: 1.55; }
.cc-upload .cc-hero .cc-lock { font-size: 14px; color: #44403c; font-weight: 600; }
.cc-upload .cc-hero .cc-lock span { color: #166534; font-weight: 800; }
.cc-upload .cc-meter-wrap { max-width: 600px; margin: 32px auto 28px; background: #faf8f5; border: 1px solid #e8e2d9; border-radius: 16px; padding: 20px 24px; }
.cc-upload .cc-meter-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cc-upload .cc-meter-label span { font-size: 13px; font-weight: 700; color: #3f3a36; }
.cc-upload .cc-meter-label .cc-meter-status { font-size: 13px; font-weight: 800; color: #44403c; transition: color 0.3s; }
.cc-upload .cc-meter-bar { height: 8px; background: #e8e2d9; border-radius: 999px; overflow: hidden; }
.cc-upload .cc-meter-fill { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--color-brand), #16a34a); transition: width 0.5s ease; }
.cc-upload .cc-meter-hint { font-size: 13px; color: #44403c; margin-top: 8px; text-align: center; min-height: 18px; }
.cc-upload .cc-zones { max-width: 600px; margin: 0 auto 32px; display: flex; flex-direction: column; gap: 14px; }
.cc-upload .cc-zone { border-radius: 18px; padding: 24px 22px; cursor: pointer; transition: all 0.22s; position: relative; }
.cc-upload .cc-zone-required { border: 2.5px dashed #d6d3d1; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.cc-upload .cc-zone-required:hover, .cc-upload .cc-zone-required.cc-active { border-color: var(--color-brand); border-style: solid; background: var(--color-sagewash); }
.cc-upload .cc-zone-optional { border: 2px dashed #e8e2d9; background: #faf8f5; }
.cc-upload .cc-zone-optional:hover, .cc-upload .cc-zone-optional.cc-active { border-color: #16a34a; border-style: solid; background: #f0fdf4; }
.cc-upload .cc-zone-optional2 { border: 2px dashed #e8e2d9; background: #faf8f5; }
.cc-upload .cc-zone-optional2:hover, .cc-upload .cc-zone-optional2.cc-active { border-color: var(--color-brand); border-style: solid; background: var(--color-sagewash); }
.cc-upload .cc-zone-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.cc-upload .cc-zone-icon { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--color-sagewash); color: var(--color-brand); }
.cc-upload .cc-zone-icon svg { width: 22px; height: 22px; }
.cc-upload .cc-zone-optional .cc-zone-icon, .cc-upload .cc-zone-optional2 .cc-zone-icon { background: #faf8f5; }
.cc-upload .cc-zone-meta { flex: 1; }
.cc-upload .cc-zone-meta h3 { font-size: 15px !important; font-weight: 700 !important; color: #1c1917 !important; margin: 0 0 4px !important; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-upload .cc-badge-req { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; background: var(--color-brand); color: #fff; padding: 2px 8px; border-radius: 999px; }
.cc-upload .cc-badge-rec { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; padding: 2px 8px; border-radius: 999px; }
.cc-upload .cc-badge-opt { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; background: var(--color-sagewash); color: var(--color-brand-dark); border: 1px solid #fed7aa; padding: 2px 8px; border-radius: 999px; }
.cc-upload .cc-zone-meta p { font-size: 14px; color: #3f3a36; margin: 0; line-height: 1.5; }
.cc-upload .cc-zone-state { display: flex; align-items: flex-start; flex-wrap: nowrap; gap: 8px 12px; }
.cc-upload .cc-zone-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; border: none; cursor: pointer; font-family: inherit; transition: all 0.2s; flex-shrink: 0; }
.cc-upload .cc-zone-required .cc-zone-btn { background: var(--color-brand); color: #fff; }
.cc-upload .cc-zone-required .cc-zone-btn:hover { background: var(--color-brand-dark); }
.cc-upload .cc-zone-optional .cc-zone-btn { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.cc-upload .cc-zone-optional2 .cc-zone-btn { background: var(--color-sagewash); color: var(--color-brand-dark); border: 1px solid #fed7aa; }
.cc-upload .cc-file-name { font-size: 12px; color: #15803d; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; display: none; }
.cc-upload .cc-zone.cc-active .cc-file-name { display: block; }
.cc-upload .cc-formats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0; flex: 1 1 auto; min-width: 0; }
.cc-upload .cc-zone.cc-active .cc-formats { display: none; }
.cc-upload .cc-fmt { background: #f5f0e8; color: #78716c; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid #e8e2d9; }
.cc-upload .cc-submit-wrap { max-width: 600px; margin: 0 auto 16px; text-align: center; }
.cc-upload #cc-analyze-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #15803d; color: #fff !important; padding: 17px 40px; border-radius: 12px; font-size: 17px; font-weight: 800; border: none; cursor: pointer; font-family: inherit; transition: all 0.2s; box-shadow: 0 4px 16px rgba(21,128,61,0.28); width: 100%; }
.cc-upload #cc-analyze-btn:not(:disabled):hover { background: #166534; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,128,61,0.35); }
.cc-upload #cc-analyze-btn:disabled { background: #d6d3d1; cursor: not-allowed; box-shadow: none; transform: none; }
.cc-upload #cc-status { font-size: 14px; text-align: center; margin-top: 12px; font-weight: 500; color: #44403c; min-height: 20px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cc-upload #cc-status.cc-err { color: #dc2626; }
.cc-upload .cc-loading-bar { display: none; height: 4px; background: #e8e2d9; border-radius: 999px; max-width: 600px; margin: 12px auto 0; overflow: hidden; }
.cc-upload .cc-bar-fill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--color-brand), #16a34a, var(--color-brand)); background-size: 200% 100%; border-radius: 999px; animation: cc-shimmer 1.8s linear infinite; }
@keyframes cc-shimmer { 0%{background-position:200% 0}100%{background-position:-200% 0} }
.cc-upload.cc-loading .cc-zones, .cc-upload.cc-loading .cc-submit-wrap { opacity: 0.5; pointer-events: none; }
.cc-upload.cc-loading .cc-loading-bar { display: block; }
.cc-upload .cc-trust-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 44px; }
.cc-upload .cc-trust-badge { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #3f3a36; font-weight: 700; }
.cc-upload .cc-next-section { background: #faf8f5; border: 1px solid #e8e2d9; border-radius: 20px; padding: 36px 32px; }
.cc-upload .cc-next-section h3 { font-size: 18px !important; font-weight: 700 !important; color: #1c1917 !important; text-align: center; margin: 0 0 28px !important; }
.cc-upload .cc-next-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cc-upload .cc-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.cc-upload .cc-step .cc-sn { width: 44px; height: 44px; background: var(--color-brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 4px 10px rgba(154,52,18,0.28); }
.cc-upload .cc-step .cc-si { display: none; }
.cc-upload .cc-step h4 { font-size: 14px !important; font-weight: 700 !important; color: #1c1917 !important; margin: 0 !important; }
.cc-upload .cc-step p { font-size: 13px; color: #57534e; margin: 0; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .cc-upload .cc-eyebrow span, .cc-upload .cc-bar-fill { animation: none; }
}
@media (max-width: 640px) {
  .cc-upload { padding: 20px 16px 60px; }
  .cc-upload .cc-hero { padding: 40px 14px 36px; }
  .cc-upload .cc-next-steps { grid-template-columns: 1fr; gap: 20px; }
  .cc-upload .cc-next-section { padding: 28px 20px; }
  .cc-upload .cc-trust-row { gap: 14px; }
  .cc-upload .cc-fmt { padding: 2px 7px; font-size: 10px; }
}
