.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  border: 1px solid #b0b0b0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  max-width: 350px;
  z-index: 9999;
  font-family: "Open Sans", sans-serif;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.4;
  color: #515151;
}

.cookie-banner__link {
  color: #212529;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-banner__link:hover {
  color: #1e568a;
  text-decoration: underline;
}

.cookie-banner__button {
  background: #1e568a;
  color: white;
  border: 1px solid #1e568a;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-banner__button:hover {
  background: #4a6c86;
  color: white;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    padding: 15px;
  }

  .cookie-banner__content {
    gap: 12px;
  }

  .cookie-banner__text {
    font-size: 14px;
  }

  .cookie-banner__button {
    padding: 8px 16px;
    font-size: 14px;
    align-self: stretch;
  }
}

.footer-disclaimer {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer small {
  font-size: 12px;
  opacity: 0.8;
}

.footer-disclaimer a {
  text-decoration: none;
}

.footer-disclaimer a:hover {
  text-decoration: underline;
}

.form-check .form-check-input {
  cursor: pointer;
}

.form-check .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-check .form-check-label {
  cursor: pointer;
  user-select: none;
}

.form-check .form-check-label a {
  color: #007bff;
}

.form-check .form-check-label a:hover {
  color: #0056b3;
}

.personal-data-notice {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.personal-data-notice p {
  margin: 0;
  color: #6c757d;
  font-style: italic;
}

.personal-data-notice small {
  font-size: 12px;
}

@media (max-width: 768px) {
  .personal-data-notice {
    margin-top: 20px;
    padding-top: 15px;
  }

  .personal-data-notice small {
    font-size: 11px;
  }
}

/* Стили для неактивной кнопки активации карты */
.btn-disabled {
  pointer-events: none !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  position: relative;
}

.btn-disabled::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: inherit;
}

/* Дополнительные стили для формы активации карты */
#termsCheckbox {
  margin-top: 4px;
  transform: scale(1.1);
}

#termsCheckbox:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-check-label p {
  margin-bottom: 0;
  line-height: 1.3;
}

/* Анимация для кнопки при активации */
.btn:not(.btn-disabled) {
  transition: all 0.3s ease;
}

.btn.btn-disabled {
  transition: none;
}

/* Стили для ссылок в футере */
.footer .nav-link {
  transition: color 0.2s ease;
}

.footer .nav-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer .nav-link small {
  transition: color 0.2s ease;
}

.footer .nav-link:hover small {
  color: #ffffff !important;
}