﻿
/* ================= ROOT ================= */


/* ================= CANVAS ================= */
.canvas {
    max-width: 1150px;
    margin: 20px auto;
    padding: 0 16px;
}

/* ================= MODULE ================= */
.module {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 26px;
    border: 1px solid #dde5ec;
}

/* Header */
.module-header {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    border-radius: 8px 8px 0 0;
    flex-wrap: wrap;
}

    .module-header .code {
        background: rgba(255,255,255,0.25);
        padding: 2px 8px;
        border-radius: 3px;
        margin-right: 10px;
    }

/* Colors */
.orange {
    background: #f6931e;
}

.blue {
    background: #3b73b9;
}

.green {
    background: #76a943;
}

/* ================= FLOW ================= */
.flow {
    display: flex;
    align-items: center;
    padding: 18px 16px 22px;
    flex-wrap: wrap;
    gap: 12px;
}

/* ================= STEP ================= */
.step {
    width: 120px;
    min-height: 92px;
    background: #f9fbfe;
    border: 1px solid #d8e0e8;
    border-radius: 9px;
    text-align: center;
    padding: 14px 10px 10px;
    box-sizing: border-box;
}

    .step i {
        font-size: 28px;
        margin-bottom: 6px;
    }

.orange + .flow .step i {
    color: #f6931e;
}

.blue + .flow .step i {
    color: #3b73b9;
}

.green + .flow .step i {
    color: #76a943;
}

.step p {
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
    color: #333;
}

/* ================= ARROW ================= */
.arrow {
    width: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .arrow svg {
        width: 46px;
        height: 14px;
    }

.orange + .flow .arrow line,
.orange + .flow .arrow polygon {
    stroke: #f6931e;
    fill: #f6931e;
}

.blue + .flow .arrow line,
.blue + .flow .arrow polygon {
    stroke: #3b73b9;
    fill: #3b73b9;
}

.green + .flow .arrow line,
.green + .flow .arrow polygon {
    stroke: #76a943;
    fill: #76a943;
}

/* ================= MODULE 3 ================= */
.center {
    justify-content: center;
}

.wide {
    width: 420px;
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
    .step {
        width: 170px;
    }

    .wide {
        width: 100%;
        max-width: 420px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .flow {
        justify-content: center;
    }

    .step {
        width: 100%;
        max-width: 320px;
    }

    .arrow {
        width: 100%;
        transform: rotate(90deg);
        margin: 6px 0;
    }

        .arrow svg {
            width: 30px;
            height: 14px;
        }
}

/* ================= VERY SMALL MOBILE ================= */
@media (max-width: 480px) {
    .module-header {
        font-size: 13px;
    }

    .step i {
        font-size: 24px;
    }

    .step p {
        font-size: 12px;
    }
}


