/* 自定义字体和颜色 */
:root {
  --primary-color: #1D70B8; /* 北斗蓝色 */
  --secondary-color: #FF6B00; /* 北斗橙色 */
  --light-bg: #F9FBFD;
  --dark-text: #333333;
  --light-text: #8A8A8F;
  --border-color: #E5E5EA;
}

/* 页面容器样式，确保页面占满整个视口高度 */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark-text);
  background-color: #F2F2F7;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 页面主容器 */
.flex.flex-col.h-full {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 内容区域样式 */
.phone-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

/* 北斗大会特定样式 */
.beidou-gradient {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.beidou-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beidou-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease forwards;
}

/* 聊天界面特定样式 */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: calc(100vh - 110px); /* 减去状态栏、导航栏和标签栏的高度 */
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.chat-input-container {
  padding: 12px;
  border-top: 1px solid var(--border-color);
  background-color: #ffffff;
  display: flex;
  align-items: center;
}

.chat-input {
  flex: 1;
  border: none;
  border-radius: 18px;
  padding: 10px 15px;
  background-color: #F2F2F7;
  font-size: 16px;
  margin-right: 10px;
}

.chat-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(29, 112, 184, 0.3);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

/* 底部标签栏固定样式 */
.ios-tab-bar {
  position: sticky;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  border-top: 1px solid var(--border-color);
}

/* 聊天气泡样式 */
.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  margin-bottom: 8px;
  word-break: break-word;
  font-size: 15px;
  line-height: 1.4;
}

.bot-bubble {
  background-color: #F2F2F7;
  color: #333;
  border-top-left-radius: 4px;
}

.user-bubble {
  background-color: var(--primary-color);
  color: white;
  border-top-right-radius: 4px;
}

/* 议程卡片样式 */
.agenda-card {
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
}

.time-badge {
  background-color: rgba(29, 112, 184, 0.1);
  color: var(--primary-color);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* 用于首页模块展示的样式 */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px;
}

.module-card {
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.module-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

/* 用户头像样式 */
.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

/* 设置项样式 */
.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid rgba(229, 231, 235, 1);
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  color: #2563eb;
} 
.VPDoc.has-aside .content-container{
  max-width: 100% !important;
}

