.spectrum-create-page {
  min-height: calc(100vh - var(--header-height));
  padding: 30px 0;
  background: var(--bg-page);
}

.create-section {
  max-width: 800px;
  margin: 0 auto;
}

.create-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.create-step {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.step-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 60px;
  height: 2px;
  background: #e0e0e0;
  transform: translateX(50%);
  z-index: 0;
}

.step-item:last-child::before {
  display: none;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  z-index: 1;
  transition: all 0.3s;
}

.step-item.active .step-num {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange));
  color: #fff;
}

.step-text {
  font-size: 14px;
  color: #999;
  z-index: 1;
}

.step-item.active .step-text {
  color: #333;
  font-weight: 500;
}

.create-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.create-form.hidden {
  display: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-label.required::after {
  content: ' *';
  color: #ff4d4f;
}

.form-input {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.radio-item input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-orange);
}

.surname-input-group {
  position: relative;
}

.surname-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  display: none;
  z-index: 100;
}

.surname-suggestion {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: background 0.2s;
}

.surname-suggestion:hover {
  background: #f5f5f5;
}

.date-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.date-input-group .form-input {
  flex: 1;
}

.date-sep {
  font-size: 16px;
  color: #999;
}

.create-btn {
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.3s;
}

.create-btn:hover {
  opacity: 0.9;
}

.create-btn.secondary {
  background: #f5f5f5;
  color: #666;
}

.create-btn.secondary:hover {
  background: #e8e8e8;
}

.form-actions {
  display: flex;
  gap: 16px;
}

.form-actions .create-btn {
  flex: 1;
}

.success-card {
  text-align: center;
  padding: 60px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #52c41a, #389e0d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.success-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.success-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.success-actions .create-btn {
  width: 200px;
}

.member-edit-page {
  min-height: calc(100vh - var(--header-height));
  padding: 30px 0;
  background: var(--bg-page);
}

.member-edit-page .container {
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #999;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-orange);
}

.breadcrumb .sep {
  color: #d9d9d9;
}

.edit-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.page-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.page-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
}

.page-desc {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.edit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.parent-search-group {
  display: flex;
  gap: 8px;
}

.parent-search-group .form-input {
  flex: 1;
}

.search-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.search-btn:hover {
  opacity: 0.9;
}

.parent-results {
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
}

.parent-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fafafa;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.parent-result-item:hover {
  background: #f0f0f0;
}

.parent-result-item.selected {
  background: #fff7e6;
  border: 1px solid var(--primary-orange);
}

.parent-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.parent-gender {
  font-size: 12px;
  color: #999;
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 4px;
}

.parent-gen {
  font-size: 12px;
  color: var(--primary-orange);
  padding: 2px 8px;
  background: #fff7e6;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  
  .parent-search-group {
    flex-direction: column;
  }
  
  .search-btn {
    padding: 12px;
  }
}