/* ChaCha20加密工具特定样式 */
.text-icon.chacha {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 适配 Header 中的控制栏 */
.header .controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .header .controls {
    flex-wrap: wrap;
    height: auto;
    min-height: auto;
    padding: 10px 0;
  }
  
  .header {
    height: auto;
    min-height: 64px;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 12px;
  }
}

/* 针对 ChaCha20 的特殊间距调整 */
#aadContainer.hidden {
  display: none;
}



.pill-input label {
  color: #e5e7eb;
}

.light-theme .pill-input label {
  color: #111827;
}

.light-theme .pill-input input {
  color: #1e293b;
}

/* 图标按钮样式 */
.icon-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.light-theme .icon-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}

.light-theme .icon-btn:hover {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

.panel-actions .data-type-label {
  color: #6b7280;
  font-size: 11px;
  white-space: nowrap;
}

.light-theme .panel-actions .data-type-label {
  color: #64748b;
}
