/* HelloClaw 基础样式 - 龙虾红主题 */

:root {
  /* 主题色 - 龙虾红 */
  --color-primary: #ff5c5c;
  --color-primary-hover: #ff7070;
  --color-primary-light: rgba(255, 92, 92, 0.15);
  --color-primary-glow: rgba(255, 92, 92, 0.25);

  /* 背景色 */
  --color-background: #f5f5f5;
  --color-surface: #ffffff;

  /* 文字色 */
  --color-text: #333333;
  --color-text-secondary: #999999;

  /* 边框色 */
  --color-border: #f0f0f0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 覆盖 Ant Design 主题色 */
.ant-btn-primary {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.ant-btn-primary:hover {
  background-color: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
}

.ant-menu-item-selected {
  background-color: var(--color-primary-light) !important;
  color: var(--color-primary) !important;
}

.ant-menu-item-selected::after {
  border-color: var(--color-primary) !important;
}

.ant-tag-blue {
  background-color: var(--color-primary-light) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.ant-input:focus,
.ant-input-focused {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px var(--color-primary-glow) !important;
}

.ant-input-number:focus,
.ant-input-number-focused {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px var(--color-primary-glow) !important;
}

.ant-tabs-tab-active .ant-tabs-tab-btn {
  color: var(--color-primary) !important;
}

.ant-tabs-ink-bar {
  background: var(--color-primary) !important;
}

.ant-switch-checked {
  background-color: var(--color-primary) !important;
}
