/* Cookie banner — fortesting.ru */
.ft-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  max-width: 26rem;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: #15181D;
  color: #c5cdd9;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 48px rgba(0,0,0,0.45);
  display: none;
  flex-direction: column;
  gap: 0.85rem;
}
.ft-cookie.is-visible {
  display: flex;
  animation: ft-cookie-in 0.3s ease;
}
@keyframes ft-cookie-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.ft-cookie p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #8A94A7;
}
.ft-cookie a {
  color: #00BFFB;
  font-weight: 600;
  text-decoration: none;
}
.ft-cookie a:hover { text-decoration: underline; }
.ft-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ft-cookie__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  height: 40px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #0270D7;
  color: #fff;
}
.ft-cookie__btn:hover { filter: brightness(1.08); }
.ft-cookie__link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(138,148,167,0.35);
  color: #c5cdd9 !important;
  font-size: 14px;
  font-weight: 600;
}
@media (min-width: 641px) {
  .ft-cookie { left: 1.25rem; right: auto; margin-inline: 0; }
}
