/* global-prom.ru — 152-ФЗ: cookie-баннер, чекбокс согласия, футер, noscript-уведомление */

.gp152-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(15, 25, 40, 0.96);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.gp152-cookie-text {
  max-width: 760px;
}

.gp152-cookie-text a {
  color: #7fa8d9;
  text-decoration: underline;
}

.gp152-cookie-text a:hover {
  text-decoration: none;
}

.gp152-cookie-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

.gp152-cookie-accept {
  background: #1a3a6b;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 22px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.gp152-cookie-accept:hover {
  background: #142e56;
}

.gp152-cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  padding: 10px 22px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.gp152-cookie-decline:hover {
  border-color: #fff;
}

.gp152-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 16px 24px;
  background: #12233d;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.gp152-footer-links a,
.gp152-footer-links .gp152-cookie-settings {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  cursor: pointer;
}

.gp152-footer-links a:hover,
.gp152-footer-links .gp152-cookie-settings:hover {
  text-decoration: none;
}

.gp152-noscript-consent {
  padding: 16px 24px;
  background: #eef2f8;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 13px;
  color: #333;
}

.gp152-noscript-consent a {
  color: #1a3a6b;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .gp152-cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .gp152-cookie-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .gp152-cookie-accept,
  .gp152-cookie-decline {
    width: 100%;
  }
}
