.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(880px, calc(100vw - 20px));
  z-index: 1400;
  background: rgba(15, 19, 24, 0.96);
  color: #f3f7f5;
  border: 1px solid rgba(189, 212, 201, 0.25);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  padding: 12px;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #dfe8e3;
  flex: 1 1 380px;
}

.cookie-consent-text a {
  color: #a8e4cd;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.cookie-consent-btn {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 10px;
  border: 1px solid #c6d9cf;
  background: #f0f7f4;
  color: #193328;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
  line-height: 1;
}

.cookie-consent-btn.primary {
  border-color: #2a8a6f;
  background: linear-gradient(135deg, #1f7a61, #0f5b46);
  color: #ffffff;
}

@media (max-width: 720px) {
  .cookie-consent {
    bottom: 10px;
    width: calc(100vw - 12px);
    padding: 10px;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-btn {
    flex: 1;
    min-height: 40px;
  }
}
