/* White GEO — Cookie consent banner */
/* Использует дизайн-токены сайта; если их нет на странице — fallback */

.wg-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: var(--dark, #0f172a);
  color: var(--white, #fff);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  font: 14px/1.5 "Segoe UI", system-ui, -apple-system, sans-serif;
}

.wg-consent__main {
  flex: 1 1 320px;
  min-width: 0;
}

.wg-consent__text {
  margin: 0;
  color: var(--gray-light, #94a3b8);
}

.wg-consent__link {
  color: var(--primary, #2563eb);
  text-decoration: none;
  margin-left: 6px;
  font-weight: 600;
}
.wg-consent__link:hover {
  text-decoration: underline;
  color: var(--primary-light, #3b82f6);
}

.wg-consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.wg-consent__btn {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 18px;
  font: 600 14px/1 "Segoe UI", system-ui, sans-serif;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wg-consent__btn--accept {
  background: var(--primary, #2563eb);
  color: #fff;
}
.wg-consent__btn--accept:hover {
  background: var(--primary-dark, #1d4ed8);
}

.wg-consent__btn--reject {
  background: transparent;
  color: var(--gray-light, #94a3b8);
  border-color: rgba(148, 163, 184, 0.4);
}
.wg-consent__btn--reject:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
  .wg-consent {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
  .wg-consent__actions {
    flex-direction: column-reverse;
  }
  .wg-consent__btn {
    width: 100%;
    text-align: center;
  }
}
