/* Modern Journey Roadmap Styles - Matching Other Sections */

.modern-journey-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.96rem 0;
}

/* Progress Bar */
.journey-progress-bar {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 0;
}

.progress-track {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--dentist-blue), var(--dentist-light-blue));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(33, 147, 176, 0.2);
}

/* Journey Cards Container */
.journey-cards-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.96rem;
}

/* Journey Card - Matching Other Sections */
.journey-card {
  position: relative;
  display: flex;
  border-radius: 7.68px !important;
  background: var(--background-white) !important;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid var(--border-light) !important;
  border-top: 3px solid var(--dentist-blue) !important;
  transition: all 0.3s ease;
  margin-bottom: 0.96rem;
}

.journey-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Marker */
.journey-marker {
  position: relative;
  width: 80px;
  display: flex;
  justify-content: center;
}

.marker-dot {
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid var(--dentist-blue) !important;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(33, 147, 176, 0.1);
  transition: all 0.3s ease;
}

.journey-card:hover .marker-dot {
  transform: scale(1.1);
  background: var(--dentist-blue);
}

.marker-line {
  position: absolute;
  top: 42px;
  bottom: 0;
  width: 4px;
  background: var(--background-light);
  z-index: 1;
}

/* Content Section - Matching Application Requirements */
.journey-content {
  flex: 1;
  padding: 0.96rem !important;
}

.journey-stage {
  display: inline-block;
  padding: 0.32rem 0.64rem;
  background: rgba(33, 147, 176, 0.1);
  color: var(--dentist-blue) !important;
  border-radius: 4px;
  font-size: 0.6rem !important;
  font-weight: 600;
  margin-bottom: 0.64rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journey-card h3 {
  font-size: 0.9rem !important;
  color: var(--dentist-blue) !important;
  margin-bottom: 0.96rem !important;
  font-weight: 600;
}

/* Tasks - Matching Application Requirements */
.journey-tasks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.64rem;
}

.task-item {
  display: flex;
  align-items: flex-start;
  gap: 0.48rem;
}

.task-icon {
  color: var(--dentist-blue) !important;
  padding-top: 2px;
  font-size: 0.75rem;
}

.task-text {
  color: var(--text-gray) !important;
  font-size: 0.75rem !important;
  line-height: 1.5;
}

/* Card Accent Colors - All use dentist-blue */
.journey-card[data-stage="1"] .marker-dot,
.journey-card[data-stage="2"] .marker-dot,
.journey-card[data-stage="3"] .marker-dot,
.journey-card[data-stage="4"] .marker-dot,
.journey-card[data-stage="5"] .marker-dot,
.journey-card[data-stage="6"] .marker-dot,
.journey-card[data-stage="7"] .marker-dot {
  border-color: var(--dentist-blue) !important;
}

.journey-card[data-stage="1"] .journey-stage,
.journey-card[data-stage="2"] .journey-stage,
.journey-card[data-stage="3"] .journey-stage,
.journey-card[data-stage="4"] .journey-stage,
.journey-card[data-stage="5"] .journey-stage,
.journey-card[data-stage="6"] .journey-stage,
.journey-card[data-stage="7"] .journey-stage {
  background: rgba(33, 147, 176, 0.1) !important;
  color: var(--dentist-blue) !important;
}

/* Responsive Design */
@media (max-width: 992px) {
  .journey-marker {
    width: 60px;
  }
  
  .marker-dot {
    left: 18px;
  }
  
  .journey-content {
    padding: 0.8rem !important;
  }
  
  .journey-tasks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .journey-progress-bar {
    left: 30px;
  }
  
  .journey-marker {
    width: 60px;
  }
  
  .marker-dot {
    width: 14px;
    height: 14px;
    top: 18px;
  }
  
  .journey-content {
    padding: 0.64rem !important;
  }
  
  .journey-card h3 {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 576px) {
  .journey-progress-bar {
    left: 20px;
  }
  
  .journey-marker {
    width: 40px;
  }
  
  .marker-dot {
    left: 8px;
    width: 12px;
    height: 12px;
  }
  
  .journey-content {
    padding: 0.64rem !important;
  }
  
  .journey-stage {
    font-size: 0.55rem !important;
  }
}