
body {
    overflow-x: hidden;
    background: #f4f7fa;
}

.workflow-line {
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: #999;
    top: 50%;
    z-index: 1;
}

.line-left {
    left: 0;
    transform: translateY(-50%) translateX(-100%) rotate(0deg);
}

.line-right {
    right: 0;
    transform: translateY(-50%) translateX(100%) rotate(0deg);
}

.workflow-group {
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.workflow-group:hover {
    opacity: 1 !important;
    transform: scale(1.3);
    z-index: 3;
}

.workflow-center {
    color: white;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    transition: transform 0.5s;
    position: relative;
    background: #333;
}

.workflow-content {
    transition: all 0.5s ease;
}

.workflow-content img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.5s;
}

.workflow-content p {
    font-size: 0.95rem;
    color: #333;
}

.group-hover .workflow-content-left,
.group-hover .workflow-content-right {
    opacity: 1 !important;
    transform: scale(1.04);
}

.group-hover .workflow-group {
    opacity: 1 !important;
    transform: scale(1.2);
}

.workflow-content-left,
.workflow-content-right {
    opacity: 0.1;
    transition: all 0.5s ease;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #666;
    margin: 15px auto;
}

/* STEP WORKFLOW MODULE - ISOLATED */
.step-workflow-container {
    background: #ffffff;
    padding: 10px 10px;
}

.step-workflow {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 2rem;
}

.step-item {
    flex: 1 1;
    position: relative;
}

.step-icon {
    max-width: 100px;
    margin: auto;
}

.step-label {
    margin-top: 10px;
    padding: 5px;
    background: #7b0505;
    color: white;
    font-size: 0.95rem;
    border-radius: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.step-arrow {
    width: 30px;
    height: 30px;
    border-top: 3px solid #b10000;
    border-right: 3px solid #b10000;
    transform: rotate(45deg);
    margin: auto;
}

@media (max-width: 992px) {
    .step-workflow {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(135deg);
        margin-top: 5px;
        margin-bottom: 5px;
    }
}
