/* =========================================== */
/* SCREEN 1 SPECIFIC STYLES */
/* =========================================== */
.screen[data-screen="1"] {
  display: block;
}

.screen[data-screen="2"] {
  display: none;
}

.screen[data-screen="1"].active,
.screen[data-screen="2"].active {
  display: block;
}

/* Step Content Isolation for Screen 1 */
.step-content[data-screen="1"] {
  display: none;
}

.step-content[data-screen="1"].active {
  display: block;
}

/* Tab Content Isolation for Screen 2 */
.tab-content[data-screen="2"] {
  display: none;
}

.tab-content[data-screen="2"].active {
  display: block;
}

/* =========================================== */
/* SHARED STYLES */
/* =========================================== */
#lead-capture-component {
  font-family: 'Poppins', sans-serif;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Progress Bar */
.progress-container {
  margin-bottom: 40px;
}

.progress-bar {
  height: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-fill {
  height: 100%;
  background: #10b981;
  border-radius: 5px;
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 18px;
  color: #374151;
  text-align: center;
  font-weight: 600;
}

/* =========================================== */
/* SCREEN 1 SPECIFIC COMPONENT STYLES */
/* =========================================== */
/* Step Header */
.screen[data-screen="1"] .step-header h3 {
  font-size: 22px;
  color: #374151;
  text-align: center;
  margin-bottom: 35px;
  font-weight: 500;
  line-height: 1.4;
}

/* Input + Button Combo */
.screen[data-screen="1"] .input-button-combo {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.screen[data-screen="1"] .input-container {
  position: relative;
  flex: 1;
}

.screen[data-screen="1"] .input-icon {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  z-index: 2;
}

.screen[data-screen="1"] .main-input {
  width: 100%;
  padding: 25px 25px 25px 70px;
  font-size: 30px;
  border: 3px solid #e5e7eb;
  border-right: none;
  border-radius: 12px 0 0 12px;
  background: white;
  font-weight: 600;
  transition: all 0.3s ease;
  height: 80px;
}

.screen[data-screen="1"] .main-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.screen[data-screen="1"] .main-input::placeholder {
  color: #9ca3af;
  font-weight: 500;
  font-size: 28px;
}

/* Combo Next Button */
.screen[data-screen="1"] .combo-next-btn {
  background: #FFF100;
  border: 3px solid #e5e7eb;
  border-left: none;
  border-radius: 0 12px 12px 0;
  width: 100px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.screen[data-screen="1"] .combo-next-btn:hover {
  background: #F7D800;
  transform: scale(1.05);
}

.screen[data-screen="1"] .combo-next-btn:active {
  transform: scale(1);
}

.screen[data-screen="1"] .combo-next-btn i {
  font-size: 24px;
  color: black;
  font-weight: 900;
}

/* Step Actions */
.screen[data-screen="1"] .step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 15px;
}

.screen[data-screen="1"] .step-prev-btn,
.screen[data-screen="1"] .step-next-btn {
  padding: 18px 30px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

/*
.screen[data-screen="1"] .step-prev-btn {
  background: #f3f4f6;
  color: #374151;
}

.screen[data-screen="1"] .step-next-btn {
  background: #FFF100;
  color: black;
}

.screen[data-screen="1"] .step-prev-btn:hover {
  background: #e5e7eb;
}

.screen[data-screen="1"] .step-next-btn:hover {
  background: #F7D800;
  transform: translateX(5px);
}

*/


/* NEW BLOCK FOR PREVIOUS */
/* Center only the Previous button */
.screen[data-screen="1"] .step-actions {
  justify-content: center;
}

/* Hide only the Continue button */
.screen[data-screen="1"] .step-next-btn {
  display: none;
}

/* Keep all existing button styles intact */
.screen[data-screen="1"] .step-prev-btn {
  background: #f3f4f6;
  color: #374151;
}

.screen[data-screen="1"] .step-next-btn {
  background: #FFF100;
  color: black;
}

.screen[data-screen="1"] .step-prev-btn:hover {
  background: #e5e7eb;
}

.screen[data-screen="1"] .step-next-btn:hover {
  background: #F7D800;
  transform: translateX(5px);
}

/* END NEW BLOCK */

/* Error Message */
.screen[data-screen="1"] .error-message {
  color: #dc2626;
  font-size: 18px;
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.screen[data-screen="1"] .error-message.show {
  display: block;
}

/* Footer Note */
.screen[data-screen="1"] .footer-note {
  text-align: center;
  font-size: 16px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.screen[data-screen="1"] .footer-note i {
  font-size: 14px;
}

/* =========================================== */
/* TRANSITION OVERLAY STYLES */
/* =========================================== */
.transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: slideInRight 0.5s ease;
}

.transition-overlay.active {
  display: flex;
}

.transition-content {
  text-align: center;
  max-width: 400px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid #e5e7eb;
  border-top: 5px solid #FFF100;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 25px;
}

.transition-content h3 {
  font-size: 26px;
  color: #374151;
  margin-bottom: 15px;
  font-weight: 600;
}

.transition-content p {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.5;
}

/* =========================================== */
/* SCREEN 2 SPECIFIC COMPONENT STYLES */
/* =========================================== */

/* Hide address display on Screen 2 */
.screen[data-screen="2"] .property-address-display {
  display: none !important;
}

/* Ensure Screen 2 containers are properly displayed */
.screen[data-screen="2"].active {
  display: block !important;
}

.screen-container[data-screen="2"] {
  display: block !important;
}

/* Property Address Display */
.screen[data-screen="1"] .property-address-display {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  gap: 15px;
}

.screen[data-screen="1"] .address-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.screen[data-screen="1"] .address-text {
  display: flex;
  flex-direction: column;
}

.screen[data-screen="1"] .address-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 5px;
}

.screen[data-screen="1"] #display-address {
  font-size: 18px;
  color: #1e293b;
  font-weight: 600;
}

/* Tab Header */
.screen[data-screen="2"] .tab-header {
  text-align: center;
  margin-bottom: 35px;
}

.screen[data-screen="2"] .tab-header h3 {
  font-size: 22px;
  color: #374151;
  margin-bottom: 12px;
  font-weight: 600;
}

.screen[data-screen="2"] .tab-header p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.5;
}

/* Form Groups */
.screen[data-screen="2"] .form-group {
  margin-bottom: 30px;
}

.screen[data-screen="2"] .form-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: #374151;
  margin-bottom: 12px;
  font-weight: 500;
}

/* Property Type Blocks - Screen 2 Specific */
.screen[data-screen="2"] .tab-blocks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.screen[data-screen="2"] .tab-blocks li {
  margin: 0;
}

.screen[data-screen="2"] .property-type-btn {
  background: #03261f !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 8px;
  border: 3px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-height: 120px;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.screen[data-screen="2"] .property-type-btn:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.screen[data-screen="2"] .property-type-btn.selected {
  border-color: #FFF100;
  background: #03261f;
  box-shadow: 0 5px 15px rgba(255, 241, 0, 0.2);
}

.screen[data-screen="2"] .ico-holder {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen[data-screen="2"] .ico-holder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.screen[data-screen="2"] .property-type-btn .text {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.screen[data-screen="2"] .property-type-btn.selected .text {
  color: #ffffff;
}

/* =========================================== */
/* SCREEN 2 INPUT FIELDS - CONSOLIDATED FIX */
/* =========================================== */

/* Fix for ALL input containers on Screen 2 */
.screen[data-screen="2"] .input-container {
  position: relative;
  width: 100%;
}

.screen[data-screen="2"] .input-container .main-input {
  width: 100%;
  padding: 25px 25px 25px 70px;
  font-size: 30px;
  border: 3px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  font-weight: 600;
  transition: all 0.3s ease;
  height: 80px;
  box-sizing: border-box;
}

.screen[data-screen="2"] .input-container .main-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.screen[data-screen="2"] .input-container .main-input::placeholder {
  color: #9ca3af;
  font-weight: 500;
  font-size: 28px;
}

.screen[data-screen="2"] .input-container .input-icon {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  z-index: 2;
}

/* Form Elements - Screen 2 */
.screen[data-screen="2"] .form-select {
  width: 100%;
  padding: 20px 20px 20px 20px;
  font-size: 22px;
  border: 3px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  font-weight: 500;
  transition: all 0.3s ease;
  height: 80px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 20px;
}

.screen[data-screen="2"] .form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Enhanced Slider Styles - Screen 2 */
.screen[data-screen="2"] .slider-container {
  margin-top: 15px;
}

.screen[data-screen="2"] .slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
}

.screen[data-screen="2"] .slider-wrapper {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

.screen[data-screen="2"] .slider-track {
  position: absolute;
  width: 100%;
  height: 10px;
  background: #e5e7eb;
  border-radius: 5px;
  overflow: hidden;
}

.screen[data-screen="2"] .slider-fill {
  position: absolute;
  height: 100%;
  background: #FFF100;
  border-radius: 5px;
  width: 25%;
  transition: width 0.3s ease;
}

.screen[data-screen="2"] .timeline-slider {
  position: relative;
  width: 100%;
  height: 10px;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  z-index: 2;
}

.screen[data-screen="2"] .timeline-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF100;
  cursor: pointer;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

.screen[data-screen="2"] .timeline-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.screen[data-screen="2"] .timeline-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF100;
  cursor: pointer;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

.screen[data-screen="2"] .timeline-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.screen[data-screen="2"] .slider-value {
  text-align: center;
  margin-top: 25px;
  font-size: 20px;
  color: #374151;
  font-weight: 600;
  padding: 15px 25px;
  background: #f8fafc;
  border-radius: 12px;
  border: 3px solid #e2e8f0;
}

/* Toggle Switch - Screen 2 */
.screen[data-screen="2"] .toggle-container {
  display: flex;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 6px;
  margin-top: 12px;
}

.screen[data-screen="2"] .toggle-option {
  flex: 1;
  text-align: center;
  padding: 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #6b7280;
  font-size: 18px;
}

.screen[data-screen="2"] .toggle-option.active {
  background: white;
  color: #374151;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Conditional Fields - Screen 2 */
.screen[data-screen="2"] .conditional-fields {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px dashed #e5e7eb;
  display: none;
}

.screen[data-screen="2"] .helper-tip {
  font-size: 16px;
  color: #6b7280;
  margin-top: 10px;
  font-style: italic;
}

/* Textarea - Screen 2 */
.screen[data-screen="2"] .form-textarea {
  width: 100%;
  padding: 20px;
  font-size: 20px;
  border: 3px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

.screen[data-screen="2"] .form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.screen[data-screen="2"] .form-textarea::placeholder {
  font-size: 18px;
  color: #9ca3af;
}

/* Tab Actions - Screen 2 */
.screen[data-screen="2"] .tab-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 15px;
}

.screen[data-screen="2"] .tab-prev-btn,
.screen[data-screen="2"] .tab-next-btn,
.screen[data-screen="2"] .submit-btn {
  padding: 20px 30px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.screen[data-screen="2"] .tab-prev-btn {
  background: #f3f4f6;
  color: #374151;
}

.screen[data-screen="2"] .tab-next-btn {
  background: #FFF100;
  color: black;
}

.screen[data-screen="2"] .submit-btn {
  background: #10b981;
  color: white;
}

.screen[data-screen="2"] .tab-prev-btn:hover {
  background: #e5e7eb;
}

.screen[data-screen="2"] .tab-next-btn:hover {
  background: #F7D800;
  transform: translateX(5px);
}

.screen[data-screen="2"] .submit-btn:hover {
  background: #0da271;
  transform: translateY(-2px);
}

/* Disqualification Actions - Screen 2 */
.screen[data-screen="2"] .disqualification-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.screen[data-screen="2"] .action-btn {
  padding: 22px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.screen[data-screen="2"] .whatsapp-btn {
  background: #25D366;
  color: white;
}

.screen[data-screen="2"] .alt-sale-btn {
  background: #3b82f6;
  color: white;
  border: none;
  cursor: pointer;
  width: 100%;
}

.screen[data-screen="2"] .whatsapp-btn:hover {
  background: #20bd5f;
  transform: translateY(-2px);
}

.screen[data-screen="2"] .alt-sale-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.screen[data-screen="2"] .encouragement {
  font-size: 18px;
  color: #6b7280;
  font-style: italic;
  margin-top: 15px;
  line-height: 1.5;
}

/* Thank You Content - Screen 2 */
.screen[data-screen="2"] .thank-you-content {
  text-align: center;
  padding: 40px 0;
}

.screen[data-screen="2"] .success-icon {
  font-size: 70px;
  margin-bottom: 25px;
}

.screen[data-screen="2"] .thank-you-content h3 {
  font-size: 28px;
  color: #374151;
  margin-bottom: 15px;
  font-weight: 600;
}

.screen[data-screen="2"] .thank-you-content p {
  font-size: 20px;
  color: #6b7280;
  line-height: 1.5;
}

/* =========================================== */
/* ANIMATIONS */
/* =========================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =========================================== */
/* MOBILE RESPONSIVE STYLES */
/* =========================================== */
@media (max-width: 768px) {
  #lead-capture-component {
    max-width: 95%;
    padding: 25px 20px;
    margin: 15px auto;
    border-radius: 12px;
  }
  
  /* Progress Bar Mobile */
  .progress-text {
    font-size: 16px;
  }
  
  /* Screen 1 Mobile Styles */
  .screen[data-screen="1"] .main-input {
    font-size: 24px;
    padding: 22px 20px 22px 60px;
    height: 70px;
    border-width: 2px;
  }
  
  .screen[data-screen="1"] .input-icon {
    font-size: 24px;
    left: 20px;
  }
  
  .screen[data-screen="1"] .combo-next-btn {
    width: 70px;
    height: 70px;
    border-width: 2px;
  }
  
  .screen[data-screen="1"] .combo-next-btn i {
    font-size: 20px;
  }
  
  .screen[data-screen="1"] .step-header h3 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  
  .screen[data-screen="1"] .main-input::placeholder {
    font-size: 22px;
  }
  
  .screen[data-screen="1"] .footer-note {
    font-size: 14px;
  }
  
  .screen[data-screen="1"] .step-actions {
    flex-direction: column;
  }
  
  .screen[data-screen="1"] .step-prev-btn,
  .screen[data-screen="1"] .step-next-btn {
    justify-content: center;
    padding: 16px 20px;
    font-size: 16px;
  }
  
  .screen[data-screen="1"] .property-address-display {
    padding: 15px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  /* Screen 2 Mobile Styles */
  .screen[data-screen="2"] .tab-header h3 {
    font-size: 20px;
  }
  
  .screen[data-screen="2"] .tab-header p {
    font-size: 16px;
  }
  
  .screen[data-screen="2"] .form-label {
    font-size: 18px;
  }
  
  /* Property Type Blocks Mobile - 2 PER ROW */
  .screen[data-screen="2"] .tab-blocks {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .screen[data-screen="2"] .property-type-btn {
    padding: 12px 8px;
    min-height: 110px;
    border-width: 2px;
  }
  
  .screen[data-screen="2"] .ico-holder {
    width: 45px;
    height: 45px;
    margin-bottom: 6px;
  }
  
  .screen[data-screen="2"] .property-type-btn .text {
    font-size: 14px;
  }
  
  /* Screen 2 Input Fields Mobile */
  .screen[data-screen="2"] .input-container .main-input {
    font-size: 24px;
    padding: 22px 20px 22px 60px;
    height: 70px;
    border-width: 2px;
  }
  
  .screen[data-screen="2"] .input-container .main-input::placeholder {
    font-size: 22px;
  }
  
  .screen[data-screen="2"] .input-container .input-icon {
    font-size: 24px;
    left: 20px;
  }
  
  /* Form Elements Mobile */
  .screen[data-screen="2"] .form-select {
    font-size: 20px;
    height: 65px;
    padding: 18px 18px 18px 18px;
    background-position: right 15px center;
  }
  
  .screen[data-screen="2"] .form-textarea {
    font-size: 18px;
    min-height: 120px;
  }
  
  .screen[data-screen="2"] .form-textarea::placeholder {
    font-size: 16px;
  }
  
  /* Slider Mobile */
  .screen[data-screen="2"] .slider-labels {
    font-size: 14px;
  }
  
  .screen[data-screen="2"] .slider-value {
    font-size: 18px;
    padding: 12px 20px;
  }
  
  /* Toggle Mobile */
  .screen[data-screen="2"] .toggle-option {
    padding: 16px;
    font-size: 16px;
  }
  
  /* Actions Mobile */
  .screen[data-screen="2"] .tab-actions {
    flex-direction: column;
    margin-top: 30px;
  }
  
  .screen[data-screen="2"] .tab-prev-btn,
  .screen[data-screen="2"] .tab-next-btn,
  .screen[data-screen="2"] .submit-btn {
    justify-content: center;
    padding: 18px 20px;
    font-size: 18px;
  }
  
  .screen[data-screen="2"] .disqualification-actions {
    gap: 15px;
  }
  
  .screen[data-screen="2"] .action-btn {
    padding: 18px;
    font-size: 16px;
  }
  
  .screen[data-screen="2"] .encouragement {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #lead-capture-component {
    padding: 20px 15px;
    margin: 10px auto;
  }
  
  /* Screen 1 Small Mobile */
  .screen[data-screen="1"] .main-input {
    font-size: 20px;
    padding: 20px 15px 20px 50px;
    height: 60px;
  }
  
  .screen[data-screen="1"] .input-icon {
    font-size: 20px;
    left: 15px;
  }
  
  .screen[data-screen="1"] .combo-next-btn {
    width: 60px;
    height: 60px;
  }
  
  .screen[data-screen="1"] .step-header h3 {
    font-size: 18px;
  }
  
  .screen[data-screen="1"] .main-input::placeholder {
    font-size: 18px;
  }
  
  /* Screen 2 Small Mobile */
  .screen[data-screen="2"] .tab-header h3 {
    font-size: 18px;
  }
  
  .screen[data-screen="2"] .form-label {
    font-size: 16px;
  }
  
  /* Property Type Blocks Small Mobile */
  .screen[data-screen="2"] .tab-blocks {
    gap: 8px;
  }
  
  .screen[data-screen="2"] .property-type-btn {
    padding: 10px 6px;
    min-height: 100px;
  }
  
  .screen[data-screen="2"] .ico-holder {
    width: 40px;
    height: 40px;
  }
  
  .screen[data-screen="2"] .property-type-btn .text {
    font-size: 13px;
  }
  
  /* Screen 2 Input Fields Small Mobile */
  .screen[data-screen="2"] .input-container .main-input {
    font-size: 20px;
    padding: 20px 15px 20px 50px;
    height: 60px;
  }
  
  .screen[data-screen="2"] .input-container .main-input::placeholder {
    font-size: 18px;
  }
  
  .screen[data-screen="2"] .input-container .input-icon {
    font-size: 20px;
    left: 15px;
  }
  
  /* Form Elements Small Mobile */
  .screen[data-screen="2"] .form-select {
    font-size: 18px;
    height: 60px;
    padding: 16px 16px 16px 16px;
  }
  
  .screen[data-screen="2"] .form-textarea {
    font-size: 16px;
    min-height: 100px;
  }
  
  .screen[data-screen="2"] .slider-labels {
    font-size: 12px;
  }
  
  .screen[data-screen="2"] .slider-value {
    font-size: 16px;
    padding: 10px 15px;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .screen[data-screen="2"] .tab-blocks {
    gap: 6px;
  }
  
  .screen[data-screen="2"] .property-type-btn {
    padding: 8px 4px;
    min-height: 90px;
    border-radius: 8px;
  }
  
  .screen[data-screen="2"] .ico-holder {
    width: 35px;
    height: 35px;
  }
  
  .screen[data-screen="2"] .property-type-btn .text {
    font-size: 12px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .screen[data-screen="2"] .property-type-btn:hover {
    transform: none;
    border-color: #e5e7eb;
  }
  
  .screen[data-screen="2"] .property-type-btn:active {
    transform: scale(0.98);
    border-color: #FFF100;
  }
  
  .screen[data-screen="1"] .combo-next-btn:hover,
  .screen[data-screen="2"] .tab-next-btn:hover,
  .screen[data-screen="2"] .submit-btn:hover {
    transform: none;
  }
  
  .screen[data-screen="1"] .combo-next-btn:active,
  .screen[data-screen="2"] .tab-next-btn:active,
  .screen[data-screen="2"] .submit-btn:active {
    transform: scale(0.98);
  }
}


/* Enhanced Property Type Selection - Mobile Focus */
@media (max-width: 768px) {
  .property-type-btn.selected {
    border: 3px solid #ffd700 !important;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3) !important;
    transform: scale(1.02);
  }
  
  .property-type-btn:active {
    transform: scale(0.98);
  }
}

/* Enhanced selected state for all devices */
.property-type-btn.selected {
  border: 2px solid #ffd700;
  background-color: #fffdf0;
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.2);
}

/* Enhanced mobile interactions */
@media (max-width: 768px) {
  .tab-blocks li a {
    transition: all 0.2s ease;
    border: 2px solid transparent;
  }
  
  .tab-blocks li a:active {
    background-color: #f8f9fa;
  }
  
  /* Ensure the form container maintains focus */
  .screen-container {
    min-height: 60vh;
  }
  
  .disqualification-actions {
    padding: 20px 0;
  }
  
  .disqualification-actions .action-btn {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }
}

/* Prevent body scroll when form is active */
body.form-active {
  overflow: hidden;
}

/* Ensure smooth scrolling within form */
.screen-container {
  scroll-behavior: smooth;
}