/* FortMU Floating Message (blue, bottom-left) */

.fm-message {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  align-items: stretch;
  width: 360px;
  max-width: calc(100vw - 24px);
  color: #fff;
  background: #0074D9; /* blue */
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  visibility: visible;
  font-family: "PT Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.fm-message--blue { background: #0074D9; }

/* hidden state */
.fm-message.is-hidden {
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  pointer-events: none;
}

/* slide-in animation on first show */
.fm-message.is-enter {
  opacity: 0;
  transform: translateY(16px);
}
.fm-message.is-enter.is-enter-active {
  opacity: 1;
  transform: translateY(0);
}

/* icon */
.fm-message__icon {
  background: rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-width: 56px;
}
.fm-message__icon i {
  font-size: 20px;
  line-height: 1;
}

/* body */
.fm-message__body {
  padding: 16px 14px 12px;
  line-height: 1.35;
  font-size: 14px;
}
.fm-message__body p {
  margin: 0 0 10px 0;
}

/* actions */
.fm-message__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.fm-btn {
  appearance: none;
  border: 0;
  outline: 0;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,.28);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 3px rgba(0,0,0,.3);
  transition: transform .05s ease, box-shadow .05s ease, background .15s ease;
}
.fm-btn:hover { background: rgba(0,0,0,.38); }
.fm-btn:active {
  transform: translateY(2px);
  box-shadow: 0 0 rgba(0,0,0,.3);
}
.fm-btn--ghost {
  background: rgba(255,255,255,.18);
}
.fm-btn--ghost:hover {
  background: rgba(255,255,255,.28);
}

/* close button */
.fm-message__close {
  position: absolute;
  right: 6px;
  top: 6px;
  border: 0;
  background: rgba(0,0,0,.32);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .18s ease, background .15s ease;
}
.fm-message:hover .fm-message__close { opacity: 1; }
.fm-message__close:hover { background: rgba(0,0,0,.48); }
.fm-message__close i { font-size: 16px; line-height: 30px; }

/* responsive: center on very small widths */
@media (max-width: 480px) {
  .fm-message {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 12px;
  }
}
.fm-message--orange { background: #F39C12; }
