/* ===============================
   FLOW BLOCK BASE
================================ */
.flow-block {
    position: relative;
    width: 100%;
    min-height: 120px;
    overflow: hidden;
}

/* ===============================
   SVG BASE
================================ */
.flow-block svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ===============================
   CONTENT LAYER
================================ */
.flow-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: #ffffff;
}

.flow-content i {
    font-size: 26px;
    margin-bottom: 6px;
}

.flow-content h6 {
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.flow-content p {
    font-size: 13px;
    max-width: 90%;
    opacity: 0.9;
}

/* ===============================
   STEP NUMBER
================================ */
.step-no {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 17px;
    font-weight: 700;
    z-index: 3;
}

/* ===============================
   DESKTOP & TABLET (≥992px)
================================ */
@media (min-width: 992px) {
    .flow-block {
        height: 120px;
    }

    .svg-horizontal {
        display: block;
    }

    .svg-vertical {
        display: none;
    }
}

/* ===============================
   MOBILE & SMALL DEVICES (<992px)
================================ */
@media (max-width: 991.98px) {
    .flow-block {
        height: 260px;
    }

    .svg-horizontal {
        display: none;
    }

    .svg-vertical {
        display: block;
    }

    .step-no {
        position: static;
        margin-bottom: 8px;
    }
}
