/* join.css — Page-specific styles for join.html */

/* Override container width for auth pages */
.container {
  max-width: 480px;
  width: 100%;
}

/* Center nav (no nav-links on join page) */
nav {
  justify-content: center;
}

/* Full-page background image */
body {
  background: url('../images/vfxdaddy1m2.jpg') center center / cover no-repeat fixed;
  min-height: 100vh;
}

/* Main content */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

/* Auth form box */
.auth-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
h1 {
  font-size: 2.1rem;
  margin-bottom: 8px;
  text-align: center;
}
.subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 32px;
}

/* (removed: .name-fields two-column grid — now single Name field) */

/* Form elements */
.form-group {
  margin-bottom: 20px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
}
input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
}
input:focus,
select:focus {
  outline: none;
  border-color: #1d3557;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

/* Password toggle */
.password-input-wrapper {
  position: relative;
}
.password-input-wrapper input {
  padding-right: 48px;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
}
.password-toggle:hover {
  color: #444;
}
.eye-icon {
  width: 20px;
  height: 20px;
}
.eye-icon.hidden {
  display: none;
}

/* Maker option toggle */
.maker-option {
  background: #f2f2f2;
  border: 2px solid #a8dadc;
  border-radius: 8px;
  padding: 16px;
  margin: 24px 0;
  cursor: pointer;
  transition: all 0.2s;
}
.maker-option:hover {
  border-color: #1d3557;
}
.maker-option.selected {
  border-color: #1d3557;
  background: #e0f2ff;
}
.maker-option-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.maker-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.maker-option-title {
  font-weight: 600;
  color: #1d3557;
  font-size: 1.05rem;
}
.maker-option-desc {
  margin-top: 8px;
  margin-left: 32px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Founding maker rate note */
.maker-founding-rate {
  margin-top: 10px;
  margin-left: 32px;
  font-size: 0.85rem;
  color: #1d3557;
  line-height: 1.5;
  padding: 10px 12px;
  background: #e0f2ff;
  border-radius: 6px;
  border-left: 3px solid #457b9d;
}

/* Terms checkbox */
.terms-checkbox {
  margin: 24px 0;
  padding: 16px;
  background: #f7f7f5;
  border: 1px solid #a8dadc;
  border-radius: 8px;
}
.terms-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
}
.terms-checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.terms-checkbox a {
  color: #1d3557;
  text-decoration: none;
  font-weight: 600;
}
.terms-checkbox a:hover {
  text-decoration: underline;
}

/* Submit button */
.btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #1d3557;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 16px;
}
.btn:hover {
  background: #15293e;
}

/* Alt link (sign in) */
.alt-link {
  text-align: center;
  margin-top: 24px;
  color: #555;
}
.alt-link a {
  color: #1d3557;
  font-weight: 600;
  text-decoration: none;
}
.alt-link a:hover {
  text-decoration: underline;
}

/* Footer overrides for auth pages */
footer {
  font-size: 0.9rem;
  margin-top: auto;
}

/* reCAPTCHA notice */
.recaptcha-notice {
  font-size: 0.75rem;
  color: #999;
  margin-top: 12px;
  text-align: center;
}
.recaptcha-notice a {
  color: #999;
  text-decoration: underline;
  margin: 0;
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 8px;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s;
}
.password-strength-bar {
  height: 100%;
  width: 0%;
  transition: all 0.3s;
  border-radius: 2px;
}
.password-strength-bar.weak {
  width: 33%;
  background: #f9844a;
}
.password-strength-bar.medium {
  width: 66%;
  background: #f9c74f;
}
.password-strength-bar.strong {
  width: 100%;
  background: #277da1;
}
.password-strength-text {
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}
.password-strength-text.weak {
  color: #f9844a;
}
.password-strength-text.medium {
  color: #f9c74f;
}
.password-strength-text.strong {
  color: #277da1;
}
.password-requirements {
  margin-top: 8px;
  padding: 12px;
  background: #f7f7f5;
  border-radius: 6px;
  font-size: 0.85rem;
  display: none;
}
.password-requirements.show {
  display: block;
}
.password-requirement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  color: #666;
}
.password-requirement.met {
  color: #277da1;
}
.password-requirement .icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Google Sign-In Button */
.btn-google {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  line-height: 1.4;
}
.btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.btn-google:active {
  background: #e8eaed;
}
.btn-google:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-google img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* "or" Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 16px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dadce0;
}
.auth-divider span {
  color: #999;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Google pending notice */
.google-pending-notice {
  background: #e0f2ff;
  border: 1px solid #457b9d;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #1d3557;
}

/* How It Works Section */
.how-it-works {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  margin-bottom: 24px;
}
.how-it-works h2 {
  text-align: center;
  font-size: 1.4rem;
  color: #1d3557;
  margin-bottom: 20px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  text-align: center;
  padding: 12px 8px;
}
.step-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e0f2ff 0%, #f0f7ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.4rem;
}
.step-number {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: #1d3557;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 22px;
  margin-bottom: 6px;
}
.step-card h3 {
  font-size: 0.8rem;
  color: #444;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
