/* Base64工具特定样式 */
.converter-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

@media (max-width: 768px) {
  .converter-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.input-section, .output-section {
  display: flex;
  flex-direction: column;
}

.section-label {
  font-weight: 600;
  color: #34495e;
  margin-bottom: 8px;
  font-size: 13px;
}

.textarea {
  width: 100%;
  min-height: 200px;
  padding: 12px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  resize: vertical;
  transition: all 0.2s ease;
  background: white;
  line-height: 1.5;
}

.textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.textarea:read-only {
  background: #f8f9fa;
  color: #6c757d;
}

.convert-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.file-upload {
  margin-top: 12px;
}

.file-input {
  display: none;
}

.file-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  color: #495057;
  text-align: center;
  width: 100%;
  justify-content: center;
}

.file-label:hover {
  background: #e9ecef;
  border-color: #667eea;
  color: #667eea;
}

.file-label.dragover {
  background: #e8f4fd;
  border-color: #667eea;
  color: #667eea;
}

.file-info {
  margin-top: 8px;
  font-size: 12px;
  color: #6c757d;
  text-align: center;
}