.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.cookie-consent.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--White, #ffffff);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(20, 20, 20, 0.08);
  font-family: 'Raleway', sans-serif;
}

.cookie-consent__text {
  margin: 0 0 20px;
  color: var(--Black, #141414);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.cookie-consent__text a {
  color: var(--Blue, #38b4d5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
  color: #2a9ab8;
}

.cookie-consent__actions,
.cookie-consent__settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 95px;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

.cookie-consent__btn--primary {
  background: var(--Blue, #38b4d5);
  color: var(--White, #ffffff);
}

.cookie-consent__btn--primary:hover {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%), var(--Blue, #38b4d5);
}

.cookie-consent__btn--secondary {
  background: rgba(56, 180, 213, 0.1);
  color: var(--Blue, #38b4d5);
}

.cookie-consent__btn--secondary:hover {
  background: rgba(56, 180, 213, 0.18);
}

.cookie-consent__btn--ghost {
  background: transparent;
  color: var(--Black, #141414);
  border: 1px solid rgba(20, 20, 20, 0.15);
}

.cookie-consent__btn--ghost:hover {
  border-color: var(--Blue, #38b4d5);
  color: var(--Blue, #38b4d5);
}

.cookie-consent__settings {
  margin-top: 4px;
}

.cookie-consent__settings-title {
  margin: 0 0 16px;
  color: var(--Black, #141414);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.cookie-consent__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.cookie-consent__option-info strong {
  display: block;
  margin-bottom: 4px;
  color: var(--Black, #141414);
  font-size: 15px;
  font-weight: 600;
}

.cookie-consent__option-info p {
  margin: 0;
  color: var(--Gray, #747474);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent__switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  cursor: pointer;
}

.cookie-consent__switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-consent__switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.15);
  transition: background 0.2s ease;
}

.cookie-consent__switch-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.cookie-consent__switch input:checked + .cookie-consent__switch-slider {
  background: var(--Blue, #38b4d5);
}

.cookie-consent__switch input:checked + .cookie-consent__switch-slider::before {
  transform: translateX(20px);
}

.cookie-consent__switch--disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-consent-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9989;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--Black, #141414);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
}

.cookie-consent-fab:hover {
  border-color: var(--Blue, #38b4d5);
  color: var(--Blue, #38b4d5);
}

.cookie-consent-fab.is-visible {
  display: inline-flex;
}

@media (max-width: 767px) {
  .cookie-consent {
    padding: 0;
  }

  .cookie-consent__inner {
    border-radius: 16px 16px 0 0;
    padding: 20px 16px 24px;
  }

  .cookie-consent__actions,
  .cookie-consent__settings-actions {
    flex-direction: column;
  }

  .cookie-consent__btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .cookie-consent__option {
    align-items: flex-start;
    flex-direction: column;
  }
}
