* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 40px 20px;
}

.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo img {
  height: 50px;
}

h1 {
  text-align: center;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.step {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ccc;
}

.step.active {
  background: #1e88e5;
  border-color: #1e88e5;
}

.line {
  width: 40px;
  height: 2px;
  background: #ccc;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.card h2 {
  margin-top: 0;
  font-size: 18px;
  margin-bottom: 20px;
}

.card input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  margin-bottom: 20px;
  font-size: 14px;
}

.card input:focus {
  outline: none;
  border-color: #1e88e5;
}

.btn {
  width: 100%;
  padding: 12px;
  border-radius: 300px;
  border: 1px solid #ccc;
  background: #0070bf;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
  color: #e0e0e0;
}

.btn:hover {
  background: #f5f5f5;
  border: 2px solid #0070bf;
  color: #0070bf;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.success-card {
  text-align: center;
  padding: 50px 20px;
}

.thumb {
  font-size: 60px;
  margin-bottom: 20px;
  animation: pop 0.4s ease forwards;
  transform: scale(0);
}

@keyframes pop {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.success-card h2 {
  color: #1e88e5;
  margin-bottom: 15px;
  font-size: 18px;
}

.success-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

input.error {
  border-bottom: 2px solid red;
}

input.error::placeholder {
  color: red;
}

.success-card {
  text-align: center;
  padding: 60px 20px;
}

.success-icon {
  font-size: 70px;
  margin-bottom: 20px;
  animation: popIn 0.5s ease forwards;
  transform: scale(0);
}

@keyframes popIn {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.success-card h2 {
  color: #1e88e5;
  font-size: 20px;
  margin-bottom: 15px;
}

.success-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  background: transparent;
}

.input-group label {
  position: absolute;
  left: 0;
  top: 10px;
  color: #999;
  transition: 0.3s ease;
  pointer-events: none;
}

/* Float label when input is focused or has a value */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -12px;
  font-size: 12px;
  color: #1e88e5;
}

.checkbox-group {
  margin-bottom: 20px;
}

.group-title {
  font-size: 14px;
  margin-bottom: 10px;
  color: #333;
}

.check-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  position: relative;
}

.check-item input {
  display: none;
}

.custom-check {
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  margin-right: 10px;
  border-radius: 3px;
  transition: 0.2s ease;
}

.check-item input:checked + .custom-check {
  background: #1e88e5;
  border-color: #1e88e5;
}

.hidden {
  display: none;
}

