/* ========================================
   天象快搜 CeleScan - 样式表
   版本: v2.6.2
   最后更新: 2026-04-01
   ======================================== */

/* ----------------------------------------
   1. CSS变量定义 - 设计系统基础
   ---------------------------------------- */
:root {
  /* 主色调 */
  --color-primary: #007bff;
  --color-primary-dark: #0056b3;
  --color-primary-light: #667eea;
  --color-secondary: #009879;
  --color-secondary-dark: #008a6e;
  --color-accent: #ffd700;
  --color-danger: #dc3545;
  --color-danger-dark: #c82333;

  /* 文字颜色 */
  --text-primary: #333;
  --text-secondary: #666;
  --text-light: #e0e0e0;
  --text-muted: #a0aec0;

  /* 背景色 */
  --bg-light: #f9f9f9;
  --bg-light-secondary: #f8f9fa;
  --bg-dark: #1a1a2e;
  --bg-dark-secondary: #16213e;
  --bg-dark-tertiary: #0a1a2f;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #009879 0%, #0069d9 100%);
  --gradient-primary-hover: linear-gradient(135deg, #008a6e 0%, #0069d9 100%);
  --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --gradient-dark-blue: linear-gradient(135deg, #2c5364 0%, #203a43 50%, #0f2027 100%);
  
  /* 板块专用渐变 - 统一深色基调，细节差异 */
  --gradient-stats: linear-gradient(135deg, #2d1b69 0%, #11998e 100%);
  --gradient-recommended: linear-gradient(135deg, #11998e 0%, #2d1b69 100%);
  --gradient-news: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);

  /* 边框颜色 */
  --border-light: #ccc;
  --border-light-secondary: #ddd;
  --border-dark: #4a5568;
  --border-accent: rgba(255, 215, 0, 0.3);

  /* 间距 */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* 阴影 */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-accent: 0 2px 8px rgba(102, 126, 234, 0.3);

  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* 字体大小 */
  --font-xs: 12px;
  --font-sm: 13px;
  --font-md: 14px;
  --font-lg: 16px;
  --font-xl: 18px;
  --font-xxl: 20px;
}

/* ----------------------------------------
   2. 通用工具类
   ---------------------------------------- */

/* 面板样式 */
.panel {
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  margin-top: 10px;
  box-shadow: var(--shadow-lg);
}

.panel-gradient-primary {
  background: var(--gradient-primary);
}

.panel-gradient-secondary {
  background: var(--gradient-secondary);
}

.panel-gradient-dark {
  background: var(--gradient-dark);
}

.panel-gradient-dark-blue {
  background: var(--gradient-dark-blue);
}

/* 板块专用渐变 */
.panel-gradient-stats {
  background: var(--gradient-stats);
}

.panel-gradient-recommended {
  background: var(--gradient-recommended);
}

.panel-gradient-news {
  background: var(--gradient-news);
}

/* 卡片样式 */
.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
}

.card-light {
  background: rgba(255, 255, 255, 0.95);
}

/* 推荐天象卡片样式 */
.recommended-event-card {
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius-xl);
  padding: var(--spacing-md);
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.recommended-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
}

/* 文字样式 */
.text-xs {
  font-size: var(--font-xs);
}

.text-sm {
  font-size: var(--font-sm);
}

.text-md {
  font-size: var(--font-md);
}

.text-lg {
  font-size: var(--font-lg);
}

.text-xl {
  font-size: var(--font-xl);
}

.text-xxl {
  font-size: var(--font-xxl);
}

.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

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

.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--color-accent);
}

.font-bold {
  font-weight: bold;
}

.font-medium {
  font-weight: 500;
}

.text-center {
  text-align: center;
}

/* 布局工具类 */
.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid {
  display: grid;
}

.gap-sm {
  gap: var(--spacing-sm);
}

.gap-md {
  gap: var(--spacing-md);
}

.gap-lg {
  gap: var(--spacing-lg);
}

/* 间距工具类 */
.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

/* ----------------------------------------
   3. 全局基础样式
   ---------------------------------------- */
.detailInfoContainer {
  margin: 20px auto;
  width: 80%;

  justify-content: center;
}

/* ----------------------------------------
   3. 标题样式
   ---------------------------------------- */

h3 {

  background: linear-gradient(135deg, #009879 0%, #0069d9 100%);
  color: white;
  padding: 2px 2px;
  border-radius: 8px;
  margin: 5px 0;

  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 155px;
}


h3:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #008a6e 0%, #0069d9 100%);
  width: 200px;
}


h3::after {
  position: absolute;
  right: 15px;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}


h3[style*="display:none"]::after {
  transform: rotate(90deg);
}


h3.active {
  background: linear-gradient(135deg, #007bff 0%, #009879 100%);
  border-left: 4px solid #ffd700;
}

/* ----------------------------------------
   4. 表单元素样式
   ---------------------------------------- */

input,
select,
button {

  margin: 5px;

  padding: 5px;

  border: 1px solid #ccc;

  border-radius: 8px;

  width: 155px;

  font-size: 14px;
}

/* ----------------------------------------
   5. 按钮样式
   ---------------------------------------- */

/* 基础按钮样式 */
button,
.btn {
  background-color: var(--color-primary);
  color: white;
  cursor: pointer;
  margin: 5px;
  padding: 8px 15px;
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-md);
  transition: all var(--transition-normal);
  min-width: 80px;
}

button:hover,
.btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

button.active,
.btn.active {
  background-color: var(--color-danger);
}

button.active:hover,
.btn.active:hover {
  background-color: var(--color-primary-dark);
}

/* 按钮变体 */
.btn-primary {
  background-color: var(--color-primary);
}

.btn-secondary {
  background-color: var(--color-secondary);
}

.btn-danger {
  background-color: var(--color-danger);
}

.btn-gradient {
  background: var(--gradient-primary);
}

/* 热搜排行选项卡按钮样式 */
.hot-ranking-tab-btn {
  background: #e9ecef;
  color: #666;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.hot-ranking-tab-btn:hover {
  background: #d1d5d8;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hot-ranking-tab-btn.active {
  background: #9b59b6;
  color: white;
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.hot-ranking-tab-content {
  display: none;
}

.hot-ranking-tab-content.active {
  display: block;
}

/* 输入框样式 */
input {
  outline: none;
}

input:focus {
  border-color: var(--color-primary);
}

.custom-input {
  width: 500px;
  height: 20px;
}

#outputWindow {
  border: 1px solid var(--border-light);
  padding: 10px;
  margin-top: 10px;
  height: 200px;
  overflow-y: auto;
}

/* ----------------------------------------
   6. 标签和基础布局样式
   ---------------------------------------- */

label {

  margin-bottom: 3px;

  display: inline-block;

  width: 155px;

  text-align: center;

  margin-right: 5px;

  color: #333;
}

h1 {

  text-align: center;
}

body {

  line-height: 2;
  font-family: Arial, sans-serif;
  padding: 20px;
}

.section {
  margin-bottom: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}


/* ----------------------------------------
   7. 表格样式
   ---------------------------------------- */

.info-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.info-table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}

.info-table th,
.info-table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: center;
}

.info-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.info-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.info-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

/* ----------------------------------------
   8. 卡片样式
   ---------------------------------------- */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.star-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  width: 200px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------
   9. 表格交互样式
   ---------------------------------------- */



#monthlyEventsTable tbody tr:hover,
#superMoonTable tbody tr:hover,
#eclipseTable tbody tr:hover,
#planetWithMoonTable tbody tr:hover,
#planetConvergeTable tbody tr:hover,
#lunarOcculationTable tbody tr:hover,
#planetMotionTable tbody tr:hover,
#annualEventsTable tbody tr:hover,
#skySmileTable tbody tr:hover,
#earthShineTable tbody tr:hover,
#zodiacalLightTable tbody tr:hover,
#noShadowAtZenithTable tbody tr:hover,
#milkyWayEyeTable tbody tr:hover,
#meteorShowerTable tbody tr:hover,
#monthlyJupiterMoonTable tbody tr:hover {
  background-color: #b2ebf2;
  cursor: pointer;
}



#monthlyEventsTable tbody tr:active,
#superMoonTable tbody tr:active,
#eclipseTable tbody tr:active,
#planetWithMoonTable tbody tr:active,
#planetConvergeTable tbody tr:active,
#lunarOcculationTable tbody tr:active,
#planetMotionTable tbody tr:active,
#annualEventsTable tbody tr:active,
#skySmileTable tbody tr:active,
#earthShineTable tbody tr:active,
#zodiacalLightTable tbody tr:active,
#noShadowAtZenithTable tbody tr:active,
#milkyWayEyeTable tbody tr:active,
#meteorShowerTable tbody tr:active,
#monthlyJupiterMoonTable tbody tr:active {
  background-color: #84e4f0;
  cursor: pointer;
}

/* ----------------------------------------
   10. 详情面板样式
   ---------------------------------------- */

.detailDiv-centered {
  position: relative;
  margin: 0 auto;
  width: fit-content;

  background-color: #f9f9f9;

  border: 2px solid #009879;

  border-radius: 8px;

  padding: 15px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  transition: all 0.3s ease;
}

.primary-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.primary-info .info-item {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  text-align: center;
  transition: all 0.2s ease;
  width: 90%;
  max-width: 600px;
}

.primary-info .info-item:hover {
  background-color: #f1f3f4;
}

.info-label {
  font-weight: bold;
  color: #333;
}

.info-value {
  color: #666;
}

.secondary-info-section {
  margin: 0;
  text-align: center;
}

.toggle-btn {
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  cursor: pointer;
  font-size: var(--font-md);
  transition: all var(--transition-normal);
  margin-bottom: 10px;
  font-weight: bold;
  min-width: 100px;
}

.toggle-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.toggle-btn:active {
  background-color: #004085;
}

.toggle-btn.expanded .toggle-icon {
  transform: rotate(180deg);
}

.secondary-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 20px;
  background-color: var(--bg-light-secondary);
  border-radius: var(--radius-md);
}

.secondary-info .info-item {
  background-color: white;
  border: 1px solid var(--border-light-secondary);
  border-radius: var(--radius-md);
  padding: 10px 15px;
  text-align: center;
  transition: all var(--transition-fast);
  width: 100%;
}

.secondary-info .info-item:hover {
  background-color: #f1f3f4;
}

.secondary-info .info-item:last-child {
  margin-bottom: 0;
}



@media (max-width: 768px) {

  .primary-info .info-item,
  .secondary-info .info-item {
    width: 95%;
  }

  .secondary-info {
    padding: 15px;
  }
}

/* ----------------------------------------
   11. 下拉选择框样式
   ---------------------------------------- */

select[multiple] {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  background-color: white;
}

select[multiple] option {
  padding: 3px 5px;
}

select[multiple] option:hover {
  background-color: #f0f0f0;
}

select[multiple] option:checked {
  background-color: #007bff;
  color: white;
}

#filterSection label {
  font-weight: bold;
  color: #333;
}

#filterSection button {
  margin-right: 10px;
}

/* ----------------------------------------
   12. 动画窗口样式
   ---------------------------------------- */



.animation-window .control-grid input {
  flex: 1;
  min-width: 0;
  max-width: 200px;
  box-sizing: border-box;
  width: 100%;
}


.animation-window .control-grid input[type="datetime-local"] {
  min-width: 180px;
  max-width: 220px;
}


.animation-window .control-grid input[type="number"] {
  max-width: 100px;
}



@media (max-width: 768px) {
  .animation-window .control-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .animation-window .control-grid input {
    max-width: 100%;
  }
}


@media (min-width: 769px) {
  .animation-window .control-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}



.animation-window button {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 80px;
}


.animation-window button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}



.animation-window input {
  padding: 8px;
  border: 1px solid #555;
  border-radius: 5px;
  background: #1e2f42;
  color: white;
  font-size: 13px;
  transition: all 0.3s;
}


.animation-window input:focus {
  border-color: #ffd700;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}



.animation-window label {
  font-size: 14px;
  color: #ffd700;
  font-weight: bold;
  white-space: nowrap;
}



.animation-window input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #2a3b4c;
  outline: none;
}


.animation-window input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffd700;
  cursor: pointer;
}



.close-btn {
  background: #dc3545;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;

  box-sizing: border-box;
  flex-shrink: 0;
}


.close-btn:hover {
  background: #c82333;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}



.animation-canvas-container {
  width: 100%;
  border: 1px solid #444;
  border-radius: 5px;
  background: #0a1a2f;
  overflow: hidden;
}


.animation-canvas-container canvas {
  width: 100%;
  height: auto;
  display: block;
}



.animation-window {

  resize: horizontal vertical;
}



.animation-window::-webkit-resizer {
  background-color: #ffd700;
  border-radius: 2px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}


.animation-window::-webkit-resizer:hover {
  background-color: #ffed4a;
  border-color: rgba(255, 215, 0, 0.6);
}



.mode-toggle-btn {
  background: linear-gradient(135deg, #4a5568, #2d3748);
  color: var(--text-light);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: var(--font-md);
  font-weight: 500;
  transition: all var(--transition-normal);
  flex: 1;
  margin: 0 5px;
}

.mode-toggle-btn.active {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.mode-toggle-btn:hover:not(.active) {
  background: linear-gradient(135deg, #5a6fd8, #6b46c1);
  transform: translateY(-2px);
}

.sky-toggle-btn {
  background: #4a5568;
  color: var(--text-light);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--font-xs);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.sky-toggle-btn.active {
  background: #48bb78;
  color: white;
}

.sky-toggle-btn:hover {
  transform: translateY(-1px);
}

.sky-control-btn {
  background: #4a5568;
  color: var(--text-light);
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--font-xs);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.sky-control-btn:hover {
  background: #5a6fd8;
  transform: translateY(-1px);
}



.info-card {
  transition: all 0.3s ease;
}


.info-card:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
}



.control-section {
  margin-bottom: 20px;
}



.toggle-group {
  display: flex;
  align-items: center;

  background: rgba(45, 55, 72, 0.5);
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}


.toggle-group:hover {
  background: rgba(45, 55, 72, 0.8);
  border-color: #4a5568;
}


.toggle-group input[type="checkbox"] {
  margin: 0;
  margin-right: 8px;
  accent-color: #667eea;
}


.toggle-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #e0e0e0;
  font-size: 14px;
  margin: 0;
}


.toggle-icon {
  margin-right: 6px;
  font-size: 16px;
}


.toggle-text {
  font-weight: 500;
}



input[type="range"] {

  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #2d3748;
  border-radius: 3px;
  outline: none;
  margin: 8px 0;
}


input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;

  background: #667eea;
  border-radius: 50%;
  cursor: pointer;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #667eea;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}



@media (max-width: 768px) {

  .mode-toggle-btn {
    padding: 10px 16px;
    font-size: 12px;
  }


  #celestial-map {
    height: 400px !important;
  }


  .sky-control-panel>div {
    grid-template-columns: 1fr !important;
  }


  .toggle-group {
    padding: 6px 10px;
  }


  .toggle-label {
    font-size: 12px;
  }


  .toggle-icon {
    font-size: 14px;
  }
}

/* ----------------------------------------
   13. AI助手消息样式
   ---------------------------------------- */

.ai-message.bot h1,
.ai-message.bot h2,
.ai-message.bot h3,
.ai-message.bot h4,
.ai-message.bot h5,
.ai-message.bot h6 {
  color: #ffd700;
  margin-top: 16px;
  margin-bottom: 8px;
  font-weight: bold;
}

.ai-message.bot h1 {
  font-size: 1.5em;
}

.ai-message.bot h2 {
  font-size: 1.3em;
}

.ai-message.bot h3 {
  font-size: 1.1em;
}

.ai-message.bot p {
  margin: 8px 0;
  line-height: 1.6;
}

.ai-message.bot ul,
.ai-message.bot ol {
  margin: 8px 0;
  padding-left: 24px;
}

.ai-message.bot li {
  margin: 4px 0;
}

.ai-message.bot code {
  background: rgba(102, 126, 234, 0.2);
  color: #a5b4fc;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.ai-message.bot pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 12px 0;
}

.ai-message.bot pre code {
  background: none;
  padding: 0;
  color: #e0e0e0;
}

.ai-message.bot blockquote {
  border-left: 4px solid #667eea;
  padding-left: 12px;
  margin: 12px 0;
  color: #a0aec0;
  font-style: italic;
}

.ai-message.bot strong {
  color: #ffd700;
  font-weight: bold;
}

.ai-message.bot em {
  font-style: italic;
  color: #a5b4fc;
}

.ai-message.bot a {
  color: #667eea;
  text-decoration: underline;
}

.ai-message.bot a:hover {
  color: #a5b4fc;
}

.ai-message.bot table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.ai-message.bot th,
.ai-message.bot td {
  border: 1px solid #4a5568;
  padding: 8px;
  text-align: left;
}

.ai-message.bot th {
  background: rgba(102, 126, 234, 0.3);
  color: #ffd700;
}

.ai-message.bot hr {
  border: none;
  border-top: 1px solid #4a5568;
  margin: 16px 0;
}
/* ========================================
   天象日历定制模块 - 样式表
   版本: v1.0
   最后更新: 2026-04-03
   ======================================== */

/* ----------------------------------------
   1. 悬浮按钮样式
   ---------------------------------------- */
#calendarFloatingBtn {
  position: fixed;
  top: 50px;
  right: 20px;
  width: 70px;
  height: 70px;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #009879 0%, #0069d9 100%);
  border: none;
  border-radius: 50%;
  cursor: move;
  box-shadow: 0 4px 20px rgba(0, 152, 121, 0.4);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  animation: pulse 2s infinite;
}

#calendarFloatingBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 152, 121, 0.6);
}

#calendarFloatingBtn > div:first-child {
  font-size: 28px;
  line-height: 1;
}

#calendarFloatingBtn > div:last-child {
  color: white;
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
  text-align: center;
  line-height: 1.2;
}

/* ----------------------------------------
   1.2 AI助手悬浮按钮样式
   ---------------------------------------- */
.ai-floating-btn {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50%;
  cursor: move;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  animation: pulse-ai 2s infinite;
}

.ai-floating-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.ai-floating-btn-icon {
  font-size: 28px;
  line-height: 1;
}

.ai-floating-btn-text {
  color: white;
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
  text-align: center;
  line-height: 1.2;
}

/* ----------------------------------------
   1.3 意见反馈悬浮按钮样式
   ---------------------------------------- */
.feedback-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 70px;
  height: 70px;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.5);
  z-index: 9997;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  animation: pulse-feedback 2s infinite;
}

.feedback-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(243, 156, 18, 0.6);
}

.feedback-floating-btn-icon {
  font-size: 28px;
  line-height: 1;
}

.feedback-floating-btn-text {
  color: white;
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
  text-align: center;
  line-height: 1.2;
}

/* ----------------------------------------
   1.3 悬浮窗广告提示
   ---------------------------------------- */
.calendar-tooltip {
  position: fixed;
  width: 240px;
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border: 2px solid #009879;
}

.calendar-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tooltip-title {
  font-size: 16px;
  font-weight: bold;
  color: #009879;
  margin-bottom: 12px;
  text-align: center;
}

.tooltip-features {
  margin-bottom: 12px;
}

.tooltip-features div {
  font-size: 13px;
  color: #333;
  padding: 4px 0;
  line-height: 1.5;
}

.tooltip-price {
  font-size: 18px;
  font-weight: bold;
  color: #ff6b6b;
  text-align: center;
  margin-bottom: 8px;
  padding: 8px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
  border-radius: 8px;
}

.tooltip-hint {
  font-size: 12px;
  color: #009879;
  text-align: center;
  font-weight: 500;
}

/* ----------------------------------------
   2. 脉冲动画
   ---------------------------------------- */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 152, 121, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(0, 152, 121, 0);
  }
}

@keyframes pulse-ai {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
  }
}

@keyframes pulse-feedback {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(243, 156, 18, 0);
  }
}

/* ----------------------------------------
   3. 模态窗口样式
   ---------------------------------------- */
#calendarModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

#calendarModal > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#calendarModal .calendar-modal-body {
  overflow-y: auto;
  flex: 1;
}

/* ----------------------------------------
   4. 模态窗口头部
   ---------------------------------------- */
.calendar-modal-header {
  background: var(--gradient-primary);
  padding: 20px;
  border-radius: 16px 16px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  cursor: move;
  user-select: none;
}

.calendar-modal-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-modal-header-title span:first-child {
  font-size: 32px;
}

.calendar-modal-header-title div div:first-child {
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.calendar-modal-header-title div div:last-child {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}

.calendar-modal-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.calendar-modal-close:hover {
  background: rgba(255,255,255,0.3);
}

/* ----------------------------------------
   5. 步骤指示器
   ---------------------------------------- */
#stepIndicator {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-item div:first-child {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8e8e8, #d0d0d0);
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-item div:nth-child(2) {
  color: #999;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
}

.step-item div:nth-child(3) {
  position: absolute;
  top: 20px;
  left: 60%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, #e0e0e0, #d0d0d0);
  border-radius: 2px;
}

.step-item:last-child div:nth-child(3) {
  display: none;
}

.step-item.active div:first-child {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 152, 121, 0.4);
  transform: scale(1.1);
}

.step-item.active div:nth-child(2) {
  color: #333;
  font-weight: 600;
}

.step-item.completed div:first-child {
  background: linear-gradient(145deg, #28a745, #20c997);
  color: white;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.step-item.completed div:nth-child(2) {
  color: #28a745;
  font-weight: 600;
}

.step-item.completed div:nth-child(3) {
  background: linear-gradient(90deg, #28a745, #20c997);
}

/* ----------------------------------------
   6. 步骤内容区域
   ---------------------------------------- */
#stepContent {
  min-height: 300px;
  padding: 10px 20px 20px 20px;
  background: white;
}

.step-content {
  display: none;
}

.step-content:first-child {
  display: block;
}

/* ----------------------------------------
   7. 位置信息卡片
   ---------------------------------------- */
.location-info-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.location-info-card h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 2px solid #e9ecef;
}

.location-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.location-info-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.location-info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 10px 0 0 10px;
}

.location-info-item:nth-child(2)::before {
  background: linear-gradient(180deg, #0069d9, #0056b3);
}

.location-info-item:nth-child(3)::before {
  background: linear-gradient(180deg, #ffc107, #e0a800);
}

.location-info-item:nth-child(4)::before {
  background: linear-gradient(180deg, #6c757d, #5a6268);
}

.location-info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 152, 121, 0.15);
  border-color: #009879;
}

.location-info-label {
  color: #666;
  font-size: 11px;
  margin-bottom: 4px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.location-info-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.location-info-item:nth-child(2) .location-info-label::before {
  background: #0069d9;
}

.location-info-item:nth-child(3) .location-info-label::before {
  background: #ffc107;
}

.location-info-item:nth-child(4) .location-info-label::before {
  background: #6c757d;
}

.location-info-value {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.location-info-input {
  width: 100%;
  min-width: 80px;
  max-width: 150px;
  padding: 8px 10px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 4px;
  transition: all 0.3s;
  background: #fff;
  box-sizing: border-box;
}

.location-info-input:focus {
  outline: none;
  border-color: #009879;
  box-shadow: 0 0 0 3px rgba(0, 152, 121, 0.15);
}

.location-info-input:invalid {
  border-color: #e74c3c;
  background-color: #fdf2f2;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

/* ----------------------------------------
   8. 城市选择器
   ---------------------------------------- */
.city-selector {
  margin-bottom: 15px;
}

.city-selector label {
  display: block;
  color: #666;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 500;
}

.city-selector select {
  width: 100%;
  padding: 12px 12px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.city-selector select:focus {
  outline: none;
  border-color: #009879;
  box-shadow: 0 0 0 3px rgba(0, 152, 121, 0.15);
}

.city-selector select:hover {
  border-color: #009879;
}

/* ----------------------------------------
   9. 时间范围选择
   ---------------------------------------- */
.time-range-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid #bae6fd;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.time-range-card h4 {
  margin: 0 0 18px 0;
  color: #0369a1;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 2px dashed #bae6fd;
}

.time-range-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.time-range-item {
  position: relative;
  flex: 1;
  max-width: 200px;
  min-width: 140px;
}

.time-range-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0369a1;
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 600;
}

.time-range-item label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.time-range-item:last-child label::before {
  background: linear-gradient(135deg, #f472b6, #ec4899);
}

.time-range-item input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #bae6fd;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.time-range-item input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.time-range-item input:hover {
  border-color: #7dd3fc;
}

/* ----------------------------------------
   10. 筛选条件
   ---------------------------------------- */
.filter-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.filter-header h4 {
  margin: 0;
  color: #333;
  font-size: 16px;
}

.filter-actions {
  display: flex;
  gap: 8px;
}

.filter-action-btn {
  padding: 4px 12px;
  background: white;
  border: 1px solid #009879;
  border-radius: 6px;
  color: #009879;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-action-btn:hover {
  background: #009879;
  color: white;
}

.filter-tip {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}

.filter-tip span {
  font-weight: 600;
  color: #009879;
}

.filter-hint {
  font-size: 11px;
  color: #999;
  font-weight: normal;
}

.filter-group {
  margin-bottom: 12px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group > label {
  display: block;
  color: #333;
  font-size: 13px;
  margin-bottom: 6px;
  font-weight: 600;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  background: white;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 11px;
}

.filter-checkbox:hover {
  border-color: #009879;
  background: #f8f9fa;
}

.filter-checkbox input {
  margin-right: 3px;
  cursor: pointer;
  width: 12px;
  height: 12px;
}

.filter-checkbox:has(input:checked) {
  background: var(--gradient-primary);
  border-color: #009879;
  color: white;
}

.filter-checkbox:has(input:checked) span {
  color: white;
}

/* ----------------------------------------
   11. 预览区域
   ---------------------------------------- */
.preview-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid #009879;
  box-shadow: 0 2px 8px rgba(0, 152, 121, 0.1);
}

.preview-card h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-count {
  font-size: 13px;
  color: #009879;
  font-weight: 600;
  background: #e8f5f3;
  padding: 4px 12px;
  border-radius: 12px;
}

.preview-list {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.preview-event {
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s;
}

.preview-event:last-child {
  border-bottom: none;
}

.preview-event:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5f3 100%);
  transform: translateX(3px);
}

.preview-event-index {
  color: #009879;
  font-weight: 600;
  margin-right: 6px;
}

.preview-event-name {
  font-weight: 600;
  color: #0069d9;
  font-size: 13px;
  margin-bottom: 4px;
}

.preview-event-info {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}

.preview-event-detail {
  font-size: 11px;
  color: #888;
  line-height: 1.6;
  margin-top: 2px;
}

.preview-event-bodies {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed #e0e0e0;
}

/* ----------------------------------------
   12. 支付区域
   ---------------------------------------- */
.payment-card {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: center;
  border: 2px solid #90caf9;
  box-shadow: 0 4px 12px rgba(144, 202, 249, 0.2);
}

.payment-icon {
  font-size: 56px;
  margin-bottom: 12px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.payment-title {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 22px;
  font-weight: 600;
}

.payment-desc {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.payment-qrcode-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  border: 2px dashed #009879;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.payment-qrcode {
  width: 180px;
  height: 180px;
  margin: 0 auto 15px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
}

.payment-qrcode-placeholder {
  text-align: center;
}

.payment-qrcode-placeholder div:first-child {
  font-size: 48px;
  margin-bottom: 8px;
}

.payment-qrcode-placeholder div:last-child {
  font-size: 11px;
  color: #999;
}

.payment-test-mode {
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #ffc107;
}

.payment-test-mode div {
  color: #856404;
  font-size: 12px;
  font-weight: 500;
}

/* ----------------------------------------
   13. 下载区域
   ---------------------------------------- */
.download-success-card {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: center;
  border: 2px solid #28a745;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.download-icon {
  font-size: 56px;
  margin-bottom: 12px;
  animation: bounce 2s infinite;
}

.download-title {
  margin: 0 0 10px 0;
  color: #155724;
  font-size: 22px;
  font-weight: 600;
}

.download-desc {
  margin: 0;
  color: #155724;
  font-size: 14px;
}

.download-qrcode-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  border: 2px solid #28a745;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.download-qrcode {
  width: 180px;
  height: 180px;
  margin: 0 auto 15px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
}

.download-countdown {
  text-align: center;
  padding: 15px;
  background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #ffc107;
}

.download-countdown-time {
  color: #856404;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.download-countdown-hint {
  color: #856404;
  font-size: 12px;
}

.download-hint {
  text-align: center;
  color: #666;
  font-size: 12px;
  margin-top: 10px;
}

/* ----------------------------------------
   14. 按钮样式
   ---------------------------------------- */
.calendar-btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 152, 121, 0.3);
}

.calendar-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 152, 121, 0.5);
}

.calendar-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.calendar-btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.calendar-btn-secondary:hover {
  background: #5a6268;
}

.calendar-btn-success {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 152, 121, 0.3);
}

.calendar-btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 152, 121, 0.5);
}

.calendar-btn-block {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
}

/* ----------------------------------------
   15. 提示信息
   ---------------------------------------- */
.info-tip {
  margin-top: 15px;
  padding: 10px;
  background: #fff3cd;
  border-radius: 8px;
  border-left: 3px solid #ffc107;
}

.info-tip div {
  color: #856404;
  font-size: 12px;
}

/* ----------------------------------------
   16. 按钮容器
   ---------------------------------------- */
.button-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

/* ----------------------------------------
   17. 响应式设计
   ---------------------------------------- */
@media (max-width: 768px) {
  #calendarFloatingBtn {
    width: 60px;
    height: 60px;
    top: 50px;
  }
  
  #calendarFloatingBtn > div:first-child {
    font-size: 24px;
  }
  
  #calendarFloatingBtn > div:last-child {
    font-size: 10px;
  }
  
  .ai-floating-btn {
    width: 60px;
    height: 60px;
  }
  
  .ai-floating-btn-icon {
    font-size: 24px;
  }
  
  .ai-floating-btn-text {
    font-size: 10px;
  }
  
  .calendar-tooltip {
    width: 200px;
    top: 120px;
    right: 15px;
    padding: 12px;
  }
  
  .tooltip-title {
    font-size: 14px;
  }
  
  .tooltip-features div {
    font-size: 12px;
  }
  
  .tooltip-price {
    font-size: 16px;
  }
  
  #calendarModal > div {
    width: 95%;
    max-height: 95vh;
  }
  
  .calendar-modal-header {
    padding: 15px;
  }
  
  .calendar-modal-header-title div div:first-child {
    font-size: 18px;
  }
  
  .calendar-modal-header-title div div:last-child {
    font-size: 12px;
  }
  
  #stepIndicator {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 12px 15px;
  }
  
  .step-item div:first-child {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .step-item div:nth-child(2) {
    font-size: 11px;
  }
  
  .location-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .location-info-item {
    padding: 8px 10px;
  }
  
  .location-info-label {
    font-size: 10px;
  }
  
  .location-info-input {
    padding: 6px 8px;
    font-size: 12px;
  }
  
  .time-range-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .time-range-item {
    max-width: 100%;
    min-width: 0;
  }
  
  .time-range-item input {
    padding: 12px;
    font-size: 16px;
  }
  
  .filter-options {
    gap: 6px;
  }
  
  .filter-checkbox {
    padding: 6px 10px;
    font-size: 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .filter-checkbox input {
    width: 16px;
    height: 16px;
  }
  
  .filter-action-btn {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 44px;
  }
  
  .calendar-btn-primary,
  .calendar-btn-secondary,
  .calendar-btn-success {
    padding: 12px 24px;
    font-size: 14px;
    min-height: 44px;
  }
  
  .button-container {
    flex-direction: column;
    gap: 12px;
  }
  
  .button-container button {
    width: 100%;
    min-height: 44px;
  }
  
  .preview-list {
    max-height: 300px;
  }
  
  .preview-event {
    padding: 10px;
  }
  
  .preview-event-name {
    font-size: 12px;
  }
  
  .preview-event-info {
    font-size: 10px;
  }
  
  .location-info-item:hover,
  .preview-event:hover {
    transform: none;
  }
  
  .payment-icon,
  .download-icon {
    animation: none;
  }
  
  .calendar-btn-primary:hover,
  .calendar-btn-success:hover,
  .filter-action-btn:hover {
    transform: none;
  }
  
  .city-selector select {
    padding: 12px;
    font-size: 16px;
  }
}

/* ----------------------------------------
   18. 滚动条样式
   ---------------------------------------- */
.preview-list::-webkit-scrollbar,
#calendarModal .calendar-modal-body::-webkit-scrollbar {
  width: 10px;
}

.preview-list::-webkit-scrollbar-track,
#calendarModal .calendar-modal-body::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 5px;
}

.preview-list::-webkit-scrollbar-thumb,
#calendarModal .calendar-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #009879 0%, #0069d9 100%);
  border-radius: 5px;
  border: 2px solid #f1f1f1;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

.preview-list::-webkit-scrollbar-thumb:hover,
#calendarModal .calendar-modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #008a6e 0%, #0056b3 100%);
}

.preview-list::-webkit-scrollbar-button:single-button,
#calendarModal .calendar-modal-body::-webkit-scrollbar-button:single-button {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  display: block;
  height: 14px;
  width: 10px;
  border-radius: 0;
}

.preview-list::-webkit-scrollbar-button:single-button:vertical:decrement,
#calendarModal .calendar-modal-body::-webkit-scrollbar-button:single-button:vertical:decrement {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23009879' d='M5 3L2 7h6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.preview-list::-webkit-scrollbar-button:single-button:vertical:increment,
#calendarModal .calendar-modal-body::-webkit-scrollbar-button:single-button:vertical:increment {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23009879' d='M5 7L2 3h6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.preview-list::-webkit-scrollbar-button:single-button:vertical:decrement:hover,
#calendarModal .calendar-modal-body::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
  background-color: #d0d0d0;
}

.preview-list::-webkit-scrollbar-button:single-button:vertical:increment:hover,
#calendarModal .calendar-modal-body::-webkit-scrollbar-button:single-button:vertical:increment:hover {
  background-color: #d0d0d0;
}
