.msf-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf8f5;
  padding: 2rem 1rem;
  font-family: "Inter", "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

.msf-container {
  width: 100%;
  max-width: 520px;
}

.msf-lang-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.msf-lang-select {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid #e0dcd7;
  border-radius: 50px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
}
.msf-lang-select select {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding-right: 0.8rem;
}

.msf-progress {
  margin-bottom: 2rem;
}

.msf-progress-bar {
  height: 6px;
  background: #e0dcd7;
  border-radius: 3px;
  overflow: hidden;
}

.msf-progress-fill {
  height: 100%;
  background: #7c3aed;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.msf-progress-text {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin-top: 0.5rem;
}

.msf-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 2rem 2.5rem;
  border: 1px solid #ece8e3;
  animation: msfFadeIn 0.3s ease;
}

@keyframes msfFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.msf-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  color: #888;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
  padding: 0;
  transition: color 0.2s;
}
.msf-back-btn:hover {
  color: #333;
}

.msf-step-welcome {
  text-align: center;
}
.msf-step-welcome h1, .msf-step-welcome h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}
.msf-step-welcome h1 {
  font-size: 1.6rem;
}
.msf-step-welcome h2 {
  font-size: 1.5rem;
}
.msf-step-welcome > p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.msf-welcome-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.msf-features {
  text-align: left;
  margin-bottom: 1.5rem;
}

.msf-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.msf-feature i {
  color: #7c3aed;
  font-size: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.msf-feature span {
  font-size: 0.9rem;
  color: #666;
}

.msf-step h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.msf-section {
  margin-bottom: 2rem;
}

.msf-hint {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.msf-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.msf-radio-inline {
  flex-direction: row;
}
.msf-radio-inline .msf-radio-card {
  flex: 1;
  justify-content: center;
}

.msf-radio-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid #e0dcd7;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.msf-radio-card input[type=radio] {
  display: none;
}
.msf-radio-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
}
.msf-radio-card.active {
  border-color: #7c3aed;
  background: #f5f0ff;
}

.msf-radio-sm {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.msf-concern-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid #e0dcd7;
  border-radius: 0.75rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
}
.msf-concern-card i {
  color: #7c3aed;
  font-size: 1.5rem;
}
.msf-concern-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
}
.msf-concern-card.active {
  border-color: #7c3aed;
  background: #f5f0ff;
}

.msf-detail-section {
  margin-top: 1.5rem;
}

.msf-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9rem;
}
.msf-checkbox-item input[type=checkbox] {
  accent-color: #7c3aed;
  width: 1rem;
  height: 1rem;
}
.msf-checkbox-item:hover {
  background: rgba(124, 58, 237, 0.05);
}

.msf-textarea-wrap {
  margin-top: 1rem;
}
.msf-textarea-wrap label {
  font-size: 0.85rem;
  color: #888;
  display: block;
  margin-bottom: 0.4rem;
}
.msf-textarea-wrap textarea {
  width: 100%;
  border: 1px solid #e0dcd7;
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 0.9rem;
  resize: vertical;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.msf-textarea-wrap textarea:focus {
  border-color: #7c3aed;
}

.msf-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 2px solid #e0dcd7;
  border-radius: 0.75rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
}
.msf-toggle-card .msf-toggle-label {
  font-weight: 500;
}
.msf-toggle-card .msf-toggle-desc {
  font-size: 0.8rem;
  color: #888;
}
.msf-toggle-card i {
  color: #7c3aed;
  font-size: 1.2rem;
}
.msf-toggle-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
}
.msf-toggle-card.active {
  border-color: #7c3aed;
  background: #f5f0ff;
}

.msf-field {
  margin-bottom: 1.25rem;
}
.msf-field > label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.msf-phone-row {
  display: flex;
  gap: 0.5rem;
}

.msf-phone-code {
  width: 5rem;
  border: 1px solid #e0dcd7;
  border-radius: 0.75rem;
  padding: 0.6rem;
  font-size: 0.9rem;
  outline: none;
  background: #fff;
}
.msf-phone-code:focus {
  border-color: #7c3aed;
}

.msf-input, .msf-select {
  width: 100%;
  border: 1px solid #e0dcd7;
  border-radius: 0.75rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  background: #fff;
  font-family: inherit;
}
.msf-input:focus, .msf-select:focus {
  border-color: #7c3aed;
}

.msf-input {
  flex: 1;
}

.msf-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-top: 0.5rem;
}
.msf-terms input[type=checkbox] {
  accent-color: #7c3aed;
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.msf-terms span {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}
.msf-terms a {
  color: #7c3aed;
  text-decoration: underline;
}

.msf-error {
  margin-top: 1rem;
  text-align: center;
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 500;
}

.msf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
}
.msf-btn-primary:hover {
  background: #6d28d9;
  color: #fff;
  text-decoration: none;
}
.msf-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.msf-btn-primary i {
  font-size: 1.15rem;
}

.msf-btn-full {
  width: 100%;
}

.msf-btn-booking {
  width: -moz-fit-content;
  width: fit-content;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  padding: 1rem 2rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.msf-btn-booking:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.msf-btn-continue {
  margin-top: 2rem;
}

.msf-btn-outline {
  display: inline-block;
  border: 2px solid #e0dcd7;
  background: #fff;
  color: #1a1a1a;
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s;
  text-decoration: none;
  font-family: inherit;
  width: 100%;
  text-align: center;
}
.msf-btn-outline:hover {
  border-color: #7c3aed;
}

.msf-btn-ghost {
  display: inline-block;
  background: none;
  border: none;
  color: #666;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  text-align: center;
  padding: 0.5rem;
  transition: color 0.2s;
  font-family: inherit;
}
.msf-btn-ghost:hover {
  color: #1a1a1a;
}

.msf-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.msf-success-icon i {
  font-size: 2rem;
  color: #7c3aed;
}

.msf-thank-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .msf-card {
    padding: 1.5rem;
  }
}
