/* Cookie consent — Figma 1440–768 / 375 */

.cookie-banner {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 900;
  box-sizing: border-box;
  width: 447px;
  max-width: calc(100vw - 80px);
  min-height: 217px;
  padding: 20px;
  border: 1px solid #e9f0f9;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(33, 33, 35, 0.08);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 177px;
}

.cookie-banner__title {
  margin: 0 0 14px;
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
  color: #212123;
}

.cookie-banner__text {
  margin: 0 0 20px;
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
  color: #8a8e92;
}

.cookie-banner__text a {
  color: #0c3eb3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-banner__text a:hover,
.cookie-banner__text a:focus-visible {
  color: #092f86;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

.cookie-banner__btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 50px;
  padding: 0 30px;
  border: 1px solid #0c3eb3;
  border-radius: 0;
  font-family: "Roboto Flex", var(--font-body), sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-banner__btn--accept {
  width: 122px;
  background-color: #0c3eb3;
  color: #ffffff;
}

.cookie-banner__btn--accept:hover,
.cookie-banner__btn--accept:focus-visible {
  background-color: #092f86;
  border-color: #092f86;
  color: #ffffff;
}

.cookie-banner__btn--decline {
  width: 138px;
  background-color: #ffffff;
  color: #0c3eb3;
}

.cookie-banner__btn--decline:hover,
.cookie-banner__btn--decline:focus-visible {
  background-color: #0c3eb3;
  border-color: #0c3eb3;
  color: #ffffff;
}

@media (max-width: 687px) {
  .cookie-banner {
    right: 15px;
    bottom: 15px;
    width: 302px;
    max-width: calc(100vw - 30px);
    min-height: 225px;
  }

  .cookie-banner__inner {
    min-height: 185px;
  }

  .cookie-banner__title {
    margin-bottom: 15px;
    font-size: 16px;
  }

  .cookie-banner__text {
    margin-bottom: 17px;
    font-size: 12px;
  }

  .cookie-banner__btn--accept {
    width: 116px;
  }

  .cookie-banner__btn--decline {
    width: 130px;
  }
}
