/* ===================================================
   BANNER DE COOKIES — UnoMásEnLaOficina
   =================================================== */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1E2A5A;
  border-top: 1px solid rgba(47, 128, 237, 0.3);
  padding: 1.25rem 2rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', 'Poppins', sans-serif;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
}

.cookie-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
}

.cookie-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-weight: 300;
}

.cookie-desc a {
  color: #56CCF2;
  text-decoration: none;
}

.cookie-desc a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 7px;
  cursor: pointer;
  border: none;
  transition: background 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: #2F80ED;
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #1a6fd4;
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Enlace gestionar en footer */
#cookie-manage-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}

#cookie-manage-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 600px) {
  #cookie-banner {
    padding: 1rem 1.25rem;
  }
  .cookie-inner {
    gap: 1rem;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}
