/**
 * ChatFate Dashboard Styles
 * 3D仪表盘主题样式
 */

:root {
  --primary: #111827;
  --accent-purple: #7C3AED;
  --accent-pink: #EC4899;
}

/* ========== 基础样式 ========== */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #F9FAFB;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.05), transparent 25%),
    radial-gradient(circle at 90% 60%, rgba(236, 72, 153, 0.05), transparent 25%);
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.serif-cn { font-family: 'Noto Serif SC', serif; }

/* ========== 导航栏 ========== */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 40;
  transition: all 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.nav-logo-icon {
  width: 2rem;
  height: 2rem;
  background: black;
  color: white;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: serif;
  font-weight: bold;
  font-size: 1.125rem;
  font-style: italic;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 语言切换 */
.lang-toggle {
  background: #f3f4f6;
  padding: 0.25rem;
  border-radius: 9999px;
  display: flex;
  cursor: pointer;
}

.lang-opt {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
  color: #6b7280;
  transition: all 0.2s;
}

.lang-opt.active {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  color: black;
}

/* 登录按钮 */
.btn-login {
  background: black;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-login:hover {
  transform: scale(1.05);
}

/* ========== Landing页面 ========== */
.landing-content {
  padding-top: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 20;
  padding-left: 1rem;
  padding-right: 1rem;
  transition: all 0.5s;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

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

.status-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 标题 */
.hero-title {
  font-size: 3rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-gradient {
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: 300;
  line-height: 1.6;
}

/* 输入框 */
.input-wrapper {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  z-index: 30;
}

.input-container {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transition: border-color 0.2s;
}

.input-container:hover,
.input-container:focus-within {
  border-color: #c4b5fd;
}

.input-icon {
  padding-left: 1rem;
  padding-right: 0.75rem;
  color: #7c3aed;
}

.input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.125rem;
  color: #111827;
  height: 3rem;
  font-weight: 500;
}

.input-field::placeholder {
  color: #9ca3af;
}

.btn-analyze {
  background: black;
  color: white;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.btn-analyze:hover {
  background: #374151;
}

/* ========== 3D仪表盘容器 ========== */
.hero-dashboard-container {
  perspective: 1200px;
  margin-top: -1rem;
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
  transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 10;
  pointer-events: none;
}

.hero-dashboard {
  width: 90%;
  max-width: 1300px;
  height: 520px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 24px 24px 0 0;
  box-shadow:
    0 -20px 60px -10px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255,255,255,1);
  transform: rotateX(15deg) translateY(50px) scale(0.95);
  transform-origin: center bottom;
  transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
  overflow: hidden;
}

/* 激活状态 */
body.app-active .hero-dashboard-container {
  margin-top: 0;
  mask-image: none;
  -webkit-mask-image: none;
  height: 100vh;
  z-index: 50;
  align-items: flex-start;
  pointer-events: auto;
}

body.app-active .hero-dashboard {
  transform: rotateX(0deg) translateY(0) scale(1);
  width: 100%;
  max-width: 100%;
  height: 100%;
  border-radius: 0;
  background: #FAFAFA;
}

body.app-active .landing-content {
  opacity: 0;
  transform: translateY(-50px);
  transition: all 0.5s ease-in;
  pointer-events: none;
}

/* ========== Homepage预览版压缩样式 ========== */
.dashboard-preview {
  /* 压缩各区域间距 */
  grid-template-columns: 240px 1fr 280px;
}

.dashboard-preview .sidebar-header {
  padding: 0.5rem 0.75rem;
}

.dashboard-preview .sidebar-title {
  font-size: 0.7rem;
}

.dashboard-preview .sidebar-subtitle {
  font-size: 0.6rem;
}

.dashboard-preview .sidebar-content {
  padding: 0 0.5rem;
}

.dashboard-preview .year-card {
  padding: 0.5rem;
  margin-bottom: 0.35rem;
}

.dashboard-preview .year-label {
  font-size: 0.9rem;
}

.dashboard-preview .year-meta {
  font-size: 0.55rem;
}

.dashboard-preview .year-badge {
  font-size: 0.55rem;
  padding: 0.15rem 0.4rem;
}

.dashboard-preview .year-desc {
  font-size: 0.6rem;
  margin-top: 0.25rem;
}

.dashboard-preview .main-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-preview .chart-area {
  padding: 0.5rem;
  height: auto;
  min-height: 0;
  flex: 1;
  border-bottom: none;
}

.dashboard-preview .chart-header {
  margin-bottom: 0.25rem;
}

.dashboard-preview .chart-title {
  font-size: 0.7rem;
}

.dashboard-preview #preview-chart {
  height: 120px;
}

.dashboard-preview .chat-area {
  display: none;
}

.dashboard-preview .chat-input-area {
  padding: 0.5rem;
  border-top: 1px solid #f0f0f0;
}

.dashboard-preview .chat-avatar {
  width: 24px;
  height: 24px;
  font-size: 0.6rem;
}

.dashboard-preview .chat-bubble {
  font-size: 0.65rem;
  padding: 0.5rem;
  line-height: 1.3;
}

.dashboard-preview .chat-input-area {
  padding: 0.5rem;
}

.dashboard-preview .chat-input {
  padding: 0.4rem 0.6rem;
  font-size: 0.7rem;
}

.dashboard-preview .chat-send-btn {
  padding: 0.4rem;
}

.dashboard-preview .sidebar-right .sidebar-title {
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
}

.dashboard-preview .palace-card {
  padding: 0.5rem;
  margin: 0 0.5rem 0.5rem;
}

.dashboard-preview .palace-label {
  font-size: 0.6rem;
}

.dashboard-preview .palace-sector {
  font-size: 0.55rem;
  padding: 0.1rem 0.3rem;
}

.dashboard-preview .palace-main-star {
  font-size: 0.85rem;
}

.dashboard-preview .palace-traits {
  font-size: 0.55rem;
}

.dashboard-preview .star-row-label {
  font-size: 0.55rem;
}

.dashboard-preview .star-tag {
  font-size: 0.5rem;
  padding: 0.1rem 0.25rem;
}

.dashboard-preview .san-fang-section {
  padding: 0 0.5rem;
}

.dashboard-preview .san-fang-title {
  font-size: 0.6rem;
  margin-bottom: 0.35rem;
}

.dashboard-preview .san-fang-item {
  padding: 0.35rem;
  margin-bottom: 0.25rem;
}

.dashboard-preview .san-fang-icon {
  width: 22px;
  height: 22px;
  font-size: 0.65rem;
}

.dashboard-preview .san-fang-info h4 {
  font-size: 0.6rem;
}

.dashboard-preview .san-fang-info p {
  font-size: 0.55rem;
}

/* 真实仪表盘容器 */
.real-dashboard-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FAFAFA;
  z-index: 100;
}

/* ========== 仪表盘网格布局 ========== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr 340px;
  height: 100%;
  width: 100%;
}

/* 侧边栏公共样式 */
.sidebar {
  background: rgba(249,250,251,0.8);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.sidebar-left {
  border-right: 1px solid #e5e7eb;
}

.sidebar-right {
  border-left: 1px solid #e5e7eb;
  padding: 1.5rem;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(229,231,235,0.5);
}

.sidebar-title {
  font-weight: bold;
  color: #111827;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-subtitle {
  font-size: 0.625rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

/* ========== 流年卡片 ========== */
.year-card {
  padding: 0.75rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.year-card:hover {
  border-color: #a78bfa;
}

.year-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.year-label {
  font-weight: bold;
  font-size: 1.125rem;
  color: #111827;
  font-family: serif;
}

.year-meta {
  font-size: 0.625rem;
  color: #9ca3af;
}

.year-badge {
  font-size: 0.625rem;
  font-weight: bold;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

.year-badge.purple {
  color: #7c3aed;
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
}

.year-badge.pink {
  color: #db2777;
  background: #fce7f3;
  border: 1px solid #fbcfe8;
}

.year-badge.blue {
  color: #2563eb;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
}

.year-desc {
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.4;
}

/* ========== 命宫卡片 ========== */
.palace-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.palace-card::before {
  content: "☯";
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.5rem;
  font-size: 3.75rem;
  opacity: 0.05;
}

.palace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.palace-label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  font-weight: bold;
}

.palace-sector {
  font-size: 0.625rem;
  background: #f3f4f6;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  color: #6b7280;
}

.palace-main-star {
  font-size: 1.5rem;
  font-family: serif;
  font-weight: bold;
  color: #7c3aed;
  margin-bottom: 0.25rem;
}

.palace-traits {
  font-size: 0.75rem;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 1rem;
}

/* 星曜标签 */
.star-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.star-row-label {
  font-size: 0.625rem;
  color: #9ca3af;
  width: 2rem;
}

.star-tags {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.star-tag {
  font-size: 0.625rem;
  font-weight: bold;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.star-tag.major { background: #f3e8ff; color: #7c3aed; }
.star-tag.lucky { background: #dcfce7; color: #166534; }
.star-tag.bad { background: #fee2e2; color: #991b1b; }

/* ========== 三方四正 ========== */
.san-fang-section {
  margin-top: 0.75rem;
}

.san-fang-title {
  font-size: 0.75rem;
  font-weight: bold;
  color: #111827;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.san-fang-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: white;
  border: 1px solid #f3f4f6;
  margin-bottom: 0.75rem;
}

.san-fang-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.san-fang-icon.wealth { background: #fef3c7; color: #d97706; }
.san-fang-icon.career { background: #dbeafe; color: #2563eb; }
.san-fang-icon.travel { background: #dcfce7; color: #16a34a; }

.san-fang-info h4 {
  font-size: 0.75rem;
  font-weight: bold;
  color: #374151;
  margin: 0;
}

.san-fang-info p {
  font-size: 0.625rem;
  color: #9ca3af;
  margin: 0;
}

/* ========== 中间主区域 ========== */
.main-content {
  background: white;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 图表区域 */
.chart-area {
  height: 20rem;
  border-bottom: 1px solid #f3f4f6;
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  z-index: 10;
}

.chart-title {
  font-weight: bold;
  color: #374151;
  font-size: 0.875rem;
}

.chart-legend {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chart-legend-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #7c3aed;
}

.chart-legend-text {
  font-size: 0.75rem;
  color: #9ca3af;
}

#main-chart {
  width: 100%;
  flex: 1;
}

/* 聊天区域 */
.chat-area {
  flex: 1;
  background: white;
  overflow-y: auto;
  padding: 1.5rem;
}

.chat-message {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.4s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.chat-bubble {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 1rem;
  border-top-left-radius: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #374151;
  max-width: 32rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #f3f4f6;
}

.chat-message.user .chat-bubble {
  background: black;
  color: white;
  border-top-left-radius: 1rem;
  border-top-right-radius: 0;
}

/* Markdown渲染样式 */
.chat-bubble h1, .chat-bubble h2, .chat-bubble h3 {
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #111827;
}
.chat-bubble h1 { font-size: 1.25rem; }
.chat-bubble h2 { font-size: 1.125rem; }
.chat-bubble h3 { font-size: 1rem; color: #7c3aed; }

.chat-bubble p {
  margin-bottom: 0.75rem;
}

.chat-bubble strong {
  color: #7c3aed;
  font-weight: 600;
}

.chat-bubble em {
  color: #6b7280;
}

.chat-bubble ul, .chat-bubble ol {
  margin-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.chat-bubble li {
  margin-bottom: 0.25rem;
}

.chat-bubble hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1rem 0;
}

.chat-bubble code {
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.chat-bubble blockquote {
  border-left: 3px solid #7c3aed;
  padding-left: 1rem;
  margin: 0.75rem 0;
  color: #6b7280;
  font-style: italic;
}

/* 快捷按钮 */
.suggestion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  margin-left: 3rem;
  max-width: 32rem;
}

.suggestion-btn {
  padding: 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.suggestion-btn:hover {
  border-color: #a78bfa;
  background: white;
}

.suggestion-label {
  font-size: 0.625rem;
  font-weight: bold;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.suggestion-btn:hover .suggestion-label {
  color: #7c3aed;
}

.suggestion-text {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

/* 输入区域 */
.chat-input-area {
  padding: 1rem;
  border-top: 1px solid #f3f4f6;
}

.chat-input-wrapper {
  position: relative;
}

.chat-input {
  width: 100%;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  padding-right: 3rem;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}

.chat-input:focus {
  background: white;
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(196,181,253,0.2);
}

.chat-send-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.375rem;
  background: #e5e7eb;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s;
}

.chat-send-btn:hover {
  background: #7c3aed;
  color: white;
}

/* ========== 弹窗 ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 28rem;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

.modal-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-family: serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: black;
}

.modal-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* 表单 */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.gender-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gender-btn {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: bold;
  color: #4b5563;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}

.gender-btn:hover,
.gender-btn.selected {
  border-color: #7c3aed;
  color: #7c3aed;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  outline: none;
  font-weight: 500;
  color: #111827;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus {
  border-color: #7c3aed;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  background: black;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: bold;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-submit:hover {
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
  transform: scale(1.01);
}

.btn-submit .arrow {
  transition: transform 0.2s;
}

.btn-submit:hover .arrow {
  transform: translateX(4px);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 250px 1fr 280px;
  }
}

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

  .sidebar-left,
  .sidebar-right {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}
