/* 鼎校AI - 公共样式文件 */

/* 全局蓝绿色主题 */
body {
  background: linear-gradient(135deg, #e8f8f5 0%, #d1f2eb 50%, #a3e4d7 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  min-height: 100vh;
}

/* 主导航栏样式 */
.am-topbar {
  background: linear-gradient(135deg, #48CAE4 0%, #4ECDC4 50%, #20B2AA 100%) !important;
  border-bottom: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 2px 20px rgba(72, 202, 228, 0.3);
}

.am-topbar-brand a {
  color: white !important;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.am-nav-pills .am-active a,
.am-nav-pills .am-active a:hover,
.am-nav-pills .am-active a:focus {
  background: rgba(255,255,255,0.2) !important;
  color: white !important;
  border-radius: 20px;
}

.am-topbar-nav > li > a {
  color: rgba(255,255,255,0.9) !important;
  transition: all 0.3s ease;
}

.am-topbar-nav > li > a:hover {
  background: rgba(255,255,255,0.15) !important;
  color: white !important;
  border-radius: 20px;
}

/* 下拉菜单样式 */
.am-dropdown-content {
  background: rgba(255,255,255,0.98) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(72, 202, 228, 0.2);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 使用更高权重的选择器确保下拉菜单文字颜色正确 */
.am-topbar .am-dropdown-content li a,
.am-dropdown-content li a {
  color: #5a6c7d !important;
  transition: all 0.3s ease;
  text-decoration: none;
}

.am-topbar .am-dropdown-content li a:hover,
.am-dropdown-content li a:hover {
  background: linear-gradient(135deg, rgba(72, 202, 228, 0.1) 0%, rgba(32, 178, 170, 0.1) 100%) !important;
  color: #20B2AA !important;
  text-decoration: none;
}

.am-topbar .am-dropdown-content .am-dropdown-header,
.am-dropdown-content .am-dropdown-header {
  color: #20B2AA !important;
  font-weight: 600;
  text-decoration: none;
}

/* 确保下拉菜单内容可见性 */
.am-dropdown-content li {
  background: transparent !important;
}

.am-dropdown-content li a:visited {
  color: #5a6c7d !important;
}

/* 页脚样式 */
.footer p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  padding: 20px 0;
  text-align: center;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.footer a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #48CAE4;
  text-decoration: none;
}

/* 响应式导航按钮 */
.am-topbar-btn {
  border: 2px solid rgba(255,255,255,0.3) !important;
  background: rgba(255,255,255,0.1) !important;
  color: white !important;
}

.am-topbar-btn:hover {
  background: rgba(255,255,255,0.2) !important;
  border-color: rgba(255,255,255,0.5) !important;
} 