/**
 * 信息采集页面样式
 */

.collect-container {
  padding: 30px 20px;
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
}

.header {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.header-actions {
  position: absolute;
  top: 0;
  right: 0;
}

.logo {
  font-size: 36px;
  font-weight: bold;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 14px;
  color: #666;
}

.progress-container {
  margin-bottom: 30px;
}

.progress-text {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.step-wrapper {
  min-height: 400px;
}

.step-header {
  text-align: center;
  margin-bottom: 30px;
}

.step-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.step-subtitle {
  font-size: 14px;
  color: #999;
}

.step-content {
  display: none;
}

/* 性别选择 */
.gender-selection {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.gender-card {
  position: relative;
  width: 140px;
  height: 160px;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gender-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.gender-card.active {
  border-width: 3px;
}

.gender-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.gender-label {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.gender-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background-color: #52c41a;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* 日历类型选择 */
.calendar-type-selection {
  margin-bottom: 30px;
}

.calendar-type-title {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.calendar-type-options {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.calendar-type-option {
  flex: 1;
  max-width: 200px;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-type-option:hover {
  border-color: #6366f1;
  background-color: #f9fafb;
}

.calendar-type-option.active {
  border-color: #6366f1;
  background-color: #eff6ff;
}

.option-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.option-label {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.option-desc {
  font-size: 12px;
  color: #999;
}

/* 日期时间选择器 */
.date-picker-container,
.time-picker-container {
  margin: 30px 0;
}

/* 闰月选择 */
.leap-month-selection {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9fafb;
  border-radius: 8px;
}

.leap-month-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 8px;
}

.checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.checkbox.checked {
  background-color: #6366f1;
  border-color: #6366f1;
}

.checkbox-icon {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-label {
  font-size: 14px;
  color: #374151;
}

.leap-month-tip {
  font-size: 12px;
  color: #9ca3af;
  padding-left: 30px;
}

/* 按钮组 */
.button-group {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.button-group .btn {
  flex: 1;
}

.btn-link {
  background-color: transparent;
  color: #6366f1;
  border: 1px solid #6366f1;
}

.btn-link:hover {
  background-color: #eff6ff;
}

/* 隐私声明 */
.privacy-notice {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background-color: #fef3c7;
  border-radius: 8px;
}

.notice-text {
  font-size: 13px;
  color: #92400e;
}

/* 进度指示器 */
.progress-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  padding-bottom: 20px;
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e5e7eb;
  transition: all 0.3s ease;
}

.progress-dot.active {
  background-color: #6366f1;
  transform: scale(1.3);
}

/* 出生信息选择器 */
.birth-selectors {
  margin: 30px 0;
}

.selector-row {
  margin-bottom: 20px;
}

.selector-label {
  display: block;
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background-color: #fff;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-select:hover {
  border-color: #6366f1;
}

.form-select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-select option {
  padding: 10px;
}

/* 输入容器 */
.input-container {
  margin: 30px 0;
}
