#upload-notifications {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
    width: min(440px, calc(100vw - 40px));
    max-height: 60vh;
    overflow-y: auto;
}

.upload-notification {
    padding: 16px;
    margin-top: 10px;
    background: #fff;
    color: #263d4a;
    border-left: 5px solid #287ba0;
    border-radius: 6px;
    box-shadow: 0 3px 14px #0003;
    font: 14px/1.5 "Titillium Web", sans-serif;
}

.upload-notification p {
    margin: 0 0 10px;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
.upload-notification-completed { border-left-color: #228352; }
.upload-notification-failed { border-left-color: #b33030; }
.upload-notification button {
    display: block;
    margin-left: auto;
    padding: 8px 18px;
    border: 1px solid #205f7b;
    border-radius: 6px;
    background: #205f7b;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, box-shadow 0.15s;
}

.upload-notification button:hover {
    background: #17475d;
    box-shadow: 0 2px 6px #0003;
}

.upload-notification button:focus-visible {
    outline: 3px solid #287ba0;
    outline-offset: 3px;
}

#model-selection-form .discipline-group {
    min-width: 0;
    margin: 0 0 18px;
    padding: 12px 16px;
    border: 1px solid #d5dfe5;
    border-radius: 8px;
}

.discipline-group legend {
    max-width: 100%;
    padding: 0 8px;
    color: #263d4a;
    font-size: 1rem;
    font-weight: 600;
}

.discipline-group legend .model-status-badge {
    display: inline-block;
    white-space: normal;
}

.discipline-group .discipline-empty {
    margin: 0;
    color: #526574;
}

.discipline-group .model-selection-div {
    align-items: center;
    gap: 8px;
}

.discipline-group .model-selection-checkbox {
    flex-shrink: 0;
}

.discipline-group .discipline-upload-date {
    margin: 0 0 12px;
    color: #526574;
    font-size: 0.85rem;
    font-weight: normal;
}

.scenario-status-ready {
    background: #e3f4ea;
    color: #1f6f43;
}

.scenario-status-processing {
    background: #fff4dc;
    color: #8a5a00;
}

.scenario-status-error {
    background: #fbe5e4;
    color: #a12622;
}

.scenario-status-empty {
    background: #edf1f4;
    color: #526574;
}
