﻿.process-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 900px;
    position: relative;
    margin: auto;
    padding: 10px;
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    cursor: pointer;
}

    .stage.active::before {
        content: "";
        position: absolute;
        top: 14px;
        left: -50px;
        right: -50px;
        bottom: -6px;
        /*background-color: lightgrey;*/
        border-radius: 4px;
        z-index: 0;
        transition: left 0.3s, right 0.3s;
    }

.circle, .label {
    position: relative;
    z-index: 1;
}

.circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #c2c2c2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    position: relative;
    z-index: 2;
    transition: background 0.3s, border-color 0.3s;
}

.stage.active .circle {
    border-color: #d83b01;
    background-color: #d83b01;
    color: #fff;
}

.line {
    flex-grow: 1;
    height: 2px;
    background: #c2c2c2;
    position: relative;
    top: -8px;
    z-index: 1;
    border-radius: 2px;
    overflow: hidden;
}

    .line .fill {
        width: 0;
        height: 100%;
        background-color: #d83b01;
        transition: width 0.5s ease;
    }
.controls {
    margin-top: 2rem;
}

    .controls button {
        padding: 8px 14px;
        font-size: 18px;
        cursor: pointer;
        background: #f3f2f1;
        border: 1px solid #ccc;
        border-radius: 4px;
        margin: 0 5px;
    }

        .controls button:hover {
            background: #e1dfdd;
        }

.process-content {
    margin-top: 0.5rem;
/*    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fafafa;*/
    min-height: 100px;
}

.step-content {
    display: none;
}

    .step-content.active {
        display: block;
    }

    .step-content input,
    .step-content select,
    .step-content button {
        margin: 5px 0;
        padding: 6px 10px;
        font-size: 14px;
    }
