/* Cookie rozilik bari — minimal, kontentni to'smaydi. */

.consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .06);
  font-size: 14px;
  color: #374151;
}

.consent-bar[hidden] { display: none; }

.consent-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
}

.consent-bar__text {
  margin: 0;
  line-height: 1.4;
}

.consent-bar__text a {
  color: #2563eb;
  text-decoration: underline;
}

.consent-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.consent-bar__btn {
  padding: 7px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.consent-bar__btn:hover { background: #f9fafb; }

.consent-bar__btn--primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.consent-bar__btn--primary:hover { background: #1d4ed8; }

.consent-bar__btn--link {
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
  padding-left: 8px;
  padding-right: 8px;
}

.consent-bar__options {
  display: flex;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px 0;
  border-bottom: 1px solid #f3f4f6;
}

.consent-bar__options[hidden] { display: none; }

.consent-bar__option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.consent-bar__option input[disabled] { cursor: not-allowed; }

@media (max-width: 768px) {
  .consent-bar__row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .consent-bar__actions { justify-content: flex-end; flex-wrap: wrap; }
  .consent-bar__options { flex-wrap: wrap; gap: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .consent-bar { transition: transform .2s ease; }
}
