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

.errors_overlay_hidden {
    display: none;
}

.errors_modal {
    position: fixed;
    width: 320px;
    max-height: 85vh;
    overflow-y: auto;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 2rem 1.75rem 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(40, 84, 197, 0.25);
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(8, 16, 31, 0.3), 0 4px 16px rgba(8, 16, 31, 0.15);
    z-index: 50000000;
}

.errors_modal::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E3A70 0%, #2854C5 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4C85D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
    background-size: cover;
}

.errors_modal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #102040;
    margin-bottom: 0.5rem;
}

.errors_modal h3 {
    padding-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1E3A70;
}

.errors_modal p {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #334155;
}

.errors_modal p + p {
    border-top: 1px solid #f1f5f9;
    padding-top: 0.5rem;
    margin-top: 0.125rem;
}

.errors_modal button {
    margin-top: 1.5rem;
    position: relative;
    outline: none;
    border-radius: 8px;
    width: 100%;
    border: none;
    background: #F4C85D;
    color: #102040;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.1s ease;
}

.errors_modal button:hover {
    background: #d89b00;
}

.errors_modal button:active {
    transform: scale(0.98);
}

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