* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: 'Poppins', sans-serif; background: #f9f7f8; color: #333333; }

.fade-in { animation: fadeIn 0.5s ease-out forwards; }
.slide-up { animation: slideUp 0.5s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.input-field {
  background: #ffffff;
  border: 2px solid #ecdde8;
  border-radius: 10px;
  padding: 12px 16px;
  color: #333333;
  font-size: 14px;
  width: 100%;
  transition: all 0.3s;
  outline: none;
  font-family: 'Poppins', sans-serif;
}
.input-field:focus {
  border-color: #b62b59;
  box-shadow: 0 0 0 3px rgba(182, 43, 89, 0.1);
}
.input-field::placeholder { color: rgba(51,51,51,0.4); }

select.input-field { cursor: pointer; appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23b62b59' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
select.input-field option { background: #ffffff; color: #333333; }

.btn-primary {
  background: linear-gradient(135deg, #b62b59, #d63d6f);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(182, 43, 89, 0.3); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: #ffffff;
  color: #b62b59;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 10px;
  border: 2px solid #ecdde8;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}
.btn-secondary:hover { background: #f5f1f3; border-color: #b62b59; }

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 14px 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  animation: slideUp 0.3s ease-out;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast-success { background: linear-gradient(135deg, #b62b59, #d63d6f); }
.toast-error { background: #e53e3e; }

.role-card {
  background: #ffffff;
  border: 2px solid #ecdde8;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
}
.role-card:hover {
  border-color: #b62b59;
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(182, 43, 89, 0.15);
}
.role-card.selected {
  border-color: #b62b59;
  background: rgba(182, 43, 89, 0.05);
  box-shadow: 0 12px 40px rgba(182, 43, 89, 0.2);
}

.step-dot { transition: all 0.3s; }
.step-dot.active { transform: scale(1.2); }
.step-dot.completed { background: #b62b59 !important; }

.step-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #ecdde8;
  margin: 0 12px;
}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #b62b59;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hidden-phase {
  display: none;
}

.spinner {
  border: 2px solid rgba(182, 43, 89, 0.2);
  border-top: 2px solid #b62b59;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.disabled-link {
  pointer-events: none; 
  color: gray;
  cursor: not-allowed;
  opacity: 0.6;
}
@keyframes spin { to { transform: rotate(360deg); } }
