/* CSS Variables & Theme Defaults */
.eb93b817-path-container {
    --theme-primary: #0B3C5D;
    --theme-hover: #328CC1;
    --theme-bg-soft: #F4F6F9;
    --block-bg: #ffffff;
    --step-accent: var(--theme-primary);
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--theme-bg-soft);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11, 60, 93, 0.05);
    position: relative;
    overflow: hidden;
}

/* Header & Intro */
.eb93b817-header {
    text-align: center;
    margin-bottom: 50px;
}
.eb93b817-header h2 {
    color: var(--theme-primary);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}
.eb93b817-subtitle {
    color: #555;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout matching user diagram */
.eb93b817-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
}

/* SVG Line Connections overlays entire grid */
.eb93b817-svg-connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.eb93b817-svg-connectors path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.eb93b817-bg-line {
    stroke: #E0E0E0;
    stroke-width: 6;
}
.eb93b817-active-line {
    stroke: var(--theme-primary);
    stroke-width: 6;
    stroke-dasharray: 12, 12;
    animation: eb93b817-dash 30s linear infinite;
}

@keyframes eb93b817-dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Base Step Block Styles */
.eb93b817-step-block {
    background: var(--block-bg);
    border: 3px solid var(--step-accent);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.eb93b817-step-block:hover {
    transform: translateY(-4px);
    border-color: var(--theme-hover);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Shape variations matching the layout wireframe */
.eb93b817-shape-small-rect {
    grid-column: 1;
    min-height: 140px;
    max-width: 320px;
    justify-self: left;
}
.eb93b817-shape-square {
    aspect-ratio: 1.1 / 1;
    min-height: 180px;
    max-width: 360px;
}
.eb93b817-shape-large-rect {
    grid-column: 2;
    min-height: 180px;
}
.eb93b817-shape-long-rect {
    grid-column: 1;
    min-height: 300px;
}

/* Custom visual alignment representing the requested wireframe structure:
   Step 1 (Small Rect, Top Left) -> Step 2 (Square, Top Right)
   Step 3 (Large Rect, Mid Right) -> Step 4 (Square, Mid Left)
   Step 5 (Long Large, Bottom Left) -> Step 6 (Square, Bottom Right)
*/
.eb93b817-step-block[data-step="1"] { grid-column: 1; grid-row: 1; align-self: start; width: 100%; }
.eb93b817-step-block[data-step="2"] { grid-column: 2; grid-row: 1; align-self: center; justify-self: end; width: 85%; }
.eb93b817-step-block[data-step="3"] { grid-column: 2; grid-row: 2; align-self: center; width: 100%; }
.eb93b817-step-block[data-step="4"] { grid-column: 1; grid-row: 2; align-self: center; justify-self: start; width: 85%; }
.eb93b817-step-block[data-step="5"] { grid-column: 1; grid-row: 3; align-self: start; width: 100%; }
.eb93b817-step-block[data-step="6"] { grid-column: 2; grid-row: 3; align-self: center; justify-self: end; width: 85%; }

/* Step Number Badge */
.eb93b817-step-badge {
    position: absolute;
    top: -16px;
    left: 20px;
    background: var(--step-accent);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}
.eb93b817-step-block:hover .eb93b817-step-badge {
    background: var(--theme-hover);
}

/* Room Header */
.eb93b817-step-header {
    color: var(--step-accent);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #EAEAEA;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}
.eb93b817-step-block:hover .eb93b817-step-header {
    color: var(--theme-hover);
}

/* Included Features List */
.eb93b817-step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.eb93b817-step-content li {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #444;
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}
.eb93b817-step-content li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0px;
    font-size: 0.75rem;
    color: var(--step-accent);
    transition: color 0.3s ease;
}
.eb93b817-step-block:hover .eb93b817-step-content li::before {
    color: var(--theme-hover);
}

/* Mobile responsive layout overrides: Stack on small viewports */
@media (max-width: 900px) {
    .eb93b817-grid-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .eb93b817-step-block {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        aspect-ratio: auto !important;
        min-height: auto !important;
    }
    .eb93b817-svg-connectors {
        display: none; /* Hide complex path connections on mobile list view */
    }
}
