/* Signup-specific styles extracted from signup.html */

.username-suggestions {
  margin-top: 8px;
  padding: 8px 12px;
  background: #f4fff0; /* much lighter, more contrast */
  border-radius: 6px;
  border-left: 3px solid var(--color-green-yellow, #9FEF4C);
  color: #222; /* dark text for readability */
}
.username-suggestions small {
  color: #222; /* dark text for readability */
  font-size: 0.98em;
}
.username-suggestions a {
  color: #388e3c; /* darker green for better contrast */
  text-decoration: underline;
  margin-right: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.username-suggestions a:hover {
  background: #d0f5c8;
  color: #1b5e20;
}
.username-status {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 6px;
}
.username-status .text-success {
  color: var(--color-green-yellow, #9FEF4C);
}
.username-status .text-error {
  color: #ff6b6b;
}

.signup-modal-bg {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,51,42,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.signup-modal-bg.active { display: flex; }
.signup-modal {
  background: #F1F5F5;
  color: #1E3C3C;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(88, 189, 74, 0.13);
  padding: 48px 36px 36px 36px;
  min-width: 340px;
  max-width: 420px;
  width: 100%;
  position: relative;
  animation: fadeIn 0.3s;
  /* Fix scrolling issues */
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom scrollbar for the modal */
.signup-modal::-webkit-scrollbar {
  width: 8px;
}

.signup-modal::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.signup-modal::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.signup-modal::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
.signup-modal .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #1E3C3C;
  cursor: pointer;
}
.signup-modal h2 {
  color: #1E3C3C !important;
  font-size: 1.7em;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}
.signup-modal .error-message {
  background: #F6B4B4;
  color: #832e2e;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 1em;
  text-align: center;
  display: none;
}
.ai-wizard-glow {
  color: #9FEF4C;
  text-shadow: 0 0 2px #9FEF4C;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.gtin-highlight {
  margin: 40px auto 0 auto;
  max-width: 900px;
  border: 2px solid #9FEF4C;
  border-radius: 16px;
  background: rgba(159,239,76,0.06);
  padding: 32px 24px 28px 24px;
  text-align: center;
  color: #d6ffd6;
  box-sizing: border-box;
}
.gtin-title {
  color: #9FEF4C;
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.gtin-main {
  font-size: 1.45em;
  font-weight: 700;
  color: #f4f8f6;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.gtin-check {
  height: 1.5em;
  width: 1.5em;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}
.gtin-main-text {
  color: #f4f8f6;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.gtin-desc {
  color: #d6ffd6;
  font-size: 1.08em;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) {
  .gtin-highlight { padding: 18px 6px 18px 6px; max-width: 99vw; }
  .gtin-main { font-size: 1.1em; }
  .gtin-title { font-size: 1em; }
  .gtin-desc { font-size: 0.98em; }
}
@media (max-width: 600px) {
  .signup-modal {
    min-width: 0;
    max-width: 98vw;
    max-height: 95vh;
    padding: 24px 16px 16px 16px;
    border-radius: 12px;
    margin: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .signup-modal h2 {
    font-size: 1.1em;
    margin-bottom: 16px;
  }
  /* Better spacing for Teams form on mobile */
  .signup-modal .form-group {
    margin-bottom: 16px;
  }
  .signup-modal .form-input {
    padding: 12px 14px;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 8px;
  }
  .signup-modal .button {
    padding: 14px 0;
    font-size: 1em;
    min-height: 48px;
  }
  /* Fix team size cards on mobile */
  .team-size-card {
    padding: 1rem;
    font-size: 1em;
  }
  .team-size-desc {
    font-size: 0.9em;
  }
}
.signup-modal .form-group {
  margin-bottom: 20px;
}
.signup-modal label {
  display: block;
  color: #1E3C3C;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1em;
}
.signup-modal .form-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #C8F5B4;
  border-radius: 8px;
  font-size: 1.08em;
  background: #fff;
  color: #1E3C3C;
  box-sizing: border-box;
  margin-bottom: 0;
}
.signup-modal .button {
  margin-top: 10px;
  margin-bottom: 18px;
  width: 100%;
  font-size: 1.1em;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 8px;
}
.signup-modal a,
.signup-modal a:visited {
  color: #1E3C3C !important;
  text-decoration: none !important;
  font-weight: 600;
}

.trial-note {
  margin: 32px auto 0 auto;
  color: #C8F5B4;
  font-size: 1.13em;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: none;
  box-sizing: border-box;
}

.signup-modal .form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.signup-modal .form-checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #9FEF4C;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  box-sizing: border-box;
}
.signup-modal .form-checkbox-group label {
  font-size: 1em;
  color: #1E3C3C;
  font-weight: 500;
  line-height: 1.5;
}
.signup-modal .form-checkbox-group label a,
.signup-modal .form-checkbox-group label a:visited {
  color: #5FAA44 !important;
  text-decoration: underline;
  font-weight: 600;
} 