/* Signup page (design signup.html) — hides base chrome */
body.signup-page #navbar,
body.signup-page #mobNav,
body.signup-page #site-footer,
body.signup-page #auth-modal {
  display: none !important;
}

body.signup-page {
  background: #f7f6f2;
  min-height: 100vh;
  padding-top: 0;
}

.signup-page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 20px max(24px, env(safe-area-inset-bottom, 24px));
  font-family: 'Inter', sans-serif;
}

.signup-page-wrap .top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #f7f6f2;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  padding: 0 28px;
  z-index: 100;
}

.signup-page-wrap .top-nav .lang-toggle {
  margin-left: auto;
  display: flex;
  background: #f3f4f6;
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  margin-right: 12px;
}

.signup-page-wrap .top-nav .lang-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #6b7280;
  transition: 0.2s;
  font-family: inherit;
}

.signup-page-wrap .top-nav .lang-btn.active {
  background: #11132e;
  color: #fff;
}

.signup-page-wrap .top-nav .logo {
  font-size: 20px;
  font-weight: 800;
  color: #11132e;
  text-decoration: none;
}

.signup-page-wrap .top-nav .logo span {
  color: #0e8b61;
}

.signup-page-wrap .top-nav .back-link {
  margin-left: 0;
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
}

.signup-page-wrap .top-nav .back-link:hover {
  color: #11132e;
}

.signup-page-wrap .container {
  width: 100%;
  max-width: 720px;
  margin-top: 56px;
}

.signup-page-wrap .card {
  background: #fff;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.signup-page-wrap .logo {
  font-size: 30px;
  font-weight: 800;
  color: #11132e;
  margin-bottom: 30px;
}

.signup-page-wrap .progress-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

.signup-page-wrap .progress {
  height: 10px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 40px;
}

.signup-page-wrap .progress-fill {
  height: 100%;
  width: 14.28%;
  background: #0e8b61;
  transition: 0.4s;
}

.signup-page-wrap .step {
  display: none;
  animation: signupFade 0.3s ease;
}

.signup-page-wrap .step.active {
  display: block;
}

@keyframes signupFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.signup-page-wrap h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: #11132e;
  margin-bottom: 10px;
}

.signup-page-wrap .subtitle {
  font-size: 17px;
  color: #6b7280;
  margin-bottom: 30px;
}

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

.signup-page-wrap .option {
  height: 62px;
  border: 2px solid #e5e7eb;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  user-select: none;
}

.signup-page-wrap .option:hover {
  border-color: #0e8b61;
}

.signup-page-wrap .option.selected {
  background: #11132e;
  color: #fff;
  border-color: #11132e;
}

.signup-page-wrap .search {
  width: 100%;
  height: 60px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 0 18px;
  margin-top: 18px;
  font-size: 15px;
  outline: none;
  transition: 0.25s;
  font-family: inherit;
}

.signup-page-wrap .search:focus {
  border-color: #0e8b61;
}

.signup-page-wrap .input {
  width: 100%;
  height: 64px;
  border: 2px solid #e5e7eb;
  border-radius: 18px;
  padding: 0 20px;
  font-size: 18px;
  outline: none;
  transition: 0.25s;
  font-family: inherit;
}

.signup-page-wrap .input:focus {
  border-color: #0e8b61;
}

.signup-page-wrap .phone-row {
  display: flex;
  gap: 10px;
}

.signup-page-wrap .phone-prefix {
  height: 64px;
  width: 88px;
  border: 2px solid #e5e7eb;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #11132e;
  flex-shrink: 0;
}

.signup-page-wrap .otp-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.signup-page-wrap .otp-box {
  width: 64px;
  height: 72px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #11132e;
  outline: none;
  transition: 0.25s;
  font-family: inherit;
}

.signup-page-wrap .otp-box:focus {
  border-color: #0e8b61;
}

.signup-page-wrap .resend .otp-resend-disabled {
  pointer-events: none;
  opacity: 0.45;
  cursor: not-allowed;
}

.signup-page-wrap .resend {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: #6b7280;
}

.signup-page-wrap .resend a {
  color: #0e8b61;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.signup-page-wrap .password-wrap {
  position: relative;
}

.signup-page-wrap .password-wrap .input {
  padding-right: 56px;
}

.signup-page-wrap .toggle-pw {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  user-select: none;
}

.signup-page-wrap .hint {
  font-size: 13px;
  color: #6b7280;
  margin-top: 10px;
}

.signup-page-wrap .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.signup-page-wrap .btn-back {
  background: transparent;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  height: 60px;
  padding: 0 28px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  font-family: inherit;
}

.signup-page-wrap .btn-back:hover {
  border-color: #11132e;
  color: #11132e;
}

.signup-page-wrap .btn {
  background: #11132e;
  color: #fff;
  border: none;
  height: 60px;
  padding: 0 35px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}

.signup-page-wrap .btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.signup-page-wrap .btn:active {
  transform: translateY(0);
}

.signup-page-wrap .btn-green {
  background: #0e8b61;
}

.signup-page-wrap .login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #6b7280;
}

.signup-page-wrap .login-link a {
  color: #0e8b61;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .signup-page-wrap .card {
    padding: 28px;
  }

  .signup-page-wrap h1 {
    font-size: 32px;
  }

  .signup-page-wrap .grid {
    grid-template-columns: 1fr;
  }

  .signup-page-wrap .otp-box {
    width: 48px;
    height: 60px;
    font-size: 22px;
  }
}
