/* Cookie consent — GAD MODE purple theme */
.gm-cookie {
  --gm-purple: #6d28d9;
  --gm-purple-dark: #5b21b6;
  --gm-purple-darker: #4c1d95;
  --gm-purple-soft: #f3e8ff;
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(46, 16, 101, 0.42);
  box-sizing: border-box;
}

.gm-cookie[hidden] {
  display: none !important;
}

.gm-cookie__panel {
  position: relative;
  width: min(560px, 100%);
  background: #fff;
  color: #1e1b4b;
  border-radius: 20px;
  border: 1px solid #e8e4f5;
  box-shadow: 0 24px 60px rgba(76, 29, 149, 0.28);
  padding: 1.35rem 1.4rem 1.25rem;
  margin-bottom: 0.75rem;
  font-family: Poppins, "Source Sans 3", system-ui, sans-serif;
  overflow: hidden;
}

.gm-cookie__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5b21b6, #6d28d9, #7c3aed);
}

.gm-cookie__brand {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--gm-purple-soft);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.gm-cookie__brand img {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
}

.gm-cookie__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-purple);
}

.gm-cookie__title {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
  font-weight: 800;
  font-family: Outfit, Poppins, system-ui, sans-serif;
  color: var(--gm-purple-darker);
  line-height: 1.2;
}

.gm-cookie__text {
  margin: 0 0 0.9rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #5b5478;
}

.gm-cookie__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.gm-cookie__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--gm-purple-soft);
  color: var(--gm-purple-darker);
  font-size: 0.78rem;
  font-weight: 500;
}

.gm-cookie__chip strong {
  font-weight: 700;
}

.gm-cookie__links {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  color: #64748b;
}

.gm-cookie__links a {
  color: var(--gm-purple-dark);
  font-weight: 700;
  text-decoration: none;
}

.gm-cookie__links a:hover {
  text-decoration: underline;
}

.gm-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.gm-cookie__btn {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.gm-cookie__btn--primary {
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 55%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.35);
}

.gm-cookie__btn--primary:hover {
  background: var(--gm-purple-dark);
}

.gm-cookie__btn--ghost {
  background: #fff;
  color: var(--gm-purple-darker);
  border: 1px solid #ddd6fe;
}

.gm-cookie__btn--ghost:hover {
  background: var(--gm-purple-soft);
}

@media (max-width: 520px) {
  .gm-cookie__actions {
    flex-direction: column-reverse;
  }
  .gm-cookie__btn {
    width: 100%;
  }
}
