/* tab1.page.scss */

/* 自定义头部样式 */
.custom-header {
    --background: #ffffff;
    --color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  
  .logo span {
    margin-left: 0.5rem;
  }
  
  .nav-btn {
    margin-left: 0.5rem;
    color: #333;
  }
  
  /* 搜索栏样式 */
  .search-card {
    margin: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .search-row {
    align-items: center;
  }
  
  .search-input {
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    padding: 0.5rem;
  }
  
  .search-btn {
    --background: #ff6b6b;
    --color: white;
  }
  
  /* 分类网格样式 */
  .category-grid {
    margin: 1rem;
  }
  
  .category-card {
    margin-bottom: 1rem;
  }
  
  .card-hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }
  
  .card-hover:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .category-icon {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
  }
  
  .category-title {
    font-size: 1rem;
    font-weight: bold;
  }
  
  /* 推荐食谱样式 */
  .recommend-card {
    margin: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .section-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .recipe-card {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .recipe-card-hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }
  
  .recipe-card-hover:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .recipe-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
  }
  
  .recipe-meta {
    font-size: 0.8rem;
    color: #666;
  }
  
  /* 用户信息样式 */
  .user-info-card {
    margin: 1rem;
    border-radius: 0.5rem;
    background-color: #ff6b6b;
    color: white;
  }
  
  .greeting {
    font-size: 1rem;
  }
  
  .username {
    font-weight: bold;
  }
  
  .user-avatar {
    width: 3rem;
    height: 3rem;
    background-color: white;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
  }