/* JR Floating Boxes – Unified Styling (v1.0.1)
   Forces JR Memory Creation help box (.jr-mhfb-*) to match the BG Floating Help Box styling (.bgfb-*) */

/* Box wrapper */
.jr-mhfb-box{
  position: fixed !important;
  right: 30px !important;
  bottom: 70px !important; /* requested */
  width: 240px !important;
  max-width: calc(100vw - 40px) !important;
  background: #da4747 !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.12) !important;
  z-index: 99999 !important;
  overflow: hidden !important;
}

/* Header */
.jr-mhfb-header{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
  background: #fff !important;
}

.jr-mhfb-title{
  font-weight: 800 !important;
  color: #111 !important;
}

/* Close button (match bgfb close tone + shape) */
.jr-mhfb-close{
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border-radius: 10px !important;

  border: 1px solid rgba(138,43,22,.22) !important;
  background: rgba(138,43,22,.06) !important;

  color: #8a2b16 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  cursor: pointer !important;

  appearance: none !important;
  -webkit-appearance: none !important;

  opacity: 1 !important;
  visibility: visible !important;

  transition: background .15s ease, border-color .15s ease, transform .05s ease !important;
}

.jr-mhfb-close:hover{
  background: rgba(138,43,22,.10) !important;
  border-color: rgba(138,43,22,.32) !important;
}

.jr-mhfb-close:active{
  transform: scale(0.97) !important;
}

.jr-mhfb-close:focus-visible{
  outline: 2px solid rgba(196,104,55,.45) !important;
  outline-offset: 2px !important;
}

/* Content */
.jr-mhfb-content{
  padding: 14px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: #222 !important;
  background: #fff !important;
}

.jr-mhfb-content p{ margin: 0 0 10px !important; }
.jr-mhfb-content p:last-child{ margin-bottom: 0 !important; }
.jr-mhfb-content ul{ margin: 0 0 10px 18px !important; }

/* Bold label <strong> polish */
.jr-mhfb-content strong{
  font-weight: 800 !important;
  color: #111 !important;
}
