﻿#components-reconnect-modal {
    height: 125px;
    background-color: var(--error-color) !important;
}

#components-reconnect-modal h5 {
    color: black;
}

#components-reconnect-modal h5::before {
    content: "Sorry, we have lost the connection to the server. If all reconnection attempts fail, click the retry button or reload the page - ";
}

#components-reconnect-modal div {
    border-color: var(--primary)
        var(--secondary-background-color)
        var(--secondary-background-color)
        var(--secondary-background-color)
        !important;
    margin-top: 1rem;
}

#components-reconnect-modal button {
    border-radius: var(--border-radius-8);
    padding: 0.375rem 0.75rem;
    box-sizing: border-box;
    border-width: 2px;
    border-style: solid;
    font-size: 1rem;
    line-height: 1.5;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    -ms-flex-align: center;
        align-items: center;
    -ms-flex-pack: center;
        justify-content: center;
    gap: 0.5rem;
    vertical-align: middle;
    -webkit-user-select: none;
        -ms-user-select: none;
            user-select: none;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    position: relative;
    border-color: var(--primary);
    color: var(--primary-text-color);
    background-color: var(--primary);
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    margin-top: 1rem !important;
}

#components-reconnect-modal button:hover {
    border-color: var(--primary);
    background-color: var(--primary-hover-color);
    color: var(--primary);
}
