/* forms.css */

/* -----------------------------------
   Step Navigation Shared Components
   ----------------------------------- */

.ll-step {
  display: none; 
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ll-step.ll-step-active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.3s ease;
}

.ll-step-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.ll-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #eee;
  border-radius: 5px;
  margin-bottom: 20px;
  overflow: hidden;
}

.ll-progress-indicator {
  height: 100%;
  width: 0;
  background-color: #0073aa;
  transition: width 0.3s ease;
}

.ll-step-labels {
  list-style: none;
  padding-left: 0;
  margin: 0 0 10px 0;
  display: flex;
  justify-content: space-between;
}

.ll-step-labels li {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #999;
  position: relative;
}

.ll-step-labels li.active {
  color: #0073aa;
}

.ll-step-labels li::after {
  content: "";
  display: block;
  margin: 4px auto 0;
  width: 8px;
  height: 8px;
  background-color: currentColor;
  border-radius: 50%;
}

.ll-final-step {
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
}




.ll-feature-section {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin: 2rem auto;
  max-width: 800px;
}

.ll-feature-content {
  opacity: 1;
}


/* Additional styles from original file below this line */

#start-page-container,
#email-form-container,
#step2 {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 480px;
  margin: 1rem auto;
}

#start-page-container form input[type="email"],
#start-page-container form input[type="text"],
#start-page-container form input[type="tel"],
#start-page-container form input[type="url"],
#start-page-container form textarea,
#start-page-container form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-family: inherit;
}

#start-page-container form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #333;
}

#start-page-container form input[type="submit"],
#start-page-container form button[type="submit"],
#start-page-container form button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #0073aa;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  text-align: center;
  margin-top: 0.5rem;
}

#start-page-container form input[type="submit"]:hover,
#start-page-container form button[type="submit"]:hover,
#start-page-container form button:hover,
#start-page-container form input[type="email"]:focus,
#start-page-container form input[type="text"]:focus,
#start-page-container form textarea:focus,
#start-page-container form select:focus {
  border-color: #0073aa;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,115,170,0.2);
}

#start-page-container .error,
#start-page-container .form-error {
  color: #cc0000;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.save-confirm {
  color: green;
  margin-left: 6px;
  font-size: 1.2em;
  vertical-align: middle;
  display: none;
}

input.invalid,
textarea.invalid,
select.invalid {
  border: 1px solid red;
  background-color: #ffe6e6;
}

.ll-step button {
  margin-top: 20px;
  margin-right: 10px;
}

#ll-registration-form input[name="phone"] {
  margin-bottom: 16px;
  display: block;
}

#custom-login-form {
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

#custom-login-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

#custom-login-form input[type="text"],
#custom-login-form input[type="password"] {
  padding: 8px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.password-wrapper {
  position: relative;
  display: inline-block;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
}

.toggle-password:hover {
  color: #000;
}

#custom-login-form button {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  background-color: #0073aa;
  color: white;
  cursor: pointer;
  margin-top: 5px;
}

#custom-login-form button:hover {
  background-color: #006799;
}

.lost-password-link {
  text-align: center;
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #0073aa;
  text-decoration: none;
}

.lost-password-link:hover {
  text-decoration: underline;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  padding-right: 30px;
}

.toggle-password-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  color: #666;
}

.toggle-password-icon:hover {
  color: #333;
}

/* Survey Form Styling */

.ll-list-wrapper {
  display: flex;
  margin-bottom: 10px;
}

#ll-client-survey .ll-list-wrapper ul {
  text-align: left;
  padding-left: 20px;
  margin-left: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

.ll-list-wrapper.two-column-list ul {
  columns: 2;
  column-gap: 40px;
}

.ll-list-wrapper.two-column-list li {
  break-inside: avoid;
  margin-bottom: 1px;
}

/* Step-specific wrappers for radio-style options */

.ll-acquisition-options label,
.ll-premium-options label,
.ll-newsletter-options label,
.ll-postcard-options label,
.ll-review-options label {
  font-size: 20px;
  font-weight: 500;
  width: 100%;
  max-width: 400px;
  margin: 5px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 10px;
  text-align: left;
}

.ll-acquisition-options input[type="radio"],
.ll-premium-options input[type="radio"],
.ll-newsletter-options input[type="radio"],
.ll-review-options input[type="radio"] {
  margin-top: 10px;
  transform: scale(1.1);
}

.ll-acquisition-options,
.ll-premium-options,
.ll-newsletter-options,
.ll-review-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px 0;
}

#ll-client-survey .ll-radio-wrapper,
#ll-client-survey .ll-centered-options {
  display: flex;
  justify-content: center;
  margin: 15px 0;
  flex-direction: column;
  align-items: center;
}

#ll-client-survey .ll-radio-wrapper label,
#ll-client-survey .ll-centered-options label {
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  width: 100%;
  max-width: 350px;
  margin: 0;
}

#ll-client-survey .ll-next-button-wrapper {
  text-align: center;
  margin-top: 20px;
}

/* -----------------------------------
   Yes/Maybe/No Survey answers
   ----------------------------------- */
.ll-question-heading {
  font-size: 20px;
  font-weight: 600;
  text-align: center;     /* center the text */
  margin-bottom: 1rem;    /* optional: add spacing below */
}

.ll-answer-group {
  max-width: 200px;     /* controls width of radio group */
  width: 100%;          /* ensures responsiveness */
  margin: 0 auto;       /* centers the block under the question */
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* ← left-align the inner labels */
  gap: 6px;
}

.ll-answer-group label {
  margin: 0;
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.ll-answer-group input[type="radio"] {
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-5px); /* optional */
}

.ll-checkbox-wrapper strong {
  white-space: nowrap;
  color: #0073e6; /* or any blue shade you prefer */
}

/* -----------------------------------
   Checkbox Wrapper for Multi-Select
   ----------------------------------- */

#ll-client-survey .ll-checkbox-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px 0;
}

#ll-client-survey .ll-checkbox-wrapper label {
  font-size: 18px;
  font-weight: 500;
  width: 100%;
  max-width: 630px;
  margin: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

#ll-client-survey .ll-checkbox-wrapper input[type="checkbox"] {
  margin-top: 8px;
  transform: scale(1.2);
}


#ll-client-survey .ll-next-button-wrapper .next-step {
  font-size: 18px;
  font-weight: 600;
  padding: 10px 20px;
}

.ll-area-columns {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ll-area-col {
  flex: 1 1 250px;
  max-width: 300px;
}

.ll-area-col label {
  display: block;
  margin: 1px 0;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}

@media (max-width: 600px) {
  .ll-area-columns {
    flex-direction: column;
    align-items: center;
  }

  .ll-area-col {
    max-width: none;
    width: 100%;
  }
}

.ll-postcard-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}


