.ico-header { margin-bottom: 24px; }
.ico-title { font-size: 28px; font-weight: 700; color: #111827; margin: 0 0 8px; }
.ico-desc { font-size: 15px; color: #6b7280; margin: 0; }

.ico-upload { padding: 24px; }
.ico-dropzone { border: 2px dashed #d1d5db; border-radius: 12px; padding: 48px 24px; text-align: center; cursor: pointer; transition: all 0.2s; }
.ico-dropzone:hover, .ico-dropzone.dragover { border-color: #3b82f6; background: #eff6ff; }
.ico-icon { width: 48px; height: 48px; color: #9ca3af; margin-bottom: 16px; }
.ico-dropzone:hover .ico-icon { color: #3b82f6; }
.ico-hint { font-size: 16px; font-weight: 500; color: #374151; margin: 0 0 8px; }
.ico-subhint { font-size: 13px; color: #9ca3af; margin: 0; }

.ico-preview { padding: 24px; }
.ico-preview h3 { font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.ico-preview h3 + .ico-original { margin-bottom: 24px; }
.ico-original { text-align: center; }
.ico-original img { max-width: 200px; max-height: 200px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.ico-original span { display: block; margin-top: 8px; font-size: 13px; color: #6b7280; }

.ico-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; margin-bottom: 20px; }
.ico-size-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.ico-size-item:hover { border-color: #3b82f6; background: #eff6ff; }
.ico-size-item input { margin: 0; }
.ico-size-item:has(input:checked) { border-color: #3b82f6; background: #eff6ff; color: #3b82f6; font-weight: 500; }

.ico-convert-btn { width: 100%; padding: 14px; background: #3b82f6; color: white; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.ico-convert-btn:hover { background: #2563eb; }
.ico-convert-btn:disabled { background: #9ca3af; cursor: not-allowed; }

.ico-result { padding: 24px; }
.ico-result h3 { font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.ico-icons-preview { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.ico-icon-item { text-align: center; }
.ico-icon-item img { display: block; margin-bottom: 4px; image-rendering: pixelated; }
.ico-icon-item span { font-size: 12px; color: #6b7280; }
.ico-download-btn { width: 100%; padding: 14px; background: #10b981; color: white; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.ico-download-btn:hover { background: #059669; }

.ico-guide { padding: 20px; }
.ico-guide h3 { font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.ico-guide-content { font-size: 14px; line-height: 1.8; color: #374151; }
.ico-guide-content h4 { font-size: 14px; font-weight: 600; margin: 16px 0 8px; }
.ico-guide-content ul { padding-left: 20px; }
.ico-guide-content li { margin: 4px 0; }

@media (max-width: 640px) {
    .ico-title { font-size: 22px; }
    .ico-sizes { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-color-scheme: dark) {
    .ico-size-item { background: #1f2937; border-color: #374151; }
    .ico-size-item:has(input:checked) { background: #1e3a5f; }
}
