/* 重置与基础样式 */
:root {
  --primary-color: #4a90e2;
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --spacing-unit: 1rem;
  --container-width: 1200px;
  --header-height: 80px;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-normal: 0 8px 24px rgba(0, 0, 0, 0.12);
  --blur-amount: 8px;
  --overlay-opacity: 0.2;
}

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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
  color: var(--text-primary);
}

#app {
  height: 100%;
}

/* 文本选择样式 */
::selection {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* 全局动画 */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-up-enter-active,
.slide-up-leave-active {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.slide-up-enter-from,
.slide-up-leave-to {
  transform: translateY(20px);
  opacity: 0;
}

/* Element Plus 全局样式覆盖 */
.el-button {
  border-radius: 8px;
}

.el-input__wrapper {
  border-radius: 8px !important;
}

.el-drawer__header {
  margin-bottom: 0 !important;
  padding: 20px 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.el-drawer__body {
  padding: 24px !important;
} 