/* Albania Smart — banner consenso cookie. Palette coerente con la home (#070f1b / oro #f4b740).
 * Autonomo (non dipende da home.css): usato anche sulle pagine legali/support. */
.as-consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2147483000;
  width: min(680px, calc(100vw - 24px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(11, 21, 37, .92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  color: #f6f8fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  animation: as-consent-in .28s ease both;
}

@keyframes as-consent-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.as-consent__text {
  margin: 0;
  flex: 1 1 260px;
  color: #cdd8e6;
}

.as-consent__link {
  color: #ffd479;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.as-consent__link:hover { color: #f4b740; }

.as-consent__actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.as-consent__btn {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease, color .16s ease, filter .16s ease;
}

.as-consent__btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  color: #f6f8fb;
}
.as-consent__btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
}

.as-consent__btn--primary {
  background: linear-gradient(92deg, #f4b740, #ffd479);
  color: #070f1b;
}
.as-consent__btn--primary:hover { filter: brightness(1.05); }

.as-consent__btn:focus-visible {
  outline: 2px solid #ffd479;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .as-consent { bottom: 8px; padding: 14px; }
  .as-consent__actions { width: 100%; }
  .as-consent__btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .as-consent { animation: none; }
}
