@charset "UTF-8";

.cookie-consent {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  max-width: 420px;
  width: calc(100% - 48px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
  pointer-events: none;
}

.cookie-consent--visible {
  display: block !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
    transform: none;
  }
}

.cookie-consent__inner {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border-left: 4px solid #ff681e;
  box-shadow:
    0 8px 32px rgba(15, 43, 91, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 24px 24px 20px;
}

.cookie-consent__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #ff681e;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.cookie-consent__close:hover {
  background-color: rgba(15, 43, 91, 0.08);
  color: #ff681e;
}

.cookie-consent__close:focus-visible {
  outline: 2px solid #ff681e;
  outline-offset: 2px;
}

.cookie-consent__title {
  margin: 0 32px 12px 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f2b5b;
}

.cookie-consent__description {
  margin: 0 0 20px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(15, 43, 91, 0.85);
}

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

.cookie-consent__btn {
  flex: 1 1 auto;
  min-width: 130px;
  padding: 12px 18px;
  border: none;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid #ff681e;
  outline-offset: 2px;
}

.cookie-consent__btn--accept {
  background-color: #ff681e;
  color: #ffffff;
}

.cookie-consent__btn--accept:hover {
  background-color: #ff681e;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.35);
}

.cookie-consent__btn--reject {
  background-color: transparent;
  color: #0f2b5b;
  border: 2px solid #0f2b5b;
}

.cookie-consent__btn--reject:hover {
  background-color: rgba(15, 43, 91, 0.06);
}

@media (max-width: 575.98px) {
  .cookie-consent {
    bottom: 90px;
    right: 16px;
    width: calc(100% - 32px);
    max-width: none;
  }

  .cookie-consent__inner {
    padding: 20px 18px 18px;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__btn {
    width: 100%;
    min-width: unset;
  }
}
