/* 主题样式定义 */

/* 颜色定义 */
:root {
  --pink-500: #f472b6;
  --purple-500: #9f7aea;
  --blue-500: #60a5fa;
  --green-500: #10b981;
  --red-500: #ef4444;
  --yellow-500: #f59e0b;
  
  --theme-primary: var(--pink-500);
  --theme-secondary: var(--purple-500);
  --theme-gradient: linear-gradient(135deg, var(--pink-500), var(--purple-500));
}

/* 布局和容器 */
.theme-container {
  padding: 1rem;
  margin-bottom: 5rem;
}

.theme-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  margin-bottom: 1rem;
}

.theme-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 20;
}

/* 按钮样式 */
.theme-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-btn-primary {
  background: var(--theme-gradient);
  color: white;
  border: none;
}

.theme-btn-outline {
  background: white;
  color: var(--theme-primary);
  border: 1px solid var(--theme-primary);
}

/* 图标容器 */
.theme-icon-container {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f9fafb;
  color: #6b7280;
  transition: all 0.3s ease;
}

/* 导航栏 */
.theme-navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid #f3f4f6;
  padding: 0.5rem 0;
  z-index: 30;
}

.theme-navbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  font-size: 0.75rem;
}

.theme-navbar-item i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* 输入框样式 */
.theme-input {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.theme-input:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.1);
}

/* 标签样式 */
.theme-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #f9fafb;
  color: #6b7280;
}

.theme-tag-primary {
  background-color: rgba(244, 114, 182, 0.1);
  color: var(--theme-primary);
}

/* 进度条样式 */
.theme-progress {
  height: 0.5rem;
  background-color: #f3f4f6;
  border-radius: 9999px;
  overflow: hidden;
}

.theme-progress-bar {
  height: 100%;
  background: var(--theme-gradient);
  border-radius: 9999px;
}

/* 打字动画 */
.typing-indicator {
  display: inline-flex;
  align-items: center;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  margin: 0 2px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  animation: typing 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

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

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

@keyframes typing {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
} 