/* Плашка согласия на cookie (модуль adata.compliance) */

/* старые плашки, которые ничего не блокировали */
#cookie_notification,
#cookie_notification_cookie_blur { display: none !important; }

.adata-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    display: flex;
    justify-content: center;
    font: 14px/1.45 Roboto, Arial, sans-serif;
    color: #1f2933;
}

.adata-consent__box {
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, .22);
}

.adata-consent__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.adata-consent__text a { color: #0b63c4; text-decoration: underline; }

.adata-consent__settings { margin: 14px 0 0; }
.adata-consent__settings[hidden] { display: none; }

.adata-cat {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-top: 1px solid #e4e7eb;
    cursor: pointer;
    font-weight: normal;
}
.adata-cat input { margin-top: 3px; flex: none; }
.adata-cat span { color: #52606d; }
.adata-cat b { color: #1f2933; }

.adata-consent__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.adata-btn {
    flex: 1 1 auto;
    padding: 10px 16px;
    font: inherit;
    font-weight: 500;
    color: #1f2933;
    background: #fff;
    border: 1px solid #9aa5b1;
    border-radius: 6px;
    cursor: pointer;
}
.adata-btn[hidden] { display: none; }
.adata-btn:hover { background: #f5f7fa; }
.adata-btn--primary { color: #fff; background: #0b63c4; border-color: #0b63c4; }
.adata-btn--primary:hover { background: #0a56aa; }
.adata-btn--link { border-color: transparent; text-decoration: underline; }

.adata-reopen {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 2147482000;
    padding: 6px 10px;
    font: 12px/1 Arial, sans-serif;
    color: #52606d;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #cbd2d9;
    border-radius: 14px;
    cursor: pointer;
}
.adata-reopen[hidden] { display: none; }

.adata-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px;
    text-align: center;
    color: #52606d;
    background: #f0f2f5;
    border: 1px dashed #9aa5b1;
}
.adata-placeholder .adata-btn { flex: none; }

@media (max-width: 600px) {
    .adata-consent { left: 8px; right: 8px; bottom: 8px; }
    .adata-consent__box { padding: 16px; }
    .adata-btn { flex-basis: 100%; }
}

.adata-consent__status { margin-top: 10px; color: #2e7d32; font-weight: 500; }
