.errors_modal
{
    position: relative;
    box-sizing: border-box;
    width: min(320px, 100%);
    margin: auto;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    border: solid 1px #e8e8e8;
    background: #ffffff;
    color: black;
    z-index: 50000000;
}
.errors_overlay {
    position: fixed;
    inset: 0;
    display: flex;
    box-sizing: border-box;
    height: 100%;
    height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 49999999;
}

.errors_overlay_hidden {
    display: none;
}
.errors_modal h2
{
    font-size: 0.8rem;
    font-weight: bold;
    color: black;
}

.errors_modal h3
{
    padding-top: 0.6rem;
    font-size: 14px;
    color: black;
}

.errors_modal p
{
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 16px;
    color: black;
}
.errors_modal button
{
    margin-top: 20px;
    position: relative;
    outline: none;
    border: none;
    border-radius: 15px;
    width: 100%;
    background: var(--color-accent);
    color: var(--btn-text);
    padding: 15px;
    overflow: hidden;
    display: inline-block;
    min-height: 30px;
    text-transform: uppercase;
    font-size: 1.2em;
    font-weight: 700;
}

.errors_modal_hidden {
    display: none !important;
    visibility: hidden !important;
}

.errors_message {
    white-space: pre-line;
}
