.my-funnel-graph .title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    padding: 20px 0 10px 0;
    border-bottom: 2px solid #e0e0e0;
}

.my-funnel-graph .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    height: 100%;
}

.my-funnel-graph .row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.my-funnel-graph .stage {
    margin: 0 auto;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
    transform: scale(1);
    translate: -35px;
}

.my-funnel-graph .stage:hover {
    opacity: 0.9;
}

.my-funnel-graph .stage-label {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    padding: 0 5px;
}

.my-funnel-graph .stage-detail {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    padding: 0 5px;
}

.my-funnel-graph .stage-outside {
    font-size: 13px;
    color: #333;
    position: absolute;
    left: 100%;
    margin: 10px;
    display: inline-flex;
    flex-direction: column;
    width: max-content;
}

.my-funnel-graph .stage-outside-label {
    font-weight: 600;
}

.my-funnel-graph .stage-outside-detail {
    color: #555;
}

.my-funnel-graph .non-funnel-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
    width: 40%;
}

.my-funnel-graph .non-funnel-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.my-funnel-graph .non-funnel-line {
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
    transform: scale(1);
}

.my-funnel-graph .non-funnel-line:hover {
    opacity: 0.9;
}

.my-funnel-graph .non-funnel-line-label {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 0 5px;
}

.my-funnel-graph .non-funnel-line-outside {
    font-size: 13px;
    color: #333;
    margin: 10px;
    display: inline-flex;
    flex-direction: column;
    width: max-content;
}

.my-funnel-graph .non-funnel-line-outside-label {
    font-weight: 600;
}

.my-funnel-graph .container-arrow {
    position: absolute;
    left: calc(100% - 15px);
    top: 20px;
    display: flex;
}

.my-funnel-graph .container-arrow .curved-arrow {
    width: 35px;
    height: 35px;
    border: 2px solid transparent;
    border-top: 2px solid black;
    border-right: 2px solid black;
    border-radius: 50%;
    rotate: 30deg;
}

.my-funnel-graph .container-arrow.arrow-sucess .curved-arrow {
    border-top: 2px solid #05dc5b;
    border-right: 2px solid #05dc5b;
}
.my-funnel-graph .container-arrow.arrow-warning .curved-arrow {
    border-top: 2px solid #3498db;
    border-right: 2px solid #3498db;
}
.my-funnel-graph .container-arrow.arrow-danger .curved-arrow {
    border-top: 2px solid #ff005a;
    border-right: 2px solid #ff005a;
}

.my-funnel-graph .container-arrow .curved-arrow::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 25px;
    border: 6px solid transparent;
    border-left-color: black;
    transform: rotate(120deg);
}

.my-funnel-graph .container-arrow.arrow-sucess .curved-arrow::after {
    border-left-color: #05dc5b;
}
.my-funnel-graph .container-arrow.arrow-warning .curved-arrow::after {
    border-left-color: #3498db;
}
.my-funnel-graph .container-arrow.arrow-danger .curved-arrow::after {
    border-left-color: #ff005a;
}

.my-funnel-graph .container-arrow .label-arrow {
    font-size: 12px;
    color: var(--main-color);;
}

@media (max-width: 768px) {
    .my-funnel-graph .stage {
        height: 35px;
        min-width: 60px;
    }
    
    .my-funnel-graph .stage-label {
        font-size: 12px;
    }
    
    .my-funnel-graph .stage-detail {
        font-size: 11px;
    }
    
    .my-funnel-graph .non-funnel-lines {
        width: 100%;
    }
}