.separator {
    border-top: 1px solid #000000;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.serotype-message {
    display: none;
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid transparent;
    font-weight: 600;
}

.serotype-message.is-visible {
    display: block;
}

.serotype-message--error {
    color: #7a1a1a;
    background-color: #ffecec;
    border-color: #f5b5b5;
}

.content__wrapper {
    width: min-content;
}

.serotype-determination-table-wrapper {
    display: flex;
    width: calc(100vw - 8rem);
    max-width: max-content;

    margin: auto;
    margin-bottom: 1rem;
}

.serotype-determination-table {
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

.cell--ciwd {
    background-color: rgba(242, 199, 116, 0.3);
}

.cell--serological {
    background-color: rgba(217, 112, 149, 0.3);
}

.cell--18ws {
    background-color: rgba(120, 138, 163, 0.3);
}

.cell--ol-std {
    background-color: rgba(146, 182, 177, 0.3);
}

.cell--ol-explex {
    background-color: rgba(232, 221, 133, 0.3);
}

.cell--immucor {
    background-color: rgba(178, 201, 171, 0.3);
}

.description {
    display: block;
    margin-top: 1rem;
    font-size: 16px;
}

.version-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.version-info span + span {
    margin-block: 0.8rem;
}

.version {
    align-self: flex-end;
    width: max-content;

    cursor: pointer;
}

.version:hover {
    text-decoration: underline black;
}

.btn-restart {
    color: #ffffff;
    background-color: #4daad4;

    font-weight: 600;
    font-size: 16px;

    border-radius: 4px;

    padding: 0.6rem 0.8rem;

    align-self: flex-end;
}

.changelog {
    display: flex;
    flex-direction: column;

    width: min(70vw, 800px);
    min-width: calc(360px - 4rem);
    max-height: 80vh;
    padding: 1rem;

    overflow-y: auto;
}

.changelog__version {
    margin-top: 1rem;
}

.changelog__item {
    margin-top: 0.5rem;
}

.changelog__serotype {
    display: inline-block;
    flex: 1;

    padding: 0.1rem 0.3rem;
    margin: 0.2rem;

    font-size: 14px;
    text-align: center;

    border-radius: 4px;
    background-color: #e7e7e79a;
}

@media screen and (max-width: 768px) {
    .description {
        text-align: center;
    }

    .btn-restart {
        align-self: center;
    }
}

@media screen and (max-width: 480px) {
    .changelog__item > span {
        display: flex;
        flex-wrap: wrap;
    }
}
