:root {
    --bg-main: #f6faf8;
    --card-bg: #ffffff;
    --primary: #2E8B57;
    --secondary: #3CB371;
    --accent: #4CAF50;
    --text-header: #202830;
    --text-regular: #38424A;
    --card-radius: 18px;
    --shadow: 0 8px 32px rgba(46, 139, 87, 0.10);
    --border: #D1E0D5;
    --emphasis: #ffffff;
    --spacing: 26px;
}
#errorPopup8, #errorPopup2 {
    justify-content: center;
    align-items: center;
}
.container-err {
    max-width: 670px;
    margin: 54px auto 0 auto;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    border-radius: var(--card-radius);
    padding: 36px 32px 28px 32px;
    position: relative;
}
.section-err h2.gr {
    width: 100%;
    text-align: center;
}
.section-err span {
    font-size: 14px;
}
.section-err .highlight {
    font-style: italic;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-left: 12px;
}
#gr-balance {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    font-weight: 600;
}
h1.err {
    color: var(--text-header);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-align: left;
}
.section-err {
    margin-bottom: var(--spacing);
}
.section-err h2 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 600;
}
.section-err ul {
    padding-left: 32px;
    margin: 0;
}
.section-err li {
    margin-bottom: 12px;
    line-height: 1.65;
}
.important-err {
    color: var(--accent);
    font-weight: bold;
}
.info-row-err {
    margin-top: 18px;
    font-size: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    background: #f7fbf8;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
}
.info-row-err strong {
    color: var(--primary);
    font-weight: 600;
}
.action-btn-err, .action-btn-err-gr {
    margin: 34px auto 0 auto;
    display: block;
    background: var(--primary);
    color: var(--emphasis);
    border: none;
    border-radius: 32px;
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 44px;
    cursor: pointer;
    box-shadow: var(--shadow);
    letter-spacing: 1px;
    transition: background 0.18s;
}
.action-btn-err:hover, .action-btn-err-gr:hover {
    background: var(--accent);
}
@media (max-width: 700px) {
    .container-err { padding: 18px 7px; }
}

.policyOverlay {
    margin: 0;
    padding: 0;
    background: var(--bg-main);
    color: var(--text-regular);
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    position: fixed;
    width: 100vw;
    height: 100vh;
    /* padding-top: 70px; */
    top: 0;
    left: 0;
    overflow: scroll;
    z-index: 9999;
    display: none;
}
.policyOverlay.active {
    display: block;
    animation: show-in-err 0.2s ease;
}
.policyOverlay.gr.active {
    display: flex;
}
@keyframes show-in-err {
    0% {
        opacity: 0;
        transform: scale(1.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

html.policyOverlay-active {
  overflow: hidden !important;
}