body, html {
  height: 100%;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f0f2f5;
}

.overlay {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background-color: rgba(0,0,0,0.4);
  z-index:1;
}

.form-card {
  max-width: 400px;
  width: 100%;
  padding: 2.5rem;
  background-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  z-index:2;
  color: #fff;
}

.form-card h2 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-control {
  background-color: rgba(255,255,255,0.3);
  border: none;
  color: #fff;
}

.form-control::placeholder {
  color: #f0f0f0;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
}

.checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #4caf50;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transition: all 0.3s ease-in-out;
}

.checkmark.show {
  transform: translateY(-50%) scale(1);
}

.checkmark::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 12px;
  border: solid #4caf50;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.password-rules {
  font-size: 0.8rem;
  margin-top: 5px;
  color: #f0f0f0;
  padding-left: 0;
  list-style: none;
}

.password-rules li {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  color: #f0f0f0;
}

.password-rules li.valid {
  color: #4caf50;
}

.password-rules li i {
  margin-right: 5px;
}

.signup-btn {
  background-color: #ff2d55;
  border: none;
  color: #fff;
}

.signup-btn:hover {
  background-color: #e22b4d;
}

.terms {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 1rem;
  color: #f0f0f0;
}

.terms a {
  color: #fff;
  text-decoration: underline;
}
