<template>
  <div class="invite-members gradient-background-circles">
    <MobileHeader title="Invite Members" />

    <div class="content">
      <div class="instructions">
        <div class="instruction-item">
          <span class="step-number">1.</span>
          <span>Invite users to download Likei APP</span>
        </div>
        <div class="instruction-item">
          <span class="step-number">2.</span>
          <span>Invited users need to log in to the Likei APP!</span>
        </div>
        <div class="instruction-item">
          <span class="step-number">3.</span>
          <span>Me > Host Center >Apply to join the team.</span>
        </div>
        <div class="instruction-item">
          <span class="step-number">4.</span>
          <span>Enter the team ID,click send to join.</span>
        </div>
      </div>


    </div>
  </div>
</template>

<script setup>
import MobileHeader from '../components/MobileHeader.vue'

</script>

<style scoped>
.invite-members {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.content {
  padding: 16px;
  position: relative;
  z-index: 2;
}

/* 说明步骤 */
.instructions {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.instruction-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  line-height: 1.5;
}

.instruction-item:last-child {
  margin-bottom: 0;
}

.step-number {
  color: #8B5CF6;
  font-weight: 600;
  margin-right: 8px;
  flex-shrink: 0;
}

.instruction-item span:last-child {
  color: #333;
  font-size: 14px;
}

/* 团队信息 */
.team-info {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-id-section {
  margin-bottom: 24px;
}

.team-id-section h3,
.share-section h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.team-id-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f9fa;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.team-id {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  letter-spacing: 1px;
}

.copy-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.copy-btn:hover {
  background-color: #e9ecef;
}

.copy-btn:active {
  background-color: #dee2e6;
}

/* 分享按钮 */
.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  min-width: 80px;
}

.share-btn:hover {
  background-color: #e9ecef;
  border-color: #8B5CF6;
}

.share-btn:active {
  transform: scale(0.98);
}

.share-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.share-btn span:last-child {
  font-size: 12px;
  font-weight: 500;
  color: #666;
}
</style>
