.csc-wrapper {
  max-width: 760px;
  margin: 40px auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
}

.csc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.csc-header {
  text-align: center;
  margin-bottom: 32px;
}

.csc-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.csc-subtitle {
  font-size: 15px;
  color: #64748b;
  line-height: 1.5;
}

.csc-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 48px 24px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.25s ease;
}

.csc-dropzone:hover, .csc-dropzone.dragover {
  border-color: #2563eb;
  background: #eff6ff;
}

.csc-drop-icon {
  color: #3b82f6;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.csc-main-text {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.csc-sub-text {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.csc-btn-browse {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
}

.csc-note {
  display: inline-block;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

.csc-loading {
  text-align: center;
  padding: 48px 20px;
}

.csc-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: csc-spin 0.8s linear infinite;
  margin: 0 auto 16px auto;
}

@keyframes csc-spin {
  to { transform: rotate(360deg); }
}

.csc-result-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 28px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.csc-shutter-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 600;
}

.csc-shutter-number {
  font-size: 46px;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
}

.csc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.csc-info-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px 20px;
  border-radius: 10px;
}

.csc-info-lbl {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.csc-info-val {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.csc-actions, .csc-error {
  text-align: center;
}

.csc-btn-reset {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.csc-btn-reset:hover {
  background: #1d4ed8;
}

.csc-error {
  padding: 32px 20px;
}

#csc-error-msg {
  color: #dc2626;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .csc-card {
    padding: 24px 18px;
  }
  .csc-info-grid {
    grid-template-columns: 1fr;
  }
  .csc-shutter-number {
    font-size: 38px;
  }
}
