.byt-cookie-banner,
.byt-cookie-modal,
.byt-cookie-settings {
  font-family: Inter, Arial, sans-serif;
  box-sizing: border-box;
}

.byt-cookie-banner *,
.byt-cookie-modal *,
.byt-cookie-settings * {
  box-sizing: border-box;
}

.byt-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(20px);
  width: min(1120px, calc(100vw - 32px));
  z-index: 2147483000;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(24, 102, 148, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 60px rgba(6, 35, 54, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.byt-cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.byt-cookie-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #edf7fc;
  color: #186694;
  font-size: 20px;
  font-weight: 800;
}

.byt-cookie-banner__body {
  min-width: 0;
}

.byt-cookie-banner__title {
  margin: 0 0 5px;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.byt-cookie-banner__text {
  margin: 0;
  color: #42515d;
  font-size: 14px;
  line-height: 1.48;
}

.byt-cookie-link {
  appearance: none;
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #186694;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.byt-cookie-actions,
.byt-cookie-modal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.byt-cookie-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #cbdbe5;
  border-radius: 999px;
  background: #fff;
  color: #1d2c38;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.byt-cookie-button:hover,
.byt-cookie-button:focus-visible {
  border-color: #186694;
  color: #186694;
  box-shadow: 0 8px 18px rgba(24, 102, 148, .12);
  transform: translateY(-1px);
  outline: none;
}

.byt-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 22, 33, .55);
}

.byt-cookie-modal.is-visible {
  display: flex;
}

.byt-cookie-modal__card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .26);
}

.byt-cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #eef4f7;
  color: #26323d;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.byt-cookie-modal__close:hover,
.byt-cookie-modal__close:focus-visible {
  background: #e2edf3;
  outline: none;
}

.byt-cookie-modal__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf7fc;
  color: #186694;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.byt-cookie-modal h2 {
  margin: 0 48px 14px 0;
  color: #111827;
  font-size: 28px;
  font-weight: 850;
  line-height: 1.18;
}

.byt-cookie-modal p {
  margin: 0 0 14px;
  color: #4b5b66;
  font-size: 16px;
  line-height: 1.58;
}

.byt-cookie-modal a {
  color: #186694;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.byt-cookie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.byt-cookie-card {
  padding: 16px;
  border: 1px solid #e6eff4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 32, .04);
}

.byt-cookie-card h3 {
  margin: 0 0 8px;
  color: #10202d;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.byt-cookie-card p {
  margin: 0;
  color: #52616d;
  font-size: 14px;
  line-height: 1.5;
}

.byt-cookie-modal__actions {
  flex-wrap: wrap;
  margin-top: 20px;
}

.byt-cookie-settings {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 2147482999;
  display: none;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(24, 102, 148, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: #186694;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(6, 35, 54, .12);
}

.byt-cookie-settings.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.byt-cookie-settings:hover,
.byt-cookie-settings:focus-visible {
  border-color: #186694;
  outline: none;
}

@media (max-width: 900px) {
  .byt-cookie-banner {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .byt-cookie-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .byt-cookie-button {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .byt-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    transform: translateY(20px);
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
  }

  .byt-cookie-banner.is-visible {
    transform: translateY(0);
  }

  .byt-cookie-banner__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 17px;
  }

  .byt-cookie-banner__title {
    font-size: 15px;
  }

  .byt-cookie-banner__text {
    font-size: 13px;
    line-height: 1.45;
  }

  .byt-cookie-actions {
    gap: 8px;
  }

  .byt-cookie-button {
    min-height: 43px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .byt-cookie-modal {
    align-items: flex-end;
    padding: 10px;
  }

  .byt-cookie-modal__card {
    max-height: 90vh;
    padding: 22px 16px 16px;
    border-radius: 24px 24px 18px 18px;
  }

  .byt-cookie-modal h2 {
    margin-right: 44px;
    font-size: 22px;
  }

  .byt-cookie-modal p {
    font-size: 14px;
  }

  .byt-cookie-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 14px 0;
  }

  .byt-cookie-card {
    padding: 14px;
  }

  .byt-cookie-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .byt-cookie-settings {
    left: 12px;
    bottom: 10px;
    min-height: 34px;
    padding: 8px 11px;
    font-size: 12px;
  }
}
