/* Custom styles for decision tree */
.decision-path {
    position: relative;
    margin-left: 2rem;
}

.decision-path::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #e5e7eb;
}

.decision-node {
    transition: all 0.2s ease;
}

.decision-node:hover {
    transform: translateY(-2px);
}

.connector-line {
    position: relative;
    margin-left: 1rem;
}

.connector-line::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 50%;
    width: 1rem;
    height: 2px;
    background-color: #9ca3af;
}

/* Animation for new nodes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-node {
    animation: fadeIn 0.3s ease-out;
}