/* 全局样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 侧边栏 */
.sidebar .nav-link {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 0;
}

.sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
  color: #fff !important;
}

/* 主内容区 */
.main-content {
  margin-left: 220px;
  min-height: 100vh;
}

/* 卡片 */
.card {
  border-radius: 0.5rem;
}

.stat-card {
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
}

/* 统计数字 */
.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
}

/* 状态徽章 */
.status-badge {
  font-size: 0.75rem;
}

/* Quill 编辑器 */
#editor-container {
  min-height: 400px;
}

.ql-editor {
  min-height: 400px;
  font-size: 15px;
}

/* 表格 */
.table > :not(caption) > * > * {
  padding: 0.75rem 0.5rem;
}

/* 账号卡片 */
.account-card {
  cursor: pointer;
  transition: all 0.2s;
}

.account-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 响应式 */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .main-content {
    margin-left: 0;
  }
}

/* Toast 提示 */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}
