/* 全局样式 - 情感陪伴与情绪疏导咨询师AI应用 */

:root {
  /* 主色调 -  calming blue */
  --primary-color: #5B8CDE;
  --primary-light: #8BB5F0;
  --primary-dark: #3A6BC4;
  
  /* 辅助色 - 柔和绿色 */
  --secondary-color: #7EC8A6;
  --secondary-light: #A8E6C3;
  
  /* 背景色 */
  --bg-primary: #F8F9FB;
  --bg-secondary: #FFFFFF;
  --bg-chat: #F0F2F5;
  
  /* 文字色 */
  --text-primary: #2C3E50;
  --text-secondary: #6B7C93;
  --text-light: #9CA8B7;
  
  /* 功能色 */
  --success-color: #52C41A;
  --warning-color: #FAAD14;
  --error-color: #FF4D4F;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* 过渡 */
  --transition: all 0.3s ease;
}

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

html, body, #root {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  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;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* 通用动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
}

/* 应用容器 */
.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
}

/* 应用主体：侧边栏 + 主内容区横向排列，撑满除页脚外的剩余高度 */
.app-body {
  display: flex;
  flex: 1;
  min-height: 0;
  width: 100%;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .app-container {
    box-shadow: none;
  }
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 140, 222, 0.4);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
  background: #E5E7EB;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
}

.btn-icon:hover {
  background: var(--bg-primary);
}

/* 输入框样式 */
.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: var(--transition);
  background: var(--bg-secondary);
}

.input-field:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(91, 140, 222, 0.1);
}

/* 卡片样式 */
.card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* 隐私标识 */
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(82, 196, 26, 0.1);
  color: var(--success-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* 加载动画 */
.loading-dots {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  color: var(--text-secondary);
}

.empty-state svg {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.empty-state p {
  font-size: 14px;
  max-width: 300px;
}

/* 响应式 */
@media (max-width: 480px) {
  :root {
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}
/* 应用特定样式 - 情感陪伴与情绪疏导咨询师AI */

/* ==================== 应用加载 ==================== */

.app-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: var(--bg-primary);
  color: var(--text-secondary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bg-chat);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 初始化错误状态 */
.init-error {
  margin-top: 24px;
  padding: 20px 28px;
  background: rgba(255, 77, 79, 0.08);
  border: 1px solid rgba(255, 77, 79, 0.25);
  border-radius: var(--radius-md);
  text-align: center;
  max-width: 420px;
  animation: fadeIn 0.3s ease;
}

.error-text {
  color: var(--error-color);
  font-size: 14px;
  word-break: break-all;
  margin-bottom: 8px !important;
}

.error-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px !important;
}

.retry-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.retry-buttons .btn {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.retry-buttons .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
}

.retry-buttons .btn-primary:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91, 140, 222, 0.3);
}

.retry-buttons .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.retry-buttons .btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid #E5E7EB;
}

.retry-buttons .btn-secondary:hover {
  background: #e8eaed;
}

/* ==================== 侧边栏 ==================== */

.sidebar {
  width: 300px;
  height: 100%;
  background: linear-gradient(180deg, #2C3E50 0%, #34495E 100%);
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease;
  color: white;
  position: relative;
  overflow: hidden;
}

.sidebar.collapsed {
  width: 70px;
}

.sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
}

.logo-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
}

.logo-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.collapse-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.collapse-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-action {
  padding: 16px;
}

.new-chat-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
  border: none !important;
  padding: 12px !important;
  font-size: 15px !important;
}

.new-chat-btn .icon {
  font-size: 20px;
  font-weight: bold;
}

/* 会话列表 */
/* 中间区域：仅做垂直填充与布局，不再加内边距，避免嵌套把 8px 内边距传染给专家按钮导致宽度不一致 */
.sidebar-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 4px;
}

/* 普通医生栏目：独立模块，占上半部分 */
.normal-module {
  flex: 1 1 calc(50% - 56px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.normal-sessions-region {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 8px;
}

/* 医生专家栏目：独立模块，占下半部分（比一半多一格），内部独立滚动 */
.expert-pinned-region {
  flex: 1 1 calc(50% + 56px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 专家对话列表：在专家栏目内部独立滚动 */
.expert-sessions-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 8px;
}

.session-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.session-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.session-item.active {
  background: rgba(91, 140, 222, 0.3);
}

.session-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.session-info {
  flex: 1;
  min-width: 0;
}

.session-title {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.session-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  opacity: 0.7;
}

.delete-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  opacity: 0;
  transition: var(--transition);
  font-size: 12px;
  padding: 4px !important;
}

.session-item:hover .delete-btn {
  opacity: 1;
}

.empty-sessions {
  text-align: center;
  padding: 40px 20px;
  opacity: 0.5;
}

/* 侧边栏底部 - 专家入口（绝对定位确保始终可见） */
.sidebar-footer {
  margin: 12px 0;
  padding: 14px 16px;
  border-top: 2px solid rgba(212, 175, 55, 0.5);
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.35) 100%);
  z-index: 10;
}

/* 专家入口 - 和顶部logo样式一致 */
.expert-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
}

.expert-entry:hover {
  background: rgba(212, 175, 55, 0.15);
}

.expert-entry.active {
  background: rgba(212, 175, 55, 0.2);
}

.expert-entry.active .expert-logo-text {
  color: #ffd700;
}

/* 专家logo - 和顶部logo样式一致 */
.expert-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
  flex: 1;
  min-width: 0;
}

.expert-logo-icon {
  display: flex;
  align-items: center;
}

.expert-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.5);
  transition: border-color 0.3s ease;
}

.expert-entry:hover .expert-avatar-img,
.expert-entry.active .expert-avatar-img {
  border-color: #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.expert-logo-text {
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
  transition: color 0.3s ease;
}

/* VIP徽章 */
.expert-badge {
  background: linear-gradient(135deg, #d4af37, #f0d060);
  color: #1a1a2e;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.sidebar-footer .privacy-badge {
  background: rgba(82, 196, 26, 0.2) !important;
  color: #7EC8A6 !important;
  align-self: flex-start;
}

.settings-btn {
  background: transparent !important;
  color: white !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 8px 12px !important;
}

/* ==================== 主聊天区域 ==================== */

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-chat);
}

.chat-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 聊天头部 */
.chat-header {
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.chat-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-refresh-btn {
  animation: none !important;
  transition: all 0.3s ease !important;
}

.header-refresh-btn:hover {
  transform: rotate(180deg) !important;
}

/* 聊天头部 - 专家模式按钮 */
.expert-mode-btn {
  background: linear-gradient(135deg, #D4AF37 0%, #F2D066 50%, #D4AF37 100%) !important;
  color: #1a1a2e !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  border: 2px solid #FFD700 !important;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4) !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.5px;
}

.expert-mode-btn:hover {
  background: linear-gradient(135deg, #FFD700 0%, #FFE44D 50%, #FFD700 100%) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.6) !important;
  transform: translateY(-1px) !important;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(126, 200, 166, 0.3);
}

.chat-header-info h2 {
  font-size: 18px;
  color: var(--text-primary);
  margin: 0;
}

.chat-header-info .status {
  font-size: 12px;
  color: var(--success-color);
  font-weight: 500;
}

/* 消息容器 */
.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 欢迎消息 */
.chat-welcome {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  animation: fadeIn 0.5s ease;
}

.chat-welcome p {
  margin-bottom: 8px;
  line-height: 1.8;
}

.chat-welcome .hint {
  background: rgba(91, 140, 222, 0.1);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 13px;
}

/* 消息样式 */
.message {
  display: flex;
  gap: 12px;
  animation: fadeIn 0.3s ease;
  max-width: 80%;
}

.user-message {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.assistant-message {
  align-self: flex-start;
}

.message-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: none;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.user-message .message-avatar {
  background: none;
}

.assistant-message .message-avatar {
  background: none;
  padding: 0;
}

.message-content {
  background: var(--bg-secondary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
}

.user-message .message-content {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
}

.message-role {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  opacity: 0.7;
}

.message-text {
  font-size: 15px;
  line-height: 1.6;
  word-wrap: break-word;
}

.message-text.streaming {
  min-height: 24px;
}

.cursor {
  display: inline-block;
  animation: pulse 1s infinite;
  font-weight: bold;
  color: var(--primary-color);
}

.message-time {
  font-size: 11px;
  opacity: 0.5;
  margin-top: 6px;
  text-align: right;
}

/* 消息操作按钮 - 始终显示 */
.message-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-end;
}

.message-action-btn {
  background: #f0f2f5 !important;
  border: none !important;
  padding: 5px 10px !important;
  cursor: pointer;
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.message-action-btn:hover {
  background: #e4e7ec !important;
  transform: scale(1.1);
}

.user-message .message-action-btn {
  background: rgba(255, 255, 255, 0.25) !important;
  color: white !important;
}

.user-message .message-action-btn:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

/* ==================== 输入区域 ==================== */

.input-container {
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid #E5E7EB;
}

.input-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.input-wrapper textarea {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  resize: none;
  min-height: 44px;
  max-height: 150px;
  transition: var(--transition);
  background: var(--bg-primary);
}

.input-wrapper textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(91, 140, 222, 0.1);
}

.input-wrapper textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.send-btn {
  height: 44px;
  min-width: 80px;
}

.input-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
}

.char-count {
  color: var(--text-light);
}

/* ==================== 欢迎屏幕 ==================== */

.welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  animation: fadeIn 0.5s ease;
  overflow-y: auto;
  min-height: 0;
}

.welcome-icon {
  margin-bottom: 24px;
  animation: pulse 2s infinite;
}

.welcome-avatar-img {
  width: 100px;
  height: 100px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(126, 200, 166, 0.4);
}

.welcome-screen h1 {
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.welcome-screen > p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.welcome-screen ul {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.welcome-screen ul li {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-primary);
}

.privacy-notice {
  background: rgba(82, 196, 26, 0.1);
  border: 2px solid var(--success-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
  max-width: 500px;
}

.privacy-notice h3 {
  color: var(--success-color);
  margin-bottom: 12px;
}

.privacy-notice p {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.services-notice {
  background: rgba(82, 196, 26, 0.1);
  border: 2px solid var(--success-color);
  border-radius: var(--radius-md);
  padding: 8px 11px;
  margin-bottom: 0;
  max-width: 500px;
}

.services-notice h3 {
  color: var(--success-color);
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.services-notice ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.services-notice li {
  margin-bottom: 5px;
}

.services-notice li:last-child {
  margin-bottom: 0;
}

.service-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1px;
  line-height: 1.4;
}

.service-desc {
  color: var(--text-secondary);
  line-height: 1.4;
}

.start-btn {
  font-size: 18px !important;
  padding: 16px 48px !important;
}

/* ==================== 设置面板 ==================== */

.settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.settings-panel {
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.settings-header {
  padding: 20px 24px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.settings-header h2 {
  font-size: 20px;
  margin: 0;
}

.settings-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.settings-section {
  margin-bottom: 32px;
}

.settings-section h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.settings-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.settings-desc a {
  color: var(--primary-color);
  text-decoration: none;
}

.setting-item {
  margin-bottom: 16px;
}

.setting-item label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.input-with-button {
  display: flex;
  gap: 8px;
}

.input-with-button .input-field {
  flex: 1;
}

.setting-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.test-result {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.6;
}

.test-result.success {
  background: rgba(82, 196, 26, 0.1);
  color: var(--success-color);
  border: 1px solid var(--success-color);
}

.test-result.error {
  background: rgba(255, 77, 79, 0.1);
  color: var(--error-color);
  border: 1px solid var(--error-color);
}

.test-result-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.test-result-content {
  flex: 1;
}

.test-result-content p {
  margin: 0;
  margin-bottom: 4px;
}

.test-result-content p:last-child {
  margin-bottom: 0;
}

.test-response {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.8;
}

/* 故障排除提示 */
.troubleshooting {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  border: 1px solid #E5E7EB;
}

.troubleshooting h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.troubleshooting ul {
  margin: 0;
  padding-left: 20px;
}

.troubleshooting ul li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.privacy-info {
  background: var(--bg-primary);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.privacy-info p {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.data-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.data-actions .btn {
  justify-content: flex-start;
}

.btn.danger {
  color: var(--error-color) !important;
}

.btn.danger:hover {
  background: rgba(255, 77, 79, 0.1) !important;
}

.about-info {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.disclaimer {
  background: rgba(250, 173, 20, 0.1);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  font-size: 13px;
}

/* 错误消息横幅 */
.error-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 77, 79, 0.1);
  border-bottom: 1px solid var(--error-color);
  color: var(--error-color);
  font-size: 14px;
}

.error-banner button {
  background: transparent;
  border: none;
  color: var(--error-color);
  cursor: pointer;
  font-size: 16px;
  padding: 4px 8px;
}

/* 欢迎屏幕改进 */
.welcome-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 600px;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.welcome-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.welcome-hint {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
}

/* 聊天提示 */
.chat-tips {
  background: rgba(91, 140, 222, 0.1);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  text-align: left;
  max-width: 400px;
}

.chat-tips h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.chat-tips ul {
  list-style: none;
  padding: 0;
}

.chat-tips ul li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.input-tip {
  font-size: 12px;
  color: var(--text-light);
}

/* 移动端侧边栏遮罩 */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.sidebar.mobile {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transform: translateX(-100%);
  box-shadow: var(--shadow-lg);
}

.sidebar.mobile:not(.collapsed) {
  transform: translateX(0);
}

.empty-hint {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 8px;
}

/* 设置面板关闭按钮 */
.settings-header .btn-icon {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 4px;
}

.settings-header .btn-icon:hover {
  background: var(--bg-primary);
}

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

@media (max-width: 768px) {
  .welcome-features {
    grid-template-columns: 1fr;
  }

  .message {
    max-width: 95%;
  }

  .welcome-screen {
    padding: 20px;
  }

  .welcome-screen h1 {
    font-size: 24px;
  }

  .welcome-avatar-img {
    width: 70px;
    height: 70px;
  }

  .settings-panel {
    width: 95%;
    max-height: 90vh;
  }

  .chat-header {
    padding: 12px 16px;
  }

  .messages-container {
    padding: 16px;
  }

  .input-container {
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .message-avatar {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .message-content {
    padding: 10px 12px;
  }

  .message-text {
    font-size: 14px;
  }
}

/* ==================== 专家面板 ==================== */

.expert-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-chat);
  animation: fadeIn 0.15s ease-out;
}

/* 专家头部 */
.expert-header {
  padding: 14px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.expert-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: none !important;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.expert-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.expert-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  border: 2px solid #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.expert-header h2 {
  font-size: 16px;
  color: white;
  margin: 0;
  margin-bottom: 2px;
}

.expert-status-badge {
  font-size: 11px;
  color: #ffd700;
  background: rgba(212, 175, 55, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.member-status-badge {
  font-size: 11px;
  color: #7EC8A6;
  background: rgba(126, 200, 166, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.expert-header-right {
  display: flex;
  align-items: center;
}

.expire-hint {
  font-size: 12px;
  color: rgba(255, 215, 0, 0.7);
}

/* ===== 专家介绍页面（非会员）===== */

.expert-intro-content {
  flex: 1;
  overflow-y: auto;
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

/* 专家卡片 */
.expert-card {
  text-align: center;
  padding: 24px 36px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  max-width: 480px;
  width: 100%;
}

.expert-avatar-large {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.expert-avatar-large img {
  width: 88px;
  height: 88px;
  border-radius: 4px;
  object-fit: cover;
  border: 3px solid #d4af37;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.expert-online-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #52c41a;
  border-radius: 50%;
  border: 2px solid white;
  animation: onlinePulse 2s infinite;
}

@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(82, 196, 26, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(82, 196, 26, 0); }
}

.expert-title {
  font-size: 22px;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.expert-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.expert-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.expert-tags .expert-tag {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #b8860b;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.expert-tags .expert-vip-title {
  font-size: 16px;
  font-weight: 700;
  padding: 6px 14px;
}

.expert-tags .expert-vip-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 100%;
  text-align: center;
  border-radius: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 能力介绍 */
.expert-features {
  width: 100%;
  max-width: 600px;
}

.expert-features h3 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-align: left;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.feature-icon-wrap {
  font-size: 28px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.feature-card h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin: 0;
}

.feature-card p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* 对比表 */
.expert-compare {
  width: 100%;
  max-width: 600px;
}

.expert-compare h3 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-align: left;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.compare-table th,
.compare-table td {
  padding: 8px 14px;
  text-align: center;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
}

.compare-table th {
  background: #fafafa;
  font-weight: 600;
  color: var(--text-primary);
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.compare-table .highlight {
  color: #d4a017;
  font-weight: 700;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* 价格卡片 */
.pricing-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  color: white;
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.3);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.price-main {
  margin-bottom: 24px;
}

.price-label {
  font-size: 14px;
  opacity: 0.8;
  display: block;
  margin-bottom: 8px;
}

.price-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.price-value .currency {
  font-size: 28px;
  font-weight: 700;
  color: #ffd700;
}

.price-value .amount {
  font-size: 56px;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
}

.price-value .period {
  font-size: 18px;
  opacity: 0.7;
  margin-left: 4px;
}

.price-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.price-benefits li {
  padding: 8px 0;
  font-size: 14px;
  opacity: 0.9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-benefits li:last-child {
  border-bottom: none;
}

.buy-btn {
  width: 100% !important;
  padding: 14px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #d4af37, #f0d060) !important;
  border: none !important;
  color: #1a1a2e !important;
  letter-spacing: 1px;
  transition: all 0.3s ease !important;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4) !important;
}

.price-note {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 12px;
  margin-bottom: 0;
}

/* 支付面板 */
.pay-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.2s ease;
  backdrop-filter: blur(4px);
}

.pay-panel {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.pay-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}

.pay-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text-primary);
}

.pay-body {
  padding: 28px 24px;
  text-align: center;
}

.pay-price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pay-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.pay-amount {
  display: flex;
  align-items: baseline;
}

.pay-currency {
  font-size: 22px;
  color: var(--text-primary);
  font-weight: 700;
}

.pay-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--error-color);
  line-height: 1;
}

.pay-period {
  font-size: 16px;
  color: var(--text-secondary);
}

.pay-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 20px 0;
}

.pay-info {
  text-align: left;
  padding: 0 8px;
}

.pay-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 8px;
}

.pay-footer {
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.pay-footer .btn {
  flex: 1;
  padding: 12px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.confirm-pay-btn {
  background: linear-gradient(135deg, #d4af37, #f0d060) !important;
  color: #1a1a2e !important;
  border: none !important;
  font-weight: 600 !important;
}

.confirm-pay-btn:hover {
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
  transform: translateY(-1px);
}

/* ===== 专家聊天界面（会员）===== */

.expert-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expert-welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}

.expert-welcome-avatar {
  margin-bottom: 20px;
}

.expert-welcome-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
  border: 3px solid #d4af37;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.expert-welcome h3 {
  font-size: 22px;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.expert-welcome p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px;
  max-width: 720px;
  text-align: center;
}

.expert-welcome-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.expert-welcome-topics span {
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.03));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  font-size: 13px;
  color: #b8860b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.expert-welcome-topics span:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  transform: translateY(-1px);
}

/* 消息样式 */
.expert-message {
  display: flex;
  gap: 12px;
  max-width: 85%;
  animation: fadeIn 0.3s ease;
}

.expert-message.user-msg {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.expert-message.assistant-msg {
  align-self: flex-start;
}

.expert-msg-avatar {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
  background: none;
}

.expert-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.user-msg .expert-msg-avatar {
  background: none;
}

.expert-msg-content {
  min-width: 0;
}

.expert-msg-text {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.7;
  word-wrap: break-word;
  white-space: pre-wrap;
  background: var(--bg-secondary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.user-msg .expert-msg-text {
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
  color: white;
}

.expert-msg-time {
  font-size: 11px;
  opacity: 0.4;
  margin-top: 4px;
  padding: 0 4px;
}

.user-msg .expert-msg-text + .expert-msg-time {
  text-align: right;
}

/* 输入区域 */
.expert-input-area {
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-top: 1px solid #E5E7EB;
}

.expert-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.expert-input-wrapper textarea {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  resize: none;
  min-height: 46px;
  max-height: 140px;
  background: white;
  transition: all 0.2s ease;
}

.expert-input-wrapper textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.expert-input-wrapper textarea::placeholder {
  color: #bbb;
}

.expert-send-btn {
  height: 46px;
  min-width: 80px;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #1a1a2e, #2d2d44) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.expert-send-btn:hover:not(:disabled) {
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.3) !important;
  transform: translateY(-1px);
}

.expert-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.expert-input-hint {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

/* 响应式：专家面板 */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .expert-intro-content {
    padding: 16px;
  }

  .expert-card {
    padding: 24px 20px;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .price-value .amount {
    font-size: 42px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 10px;
    font-size: 12px;
  }
}

/* ==================== 全局页脚 Footer ==================== */
.global-footer {
  flex-shrink: 0;
  border-top: 1px solid #E5E7EB;
  background: #f7f8fc;
  padding: 10px 16px;
  text-align: center;
}

.global-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 6px;
}

.global-footer-sep {
  color: #b5bcca;
  font-size: 12px;
}

.global-footer-link {
  background: none;
  border: none;
  padding: 2px 4px;
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
  transition: color .2s;
}

.global-footer-link:hover {
  color: #5B8CDE;
  text-decoration: underline;
}

.global-footer-copy {
  margin-top: 6px;
  font-size: 11px;
  color: #9aa3b2;
}

/* ==================== 信息独立页 InfoPages ==================== */
.info-page {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background: #f5f6fa;
}

.info-page-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.info-page-back {
  background: none;
  border: none;
  color: #5B8CDE;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
}

.info-page-back:hover {
  text-decoration: underline;
}

.info-page-title {
  font-size: 26px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 4px;
}

.info-page-update {
  font-size: 12px;
  color: #9aa3b2;
  margin-bottom: 20px;
}

.info-page-section {
  margin-bottom: 24px;
}

.info-page-section h2 {
  font-size: 17px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px;
}

.info-page-section p {
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
  margin: 0 0 10px;
}

.info-page-foot {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
  font-size: 12px;
  color: #9aa3b2;
  text-align: center;
}
