* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  margin-bottom: 40px;
}

.logo {
  font-size: 32px;
  font-weight: 300;
}

.logo .xana {
  color: #2c3e50;
}

.logo .health {
  color: #5a9c8e;
  font-weight: 500;
}

.settings-icon {
  width: 45px;
  height: 45px;
  background-color: #2c3e50;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  color: white;
}

.container {
  max-width:800px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 60px 80px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Step Progress Bar */
.step-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

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

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #d4e4e0;
  color: #8fb3a9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.step.active .step-circle {
  background-color: #5a9c8e;
  color: white;
}

.step.completed .step-circle {
  background-color: #5a9c8e;
  color: white;
}

/* Progress Line between steps */
.progress-line {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #d4e4e0;
  z-index: 1;
}

.progress-line-fill {
  height: 100%;
  background-color: #5a9c8e;
  transition: width 0.3s ease;
  width: 0%;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin: 0 auto;
  position: relative;
}

/* Form Content */
.form-content {
  margin-top: 40px;
}

.form-step {
  display: none;
}

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

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

.form-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.form-subtitle {
  text-align: center;
  font-size: 16px;
  color: #7a8a99;
  margin-bottom: 50px;
}

.form-group {
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  flex-direction: column; 
  margin-bottom: 15px;
  flex: 1; 
}

/* If you want multiple form-rows side by side, wrap them in a container */
.form-columns {
  display: flex;
  gap: 15px;
}

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

label {
  display: block;
  font-size: 15px;
  color: #7a8a99;
  margin-bottom: 8px;
}

.required {
  color: #e74c3c;
  font-size: 14px;
  display: block;
  margin-top: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 16px 20px;
  border: none;
  background-color: #f0f4f3;
  border-radius: 8px;
  font-size: 15px;
  color: #2c3e50;
  transition: background-color 0.3s ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
select,
textarea::placeholder {
  color: #a8b8c4;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  background-color: #e8f0ee;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a8a99' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Navigation Buttons */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.btn {
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-prev {
  background-color: #f0f4f3;
  color: #5a9c8e;
  width: 100%;
}

.btn-prev:hover {
  background-color: #e1ebe8;
}

.btn-next,
.btn-submit {
  background-color: #5a9c8e;
  color: white;
}

.btn-next:hover,
.btn-submit:hover {
  background-color: #4d8778;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  padding: 60px 40px;
}

.success-message.active {
  display: block;
}

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

.success-title {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 16px;
}

.success-text {
  font-size: 16px;
  color: #7a8a99;
}

.phone-input-wrapper {
  display: flex;
  align-items: stretch;
  background-color: #f0f4f3;
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.phone-input-wrapper:focus-within {
  background-color: #e8f0ee;
}

.country-code-select {
  border: none;
  background-color: transparent;
  padding: 16px 12px 16px 20px;
  font-size: 15px;
  color: #2c3e50;
  cursor: pointer;
  border-right: 1px solid #d4e4e0;
  min-width: 60px;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a8a99' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

.country-code-select:focus {
  outline: none;
  background-color: transparent;
}

.phon