/* Registration Page Styles */

.register-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 215px 24px 270px;
  background-image: url("../images/login-bg.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.register-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 3px 3px 9px 0px #372d2924;
  padding: 80px 230px;
  width: 100%;
  max-width: 1370px;
}

.register-box:has(.form-step[data-step="1"].active) {
  padding-left: 320px;
  padding-right: 320px;
}

.register-box h1 {
  text-align: center;
}

/* Progress Indicator */
.register-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff7eb;
  color: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: var(--orange-90);
  color: #fff;
}

.step-label {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
  text-align: center;
  white-space: nowrap;
}

.progress-step.active .step-label {
  color: #333;
}

.progress-line {
  width: 80px;
  height: 3px;
  background: #e0e0e0;
  margin: 0 15px;
  margin-bottom: 20px;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Checkbox Group */
.checkbox-group {
  margin-top: 20px;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.checkbox-text a {
  color: #667eea;
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.form-actions button {
  flex: 1;
}

/* Success Message */
.register-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #4caf50;
  border-radius: 50%;
  color: #fff;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.register-success h2 {
  margin: 0 0 12px;
  color: #333;
}

.register-success p {
  color: #666;
  margin-bottom: 24px;
}

.register-success-hint {
  font-size: 13px;
  color: #999;
}

/* Footer */
.register-footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.register-footer p {
  color: #666;
  margin: 0;
}

.register-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.register-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
  .register-box:has(.form-step[data-step="1"].active),
  .register-box:has(.form-step[data-step="2"].active) {
    padding-left: 120px;
    padding-right: 120px;
  }
}

@media (max-width: 1200px) {
  .register-box:has(.form-step[data-step="1"].active),
  .register-box:has(.form-step[data-step="2"].active) {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 520px) {
  .register-container {
    padding-top: 150px;
  }

  .register-box {
    padding: 30px 20px;
  }

  .register-box h1 {
    font-size: 24px;
  }

  .step-label {
    font-size: 11px;
  }

  .progress-line {
    width: 40px;
    margin: 0 10px;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-secondary {
    order: 1;
  }

  .btn-primary {
    order: 0;
  }
}
