
/* CSS变量 - 现代化主题色彩系统 */
:root {
  /* 主色调 */
  --primary-color: #667eea;
  --primary-light: #764ba2;
  --primary-dark: #4c63d2;
  
  /* 渐变色 */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  
  /* 中性色 */
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --background-primary: #ffffff;
  --background-secondary: #f7fafc;
  --background-tertiary: #edf2f7;
  
  /* 阴影系统 */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* 圆角系统 */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* 间距系统 */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* 动画时长 */
  --transition-fast: 0.15s;
  --transition-normal: 0.3s;
  --transition-slow: 0.5s;
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 现代化字体系统 */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--background-secondary);
  line-height: 1.6;
  font-size: 14px;
  color: var(--text-primary);
  transition: background-color var(--transition-normal) ease, color var(--transition-normal) ease;
}

/* 主应用容器 - 现代化设计 */
#app {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  transition: background-color var(--transition-normal) ease, color var(--transition-normal) ease, box-shadow var(--transition-fast) ease;
}

/* 玻璃态效果基类 */
.glass-effect {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}

/* 现代化卡片效果 */
.modern-card {
  background: var(--background-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-normal) ease, transform var(--transition-normal) ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.modern-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Element UI 现代化样式覆盖 */
.el-input__inner {
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  transition: border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease, background-color var(--transition-fast) ease;
  font-size: 14px;
  padding: 12px 16px;
}
.el-input__inner:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.el-button {
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: background-color var(--transition-fast) ease, color var(--transition-fast) ease, box-shadow var(--transition-fast) ease, transform var(--transition-fast) ease;
  padding: 12px 24px;
}
.el-button--primary {
  background: var(--gradient-primary);
  border-color: transparent;
}
.el-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  opacity: 0.9;
}
.el-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal) ease;
}
.el-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* 现代化滚动条样式 - 白底蓝色边框 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}
::-webkit-scrollbar-thumb {
  background: #ffffff;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-sm);
  -webkit-transition: background-color var(--transition-fast) ease, border-color var(--transition-fast) ease;
  transition: background-color var(--transition-fast) ease, border-color var(--transition-fast) ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #f8fafc;
  border-color: var(--primary-dark);
  transform: scale(1.05);
}

/* 现代化动画效果 */
@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}
@keyframes pulse {
0%, 100% {
    opacity: 1;
}
50% {
    opacity: 0.5;
}
}
@keyframes shimmer {
0% {
    background-position: -200px 0;
}
100% {
    background-position: calc(200px + 100%) 0;
}
}

/* 通用动画类 */
.fade-in-up {
  animation: fadeInUp var(--transition-slow) ease-out;
}
.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* 响应式设计增强 */
@media (max-width: 768px) {
body {
    font-size: 13px;
}
.el-button {
    padding: 10px 20px;
}
.el-input__inner {
    padding: 10px 14px;
}
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
:root {
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --background-primary: #2d3748;
    --background-secondary: #4a5568;
    --background-tertiary: #718096;
}
body {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}
}

/* 政务风格通用样式 */
/* 政务风格的设计应体现以下几个关键词：权威感、清爽、严谨、易读性强、无干扰。蓝白色是政务界面最常见配色，强调“清正、公信、科技感”。
最终风格总结
属性	建议
视觉基调	蓝白简约，少动画
色彩层次	主蓝 + 淡蓝背景 + 白
字体	“思源黑体”或系统 sans-serif
圆角/阴影	统一 rounded-md / shadow-sm
间距	px-4 py-3 / gap-6 较为紧凑但有条理
图标风格	线性图标、浅蓝强调 */

/* ==================== 防溢出全局规则 ==================== */
* {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

/* ==================== 政务风格色彩变量 ==================== */
:root {
  /* 主色调 - 政务蓝 */
  --gov-primary: #1e40af;
  --gov-primary-light: #3b82f6;
  --gov-primary-lighter: #60a5fa;
  --gov-primary-lightest: #dbeafe;
  --gov-primary-dark: #1e3a8a;

  /* 背景色 */
  --gov-bg-primary: #ffffff;
  --gov-bg-secondary: #f8fafc;
  --gov-bg-tertiary: #f1f5f9;
  --gov-bg-glass: rgba(255, 255, 255, 0.85);

  /* 文字色 */
  --gov-text-primary: #1e293b;
  --gov-text-secondary: #475569;
  --gov-text-tertiary: #64748b;
  --gov-text-light: #94a3b8;

  /* 边框色 */
  --gov-border-primary: #e2e8f0;
  --gov-border-secondary: #cbd5e1;
  --gov-border-glass: rgba(226, 232, 240, 0.6);

  /* 渐变色 */
  --gov-gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  --gov-gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --gov-gradient-hover: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);

  /* 阴影 */
  --gov-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --gov-shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --gov-shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --gov-shadow-blue: 0 4px 15px rgba(59, 130, 246, 0.15);

  /* 圆角 */
  --gov-radius-sm: 0.125rem;
  --gov-radius-base: 0.25rem;
  --gov-radius-md: 0.375rem;
  --gov-radius-lg: 0.75rem;
  --gov-radius-xl: 1rem;

  /* 字体 */
  --gov-font-family: "Source Han Sans CN", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==================== 布局组件样式 ==================== */

/* 整体布局 */
.gov-layout {
  min-height: 100vh;
  background: var(--gov-bg-secondary);
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--gov-font-family);
  display: flex;
  flex-direction: column;
}

/* 头部导航栏 - 真正悬浮政务风格 */
.gov-header {
  background: var(--gov-bg-glass);
  border: 2px solid var(--gov-primary);
  box-shadow: var(--gov-shadow-blue), var(--gov-shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 1.25rem 2rem;
  margin: 0;
  width: 100%;
  min-height: 4.5rem;
  position: fixed;
  top: 0.75rem;
  left: 1.5rem;
  right: 1.5rem;
  width: calc(100% - 3rem);
  z-index: 1000;
  backdrop-filter: blur(8px) saturate(200%);
  -webkit-backdrop-filter: blur(8px) saturate(200%);
  border-radius: var(--gov-radius-xl);
  transition: all 0.3s ease;
  box-sizing: border-box;
  overflow: visible;
}
.gov-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Logo 区域 */
.gov-logo-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.25rem 0;
  min-width: 200px;
  flex-shrink: 0;
}
.gov-logo {
  height: 4rem;
  width: auto;
  display: block;
  padding: 0.5rem;
  border-radius: var(--gov-radius-lg);
  transition: all 0.3s ease;
}
.gov-title {
  font-size: 25px;
  font-weight: 800;
  display: inline-block;
  background-image: linear-gradient(45deg,
    #1e40af,
    #3b82f6,
    #60a5fa,
    #1e40af);
  background-clip: text;
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: Gradient 7s ease infinite;
  margin: 0;
  letter-spacing: 0.025em;
  text-align: left;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}
@keyframes Gradient {
0% {
    background-position: 0% 50%;
}
50% {
    background-position: 100% 50%;
}
100% {
    background-position: 0% 50%;
}
}

/* 导航栏 */
.gov-nav-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
  max-width: calc(100vw - 600px);
  overflow: visible;
  padding: 0.25rem 0;
}

/* 导航项包装器 */
.gov-nav-item-wrapper {
  position: relative;
  display: inline-block;
}
.gov-nav-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: var(--gov-primary);
  text-decoration: none;
  border-radius: var(--gov-radius-md);
  font-size: 1.0625rem; /* 17px */
  font-weight: 500;
  position: relative;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  font-family: var(--gov-font-family);
  white-space: nowrap;
  flex-shrink: 0;
}
.gov-nav-item:hover {
  background: var(--gov-gradient-hover);
  color: var(--gov-primary);
  border-color: rgba(30, 64, 175, 0.2);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--gov-shadow-blue), var(--gov-shadow-md);
  z-index: 10;
}
.gov-nav-item:hover i {
  color: var(--gov-primary);
}

/* 下拉菜单样式 */
.gov-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gov-bg-primary);
  border-radius: var(--gov-radius-lg);
  box-shadow: var(--gov-shadow-lg), var(--gov-shadow-blue);
  border: 1px solid var(--gov-border-glass);
  min-width: 220px;
  padding: 0.75rem 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.5rem;
  backdrop-filter: blur(8px);
}

/* 悬停时显示下拉菜单 */
.gov-nav-item-wrapper:hover .gov-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 下拉菜单项样式 */
.gov-dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--gov-text-primary);
  text-decoration: none;
  font-size: 0.9375rem; /* 15px */
  font-weight: 400;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  position: relative;
}
.gov-dropdown-item:hover {
  background: var(--gov-gradient-hover);
  color: var(--gov-primary);
  border-left-color: var(--gov-primary);
  transform: translateX(4px);
}
.gov-dropdown-item.active {
  background: linear-gradient(90deg, var(--gov-primary-lightest) 0%, rgba(30, 64, 175, 0.08) 100%);
  color: var(--gov-primary);
  border-left-color: var(--gov-primary);
  font-weight: 600;
}
.gov-dropdown-item i {
  font-size: 1.0625rem;
  width: 1.25rem;
  text-align: center;
  color: var(--gov-primary-light);
}
.gov-dropdown-item:hover i,
.gov-dropdown-item.active i {
  color: var(--gov-primary);
}

/* 下拉菜单分隔线 */
.gov-dropdown-item:not(:last-child) {
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* 响应式设计 */
@media (max-width: 1199px) {
.gov-dropdown-menu {
    min-width: 180px;
    padding: 0.5rem 0;
}
.gov-dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}
}
@media (max-width: 768px) {
.gov-nav-item-wrapper:hover .gov-dropdown-menu {
    display: none; /* 在移动端隐藏下拉菜单，避免触摸设备的问题 */
}
}
.gov-nav-item.active {
  background: rgba(0, 47, 167, 0.15);
  color: rgb(0, 47, 167);
  border-color: rgba(0, 47, 167, 0.3);
  box-shadow: 0 4px 12px rgba(0, 47, 167, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 5;
}
.gov-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: rgb(0, 47, 167);
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.gov-nav-item i {
  font-size: 1.125rem;
  color: rgba(0, 47, 167, 0.8);
  transition: all 0.25s ease;
}
.gov-nav-item.active i {
  color: rgb(0, 47, 167);
}

/* 主内容区域 */
.gov-main-content {
  background: var(--gov-bg-primary);
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ==================== 通知铃铛hover效果 ==================== */
.notification-bell-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.notification-bell-wrapper:hover {
  background-color: rgba(30, 64, 175, 0.08);
}
.notification-bell-wrapper:hover .bell-icon {
  color: var(--gov-primary) !important;
}

/* ==================== 用户头像组件 ==================== */
.gov-user-avatar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--gov-radius-xl);
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--gov-font-family);
}
.gov-user-avatar:hover {
  background-color: rgba(30, 64, 175, 0.06);
  border-color: rgba(30, 64, 175, 0.25);
  transform: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* 统一由父容器 hover 触发头像圆环高光，避免双重状态抖动 */
.gov-user-avatar:hover .gov-avatar-circle {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
  transform: none;
}
.gov-avatar-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}
.gov-avatar-circle:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
  transform: none;
}
.gov-avatar-circle.large {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.375rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 3px 12px rgba(59, 130, 246, 0.3);
}

/* Element UI 下拉菜单美化 */
.el-dropdown-menu {
  background: var(--gov-bg-primary) !important;
  border: 1px solid var(--gov-border-glass) !important;
  border-radius: var(--gov-radius-lg) !important;
  box-shadow: var(--gov-shadow-lg), var(--gov-shadow-blue) !important;
  padding: 0.5rem 0 !important;
  min-width: 200px !important;
  backdrop-filter: blur(8px) !important;
  margin-top: 0.5rem !important;
}


/* hover效果增强 - 移除这些样式，让Element UI自己处理显示隐藏 */
/* 注释掉这些样式，因为Element UI会自己管理下拉菜单的显示状态 */
/*
.el-dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  visibility: hidden;
}

.el-dropdown:hover .el-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
*/

/* 下拉菜单用户信息头部 */
.gov-user-info-header {
  background: var(--gov-gradient-secondary) !important;
  padding: 1rem 1.25rem !important;
  border-bottom: 1px solid var(--gov-border-secondary) !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.gov-user-info-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gov-border-primary), transparent);
}
.gov-user-details {
  text-align: left;
}
.gov-username {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--gov-text-primary);
  letter-spacing: 0.025em;
}
.gov-role {
  font-size: 0.875rem;
  color: var(--gov-text-secondary);
  padding: 0.25rem 0.75rem;
  background: rgba(30, 64, 175, 0.1);
  border-radius: 1rem;
  display: inline-block;
  font-weight: 500;
}

/* 下拉菜单项美化 */
.el-dropdown-menu .el-dropdown-menu__item {
  padding: 0.75rem 1.25rem !important;
  font-size: 0.875rem !important;
  color: var(--gov-text-primary) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-weight: 500 !important;
  transition: all 0.25s ease !important;
  border-radius: 0 !important;
  margin: 0 0.5rem !important;
  border-radius: var(--gov-radius-base) !important;
}
.el-dropdown-menu .el-dropdown-menu__item:hover {
  background: var(--gov-gradient-hover) !important;
  color: var(--gov-primary) !important;
  transform: translateX(4px) !important;
}
.el-dropdown-menu .el-dropdown-menu__item:hover i {
  color: var(--gov-primary) !important;
}
.el-dropdown-menu .el-dropdown-menu__item:last-child {
  border-bottom: none !important;
}
.el-dropdown-menu .el-dropdown-menu__item i {
  font-size: 1rem !important;
  width: 1.25rem !important;
  text-align: center !important;
  color: var(--gov-primary-light) !important;
}

/* 退出登录项特殊样式 */
.gov-logout-item {
  color: #dc2626 !important;
  border-top: 1px solid var(--gov-border-secondary) !important;
  margin-top: 0.5rem !important;
  padding-top: 0.75rem !important;
}
.gov-logout-item:hover {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.1) 0%, rgba(248, 113, 113, 0.05) 100%) !important;
  color: #dc2626 !important;
}
.gov-logout-item i {
  color: #dc2626 !important;
}

/* ==================== 底栏样式 ==================== */
.gov-footer {
  background: var(--gov-bg-secondary);
  color: var(--gov-text-tertiary);
  text-align: center;
  padding: 1.5rem 2rem;
  margin-top: auto;
  border-top: 1px solid var(--gov-border-secondary);
  font-size: 0.875rem;
  font-family: var(--gov-font-family);
}
.gov-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.gov-footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.gov-footer-link {
  color: var(--gov-text-tertiary);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}
.gov-footer-link:hover {
  background-color: rgba(30, 64, 175, 0.1);
  color: var(--gov-primary);
}
.gov-footer-copyright {
  color: var(--gov-text-light);
  font-size: 0.8125rem;
}

/* ==================== 响应式设计 ==================== */

/* 大屏幕优化 (1200px+) */
@media (min-width: 1200px) {
.gov-nav-bar {
    gap: 2rem;
}
.gov-nav-item {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    gap: 0.75rem;
}
}

/* 中等屏幕 (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 769px) {
.gov-header {
    padding: 1.25rem 1.5rem 1.75rem 1.5rem;
    top: 0.75rem;
    left: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
}
.gov-nav-bar {
    gap: 1rem;
    max-width: calc(100vw - 500px);
    padding: 0.375rem 0;
}
.gov-nav-item {
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    gap: 0.5rem;
}
.gov-title {
    font-size: 1.375rem;
}
}

/* 小屏幕 (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
.gov-header {
    padding: 1rem 1rem 1.5rem 1rem;
    top: 0.5rem;
    left: 0.75rem;
    right: 0.75rem;
    width: calc(100% - 1.5rem);
    min-height: 5rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    overflow: visible;
}
.gov-logo-section {
    min-width: auto;
    gap: 0.5rem;
}
.gov-title {
    font-size: 1.125rem;
}
.gov-logo {
    height: 2.5rem;
    padding: 0.5rem;
}
.gov-nav-bar {
    gap: 0.75rem;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.25rem 0;
    overflow: visible;
}
.gov-nav-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    gap: 0.375rem;
}
.gov-nav-item i {
    font-size: 1.1rem;
}
.gov-footer-content {
    flex-direction: column;
    text-align: center;
}
}

/* 超小屏幕 (≤480px) */
@media (max-width: 480px) {
.gov-header {
    padding: 0.75rem 0.75rem 1.25rem 0.75rem;
    top: 0.25rem;
    left: 0.5rem;
    right: 0.5rem;
    width: calc(100% - 1rem);
    min-height: 4rem;
    flex-direction: column;
    gap: 0.5rem;
    overflow: visible;
}
.gov-logo-section {
    min-width: auto;
    gap: 0.375rem;
    justify-content: center;
}
.gov-title {
    font-size: 1rem;
}
.gov-logo {
    height: 2rem;
    padding: 0.25rem;
}
.gov-nav-bar {
    gap: 0.5rem;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.25rem 0;
    overflow: visible;
}
.gov-nav-item {
    padding: 0.5rem 0.625rem;
    font-size: 0.9rem;
    gap: 0.25rem;
    min-width: auto;
}
.gov-nav-item i {
    font-size: 0.95rem;
}

  /* 移动端用户区域优化 */
.gov-user-section {
    gap: 0.5rem;
}
.gov-avatar-circle {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.95rem;
}
.gov-footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
}
.gov-footer-links {
    gap: 1rem;
    justify-content: center;
}
}

/* ==================== 通用工具类 ==================== */
.gov-text-primary { color: var(--gov-text-primary);
}
.gov-text-secondary { color: var(--gov-text-secondary);
}
.gov-text-tertiary { color: var(--gov-text-tertiary);
}
.gov-text-light { color: var(--gov-text-light);
}
.gov-bg-primary { background-color: var(--gov-bg-primary);
}
.gov-bg-secondary { background-color: var(--gov-bg-secondary);
}
.gov-bg-tertiary { background-color: var(--gov-bg-tertiary);
}
.gov-border { border: 1px solid var(--gov-border-primary);
}
.gov-border-secondary { border: 1px solid var(--gov-border-secondary);
}
.gov-shadow-sm { box-shadow: var(--gov-shadow-sm);
}
.gov-shadow-md { box-shadow: var(--gov-shadow-md);
}
.gov-rounded { border-radius: 0.5rem;
}
.gov-rounded-lg { border-radius: 0.75rem;
}

/* 通用工具类 */
.text-primary { color: var(--gov-text-primary) !important;
}
.text-secondary { color: var(--gov-text-secondary) !important;
}
.text-tertiary { color: var(--gov-text-tertiary) !important;
}
.text-blue { color: var(--gov-primary) !important;
}
.bg-primary { background-color: var(--gov-bg-primary) !important;
}
.bg-secondary { background-color: var(--gov-bg-secondary) !important;
}
.bg-blue { background-color: var(--gov-primary) !important;
}
.border-primary { border-color: var(--gov-border-primary) !important;
}
.border-secondary { border-color: var(--gov-border-secondary) !important;
}
.shadow-sm { box-shadow: var(--gov-shadow-sm) !important;
}
.shadow-md { box-shadow: var(--gov-shadow-md) !important;
}
.shadow-lg { box-shadow: var(--gov-shadow-lg) !important;
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
}

/* 汉堡按钮：默认隐藏（在小屏显示） */
.gov-hamburger { display: none; background: transparent; border: 1px solid rgba(30,64,175,0.2); border-radius: 10px; padding: 6px 10px; color: var(--gov-primary);
}
.gov-hamburger:hover { background: rgba(30,64,175,0.06);
}
@media (max-width: 768px) and (min-width: 481px) {
  /* 小屏：隐藏主导航，显示汉堡 */
.gov-nav-bar { display: none;
}
.gov-hamburger { display: inline-flex; align-items: center; justify-content: center;
}
}
@media (max-width: 480px) {
  /* 超小屏：同上 */
.gov-nav-bar { display: none;
}
.gov-hamburger { display: inline-flex; align-items: center; justify-content: center;
}
}

/* 导入政务风格通用样式 */
.footerdlg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.footerdlg-dialog {
  width: 560px;
  max-width: calc(100vw - 40px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.12) inset;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  animation: footerdlg-pop-in 140ms cubic-bezier(.21,.9,.21,1.02);
}
@keyframes footerdlg-pop-in {
from { transform: translateY(6px) scale(.98); opacity: 0;
}
to { transform: translateY(0) scale(1); opacity: 1;
}
}
.footerdlg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(59,130,246,.08), rgba(99,102,241,.08));
  border-bottom: 1px solid #e2e8f0;
}
.footerdlg-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #0f172a;
}
.footerdlg-close {
  border: none;
  background: transparent;
  padding: 6px;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
}
.footerdlg-close:hover { background: rgba(15,23,42,.06);
}
.footerdlg-body {
  padding: 16px;
  color: #334155;
}
.footerdlg-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 16px 16px;
}
.todo-capsule-btn {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .06s ease;
}
.todo-capsule-btn:active { transform: translateY(1px);
}
.todo-capsule-btn.primary {
  background-color: #2563eb;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .25);
}
.todo-capsule-btn.primary:hover { background-color: #1d4ed8; border-color: #1d4ed8;
}
.todo-capsule-btn.ghost {
  background-color: #ffffff;
  color: #1f2937;
  border-color: #e5e7eb;
}
.todo-capsule-btn.ghost:hover { background-color: #f9fafb;
}
.capsule-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  line-height: 1;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-align: center;
  border: 1px solid transparent;
}
.capsule-btn.primary {
  background-color: #409eff;
  border-color: #409eff;
  color: #fff;
}
.capsule-btn.primary:active {
  filter: brightness(0.95);
}


/* 导入政务风格通用样式 */

/* 修复固定导航栏导致的内容遮挡 */
.gov-layout {
  padding-top: 8rem; /* 导航栏实际高度：0.75rem(top) + 4.5rem(min-height) + 2.25rem(padding) + 0.5rem(额外空间) */
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.gov-main-content {
  margin-top: 0;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/* 移动端导航抽屉与遮罩样式（最小化） */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
  z-index: 3000;
}
.nav-drawer {
  width: min(86vw, 320px);
  height: 100%;
  background: #ffffff;
  box-shadow: -12px 0 40px rgba(2, 6, 23, 0.2);
  border-left: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  animation: drawer-in 160ms cubic-bezier(.21,.9,.21,1.02);
}
@keyframes drawer-in {
from { transform: translateX(8px); opacity: 0;
}
to { transform: translateX(0); opacity: 1;
}
}
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(90deg, rgba(59,130,246,.08), rgba(99,102,241,.08));
}
.nav-drawer-title { font-weight: 700; color: #0f172a;
}
.nav-drawer-close { border: none; background: transparent; padding: 6px; border-radius: 8px; color: #475569; cursor: pointer;
}
.nav-drawer-close:hover { background: rgba(15,23,42,.06);
}
.nav-drawer-body { padding: 8px 8px 16px; overflow-y: auto;
}
.nav-drawer-group { padding: 4px 6px;
}
.nav-drawer-item, .nav-drawer-subitem {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; text-decoration: none;
  color: #1f2937;
}
.nav-drawer-item:hover, .nav-drawer-subitem:hover { background: rgba(59,130,246,.08); color: #1e40af;
}
.nav-drawer-children { padding-left: 8px;
}

/* 用户区域样式 */
.gov-user-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* 通知铃铛包装器 */
.notification-bell-wrapper {
  display: flex;
  align-items: center;
}

/* 确保铃铛组件在头部的正确显示 */
.notification-bell-wrapper .notification-bell {
  position: relative;
}

/* 调整通知面板的z-index，确保在头部正确显示 */
.notification-bell-wrapper .notification-panel {
  z-index: 3000;
}

/* 右侧按钮样式优化 */
.gov-user-section .el-button {
  background: #ffffff !important;
  color: var(--gov-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 0.375rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}
.gov-user-section .el-button:hover {
  background: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}

/* 去除通知徽标 hover 浅色圆背景（Element 默认 badge/button 交互） */
.notification-bell-wrapper .el-badge,
.notification-bell-wrapper .el-badge__content,
.notification-bell-wrapper .el-button,
.notification-bell-wrapper .el-button:hover,
.notification-bell-wrapper .el-button:focus {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Logo 链接无装饰 */
.gov-logo-link {
  display: inline-flex;
  align-items: center;
}
.gov-logo-link,
.gov-logo-link:hover,
.gov-logo-link:focus {
  text-decoration: none;
}

/* 现代化密码弹窗（复刻 HomePage 新增待办弹窗风格） */
.pwd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

/* 退出登录确认弹窗（与密码弹窗风格一致） */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.confirm-dialog {
  width: 460px;
  max-width: calc(100vw - 40px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.12) inset;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  animation: confirm-pop-in 140ms cubic-bezier(.21,.9,.21,1.02);
}
@keyframes confirm-pop-in {
from { transform: translateY(6px) scale(.98); opacity: 0;
}
to { transform: translateY(0) scale(1); opacity: 1;
}
}
.confirm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(59,130,246,.08), rgba(99,102,241,.08));
  border-bottom: 1px solid #e2e8f0;
}
.confirm-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #0f172a;
}
.confirm-close {
  border: none;
  background: transparent;
  padding: 6px;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
}
.confirm-close:hover { background: rgba(15,23,42,.06);
}
.confirm-body { padding: 16px;
}
.confirm-message { margin: 6px 0 0; color: #334155;
}
.confirm-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 16px 16px;
  border-top: 1px solid #e2e8f0;
}
.confirm-btn {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .06s ease;
}
.confirm-btn:disabled { opacity: .6; cursor: not-allowed;
}
.confirm-btn:active { transform: translateY(1px);
}
.confirm-btn.danger { background-color: #dc2626; color: #fff; border-color: #dc2626; box-shadow: 0 2px 8px rgba(220, 38, 38, .25);
}
.confirm-btn.danger:hover { background-color: #b91c1c; border-color: #b91c1c;
}
.confirm-btn.ghost { background-color: #ffffff; color: #1f2937; border-color: #e5e7eb;
}
.confirm-btn.ghost:hover { background-color: #f9fafb;
}
.pwd-dialog {
  width: 520px;
  max-width: calc(100vw - 40px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.12) inset;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  animation: pwd-pop-in 140ms cubic-bezier(.21,.9,.21,1.02);
}
@keyframes pwd-pop-in {
from { transform: translateY(6px) scale(.98); opacity: 0;
}
to { transform: translateY(0) scale(1); opacity: 1;
}
}
.pwd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(59,130,246,.08), rgba(99,102,241,.08));
  border-bottom: 1px solid #e2e8f0;
}
.pwd-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #0f172a;
}
.pwd-close {
  border: none;
  background: transparent;
  padding: 6px;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
}
.pwd-close:hover { background: rgba(15,23,42,.06);
}
.pwd-body { padding: 16px;
}
.pwd-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 16px 16px;
  border-top: 1px solid #e2e8f0;
}
.pwd-btn {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .06s ease;
}
.pwd-btn:disabled { opacity: .6; cursor: not-allowed;
}
.pwd-btn:active { transform: translateY(1px);
}
.pwd-btn.primary { background-color: #2563eb; color: #fff; border-color: #2563eb; box-shadow: 0 2px 8px rgba(37, 99, 235, .25);
}
.pwd-btn.primary:hover { background-color: #1d4ed8; border-color: #1d4ed8;
}
.pwd-btn.ghost { background-color: #ffffff; color: #1f2937; border-color: #e5e7eb;
}
.pwd-btn.ghost:hover { background-color: #f9fafb;
}

/* 表单容器缩进与输入聚焦高亮（与 HomePage 保持一致） */
.pwd-form .el-form-item__label { color: #334155; font-weight: 600;
}
.pwd-form .el-input__inner {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  height: 38px;
}
.pwd-form .el-input__inner:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(59,130,246, .15);
}

/* 响应式调整 */
@media (max-width: 1199px) and (min-width: 769px) {
.gov-layout {
    padding-top: 6.5rem;
}
}
@media (max-width: 768px) and (min-width: 481px) {
.gov-layout {
    padding-top: 5.5rem;
}
.gov-user-section {
    gap: 0.5rem;
}
.notification-bell-wrapper .notification-panel {
    width: 280px;
    right: -10px;
}
}
@media (max-width: 480px) {
.gov-layout {
    padding-top: 4.5rem;
}
.gov-user-section {
    gap: 0.375rem;
}
.notification-bell-wrapper .notification-panel {
    width: 260px;
    right: -5px;
}
.gov-user-section .el-button {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
}
}

/**
 * flatNotify.css v1.0
 * 基于flatNotify的现代化通知样式
 * 适配Vue.js项目
 */

/* 基础容器样式 */
.f-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  text-align: left;
  width: 300px;
  min-height: 20px;
  padding: 20px 40px 20px 18px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-family: "Brandon Grotesque", Avenir, "Lato", sans-serif, "Microsoft YaHei", "微软雅黑";
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-out;
}

.f-notification:hover {
  opacity: 0.95 !important;
}

.f-notification:hover .f-close {
  background: rgba(77, 77, 79, 0.1);
}

/* 通知标题 */
.f-notification .f-notification-title {
  font-weight: 600;
  color: #4D4D4F;
  cursor: default;
  margin-bottom: 8px;
  font-size: 16px;
}

/* 通知内容 */
.f-notification .f-notification-inner {
  line-height: 1.4;
  word-wrap: break-word;
}

/* 关闭按钮 */
.f-notification .f-close {
  position: absolute;
  right: 15px;
  top: 20px;
  height: 20px;
  width: 20px;
  line-height: 18px;
  vertical-align: middle;
  text-align: center;
  border-radius: 20px;
  color: #4D4D4F;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: bold;
  transition: background 0.2s ease;
}

.f-notification .f-close:hover {
  background: rgba(77, 77, 79, 0.2);
}

/* 通知类型样式 */
.f-notification-success {
  background: #2ecc71;
}

.f-notification-error {
  background: #e74c3c;
}

.f-notification-warning {
  background: #f1c40f;
}

.f-notification-info {
  background: #3498db;
}

/* 显示动画 */
.f-show {
  opacity: 1;
  transform: translateX(0);
  animation-name: animSlideElastic;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

/* 隐藏动画 */
.f-hide {
  animation-name: animSlideOut;
  animation-duration: 0.5s;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}

/* 弹性滑入动画 */
@keyframes animSlideElastic {
  0% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1000, 0, 0, 1);
    opacity: 0;
  }
  3.333333% {
    transform: matrix3d(1.96989, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 521.82545, 0, 0, 1);
    opacity: 0.3;
  }
  6.666667% {
    transform: matrix3d(1.4235, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 218.3238, 0, 0, 1);
    opacity: 0.6;
  }
  10% {
    transform: matrix3d(1.08167, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 57.59273, 0, 0, 1);
    opacity: 0.8;
  }
  13.333333% {
    transform: matrix3d(0.99057, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -11.12794, 0, 0, 1);
    opacity: 0.9;
  }
  16.666667% {
    transform: matrix3d(0.98719, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -30.40503, 0, 0, 1);
    opacity: 0.95;
  }
  20% {
    transform: matrix3d(0.99541, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -28.10141, 0, 0, 1);
    opacity: 1;
  }
  23.333333% {
    transform: matrix3d(0.99936, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -19.40752, 0, 0, 1);
  }
  26.666667% {
    transform: matrix3d(1.00021, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -11.08575, 0, 0, 1);
  }
  30% {
    transform: matrix3d(1.00016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -5.23737, 0, 0, 1);
  }
  33.333333% {
    transform: matrix3d(1.00005, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.84893, 0, 0, 1);
  }
  36.666667% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.22079, 0, 0, 1);
  }
  40% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.37284, 0, 0, 1);
  }
  43.333333% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.46116, 0, 0, 1);
  }
  46.666667% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.35963, 0, 0, 1);
  }
  50% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.22487, 0, 0, 1);
  }
  53.333333% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.11734, 0, 0, 1);
  }
  56.666667% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.04909, 0, 0, 1);
  }
  60% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.01295, 0, 0, 1);
  }
  63.333333% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.0025, 0, 0, 1);
  }
  66.666667% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.00684, 0, 0, 1);
  }
  70% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.00632, 0, 0, 1);
  }
  73.333333% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.00436, 0, 0, 1);
  }
  76.666667% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.00249, 0, 0, 1);
  }
  80% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.00118, 0, 0, 1);
  }
  83.333333% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.00042, 0, 0, 1);
  }
  86.666667% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.00005, 0, 0, 1);
  }
  90% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.00008, 0, 0, 1);
  }
  93.333333% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.0001, 0, 0, 1);
  }
  96.666667% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.00008, 0, 0, 1);
  }
  100% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    opacity: 1;
  }
}

/* 滑出动画 */
@keyframes animSlideOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* 多个通知的层叠效果 */
.f-notification:nth-child(1) {
  z-index: 9999;
}

.f-notification:nth-child(2) {
  z-index: 9998;
  top: 80px;
}

.f-notification:nth-child(3) {
  z-index: 9997;
  top: 140px;
}

.f-notification:nth-child(4) {
  z-index: 9996;
  top: 200px;
}

.f-notification:nth-child(5) {
  z-index: 9995;
  top: 260px;
}

/* Loading 样式 */
.f-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.f-loading-content {
  background: white;
  padding: 20px 30px;
  border-radius: 5px;
  text-align: center;
  color: #333;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.f-loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .f-notification {
    width: 90%;
    right: 5%;
    left: 5%;
  }
}

/* 深色主题支持 */
@media (prefers-color-scheme: dark) {
  .f-notification .f-notification-title {
    color: #ffffff;
  }
  
  .f-notification .f-close {
    color: #ffffff;
  }
}
