* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, .20), transparent 28%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, .16), transparent 25%),
    linear-gradient(135deg, #06131a 0%, #0f172a 45%, #111827 100%);
}

.signup-container {
  width: 100%;
  max-width: 1200px;

  display: grid;
  grid-template-columns: 1.1fr .9fr;

  overflow: hidden;

  border-radius: 28px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
}

/* LEFT BANNER */

.banner-side {
  position: relative;

  min-height: 760px;

  overflow: hidden;

  background: #0f172a;
}

.banner-side::before {
  content: "";

  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  transform: scale(1.05);

  opacity: .75;

  z-index: 0;

  animation: bannerSlide 18s infinite;
}

.banner-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(135deg,
      rgba(6, 182, 212, .68),
      rgba(15, 23, 42, .88));

  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;

  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 60px;
}

.banner-content h1 {
  font-size: 58px;

  color: #fff;

  line-height: 1.05;

  margin-bottom: 24px;

  text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.banner-content p {
  max-width: 500px;

  font-size: 22px;

  line-height: 1.7;

  color: #dbeafe;
}

/* RIGHT SIDE */

.signup-side {
  background: rgba(255, 255, 255, .98);

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 40px;
}

.back-btn {
  display: inline-block;

  margin-bottom: 20px;

  text-decoration: none;

  color: #0891b2;

  font-weight: 700;
}

.signup-card {
  width: 100%;
  max-width: 420px;

  margin: auto;
}

.signup-card h1 {
  font-size: 32px;

  margin-bottom: 10px;

  color: #0f172a;
}

.subtitle {
  color: #64748b;

  margin-bottom: 24px;
}

/* GOOGLE BTN */

.google-btn {
  width: 100%;

  border: none;

  background: #fff;

  padding: 14px;

  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 4px 14px rgba(0, 0, 0, .1);

  transition: .2s;
}

.google-btn img {
  width: 22px;
}

.google-btn:hover {
  transform: translateY(-2px);
}

.divider {
  text-align: center;

  margin: 22px 0;

  color: #94a3b8;
}

/* FORM */

form {
  display: flex;
  flex-direction: column;

  gap: 14px;
}

input {
  width: 100%;

  padding: 14px;

  border: 1px solid #cbd5e1;

  border-radius: 12px;

  font-size: 15px;

  outline: none;

  transition: .2s;
}

input:focus {
  border-color: #06b6d4;

  box-shadow: 0 0 0 3px rgba(6, 182, 212, .16);
}

/* PASSWORD */

.password-group {
  position: relative;

  width: 100%;
}

.password-group input {
  padding-right: 60px;
}

.toggle-password {
  position: absolute;

  right: 10px;
  top: 50%;

  transform: translateY(-50%);

  width: 40px;
  height: 40px;

  border-radius: 12px;

  background: #f1f5f9;

  color: #475569;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  z-index: 10;

  transition: .2s;
}

.toggle-password:hover {
  background: #e2e8f0;

  color: #0f172a;
}

.toggle-password i {
  font-size: 15px;
}

/* BUTTON */

.signup-btn {
  border: none;

  background: #06b6d4;

  color: #fff;

  padding: 14px;

  border-radius: 12px;

  font-size: 16px;
  font-weight: 800;

  cursor: pointer;

  transition: .2s;
}

.signup-btn:hover {
  background: #0891b2;

  transform: translateY(-1px);
}

/* LINKS */

.signup-links {
  margin-top: 20px;

  display: flex;
  flex-direction: column;

  gap: 10px;
}

.signup-links a {
  text-decoration: none;

  color: #0891b2;

  font-size: 14px;

  font-weight: 600;
}

/* MOBILE */

@media(max-width:980px) {

  .signup-container {
    grid-template-columns: 1fr;

    max-width: 430px;
  }

  .banner-side {
    display: none;
  }

  .signup-side {
    padding: 28px;
  }

}

@media(max-width:480px) {

  body {
    padding: 14px;
  }

  .signup-side {
    padding: 24px;
  }

  .signup-card h1 {
    font-size: 28px;
  }

}

/* SLIDER */

@keyframes bannerSlide {

  0%,
  30% {
    background-image:
      url('https://zdinvxowzpkolbfzpcac.supabase.co/storage/v1/object/public/website-assets/photo-1555664424-778a1e5e1b48%20(1).avif');
  }

  33%,
  63% {
    background-image:
      url('https://zdinvxowzpkolbfzpcac.supabase.co/storage/v1/object/public/website-assets/photo-1531545514256-b1400bc00f31.avif');
  }

  66%,
  100% {
    background-image:
      url('https://zdinvxowzpkolbfzpcac.supabase.co/storage/v1/object/public/website-assets/photo-1557701197-2f99da0922dd.avif');
  }

}

.auth-trust-text {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

/* PREMIUM SIGNUP SUCCESS POPUP */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .72);
  backdrop-filter: blur(10px);

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;
  z-index: 9999;
}

.popup-overlay.active {
  display: flex;
}

.premium-popup {
  width: 100%;
  max-width: 460px;

  background: rgba(255, 255, 255, .98);
  border-radius: 26px;

  padding: 34px 30px;

  text-align: center;

  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  animation: popupFade .28s ease;
}

.success-icon {
  width: 70px;
  height: 70px;

  margin: 0 auto 18px;

  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);

  color: #fff;
  font-size: 38px;
  font-weight: 900;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 30px rgba(34, 197, 94, .35);
}

.premium-popup h2 {
  font-size: 26px;
  color: #0f172a;
  margin-bottom: 14px;
}

.premium-popup p {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 14px;
}

.popup-note,
.security-note {
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;

  padding: 14px;
  border-radius: 16px;

  font-size: 14px;
  line-height: 1.6;
  color: #334155;

  margin: 14px 0;
}

.security-note {
  background: #ecfeff;
  border-color: #bae6fd;
}

.small-note {
  font-size: 13px !important;
  color: #64748b !important;
}

#checkEmailBtn {
  width: 100%;

  border: none;
  background: linear-gradient(135deg, #06b6d4, #0891b2);

  color: #fff;

  padding: 15px;
  border-radius: 14px;

  font-size: 16px;
  font-weight: 800;

  cursor: pointer;

  transition: .2s;
}

#checkEmailBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 182, 212, .35);
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media(max-width:480px) {
  .premium-popup {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .premium-popup h2 {
    font-size: 22px;
  }

  .success-icon {
    width: 62px;
    height: 62px;
    font-size: 34px;
  }
}

/* EXISTING EMAIL WARNING POPUP */

.warning-popup {
  border-top: 4px solid #f59e0b;
}

.warning-icon {
  width: 70px;
  height: 70px;

  margin: 0 auto 18px;

  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);

  color: #fff;
  font-size: 42px;
  font-weight: 900;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 30px rgba(245, 158, 11, .35);
}

.secondary-popup-btn {
  width: 100%;

  margin-top: 12px;

  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;

  padding: 14px;
  border-radius: 14px;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;
  transition: .2s;
}

.secondary-popup-btn:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

#goToLoginBtn {
  width: 100%;

  border: none;
  background: linear-gradient(135deg, #f59e0b, #d97706);

  color: #fff;

  padding: 15px;
  border-radius: 14px;

  font-size: 16px;
  font-weight: 800;

  cursor: pointer;

  transition: .25s ease;

  box-shadow: 0 12px 28px rgba(245, 158, 11, .30);
}

#goToLoginBtn:hover {
  transform: translateY(-2px);

  box-shadow: 0 18px 35px rgba(245, 158, 11, .40);

  background: linear-gradient(135deg, #fbbf24, #d97706);
}

/* PASSWORD MISMATCH POPUP BUTTON */

#retryPasswordBtn {
  width: 100%;

  border: none;

  background: linear-gradient(135deg, #ef4444, #dc2626);

  color: #fff;

  padding: 15px;

  border-radius: 14px;

  font-size: 16px;
  font-weight: 800;

  cursor: pointer;

  transition: .25s ease;

  box-shadow: 0 12px 28px rgba(239, 68, 68, .30);
}

#retryPasswordBtn:hover {
  transform: translateY(-2px);

  box-shadow: 0 18px 35px rgba(239, 68, 68, .40);

  background: linear-gradient(135deg, #f87171, #dc2626);
}

.loading-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, .28);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}