/* ТЗ 17374. Кука-попап (п.1) + блок рассылки (п.6-7) */

/* --- cookie-попап --- */
#cookie-consent{position:fixed;left:0;right:0;bottom:0;z-index:99999;background:#fff;border-top:3px solid #0088de;box-shadow:0 -2px 12px rgba(0,0,0,.15);font-family:"PTSans-Regular",Arial,sans-serif}
#cookie-consent .cc-inner{max-width:940px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
#cookie-consent p{margin:0;flex:1 1 420px;font-size:13px;line-height:1.5;color:#535353}
#cookie-consent a{color:#0088de;text-decoration:underline}
#cookie-consent a:hover{color:#2aabff}
#cookie-consent button{flex:0 0 auto;background:#0088de;color:#fff;border:0;border-radius:4px;padding:10px 28px;font-size:14px;cursor:pointer;font-family:inherit}
#cookie-consent button:hover{background:#2aabff}
@media (max-width:640px){#cookie-consent .cc-inner{flex-direction:column;align-items:stretch;text-align:center;gap:12px;padding:12px 16px}#cookie-consent p{flex:0 0 auto;font-size:12px;line-height:1.45}#cookie-consent button{width:100%;padding:12px}}

/* --- блок рассылки: каждая мини-форма — свой изолированный прямоугольник --- */
.region-notification .webform-client-form{overflow:hidden;margin:0 0 14px;padding:0}
.region-notification .webform-container-inline{margin:0 0 4px}

/* подтверждение после отправки: прячем битую ссылку "Вернуться к форме" */
.region-notification .links{display:none}
.region-notification .webform-confirmation{padding:8px 0;color:#0088de;font-size:14px;line-height:1.5}

/* строка "галочка + текст" одним флексом, компактно */
.region-notification .webform-component-checkboxes{margin:2px 0 6px}
.region-notification .form-type-checkbox{display:flex;align-items:flex-start;margin:0}
.region-notification .form-type-checkbox input[type=checkbox]{flex:0 0 auto;margin:3px 7px 0 0;position:static}
.region-notification .form-type-checkbox label{flex:1 1 auto;display:block;font-size:12px;line-height:1.45;color:#535353;font-weight:normal;font-style:normal;margin:0;padding:0;white-space:normal !important;overflow-wrap:break-word;min-width:0}

/* раскладка мини-формы как на боевом: поле + кнопка одной строкой, согласие ниже */
.region-notification .webform-client-form > div{display:flex;flex-wrap:wrap;align-items:center}
.region-notification .webform-client-form .webform-container-inline{flex:0 1 auto;margin:0 !important}
.region-notification .webform-client-form .form-actions{flex:0 0 auto;margin:0;padding:0;clear:none}
.region-notification .webform-client-form .form-actions .form-submit{margin:0;display:block}
.region-notification .webform-client-form .webform-component-checkboxes{flex:1 1 100%;order:5;margin:7px 0 0;padding-left:37px;box-sizing:border-box}

/* общий чекбокс согласия на ПДн + приписка */
.region-notification .privacy_info{clear:both;margin:6px 0 0;padding:10px 0 0;border-top:1px solid #e6e6e6}
.region-notification .privacy_info label{display:block;position:relative;padding-left:22px;font-size:12px;line-height:1.45;color:#535353;font-style:normal}
.region-notification .privacy_info input[type=checkbox]{position:absolute;left:0;top:2px;margin:0}
.region-notification .privacy_info a{color:#0088de}
.region-notification .necessity_privacy{font-size:11px;color:#8a8a8a;margin:5px 0 0 22px}
.region-notification .necessity_privacy span{color:#e00}

/* тема даёт label.option margin 10px 0 0 37px — гасим для строк согласий */
.region-notification .form-type-checkbox label.option{margin:0 !important;padding:0 !important}

/* ссылки внутри чекбоксов согласия (region-notification вне .region-content —
   под общее правило темы a:visited{color:#2aabff} не попадают, браузер
   подставляет дефолтный фиолетовый для посещённых) */
.region-notification .form-type-checkbox label a,
.region-notification .form-type-checkbox label a:visited {color:#0088de}
.region-notification .form-type-checkbox label a:hover {color:#2aabff}
