.errors_modal {
    position: fixed;
    width: 320px;
    max-height: 85vh;
    overflow-y: auto;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 1.75rem;
    border-radius: 28px;
    border: 1px solid var(--border-strong);
    background: var(--card);
    color: var(--foreground);
    z-index: 50000000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4),
                0 24px 60px -40px rgba(0, 0, 0, 0.7),
                0 0 60px -20px color-mix(in oklab, var(--primary) 15%, transparent);
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.errors_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 49999999;
}

.errors_overlay_hidden {
    display: none;
}

.errors_modal h2 {
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--foreground);
    margin: 0 0 0.5rem;
}

.errors_modal h3 {
    padding-top: 0.6rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--muted-foreground);
}

.errors_modal p {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.errors_modal button {
    margin-top: 1.25rem;
    position: relative;
    outline: none;
    border-radius: 999px;
    width: 100%;
    border: none;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 14px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 14px 34px -18px color-mix(in oklab, var(--primary) 80%, transparent);
    transition: background-color 0.25s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.errors_modal button:hover {
    background: var(--primary-soft);
    transform: translateY(-2px);
}

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