.form-text a {
  color: #203BFF;
  text-decoration: underline;
}

.form-text a:hover {
  text-decoration: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  max-width: 620px;
}

.footer-legal a {
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: underline;
}

.footer-legal a:hover {
  text-decoration: none;
}

.cookie-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #0A2540;
  background: #FFFFFF;
  border: 1px solid rgba(10, 37, 64, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.18);
}

.cookie-notice[hidden],
.cookie-notice.is-hidden {
  display: none;
}

.cookie-notice__text {
  font-size: 14px;
  line-height: 1.45;
}

.cookie-notice__text a {
  color: #203BFF;
  text-decoration: underline;
}

.cookie-notice__button {
  flex: 0 0 auto;
  min-width: 116px;
  height: 44px;
  padding: 0 20px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
  background: #203BFF;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-notice__button:hover {
  background: #1B74FD;
}

@media screen and (max-width: 640px) {
  .footer-legal {
    width: 100%;
  }

  .cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .cookie-notice__button {
    width: 100%;
  }
}
