#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.text-alert-warning {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    background-color: #ffc107;
    color: #000;
    text-align: center;
}

.AnswerBox__multiline {
    white-space: pre-line;
}

.DependencyDialog__container {
    box-sizing: border-box;
    max-width: min(95vw, 1100px);
    overflow: visible;
    width: 95vw;
}

.DependencyDialog__container .ConfirmModal {
    box-sizing: border-box;
    width: 100%;
}

.DependencyDialog__container .ConfirmModal__subtitle {
    max-width: none;
    overflow: visible;
    width: 100%;
}

.DependencyFlowList {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 24rem;
    max-width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.25rem;
}

.DependencyFlow {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.25rem;
    white-space: normal;
}

.DependencyFlow + .DependencyFlow {
    border-top: 1px solid #dee2e6;
    padding-top: 1.25rem;
}

.DependencyFlow__card {
    flex: 1 1 0;
    min-width: 0;
    background: #f3f5f7;
    border: 1px solid #cbd3da;
    border-radius: 0.4rem;
    padding: 0.6rem 0.75rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.DependencyFlow__card--target {
    background: #e8f1fb;
    border-color: #7aa7d9;
}

.DependencyFlow__connector {
    align-items: center;
    color: #495057;
    display: flex;
    flex-direction: column;
    flex: 0 0 4.5rem;
    font-size: 0.85rem;
    gap: 0.1rem;
    text-align: center;
}

.DependencyFlow__condition {
    font-weight: 600;
}

.DependencyFlow__arrow {
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 600px) {
    .DependencyFlow {
        gap: 0.4rem;
    }

    .DependencyFlow__connector {
        flex-basis: 3rem;
    }
}