/* full-screen overlay */
.error-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: #E0B0E7;
    color: #fff;
    padding: 12px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-family: sans-serif;
    font-size: 3rem;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;
}

.error-box__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.error-box__image {
    width: 180px;
    height: 180px;
}

#errorMessage {
    font-size: 1rem;
}
.error-box__reload-button {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #0c3c8c;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-box__reload-button:hover {
    background-color: rgba(12, 60, 140, 0.82);
}

