/* WAI / WAD Styles */

.screen {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.scenario-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.step-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #ccc;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    z-index: 10;
    transition: all 0.3s;
    cursor: default;
}

.step-node.active {
    border-color: #3498db;
    color: #3498db;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    animation: pulse 1.5s infinite;
}

.step-node.completed {
    background-color: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.step-node.risky {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.wai-line {
    stroke: #3498db;
    stroke-width: 2;
    stroke-dasharray: 5,5;
    opacity: 0.3;
}

.wad-line {
    stroke: #e74c3c;
    stroke-width: 3;
    fill: none;
}
