.lca-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: #050710;
  color: #fff;
  border-radius: 16px;
}

.lca-title { font-size: 28px; margin-bottom: 12px; }

.lca-subtitle { 
  font-size: 16px; 
  color: #9ca3af; 
  margin-bottom: 24px;
  font-weight: 400;
}

.lca-step { display: none; }
.lca-step h3 { font-size: 22px; margin-bottom: 20px; }

.lca-options {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.lca-step1-options {
  grid-template-columns: 1fr;
}

/* Quiz page step-1 and steps 2-5 in 2 columns */
.lca-steps .lca-step[data-step="1"] .lca-options,
.lca-step[data-step="2"] .lca-options,
.lca-step[data-step="3"] .lca-options,
.lca-step[data-step="4"] .lca-options,
.lca-step[data-step="5"] .lca-options {
  grid-template-columns: repeat(2, 1fr);
}

.lca-option {
  background: #111827;
  color: #fff;
  border: 1px solid #374151;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none !important;
}

.lca-option:hover { border-color: #2563eb; background: #1a202c; }

.lca-option-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lca-option-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.lca-option-desc {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.4;
}

.lca-option-icon {
  font-size: 24px;
  margin-left: 16px;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color .2s;
}

.lca-option:hover .lca-option-icon {
  color: #d1d5db;
}

.lca-back {
  background: transparent;
  border: 1px solid #374151;
  color: #e5e7eb;
  padding: 12px 24px;
  border-radius: 999px !important;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all .2s;
}

.lca-back:hover {
  border-color: #4b5563;
  color: #fff;
}

.lca-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0f1419;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #374151;
}

/* Hide debug/email output wrapper by default */
.lca-email-output-wrapper {
  display: none !important;
}

.lca-form-row { 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; 
  margin-bottom: 20px;
}

.lca-row { display: flex; gap: 16px; margin-bottom: 16px; }

.lca-field { 
  flex: 1; 
  flex-direction: column; 
  display: flex;
  margin-bottom: 0;
}

.lca-field label { 
  margin-bottom: 10px; 
  color: #fff; 
  font-size: 14px;
  font-weight: 500;
}

.lca-field-desc {
  display: none;
}

.lca-field input {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 14px 12px;
  color: #e5e7eb;
  font-size: 14px;
  transition: all .2s;
  font-family: inherit;
}

.lca-field input::placeholder {
  color: #6b7280;
  font-size: 13px;
}

.lca-field input:hover {
  border-color: #4b5563;
  background: #202734;
}

.lca-field input:focus {
  outline: none;
  border-color: #2563eb;
  background: #202734;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.lca-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 0;
  border-top: none;
}

.lca-back {
  background: transparent;
  border: 1px solid #374151;
  color: #e5e7eb;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}

.lca-back:hover {
  border-color: #4b5563;
  color: #fff;
}

.lca-submit {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px !important;
  padding: 12px 48px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}

.lca-submit:hover {
  background: #1d4ed8;
}

.lca-message {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.lca-success { background: #065f46; }
.lca-error { background: #7f1d1d; }

.lca-email-output-wrapper {
  background: #1a1f2e;
  border: 1px solid #374151;
  border-radius: 10px;
  padding: 16px;
}

.lca-email-output {
  background: #0f1419;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 16px;
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
  max-height: 500px;
  overflow-y: auto;
}

@media (max-width: 640px) {
  .lca-row { flex-direction: column; }
.lca-options {
    grid-template-columns: repeat(1, 1fr)  !important;
}
.lca-form-row {
    grid-template-columns: unset !important;
}
.lca-contact-form {
    padding: 30px 20px !important;
}
h3.lca-subtitle {
    margin-bottom: 30px;
}
}