
.cc-upload *, .cc-upload *::before, .cc-upload *::after { box-sizing: border-box; }
.cc-upload { font-family: inherit; color: #0f172a; 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(37,99,235,0.06) 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: #0f172a !important; line-height: 1.15 !important; letter-spacing: -0.02em; margin: 0 0 14px !important; }
.cc-upload .cc-hero h1 .cc-accent { background: linear-gradient(135deg, #2563eb, #16a34a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cc-upload .cc-hero .cc-sub { font-size: clamp(16px, 2vw, 19px); color: #475569; max-width: 540px; margin: 0 auto 10px; line-height: 1.55; }
.cc-upload .cc-hero .cc-lock { font-size: 13.5px; color: #94a3b8; }
.cc-upload .cc-hero .cc-lock span { color: #64748b; font-weight: 600; }
.cc-upload .cc-meter-wrap { max-width: 600px; margin: 32px auto 28px; background: #f8fafc; border: 1px solid #e2e8f0; 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: #475569; }
.cc-upload .cc-meter-label .cc-meter-status { font-size: 13px; font-weight: 800; color: #94a3b8; transition: color 0.3s; }
.cc-upload .cc-meter-bar { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.cc-upload .cc-meter-fill { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, #2563eb, #16a34a); transition: width 0.5s ease; }
.cc-upload .cc-meter-hint { font-size: 12px; color: #94a3b8; 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 #cbd5e1; 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: #2563eb; border-style: solid; background: #eff6ff; }
.cc-upload .cc-zone-optional { border: 2px dashed #e2e8f0; background: #f8fafc; }
.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 #e2e8f0; background: #f8fafc; }
.cc-upload .cc-zone-optional2:hover, .cc-upload .cc-zone-optional2.cc-active { border-color: #7c3aed; border-style: solid; background: #f5f3ff; }
.cc-upload .cc-zone-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.cc-upload .cc-zone-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.cc-upload .cc-zone-meta { flex: 1; }
.cc-upload .cc-zone-meta h3 { font-size: 15px !important; font-weight: 700 !important; color: #0f172a !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: #2563eb; 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: #f5f3ff; color: #7c3aed; border: 1px solid #ddd6fe; padding: 2px 8px; border-radius: 999px; }
.cc-upload .cc-zone-meta p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.5; }
.cc-upload .cc-zone-state { display: flex; align-items: center; justify-content: space-between; gap: 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: #2563eb; color: #fff; }
.cc-upload .cc-zone-required .cc-zone-btn:hover { background: #1d4ed8; }
.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: #f5f3ff; color: #7c3aed; border: 1px solid #ddd6fe; }
.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; gap: 6px; margin-top: 10px; }
.cc-upload .cc-fmt { background: #f1f5f9; color: #64748b; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid #e2e8f0; }
.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: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff !important; padding: 17px 40px; border-radius: 12px; font-size: 17px; font-weight: 700; border: none; cursor: pointer; font-family: inherit; transition: all 0.2s; box-shadow: 0 4px 16px rgba(37,99,235,0.35); width: 100%; }
.cc-upload #cc-analyze-btn:not(:disabled):hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.4); }
.cc-upload #cc-analyze-btn:disabled { background: #cbd5e1; 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: #334155; 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: #e2e8f0; 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, #2563eb, #16a34a, #2563eb); 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: 12.5px; color: #64748b; font-weight: 600; }
.cc-upload .cc-next-section { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; padding: 36px 32px; }
.cc-upload .cc-next-section h3 { font-size: 18px !important; font-weight: 700 !important; color: #0f172a !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: linear-gradient(135deg, #2563eb, #1d4ed8); 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(37,99,235,0.28); }
.cc-upload .cc-step .cc-si { font-size: 26px; }
.cc-upload .cc-step h4 { font-size: 14px !important; font-weight: 700 !important; color: #0f172a !important; margin: 0 !important; }
.cc-upload .cc-step p { font-size: 13px; color: #475569; margin: 0; line-height: 1.5; }
@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; }
}
