.image-to-ico-converter {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  /*padding: 20px;*/
  box-sizing: border-box;
}

.converter-header {
  text-align: center;
  margin-bottom: 40px;
}

.converter-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 10px;
}

.converter-subtitle {
  font-size: 1.1rem;
  color: #718096;
  margin: 0;
}

.converter-body {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
}

.upload-section {
  border: 2px dashed #CBD5E0;
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.upload-section.drag-over {
  border-color: #4299E1;
  background-color: #EBF8FF;
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-icon {
  margin-bottom: 15px;
  color: #4A5568;
}

.upload-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 8px;
}

.upload-hint {
  color: #718096;
  margin-bottom: 20px;
}

.upload-btn {
  background: #4299E1;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.upload-btn:hover {
  background: #3182CE;
}

.preview-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.preview-image-container {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.remove-btn {
  background: #E53E3E;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.remove-btn:hover {
  background: #C53030;
}

.resolution-section {
  margin-bottom: 30px;
}

.resolution-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 8px;
}

.resolution-hint {
  color: #718096;
  margin-bottom: 20px;
}

.resolution-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.resolution-option {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: #F7FAFC;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #E2E8F0;
}

.resolution-option:hover {
  background: #EDF2F7;
  border-color: #CBD5E0;
}

.resolution-option input {
  margin-right: 10px;
  cursor: pointer;
}

/* VIP选项样式 */
.resolution-option.vip-option {
  background: linear-gradient(135deg, #fffbf0, #fff5e0);
  border-color: #f6d365;
  position: relative;
}

.resolution-option.vip-option:hover {
  background: linear-gradient(135deg, #fff5e0, #ffecc0);
  border-color: #fda085;
}

.resolution-option.vip-option .vip-badge {
  color: #fda085;
  font-size: 14px;
  margin-left: 6px;
}

.action-section {
  text-align: center;
}

.convert-btn {
  background: #38A169;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.convert-btn:hover {
  background: #2F855A;
}

.converter-footer {
  text-align: center;
  padding: 20px;
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .converter-body {
    padding: 20px;
  }
  
  .resolution-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .resolution-options {
    grid-template-columns: 1fr;
  }
}