body {
  margin: 0;
  font-family: "Montserrat", sans-serif;

  background: linear-gradient(
    to right,
    #ffffff 0%,
    #faf7ff 32%,
    #f1e8ff 52%,
    #e3d2ff 72%,
    #c9a8ff 100%
  );

  color: #151b3d;
  min-height: 100vh;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.auth-card {
  width: 100%;
  max-width: 560px;
  background-color: #ffffff;
  padding: 25px 40px;
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(108, 32, 245, 0.12);
  box-sizing: border-box;
}

/* Header */

.auth-logo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto;
}

.auth-card h1 {
  margin: 14px 0 5px;
  font-size: 28px;
  text-align: center;
}

.auth-subtitle {
  max-width: 390px;
  margin: 0 auto 18px;
  color: #5f6680;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

/* Form */

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px; 
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group:nth-child(3),
.form-group:nth-child(4),
.form-group:nth-child(5),
.create-account-btn {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
}

.input-wrapper {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid #dcdfea;
  border-radius: 10px;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.input-wrapper:focus-within {
  border-color: #6c20f5;
  box-shadow: 0 0 0 3px rgba(108, 32, 245, 0.08);
}

.input-wrapper > i {
  color: #737b94;
}

.input-wrapper input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: #151b3d;
}

.input-wrapper input::placeholder {
  color: #9a9fb2;
}

.password-eye {
  cursor: pointer;
  transition: color 0.2s ease;
}

.password-eye:hover {
  color: #6c20f5;
}

/* Main Button */

.create-account-btn {
  height: 46px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #9945ff, #6c20f5);
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.create-account-btn i {
  margin-left: 8px;
}

.create-account-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 32, 245, 0.25);
}

/* Divider */

.divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
}

.divider span {
  flex: 1;
  height: 1px;
  background-color: #e4e5ed;
}

.divider p {
  margin: 0;
  color: #7d8499;
  font-size: 12px;
}

/* Social Buttons */

.social-signup {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.google-btn,
.microsoft-btn {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #dcdfea;
  border-radius: 10px;
  background-color: white;
  font-family: inherit;
  font-size: 13px;
  color: #151b3d;
  cursor: pointer;
  transition: all 0.25s ease;
}

.google-btn:hover,
.microsoft-btn:hover {
  border-color: #6c20f5;
  background-color: #faf7ff;
}

.google-btn img,
.microsoft-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Login Link */

.auth-switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: #5f6680;
}

.auth-switch a {
  color: #6c20f5;
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}


.success-content {
  text-align: center;
}

.success-icon {
  margin: 25px 0 15px;
}

.success-icon i {
  font-size: 65px;
  color: #6c20f5;
}

.success-content p {
  margin: 8px 0;
  color: #5f6680;
  font-size: 14px;
}

.login-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 35px;
  background-color: #6c20f5;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.25s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 32, 245, 0.25);
}


/* Mobile */

@media (max-width: 600px) {
  .auth-page {
    padding: 14px;
    align-items: flex-start;
  }

  .auth-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .auth-logo {
    width: 145px;
  }

  .auth-card h1 {
    font-size: 24px;
  }

  .auth-subtitle {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .signup-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group:nth-child(3),
  .form-group:nth-child(4),
  .form-group:nth-child(5),
  .create-account-btn {
    grid-column: auto;
  }

  .social-signup {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .google-btn,
  .microsoft-btn {
    width: 100%;
  }

  .success-content h1 {
    font-size: 26px;
  }

  .success-content p {
    font-size: 13px;
  }

  .success-icon i {
    font-size: 52px;
  }

  .login-btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}