/* Onboarding CSS - Extends existing style.css without overriding */

/* Demo page specific layouts */
.demo-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  position: absolute;
  left: 120px;
  top: 230px;
  width: 800px;
  height: auto;
  min-height: 700px;
  z-index: 4;
}

.feature-card {
  background: #F7e6bc;
  padding: 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  z-index: 4;
}

.feature-card:hover {
  background: #2d4b5c;
  transform: translateY(-2px);
}

.feature-card:hover h3,
.feature-card:hover p {
  color: #e9e6e1;
}

.feature-card h3 {
  font-family: 'AG-Stencil', sans-serif;
  font-size: 1.8rem;
  color: #2d4b5c;
  margin: 0 0 10px 0;
  text-transform: lowercase;
}

.feature-card p {
  font-family: 'Herborn', sans-serif;
  font-size: 1.1rem;
  color: #2d4b5c;
  margin: 0;
  line-height: 1.4;
}


/* Onboarding flow enhancements */
.onboarding-step {
  position: absolute;
  left: 120px;
  width: 600px;
  background: #F7e6bc;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
  z-index: 4;
}

.step-number {
  font-family: 'AG-Stencil', sans-serif;
  font-size: 3rem;
  color: #F7e6bc;
  margin-bottom: 10px;
  text-transform: lowercase;
}

.step-title {
  font-family: 'AG-Stencil', sans-serif;
  font-size: 2rem;
  color: #2d4b5c;
  margin: 0 0 15px 0;
  text-transform: lowercase;
}

.step-description {
  font-family: 'Herborn', sans-serif;
  font-size: 1.2rem;
  color: #2d4b5c;
  line-height: 1.5;
  margin: 0;
}





/* Responsive updates that work with existing breakpoints */
@media (max-width: 1200px) {
  .demo-feature-grid {
    grid-template-columns: 1fr;
    left: 100px;
    width: 600px;
    top: 230px;
  }
  
  .onboarding-step {
    left: 100px;
    width: 500px;
    top: 380px;
  }
  
  .demo-cta {
    left: 600px;
    top: 420px;
  }
}

@media (max-width: 768px) {
  .demo-feature-grid {
    grid-template-columns: 1fr;
    left: 20px;
    width: calc(100% - 40px);
    top: 230px;
  }
  
  .onboarding-step {
    left: 20px;
    width: calc(100% - 80px);
    top: 350px;
  }
  
  .demo-cta {
    left: 200px;
    top: 780px;
    font-size: 2rem;
  }
  
  .feature-card {
    padding: 15px;
  }
  
  .feature-card h3 {
    font-size: 1.5rem;
  }
  
  .feature-card p {
    font-size: 1rem;
  }
}





/* Focus states for accessibility */
.feature-card:focus {
  outline: 2px solid #2d4b5c;
  outline-offset: 4px;
}

/* Multi-step wizard styles */
.wizard-container {
  position: absolute;
  left: 120px;
  top: 290px;
  width: 750px;
  z-index: 4;
}

.step-content {
  background: #F7e6bc;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.step-navigation {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.step-nav-button {
  font-family: 'AG-Stencil', sans-serif;
  font-size: 1.2rem;
  color: #2d4b5c;
  background: #e9e6e1;
  border: 2px solid #2d4b5c;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  text-transform: lowercase;
  transition: all 0.3s ease;
}

.step-nav-button:hover {
  background: #2d4b5c;
  color: #e9e6e1;
}

.step-nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wizard-form-group {
  margin: 15px 0;
}

.wizard-form-group label {
  font-family: 'Herborn', sans-serif;
  font-size: 1rem;
  color: #2d4b5c;
  display: block;
  margin-bottom: 5px;
}

.wizard-checkbox-group {
  margin: 20px 0;
  padding: 15px;
  background: rgba(247, 230, 188, 0.5);
  border-radius: 10px;
  border: 1px solid #2d4b5c;
}

.wizard-info-box {
  padding: 15px;
  background: rgba(247, 230, 188, 0.5);
  border-radius: 10px;
  margin: 20px 0;
  border-left: 4px solid #2d4b5c;
}

.wizard-info-box p {
  margin: 0;
  font-family: 'Herborn', sans-serif;
  font-size: 0.9rem;
  color: #2d4b5c;
}

.wizard-info-box ul {
  margin: 10px 0 0 20px;
  font-family: 'Herborn', sans-serif;
  font-size: 0.9rem;
  color: #2d4b5c;
}

/* Address lookup styles */
.address-lookup-container {
  position: relative;
  margin: 15px 0;
}

.address-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid #2d4b5c;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1001;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.address-option {
  padding: 12px 15px;
  border-bottom: 1px solid #e9e6e1;
  cursor: pointer;
  font-family: 'Herborn', sans-serif;
  font-size: 1rem;
  color: #2d4b5c;
  transition: background-color 0.2s ease;
}

.address-option:hover {
  background-color: #F7e6bc;
}

.address-option:last-child {
  border-bottom: none;
}

.postcode-input {
  position: relative;
}

.loading-indicator {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #2d4b5c;
  font-size: 0.8rem;
  display: none;
}

/* Tenant list styles */
.tenant-list {
  margin: 20px 0;
}

.tenant-item {
  background: rgba(247, 230, 188, 0.3);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #2d4b5c;
  position: relative;
}

.tenant-item h4 {
  font-family: 'AG-Stencil', sans-serif;
  font-size: 1.2rem;
  color: #2d4b5c;
  margin: 0 0 10px 0;
  text-transform: lowercase;
}

.tenant-item p {
  font-family: 'Herborn', sans-serif;
  font-size: 0.9rem;
  color: #2d4b5c;
  margin: 5px 0;
}

.remove-tenant-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #d32f2f;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-tenant-btn:hover {
  background: #b71c1c;
}

.add-tenant-btn {
  background: #F7e6bc;
  border: 2px dashed #2d4b5c;
  color: #2d4b5c;
  font-family: 'AG-Stencil', sans-serif;
  font-size: 1rem;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  text-transform: lowercase;
  transition: all 0.3s ease;
}

.add-tenant-btn:hover {
  background: #2d4b5c;
  color: #e9e6e1;
}

.tenant-form {
  background: rgba(247, 230, 188, 0.2);
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #2d4b5c;
  margin: 15px 0;
}

.tenant-form h4 {
  font-family: 'AG-Stencil', sans-serif;
  font-size: 1.3rem;
  color: #2d4b5c;
  margin: 0 0 15px 0;
  text-transform: lowercase;
}


/* Progress indicator styles */
.wizard-progress {
  position: absolute;
  left: 120px;
  top: 200px;
  width: 750px;
  z-index: 5;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(247, 230, 188, 0.3);
  padding: 15px 20px;
  border-radius: 15px;
  border: 2px solid #2d4b5c;
  margin-bottom: 20px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: #e9e6e1;
  z-index: 1;
}

.progress-step.completed:not(:last-child)::after {
  background: #28a745;
}

.progress-step.active:not(:last-child)::after {
  background: linear-gradient(to right, #28a745 50%, #e9e6e1 50%);
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'AG-Stencil', sans-serif;
  font-size: 0.9rem;
  color: #2d4b5c;
  background: #e9e6e1;
  border: 2px solid #2d4b5c;
  z-index: 2;
  position: relative;
  margin-bottom: 8px;
}

.step-circle.completed {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.step-circle.active {
  background: #2d4b5c;
  color: #e9e6e1;
  border-color: #2d4b5c;
}

.step-label {
  font-family: 'Herborn', sans-serif;
  font-size: 0.8rem;
  color: #2d4b5c;
  text-align: center;
  line-height: 1.2;
}

.step-label.completed {
  color: #28a745;
  font-weight: bold;
}

.step-label.active {
  color: #2d4b5c;
  font-weight: bold;
}

/* Breadcrumb styles */
.wizard-breadcrumb {
  position: absolute;
  left: 120px;
  top: 170px;
  font-family: 'Herborn', sans-serif;
  font-size: 0.9rem;
  color: #2d4b5c;
  z-index: 5;
}

.breadcrumb-link {
  color: #2d4b5c;
  text-decoration: none;
  opacity: 0.7;
}

.breadcrumb-link:hover {
  text-decoration: underline;
  opacity: 1;
}

.breadcrumb-current {
  font-weight: bold;
  color: #2d4b5c;
}

/* Responsive wizard styles */
@media (max-width: 1200px) {
  .wizard-container {
    left: 100px;
    width: 600px;
  }
  
  .wizard-progress {
    left: 100px;
    width: 600px;
  }
  
  .wizard-breadcrumb {
    left: 100px;
  }
}

@media (max-width: 768px) {
  .wizard-container {
    left: 20px;
    width: calc(100% - 40px);
  }
  
  .step-navigation {
    flex-direction: column;
  }
  
  .step-nav-button {
    font-size: 1rem;
  }
}