/* Auth Container */
.auth-container {
  min-height: calc(100vh - 72px); /* Adjust for nav height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  background-color: #f8f9fa;
}

.auth-form-container {
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 2.5rem 2rem;
  margin: 3rem 0;
}

.auth-form-container h1,
.signup-header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.selected-plan {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  background-color: #f8f9fa;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.plan-label {
  color: #4b5563;
  margin-right: 0.5rem;
}

.plan-name {
  font-weight: 600;
  color: #ee3e36;
}

.change-plan {
  margin-left: 0.75rem;
  color: #2563eb;
  text-decoration: none;
  font-size: 0.8rem;
}

.change-plan:hover {
  text-decoration: underline;
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
}

.form-row .form-group {
  flex: 1 1 0;
}

.form-group input {
  width: 100%;
  box-sizing: border-box;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
}

.form-group input {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-group input:focus {
  border-color: #ee3e36;
  outline: none;
  box-shadow: 0 0 0 3px rgba(238, 62, 54, 0.2);
}

.password-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.terms-agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.terms-agreement input {
  margin-top: 0.25rem;
}

.terms-agreement label {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.4;
}

.terms-agreement a {
  color: #2563eb;
  text-decoration: none;
}

.terms-agreement a:hover {
  text-decoration: underline;
}

/* Social Signup Buttons */
.social-signup-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.social-signup-buttons .submit-button,
.social-signup-buttons .social-btn {
  width: 100%;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.65rem 0;
  box-sizing: border-box;
  margin: 0;
}

.submit-button {
  background: #e74c3c;
  color: #fff;
  border: none;
  transition: background 0.2s;
}
.submit-button:hover {
  background: #c0392b;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.social-btn i {
  font-size: 1.25rem;
}
.linkedin-btn {
  background: #0077b5;
  color: #fff;
}
.linkedin-btn:hover {
  background: #005983;
}
.apple-btn {
  background: #000;
  color: #fff;
}
.apple-btn:hover {
  background: #222;
}
.google-btn {
  background: #fff;
  color: #222;
  border: 1px solid #e5e7eb;
}
.google-btn:hover {
  background: #f5f5f5;
  color: #111;
}

/* Auth Links */
.auth-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #4b5563;
}

.auth-links a {
  color: #ee3e36;
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .auth-form-container {
    max-width: 95vw;
    padding: 1.2rem 1.5rem;
    margin: 3rem 0;
    box-sizing: border-box;
  }

  .auth-form-container h1 {
    font-size: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group input {
    font-size: 1rem;
    padding: 0.7rem 0.75rem;
  }

  .social-signup-buttons {
    gap: 0.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .social-signup-buttons .submit-button,
  .social-signup-buttons .social-btn {
    font-size: 1rem;
    padding: 0.7rem 0;
    border-radius: 10px;
  }
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
}
