/* 
 * Claude Co-Desk - 主样式文件
 * 移植自claudecodeui的Tailwind CSS设计系统
 */

/* CSS变量定义 - 移植自src/index.css */
:root {
  /* 颜色变量 - 亮色主题 (绿色海洋主题) */
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 151 61% 34%;
  --primary-foreground: 210 40% 98%;
  --secondary: 158 58% 35%;
  --secondary-foreground: 210 40% 98%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 151 61% 34%;
  --radius: 0.5rem;
  
  /* 自定义变量 */
  --sidebar-width: 320px;
  --mobile-header-height: 60px;
  --tab-bar-height: 48px;
  
  /* 滚动条变量 */
  --scrollbar-width: 6px;
  --scrollbar-track-color: transparent;
  --scrollbar-thumb-color: hsl(var(--border) / 0.4);
  --scrollbar-thumb-hover-color: hsl(var(--muted-foreground) / 0.6);
}

/* 暗色主题 (绿色海洋主题) */
.dark {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --card: 174 20% 12%;
  --card-foreground: 210 40% 98%;
  --popover: 174 20% 12%;
  --popover-foreground: 210 40% 98%;
  --primary: 151 61% 44%;
  --primary-foreground: 222.2 47.4% 11.2%;
  --secondary: 158 58% 25%;
  --secondary-foreground: 210 40% 98%;
  --muted: 174 20% 18%;
  --muted-foreground: 215 20.2% 65.1%;
  --accent: 174 20% 18%;
  --accent-foreground: 210 40% 98%;
  --destructive: 0 62.8% 50%;
  --destructive-foreground: 210 40% 98%;
  --border: 174 20% 18%;
  --input: 174 20% 18%;
  --ring: 151 61% 44%;
  
  /* 暗色主题滚动条变量 */
  --scrollbar-thumb-color: hsl(var(--border) / 0.5);
  --scrollbar-thumb-hover-color: hsl(var(--muted-foreground) / 0.7);
}

/* 全局样式重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
}

/* 加载动画 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid hsl(var(--border));
  border-top: 4px solid hsl(var(--primary));
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

/* 工具类 */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  padding: 8px 16px;
  gap: 8px;
  text-decoration: none;
}

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

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover:not(:disabled) {
  background: hsl(var(--primary) / 0.9);
}

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

.btn-secondary:hover:not(:disabled) {
  background: hsl(var(--secondary) / 0.8);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* 应用容器 */
.app-container {
  height: 100vh;
  overflow: hidden;
}

/* 移动端任务容器默认隐藏 */
.mobile-tasks-container {
  display: none;
}

/* 加载界面 */
.loading-screen {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--background));
}

.loading-content {
  text-align: center;
  max-width: 400px;
  padding: 32px;
}

.loading-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: hsl(var(--foreground));
}

.loading-content p {
  color: hsl(var(--muted-foreground));
  font-size: 16px;
}

/* 启动进度条样式 */
.init-progress-container {
  margin: 20px 0;
  width: 100%;
  max-width: 300px;
}

.progress-bar {
  height: 6px;
  background: hsl(var(--muted));
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: hsl(var(--primary));
  transition: width 0.3s ease;
  width: 0%;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
}

/* 启动状态日志样式 */
.init-status-log {
  margin-top: 20px;
  text-align: left;
  max-width: 400px;
}

.status-items {
  background: hsl(var(--muted) / 0.1);
  border-radius: 8px;
  padding: 12px;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.status-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
}

/* Public link controls */
.public-link-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-link-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-link-display {
  font-size: 12px;
  color: hsl(var(--primary));
  font-weight: 500;
  background: hsl(var(--primary) / 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid hsl(var(--primary) / 0.2);
}

.public-url-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: hsl(var(--primary) / 0.05);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid hsl(var(--primary) / 0.15);
  max-width: 300px;
}

.public-url-text {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 11px;
  color: hsl(var(--primary));
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.copy-url-btn {
  padding: 4px 8px;
  font-size: 10px;
  background: hsl(var(--primary));
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.copy-url-btn:hover {
  background: hsl(var(--primary) / 0.8);
}

.btn-small {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 1px solid hsl(var(--primary));
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-small:hover {
  background: hsl(var(--primary) / 0.9);
  border-color: hsl(var(--primary) / 0.9);
}

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

.status-icon {
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.status-icon img {
  display: block;
}

/* 环境错误界面 */
.environment-error {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--background));
}

.error-content {
  text-align: center;
  max-width: 500px;
  padding: 32px;
}

.error-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.error-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: hsl(var(--foreground));
}

.environment-status {
  margin: 24px 0;
  padding: 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  text-align: left;
}

.environment-status .status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border));
}

.environment-status .status-item:last-child {
  border-bottom: none;
}

.status-indicator {
  font-weight: 600;
}

.status-indicator.success {
  color: #228B64;
}

.status-indicator.error {
  color: hsl(var(--destructive));
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* 主应用布局 */
.main-app {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 移动端头部 */
.mobile-header {
  display: none;
  height: var(--mobile-header-height);
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}

.mobile-menu-btn {
  padding: 8px;
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 150ms ease;
}

.mobile-menu-btn:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.mobile-title {
  font-size: 18px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

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

.mobile-action-btn {
  padding: 8px;
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 150ms ease;
}

.mobile-action-btn:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

/* 应用布局 */
.app-layout {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 767px) {
  .mobile-header {
    display: flex;
  }
  
  .main-app {
    height: 100vh;
  }
  
  .app-layout {
    height: calc(100vh - var(--mobile-header-height));
  }
  
  :root {
    --sidebar-width: 280px;
  }
}

/* 平滑过渡效果 */
button, 
a, 
input, 
textarea, 
select,
[role="button"] {
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 主题过渡 */
body, div, section, article, aside, header, footer, nav, main,
h1, h2, h3, h4, h5, h6, p, span, blockquote,
ul, ol, li, dl, dt, dd,
table, thead, tbody, tfoot, tr, td, th,
form, fieldset, legend, label {
  transition: background-color 200ms ease-in-out, 
              border-color 200ms ease-in-out,
              color 200ms ease-in-out;
}

/* 全局滚动条样式系统 */
/* Firefox滚动条 */
* {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 200ms ease-in-out;
}

/* 容器悬停时显示Firefox滚动条 */
*:hover {
  scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}

/* Webkit滚动条 - 默认隐藏 */
::-webkit-scrollbar {
  width: var(--scrollbar-width);
  height: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track-color);
}

::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
  transition: background-color 200ms ease-in-out;
}

/* 容器悬停时显示Webkit滚动条 */
*:hover::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-color);
}

/* 滚动条本身悬停时高亮 */
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover-color) !important;
}

/* 水平滚动条 */
::-webkit-scrollbar-corner {
  background: var(--scrollbar-track-color);
}

/* 减少动画（可访问性） */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* 无障碍模式下直接显示滚动条 */
  * {
    scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb-color);
  }
}

/* ===== 移动端响应式设计 ===== */
@media (max-width: 768px) {
  /* 基础布局调整 */
  body {
    overflow-x: hidden;
  }
  
  /* 主要容器调整 */
  .main-container {
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
  }
  
  /* 侧边栏在移动端隐藏或转换为顶部导航 */
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    border-right: 1px solid hsl(var(--border));
    background: hsl(var(--background));
  }
  
  .sidebar.mobile-open {
    left: 0;
  }
  
  /* 移动端遮罩层 */
  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .mobile-overlay.active {
    display: block;
    opacity: 1;
  }
  
  /* 主内容区域调整 */
  .main-content {
    width: 100%;
    margin-left: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  /* 移动端顶部导航栏 */
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
  }
  
  .mobile-menu-btn:hover {
    background: hsl(var(--accent));
  }
  
  .mobile-title {
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
  }
  
  /* 内容滚动区域 */
  .mobile-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
  }
  
  /* 表单元素移动端优化 */
  .form-control {
    font-size: 16px; /* 防止移动端缩放 */
    padding: 12px;
    min-height: 44px; /* 移动端友好的触摸目标 */
  }
  
  .btn {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 16px;
  }
  
  /* 任务列表移动端优化 */
  .task-item {
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 8px;
  }
  
  /* 模态框移动端优化 */
  .modal-content {
    margin: 16px;
    max-height: calc(100vh - 32px);
    border-radius: 12px;
    overflow: hidden;
  }
  
  .modal-body {
    max-height: calc(100vh - 120px);
    padding: 16px;
  }
  
  /* 隐藏桌面端特定元素 */
  .desktop-only {
    display: none !important;
  }
}

/* 更小屏幕的额外优化 */
@media (max-width: 480px) {
  .mobile-header {
    padding: 8px 12px;
  }
  
  .mobile-content {
    padding: 12px;
  }
  
  .modal-content {
    margin: 8px;
    max-height: calc(100vh - 16px);
  }
  
  .form-control,
  .btn {
    font-size: 16px; /* 保持一致，防止缩放 */
  }
}

/* ===== 移动端功能简化设计（基于Context7 Bootstrap最佳实践）===== */
/* 使用Bootstrap mobile-first方法，精确控制移动端显示内容 */
@media (max-width: 767.98px) {
  /* 移动端完全隐藏侧边栏，使用瀑布流显示 */
  .sidebar {
    display: none !important;
  }
  
  /* 移动端主布局调整 - 侧边栏隐藏后主内容区域全宽 */
  .app-layout {
    display: none !important;
  }
  
  /* 移动端任务瀑布流容器 */
  .mobile-tasks-container {
    display: block !important;
    padding: 16px;
    height: calc(100vh - var(--mobile-header-height));
    overflow-y: auto;
    background: hsl(var(--background));
    -webkit-overflow-scrolling: touch;
  }
  
  /* 移动端任务列表 */
  .mobile-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  /* 移动端任务项样式 */
  .mobile-tasks-list .task-item {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 150ms ease;
  }
  
  .mobile-tasks-list .task-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  
  /* 移动端空任务状态 */
  .mobile-tasks-list .empty-tasks {
    text-align: center;
    padding: 40px 20px;
    color: hsl(var(--muted-foreground));
  }
  
  .mobile-tasks-list .empty-tasks p {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .mobile-tasks-list .create-first-task-btn {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 150ms ease;
  }
  
  .mobile-tasks-list .create-first-task-btn:hover {
    background: hsl(var(--primary) / 0.9);
  }
  
  /* 移动端任务项布局修复 - 覆盖全局flex布局 */
  .mobile-tasks-list .task-item {
    display: block !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  
  /* 隐藏PC端专用功能 */
  #task-manager-dashboard,
  .session-tab-bar,
  #files-drawer-btn,
  #terminal-theme-toggle {
    display: none !important;
  }
}

/* 移动端PC功能提示按钮样式 */
@media (max-width: 767.98px) {
  .mobile-pc-hint-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
    border: 1px solid hsl(var(--border));
    border-radius: 6px;
    cursor: pointer;
    transition: all 150ms ease;
    opacity: 0.7;
  }
  
  .mobile-pc-hint-btn:hover {
    background: hsl(var(--accent));
    opacity: 1;
  }
  
  /* PC功能提示图标 */
  .pc-only-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
  }
}

/* 公网链接模态窗口样式 */
.public-link-modal {
  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: 10000;
}

.public-link-content {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 24px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.public-link-content h3 {
  margin: 0 0 12px 0;
  color: hsl(var(--foreground));
  font-size: 18px;
}

.public-link-content p {
  margin: 0 0 16px 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.public-link-url {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.public-link-url input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}

.public-link-url button {
  padding: 8px 16px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 150ms ease;
}

.public-link-url button:hover {
  background: hsl(var(--primary) / 0.9);
}

.service-info {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  margin-bottom: 20px;
  font-style: italic;
}

.public-link-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.public-link-actions button {
  padding: 8px 16px;
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  cursor: pointer;
  font-weight: 500;
  transition: all 150ms ease;
}

.public-link-actions button:hover {
  background: hsl(var(--accent));
}

.public-link-actions button:first-child {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.public-link-actions button:first-child:hover {
  background: hsl(var(--primary) / 0.9);
}

/* 后台任务通知样式 */
.task-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 320px;
  max-width: 400px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideInRight 0.3s ease-out;
}

.task-notification.success {
  border-left: 4px solid hsl(var(--primary));
}

.task-notification.error {
  border-left: 4px solid hsl(var(--destructive));
}

.notification-content {
  flex: 1;
}

.notification-content h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.notification-content p {
  margin: 0 0 8px 0;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}

.notification-content button {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: calc(var(--radius) - 2px);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 150ms ease;
}

.notification-content button:hover {
  background: hsl(var(--primary) / 0.9);
}

.notification-close {
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 150ms ease;
}

.notification-close:hover {
  color: hsl(var(--foreground));
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}