/* Avviso cookie tecnici — MyLectio */
#ml-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 20px;
  background: rgba(15, 25, 35, 0.97);
  border-top: 1px solid rgba(20, 184, 166, 0.25);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  backdrop-filter: blur(8px);
}
#ml-cookie-bar.ml-cookie-visible {
  transform: translateY(0);
  opacity: 1;
}
#ml-cookie-bar .ml-cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
#ml-cookie-bar p {
  margin: 0;
  flex: 1;
  min-width: 240px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'DM Sans', system-ui, sans-serif;
}
#ml-cookie-bar a {
  color: #5eead4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#ml-cookie-bar a:hover {
  color: #99f6e4;
}
#ml-cookie-bar .ml-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
#ml-cookie-bar button {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
#ml-cookie-bar button:hover {
  transform: translateY(-1px);
}
#ml-cookie-accept {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: white;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}
#ml-cookie-more {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
@media (max-width: 600px) {
  #ml-cookie-bar .ml-cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
  #ml-cookie-bar .ml-cookie-actions {
    justify-content: stretch;
  }
  #ml-cookie-bar button {
    flex: 1;
  }
}
