.config-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.config-label {
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
  white-space: nowrap;
  min-width: 80px;
}

.config-input-group {
  flex: 1;
}

.config-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 0;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.4);
  color: #e5e7eb;
  font-size: 14px;
  transition: all 0.15s ease;
}

.config-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* 结果展示样式 - 参考 MD5 工具 */
#conversionResults {
  width: 100%;
  padding: 16px;
  overflow-y: auto;
}

.md5-result-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(15, 23, 42, 0.3);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.md5-result-item:hover {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

.md5-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.md5-result-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.md5-result-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.md5-result-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.md5-result-copy svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

.md5-result-copy:hover {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.md5-result-value {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.05);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: "JetBrains Mono", "Fira Code", "Source Code Pro", monospace;
  font-size: 13px;
  color: #10b981;
  word-break: break-all;
  min-height: 48px;
  display: flex;
  align-items: center;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* 复制按钮成功状态 */
.md5-result-copy.success {
  border-color: #10b981 !important;
  background: #10b981 !important;
  color: #ffffff !important;
}

/* 亮色模式优化 */
.light-theme .config-label {
  color: #374151;
}

.light-theme .config-input {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #1f2937;
}

.light-theme .config-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.light-theme .md5-result-item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.light-theme .md5-result-item:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.light-theme .md5-result-label {
  color: #64748b;
}

.light-theme .md5-result-value {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #059669;
}

.light-theme .md5-result-copy {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #475569;
}

.light-theme .md5-result-copy:hover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

@media (max-width: 899px) {
  .config-row {
    flex-direction: column;
    align-items: stretch;
  }

  .config-label {
    min-width: auto;
  }
}
