/* ============================================================
   IMC · BANNER ART. 50 EU AI ACT
   Aviso de uso de IA visible al interactuar con funcionalidades IA
   ============================================================ */

/* Banner persistente abajo a la derecha (toast style) */
.ai-notice-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 360px;
  background: #0A2540;
  color: #F5EFE0;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.25);
  font-family: 'Barlow', system-ui, sans-serif;
  z-index: 9000;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.ai-notice-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.ai-notice-banner.dismissed {
  display: none;
}

.ai-notice-banner-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #C9A961;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ai-notice-banner-header svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ai-notice-banner-body {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #F5EFE0;
  margin-bottom: 1rem;
}

.ai-notice-banner-body strong {
  color: #C9A961;
  font-weight: 600;
}

.ai-notice-banner-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}

.ai-notice-banner-link {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 0.75rem;
  color: #C9A961;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.05em;
}

.ai-notice-banner-link:hover {
  color: #D4B670;
}

.ai-notice-banner-btn {
  background: #C9A961;
  color: #0A2540;
  border: none;
  padding: 0.5rem 1rem;
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.ai-notice-banner-btn:hover {
  background: #D4B670;
}

/* En móvil: ocupa todo el ancho */
@media (max-width: 640px) {
  .ai-notice-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

/* ============================================================
   MICROCOPY IA — texto inline junto a funcionalidades IA
   ============================================================ */

.ai-microcopy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: 999px;
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft, #5C6770);
  margin: 0.5rem 0;
}

.ai-microcopy svg {
  width: 14px;
  height: 14px;
  color: #C9A961;
  flex-shrink: 0;
}

.ai-microcopy a {
  color: #0A2540;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.25rem;
}

.ai-microcopy a:hover {
  color: #C9A961;
}

/* ============================================================
   BADGE DE CUMPLIMIENTO EU AI ACT
   (para la home, junto al badge WCAG y al del Premio)
   ============================================================ */

.eu-ai-act-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 999px;
  font-family: 'Barlow', system-ui, sans-serif;
  text-decoration: none;
  color: #0A2540;
  transition: all 0.2s;
}

.eu-ai-act-badge:hover {
  background: rgba(201, 169, 97, 0.15);
  transform: translateY(-2px);
}

.eu-ai-act-badge svg {
  width: 20px;
  height: 20px;
  color: #C9A961;
  flex-shrink: 0;
}

.eu-ai-act-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.eu-ai-act-badge-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #5C6770;
  text-transform: uppercase;
  font-weight: 500;
}

.eu-ai-act-badge-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0A2540;
}
