/* [FLOTRY-CACHE-CORRECTNESS-V1] "Nueva version disponible" toast.
 * External stylesheet on purpose: the strict CSP (style-src without
 * 'unsafe-inline') forbids inline style attributes from scripts. */
.flotry-update-toast {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  max-width: calc(100vw - 24px);
  padding: 10px 14px;
  border-radius: 12px;
  background: #10403c;
  color: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.flotry-update-toast__text {
  flex: 1 1 auto;
  min-width: 0;
}

.flotry-update-toast__reload {
  flex: 0 0 auto;
  background: #0c766c;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.flotry-update-toast__reload:hover,
.flotry-update-toast__reload:focus-visible {
  background: #0a655d;
}

.flotry-update-toast__close {
  flex: 0 0 auto;
  background: transparent;
  color: #cfe7e4;
  border: 0;
  padding: 8px 6px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .flotry-update-toast {
    flex-wrap: wrap;
    left: 12px;
    right: 12px;
    transform: none;
    max-width: none;
  }
}
