/* Cookie consent banner — 152-FZ notice */

.rsn-cookies {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 18px;
  border: 1px solid var(--rsn-border, #d8e0e8);
  border-radius: 16px;
  background: var(--rsn-white, #fff);
  box-shadow: 0 12px 40px rgba(8, 27, 51, 0.18);
}

.rsn-cookies.is-visible {
  display: block;
}

.rsn-cookies__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rsn-cookies__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5f6872;
}

.rsn-cookies__text a {
  color: var(--rsn-corporate-blue, #1267b1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rsn-cookies__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rsn-cookies__actions .rsn-btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.rsn-cookies__decline {
  background: transparent;
  border: 1px solid var(--rsn-border, #d8e0e8);
  color: #17202b;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.rsn-cookies__decline:hover {
  border-color: #b8c2cc;
  background: #f7f9fb;
}

@media (min-width: 768px) {
  .rsn-cookies {
    left: 24px;
    right: auto;
    bottom: 24px;
    width: min(560px, calc(100vw - 48px));
    padding: 22px 24px;
  }

  .rsn-cookies__inner {
    gap: 18px;
  }

  .rsn-cookies__text {
    font-size: 15px;
  }
}
