
.signin-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.banner-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);

}

.banner-text p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
@media (max-width: 576px) {
    .banner-text h1 {
        font-size: 1.8rem;
    }
    .banner-text p {
        font-size: 1rem;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 2.3rem;
    }
    .banner-text p {
        font-size: 1.2rem;
    }
}
@media (max-width: 991px) {
    .banner-text h1 {
        font-size: 2.8rem;
    }
}

.signin-main{
    padding: 80px 0;
    background-color: #f0f4f8;
}
/* User status section */
.signin-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.user-status {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex
;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
@media (max-width: 576px) {
    .user-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .user-info {
        justify-content: center;
    }
    .user-status {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .signin-calendar {
        padding: 20px 15px;
    }
    .calendar-grid {
        max-width: 100%;
        margin: 0 auto;
    }
    .calendar-days {
        gap: 5px;
    }
    .calendar-day {
        border-radius: 5px;
        min-height: 32px;
    }
}

@media (max-width: 576px) {
    .signin-hero {
        padding: 40px 0;
    }
    .calendar-grid {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .calendar-weekdays {
        font-size: 0.8rem;
    }
    .calendar-days {
        gap: 3px;
    }
    .day-number {
        font-size: 0.85rem;
        margin: 0;
        padding: 2px 0;
        width: 100%;
    }
    .calendar-day {
        font-size: 0.7rem;
        padding: 0;
        min-width: 0;
        text-align: center;
        height: auto;
    }
}


.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details h3 {
    margin: 0;
    font-size: 20px;
}

.user-stats {
    display: flex;
    gap: 30px;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #1e88e5;
}

.stat-label {
   font-size: 0.9rem;
    color: #666;
}

/* Calendar styles */
.signin-calendar {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.calendar-header {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}
.calendar-grid{
    max-width: 800px;
    margin: 0 auto;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.weekday {
    padding: 6px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    display: flex
;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 5px 2px;
    overflow: hidden;
}
.day-number{
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.calendar-day.inactive {
    color: #ccc;
    background: #f5f5f5;
}

.calendar-day.today {
    border: 2px solid #1e88e5;
    color: #1e88e5;
}

.calendar-day:hover:not(.inactive) {
    background: #f0f7ff;
}




/* 签到规则 */

/* 签到规则 */
/* 签到规则 */
.signin-rules {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.rules-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
}

.rule-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #1e88e5;
    margin-right: 20px;
    flex-shrink: 0;
}

.rule-text h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.3rem;
}

.rule-text p {
    color: #666;
    line-height: 1.5;
}


.section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
  }
  
  .section-title:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: #1e88e5;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .subsection-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}
.table-container {
    overflow-x: auto;
    margin-bottom: 15px;
}
.rewards-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.rewards-table th {
    background-color: #3498db;
    color: white;
    font-weight: 600;
}
.rewards-table th, .rewards-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}
.rewards-table td:first-child {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}
.rewards-table th, .rewards-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}
  .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #757575;
  }

  @media (max-width: 480px) {
    .rewards-table th,
    .rewards-table td {
      padding: 6px 8px;
      font-size: 12px;
    }
  }


  .table-notice {
    background-color: #fff8e1;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .table-notice p {
        font-size: 13px;
    }
}

.table-notice p {
    color: #f39c12;
    margin: 0;
    font-size: 14px;
    display: flex
;
    align-items: center;
}
.table-notice i {
    margin-right: 8px;
    font-size: 16px;
}

.fa-solid, .fas {
    font-weight: 900;
}


@media (max-width: 768px) {
    .rules-content {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 991px) {
    .rules-content {
        grid-template-columns: 1fr 1fr;
    }
}
.rules-content {
    display: grid
;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.level-rewards {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}











/* 签到奖励 */
.signin-rewards {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.rewards-container {
    display: flex;
    overflow-x: auto;
    padding: 20px 0;
    margin: 0 -15px 30px;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.rewards-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.reward-box {
    min-width: 200px;
    flex: 0 0 auto;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px 20px;
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reward-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.reward-day {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.reward-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reward-value {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

.reward-status {
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 15px;
    background-color: #e8e8e8;
}

.reward-status.claimed {
    background-color: #e6f7ff;
    color: #1890ff;
}

.reward-status.not-claimed {
    background-color: #f5f5f5;
    color: #999;
}

/* 奖励指示器 */
.rewards-indicator {
    display: none; /* 默认隐藏，在移动设备上显示 */
    margin-top: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.indicator-dots {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* 签到上传区域样式 */
.signin-upload-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .upload-instructions {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
  }

  .upload-instructions h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .upload-instructions p {
    color: #666;
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.6;
  }

  .upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }

  .upload-area:hover {
    border-color: #3498db;
    background: #f8f9fa;
  }

  .upload-placeholder {
    color: #666;
  }

  .upload-placeholder i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 15px;
  }

  .upload-placeholder p {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .upload-placeholder span {
    font-size: 12px;
    color: #999;
  }

  .upload-preview {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
  }

  .upload-preview img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .preview-actions {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .upload-status {
    text-align: center;
    margin: 15px 0;
    color: #666;
  }

  .status-icon {
    font-size: 24px;
    color: #3498db;
    margin-bottom: 5px;
  }

  .submit-btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    padding: 12px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  @media (max-width: 768px) {
    .signin-upload-section {
      padding: 15px;
    }

    .upload-area {
      padding: 20px;
    }

    .upload-placeholder i {
      font-size: 36px;
    }

    .upload-preview {
      max-width: 250px;
    }
  }

  /* 等级奖励表格样式 */
  .level-rewards {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .subsection-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
  }

  .table-container {
    overflow-x: auto;
    margin-bottom: 15px;
  }

  .rewards-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
  }

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

  .rewards-table th {
    background-color: #3498db;
    color: white;
    font-weight: 600;
  }

  .rewards-table td:first-child {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
  }

  .rewards-table tr:hover {
    background-color: #f5f6fa;
  }

  .table-notice {
    background-color: #fff8e1;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 15px;
  }

  .table-notice p {
    color: #f39c12;
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
  }

  .table-notice i {
    margin-right: 8px;
    font-size: 16px;
  }

  @media (max-width: 768px) {

      .signin-main{
          padding: 40px 0;
      }
    .level-rewards {
      padding: 15px;
    }

    .rewards-table th,
    .rewards-table td {
      padding: 8px 10px;
      font-size: 14px;
    }

    .table-notice p {
      font-size: 13px;
    }
  }

  @media (max-width: 480px) {
    .rewards-table th,
    .rewards-table td {
      padding: 6px 8px;
      font-size: 12px;
    }
  }

  .signin-action {
    text-align: center;
    margin-top: 30px;
}

.signin-note {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

