/* Split Screen Layout Styles - right side fixed, only left scrolls */
.split-signup-container {
  display: flex;
  height: 100vh;
  min-height: 100vh;
  background: white;
  overflow: hidden;
}

.signup-left {
  flex: 1 1 auto;
  min-width: 0;
  width: 50%;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  background: white;
  overflow-y: auto;
}

.signup-right {
  flex: 0 0 50%;
  width: 50%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
  color: white;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.signup-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23pattern)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.signup-right-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  width: 100%;
}

.signup-logo {
  width: 200px;
  height: auto;
  margin-bottom: 2rem;
}

.signup-hero-image {
  width: 100%;
  max-width: 400px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.signup-hero-placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}

.signup-certification-wrap {
  margin: 2rem 0;
  width: 100%;
}

.signup-certification-title {
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.signup-certification {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 1.25rem;
  align-items: center;
  width: 100%;
}

.signup-certification .certification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.signup-certification .certification-badge:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.signup-certification .cert-badge-img {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  object-fit: contain;
}

.testimonial-signup {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 16px;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content {
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: white;
}

.author-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-item-signup {
  text-align: center;
}

.stat-number-signup {
  font-size: 2rem;
  font-weight: 700;
  color: #10b981;
  display: block;
}

.stat-label-signup {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-container-left {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.brand-logo-small {
  width: 120px;
  height: auto;
  margin-bottom: 1.5rem;
}

.brand-logo-large {
  width: 280px;
  height: auto;
  margin-bottom: 2.5rem;
}

/* Mobile responsiveness - stacked layout, whole page scrolls */
@media (max-width: 768px) {
  .split-signup-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  .signup-left {
    width: 100%;
    padding: 2rem 1rem;
    overflow-y: visible;
  }

  .signup-right {
    width: 100%;
    height: auto;
    min-height: 50vh;
    padding: 2rem 1rem;
  }

  .signup-certification {
    gap: 1rem;
  }

  .signup-certification .cert-badge-img {
    width: 55px;
    height: 55px;
  }

  .signup-certification-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .stats-row {
    gap: 1rem;
  }

  .stat-number-signup {
    font-size: 1.5rem;
  }
}

/* Sticky CTA Bar Styles */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sticky-cta-text {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .sticky-cta-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .sticky-cta-text {
    font-size: 0.875rem;
  }
}

.form-error {
  display: block;
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.cf-turnstile-wrapper {
  display: flex;
  justify-content: center;
}

/* Fix dropdown overflow */
.form-enhanced {
  overflow: visible !important;
}

.form-container-left {
  overflow: visible;
}

select.input-enhanced,
select {
  overflow: visible;
}

/* Match select elements to other form fields */
.signup-left select,
.form-container-left select {
  width: 100% !important;
  height: 60px !important;
  padding: 0 3rem 0 1.5rem !important;
  line-height: 56px !important;
  border: 2px solid var(--gray-200, #e5e7eb);
  border-radius: 12px;
  font-size: 1.125rem;
  color: var(--gray-900, #111827) !important;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.signup-left select:focus,
.form-container-left select:focus {
  outline: none;
  border-color: var(--primary-500, #667eea);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Left-align form labels and form groups */
.signin-form-inner .form-group {
  text-align: left;
}

.signin-form-inner .form-group .label-enhanced {
  text-align: left;
}

.signin-form-inner .form-group.margin-bottom-20 {
  display: block;
  min-height: auto;
  align-items: flex-start;
}

/* Organisation field hint: smaller, italic, above the input */
.form-help-text.organisation-hint {
  font-size: 0.75rem;
  font-style: italic;
  color: #6b7280;
  margin: 0 0 0.35rem 0;
  line-height: 1.4;
}

/* Create Account button - match site primary style (solid purple gradient) */
.signup-left .btn-primary,
.form-container-left .btn-primary,
#signupButton {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}
.signup-left .btn-primary:hover,
.form-container-left .btn-primary:hover,
#signupButton:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6d28d9 100%) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.signup-left .btn-primary:active,
#signupButton:active {
  transform: translateY(0);
}
/* Sticky CTA "Create Account" button - same primary style */
.sticky-cta .cta-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}
.sticky-cta .cta-primary:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6d28d9 100%) !important;
  color: white !important;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
