*, *::before, *::after { box-sizing: border-box; }

.ic-wrapper { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; max-width: 860px; margin: 0 auto; padding: 20px 16px 40px; color: #1e293b; }

/* Header */
.ic-header { text-align: center; margin-bottom: 28px; }
.ic-badge { display: inline-block; background: #e0f2fe; color: #0369a1; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; margin-bottom: 10px; }
.ic-title { font-size: 2rem; font-weight: 800; color: #0f172a !important; margin: 0 0 8px; }
.ic-subtitle { font-size: 0.95rem; color: #64748b; margin: 0; }

/* Layout */
.ic-layout { display: flex; flex-direction: column; gap: 20px; }

/* Card */
.ic-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }

/* Pills */
.ic-quick-section { margin-bottom: 20px; }
.ic-quick-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin: 0 0 10px; }
.ic-info-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ic-pill { display: inline-flex; align-items: center; gap: 4px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 600; color: #475569; }
.ic-pill .dashicons { font-size: 14px; width: 14px; height: 14px; color: #0ea5e9; }

/* Step */
.ic-step { margin-bottom: 16px; }
.ic-step-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 10px; }
.ic-step-num { width: 24px; height: 24px; background: #0ea5e9; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }

/* Upload Zone */
.ic-upload-zone { border: 2px dashed #93c5fd; border-radius: 12px; background: #f0f9ff; padding: 36px 20px; text-align: center; cursor: pointer; transition: all .2s; }
.ic-upload-zone:hover, .ic-drag-over { border-color: #0ea5e9; background: #e0f2fe; }
.ic-upload-icon { margin-bottom: 10px; }
.ic-upload-icon .dashicons { font-size: 52px; width: 52px; height: 52px; color: #0ea5e9; display: block; margin: 0 auto; }
.ic-upload-text strong { color: #0ea5e9; font-size: 15px; }
.ic-upload-text span { font-size: 13px; color: #94a3b8; }

/* File Preview */
.ic-file-preview { display: flex; align-items: center; gap: 12px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px; padding: 12px 14px; margin-top: 12px; }
.ic-thumb-wrap { width: 52px; height: 52px; flex-shrink: 0; border-radius: 6px; overflow: hidden; border: 1px solid #7dd3fc; }
.ic-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ic-file-info { flex: 1; min-width: 0; }
.ic-file-name { font-size: 13px; font-weight: 700; color: #0369a1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-file-size { font-size: 12px; color: #0ea5e9; margin-top: 2px; }
.ic-remove-btn { background: #fee2e2; border: none; border-radius: 6px; width: 28px; height: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.ic-remove-btn:hover { background: #fecaca; }
.ic-remove-btn .dashicons { font-size: 16px; width: 16px; height: 16px; color: #dc2626; }

/* Quality Slider */
.ic-quality-step { margin-top: 4px; }
.ic-quality-row { display: flex; align-items: center; gap: 12px; }
.ic-quality-row input[type="range"] { flex: 1; accent-color: #0ea5e9; height: 6px; cursor: pointer; }
.ic-quality-val { font-size: 15px; font-weight: 800; color: #0ea5e9; width: 40px; text-align: right; }
.ic-quality-hints { display: flex; justify-content: space-between; font-size: 11px; color: #94a3b8; margin-top: 4px; }

/* Error */
.ic-field-error { color: #dc2626; font-size: 13px; font-weight: 600; margin: 8px 0 0; background: #fef2f2; border: 1px solid #fecaca; padding: 8px 12px; border-radius: 8px; }

/* Button */
.ic-calc-btn { width: 100%; padding: 14px; background: #0ea5e9; color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; transition: all .2s; }
.ic-calc-btn:hover { background: #0284C7; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(14,165,233,0.4); }
.ic-calc-btn .dashicons { font-size: 18px; width: 18px; height: 18px; }

/* Progress */
.ic-progress { margin-top: 16px; }
.ic-progress-bar { background: #e2e8f0; border-radius: 99px; height: 8px; overflow: hidden; }
.ic-progress-fill { height: 100%; background: linear-gradient(90deg, #0ea5e9, #38bdf8); border-radius: 99px; width: 0; transition: width .4s ease; }
.ic-progress-text { text-align: center; font-size: 13px; color: #64748b; margin-top: 8px; }

/* Result Card */
.ic-result-card { border-color: #bae6fd; }
.ic-result-hero { text-align: center; margin-bottom: 20px; }
.ic-result-icon .dashicons { font-size: 48px; width: 48px; height: 48px; color: #0ea5e9 !important; display: block; margin: 0 auto 8px; }
.ic-result-title { font-size: 1.4rem; font-weight: 800; color: #0369a1 !important; }

/* Compare */
.ic-compare { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.ic-compare-box { text-align: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 20px; min-width: 100px; }
.ic-compare-box--new { background: #f0f9ff !important; border-color: #bae6fd !important; }
.ic-compare-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; font-weight: 700; margin-bottom: 4px; }
.ic-compare-size { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.ic-compare-box--new .ic-compare-size { color: #0ea5e9 !important; }
.ic-compare-arrow .dashicons { font-size: 24px; width: 24px; height: 24px; color: #94a3b8; }

.ic-savings { text-align: center; font-size: 13px; font-weight: 700; color: #0369a1 !important; margin-bottom: 16px; background: #f0f9ff !important; border-radius: 8px; padding: 8px; }

.ic-download-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; background: #0ea5e9 !important; color: #fff !important; border-radius: 10px; font-size: 15px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; transition: all .2s; }
.ic-download-btn:hover { background: #0284c7 !important; color: #fff !important; text-decoration: none; transform: translateY(-2px); }
.ic-download-btn .dashicons { font-size: 18px; width: 18px; height: 18px; }

.ic-reset-btn { width: 100%; padding: 10px; background: #0ea5e9; border: none; border-radius: 10px; font-size: 13px; font-weight: 700; color: #fff; cursor: pointer; transition: all .2s; }
.ic-reset-btn:hover { background: #0284c7; }

/* Features */
.ic-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.ic-feature { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px 14px; text-align: center; }
.ic-feat-icon { margin-bottom: 8px; }
.ic-feat-icon .dashicons { font-size: 32px; width: 32px; height: 32px; color: #0ea5e9; display: block; margin: 0 auto; }
.ic-feat-title { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.ic-feat-desc { font-size: 12px; color: #64748b; line-height: 1.5; }

/* Dashicons base */
.ic-wrapper .dashicons { font-family: dashicons !important; speak: never; font-style: normal; font-weight: 400; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; }

/* Responsive */
@media (max-width: 600px) {
  .ic-features { grid-template-columns: repeat(2, 1fr); }
  .ic-compare { flex-direction: column; }
  .ic-compare-arrow .dashicons { transform: rotate(90deg); }
  .ic-title { font-size: 1.5rem; }
}
