/* Urbanize ID Forms - Redesigned Styles */

/* Welcome Header */
.welcome-header {
  margin-bottom: 16px;
  padding-top: 40px;
}

.welcome-title {
  font-family: 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #8991a5;
  line-height: 1.1;
  margin: 0 0 4px 0;
}

.welcome-subtitle {
  font-family: 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 27px;
  color: #33373d;
  margin: 0 0 20px 0;
}

/* Social Signup Buttons */
.social-signup {
  margin-bottom: 24px;
}

.social-signup-item {
  margin-bottom: 12px;
}

.social-signup-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 44px;
  border-radius: 4px;
  background-color: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  text-align: center;
  text-decoration: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.social-signup-item a:hover {
  color: #111827;
  background-color: #f9fafb;
  border-color: #08b2e3;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-signup-item a.linkedin {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%230077b5" d="M22.23 0H1.77C.8 0 0 .8 0 1.77v20.46C0 23.2.8 24 1.77 24h20.46C23.2 24 24 23.2 24 22.23V1.77C24 .8 23.2 0 22.23 0zM7.12 20.45H3.56V9H7.1v11.45h.02zM5.34 7.53c-1.14 0-1.87-.76-1.87-1.72 0-.98.75-1.72 1.9-1.72 1.16 0 1.87.74 1.88 1.72-.02.96-.73 1.72-1.9 1.72h-.01zm15.09 12.92h-3.54v-5.8c0-1.46-.54-2.45-1.87-2.45-.99 0-1.58.67-1.83 1.31-.1.24-.13.56-.13.89v6.05h-3.55s.05-9.82 0-10.84h3.55v1.54c.47-.73 1.32-1.76 3.22-1.76 2.35 0 4.11 1.52 4.11 4.79v6.28z"></path></svg>');
  background-repeat: no-repeat;
  background-position: 24px center;
  background-size: 20px;
}

.social-signup-item a.google {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23EA4335" d="M24 9.5c3.32 0 6.36 1.2 8.8 3.2l6.6-6.6C35.32 3.2 30.05 1 24 1 14.92 1 7.25 6.9 4.6 14.34l7.72 6.02C13.23 13.54 18.3 9.5 24 9.5z"></path><path fill="%234285F4" d="M46.58 24.48c0-1.37-.12-2.7-.33-4H24v8h12.86c-.55 2.68-2.17 4.94-4.46 6.44l7.28 5.67c4.26-3.94 6.9-9.8 6.9-16.11z"></path><path fill="%23FBBC05" d="M10.38 21.35A14.6 14.6 0 0 1 10 18.9c0-1.58.3-3.12.85-4.55L3.13 8.33A23.89 23.89 0 0 0 0 24c0 3.8.87 7.38 2.42 10.58l7.74-6.03a14.5 14.5 0 0 1-.78-7.2z"></path><path fill="%2334A853" d="M24 48c5.72 0 10.66-1.9 14.28-5.17l-7.15-5.57c-2.04 1.37-4.66 2.17-7.13 2.17-5.42 0-10.03-3.65-11.67-8.59l-7.8 6.04C7.3 43.72 14.92 48 24 48z"></path></svg>');
  background-repeat: no-repeat;
  background-position: 24px center;
  background-size: 20px;
}

.social-signup-item a.yahoo {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3386.34 3010.5" fill-rule="evenodd" clip-rule="evenodd"><path d="M0 732.88h645.84l376.07 962.1 380.96-962.1h628.76l-946.8 2277.62H451.98l259.19-603.53L.02 732.88zm2763.84 768.75h-704.26L2684.65 0l701.69.03-622.5 1501.6zm-519.78 143.72c216.09 0 391.25 175.17 391.25 391.22 0 216.06-175.16 391.23-391.25 391.23-216.06 0-391.19-175.17-391.19-391.23 0-216.05 175.16-391.22 391.19-391.22z" fill="%236001D2" fill-rule="nonzero" /></svg>');
  background-repeat: no-repeat;
  background-position: 24px center;
  background-size: 20px;
}

/* OR Divider */
.or-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  opacity: 0.7;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #d1d5db;
}

.or-divider span {
  padding: 0 16px;
  font-family: 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #8991a5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Email Signup Section */
.email-signup {
  margin-bottom: 24px;
}

.email-signup .form-item {
  margin-bottom: 0;
}

.email-signup label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
  display: block;
}

.email-signup label .form-required::after {
  color: #dc2626;
}

.email-signup input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 2px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-signup input[type="email"]::placeholder {
  color: #9ca3af;
}

.email-signup input[type="email"]:focus {
  outline: none;
  border-color: #08b2e3;
  box-shadow: 0 0 0 1px #08b2e3;
}

/* Submit Button */
.submit-container {
  margin-top: 24px;
}

.submit-container button,
.submit-container input[type="submit"] {
  width: 100%;
  height: auto;
  padding: 10px 30px;
  background-color: #08b2e3;
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: 'Roboto Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 18.7px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-container button:hover,
.submit-container input[type="submit"]:hover {
  background-color: #069ac4;
  color: #fff;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.submit-container button:active,
.submit-container input[type="submit"]:active {
  transform: scale(0.99);
}

/* Bottom Container */
.bottom-container {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.bottom-container p {
  margin: 0 0 12px 0;
}

.bottom-container .register-prompt {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.43;
  color: #333;
}

.bottom-container .register-prompt a {
  color: #08b2e3;
  font-weight: 700;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.bottom-container .register-prompt a:hover {
  text-decoration: underline;
}

.bottom-container .legal-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
}

.bottom-container .legal-text a {
  color: #08b2e3;
  text-decoration: none;
}

.bottom-container .legal-text a:hover {
  text-decoration: underline;
}

/* Legacy styles kept for backwards compatibility */
.intro {
  margin-top: 40px;
}

/* Hide the default page title when welcome header is present */
/* This applies to both modal and regular signin/signup pages */
body.in-modal .page-header,
body.in-modal h1.page-header,
body.in-modal .page-title,
body.in-modal h1.page-title,
body.in-modal .block-page-title-block {
  display: none !important;
}

/* Hide page title on pages with the urbanize ID forms */
/* Using :has() to detect presence of our custom welcome header */
body:has(.welcome-header) .page-header,
body:has(.welcome-header) h1.page-header,
body:has(.welcome-header) .page-title,
body:has(.welcome-header) h1.page-title,
body:has(.welcome-header) .block-page-title-block {
  display: none !important;
}
