/* Access Page — Redesigned Journey Flow + Route Buttons */

/* ==========================================================================
   Journey Flow (Recommended Route)
   ========================================================================== */
.access-journey-flow {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.access-journey-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    position: relative;
}

/* Vertical connecting line */
.access-journey-step:not(.is-goal)::after {
    content: '';
    position: absolute;
    top: 52px;
    left: 17px;
    bottom: -16px;
    width: 2px;
    background: linear-gradient(to bottom, #e0e7ef, #d0d8e4);
}

.access-journey-marker {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.access-journey-body {
    flex-grow: 1;
    min-width: 0;
}

.access-journey-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 50px;
    padding-top: 10px;
}

/* Goal step highlight */
.access-journey-step.is-goal {
    padding-top: 20px;
    margin-top: 4px;
}
.access-journey-step.is-goal .access-journey-marker {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(255, 64, 129, 0.25);
}

/* ==========================================================================
   Route Search Buttons
   ========================================================================== */
.access-route-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffffff, #f0f6ff);
    border: 1px solid rgba(200, 220, 245, 0.7);
    border-radius: 10px;
    color: #42a5f5;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,60,140,0.04);
}
.access-route-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,60,140,0.08);
    border-color: #90caf9;
    color: #1565c0;
    text-decoration: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .access-journey-step::after {
        left: 17px;
    }
    .access-journey-step {
        gap: 12px;
    }
}
