

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 1px solid #d4dce5;
  padding: 1rem;
  box-shadow: 0 -2px 8px rgba(26, 35, 50, 0.08);
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.9375rem;
  color: #8b9aaa;
  line-height: 1.6;
}

.cookie-text a {
  color: #4a7c94;
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #d4dce5;
  background-color: transparent;
  color: #4a7c94;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-btn:hover {
  background-color: #e8f0f6;
}

.cookie-btn.accept {
  background-color: #4a7c94;
  color: #fff;
  border-color: #4a7c94;
}

.cookie-btn.accept:hover {
  background-color: #3a6c84;
}

.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 35, 50, 0.5);
  z-index: 1001;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px rgba(26, 35, 50, 0.1);
}

.cookie-modal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a2332;
}

.cookie-toggle-group {
  margin-top: 1.5rem;
}

.cookie-toggle-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 0.5rem;
}

.cookie-toggle-item input[type="checkbox"] {
  margin-right: 1rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.cookie-toggle-label {
  flex: 1;
  cursor: pointer;
}

.cookie-toggle-label .label-title {
  font-weight: 600;
  color: #1a2332;
  display: block;
  margin-bottom: 0.25rem;
}

.cookie-toggle-label .label-desc {
  font-size: 0.875rem;
  color: #8b9aaa;
}

.cookie-modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-end;
}

.cookie-modal-btn {
  padding: 0.5rem 1.5rem;
  border: 1px solid #d4dce5;
  background-color: transparent;
  color: #4a7c94;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
}

.cookie-modal-btn:hover {
  background-color: #e8f0f6;
}

.cookie-modal-btn.save {
  background-color: #4a7c94;
  color: #fff;
  border-color: #4a7c94;
}

.cookie-modal-btn.save:hover {
  background-color: #3a6c84;
}

@media (max-width: 640px) {
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .cookie-modal-content {
    padding: 1.5rem;
  }

  .cookie-modal-buttons {
    flex-direction: column;
  }

  .cookie-modal-btn,
  .cookie-btn {
    flex: 1;
  }
}
