/* =========================
   SIGNUP PAGE STYLES
   ========================= */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  color: #0b0d12;
  background: #ffffff;
}

/* =========================
   SIGNUP LAYOUT
   ========================= */

.signup {
  padding: 50px 24px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.signup-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

/* =========================
   LEFT: FORM
   ========================= */

.signup-form h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.signup-subtext {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 40px;
  max-width: 420px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #5b5af0;
  box-shadow: 0 0 0 3px rgba(91, 90, 240, 0.15);
}

/* CTA BUTTON */
.signup-btn {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background: #5b5af0;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.signup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(91, 90, 240, 0.35);
}

.signup-footer {
  font-size: 14px;
  margin-top: 24px;
  color: #6b7280;
}

.signup-footer a {
  color: #5b5af0;
  font-weight: 600;
  text-decoration: none;
}

/* =========================
   RIGHT: BRAND PANEL
   ========================= */

.signup-side {
  background: linear-gradient(145deg, #0b0d12, #12142c);
  border-radius: 32px;
  padding: 72px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.signup-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(91,90,240,0.25), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(132,130,255,0.25), transparent 60%);
  pointer-events: none;
}

.signup-side-content {
  position: relative;
  z-index: 1;
}

.signup-side-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.signup-side-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.signup-side-content img {
  width: 100%;
  max-width: 360px;
  opacity: 0.95;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
  .signup-container {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .signup-side {
    padding: 56px;
  }
}

@media (max-width: 640px) {
  .signup {
    padding: 36px 20px;
  }

  .signup-form h1 {
    font-size: 28px;
  }

  .signup-side {
    padding: 40px 24px;
  }
}

/* =========================
   PASSWORD STRENGTH
   ========================= */

.password-strength {
  height: 6px;
  background: #e5e7eb;
  border-radius: 6px;
  margin-top: 8px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background 0.3s ease;
}

.strength-text {
  font-size: 12px;
  margin-top: 6px;
  display: block;
  color: #6b7280;
}

/* =========================
   TERMS
   ========================= */

.terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 13px;
  color: #6b7280;
}

.terms input {
  margin-top: 4px;
}

.terms a {
  color: #5b5af0;
  font-weight: 600;
  text-decoration: none;
}

/* =========================
   SUCCESS STATE
   ========================= */

.signup-success {
  display: none;
  text-align: center;
  animation: fadeUp 0.6s ease forwards;
}

.signup-success .checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #5b5af0;
  color: #ffffff;
  font-size: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 12px 32px rgba(91, 90, 240, 0.45);
}

.signup-success h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.signup-success p {
  font-size: 15px;
  color: #6b7280;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
