/* AGP GROUP — compact cookie consent panel */
#agp-cookie-consent {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 22px;
  color: #171717;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  font-family: inherit;
}

#agp-cookie-consent h2 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 750;
}

#agp-cookie-consent p {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}

.agp-cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.agp-cookie-actions button,
#agp-cookie-settings {
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.agp-cookie-reject {
  color: #171717;
  background: #fff;
  border: 1px solid #b9bec7;
}

.agp-cookie-accept {
  color: #fff;
  background: #171717;
  border: 1px solid #171717;
}

.agp-cookie-actions button:hover,
.agp-cookie-actions button:focus-visible,
#agp-cookie-settings:hover,
#agp-cookie-settings:focus-visible {
  outline: 2px solid #f2c200;
  outline-offset: 2px;
}

#agp-cookie-settings {
  position: fixed;
  z-index: 9999;
  left: 12px;
  bottom: 12px;
  min-height: 34px;
  padding: 7px 10px;
  color: #343434;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.22);
  border-radius: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  font-size: 11px;
  font-weight: 650;
}

@media (max-width: 720px) {
  #agp-cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
    padding: 17px;
  }

  .agp-cookie-actions {
    margin-top: 15px;
  }

  .agp-cookie-actions button {
    flex: 1 1 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #agp-cookie-consent,
  #agp-cookie-settings {
    scroll-behavior: auto;
  }
}
