/* Floating notification for postcard submission */
#wppostcards-floating-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 420px;
  max-width: calc(100% - 48px);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  border-radius: 12px;
  z-index: 99999;
  padding: 14px;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: #222;
  animation: wppostcards-fade-in 240ms cubic-bezier(.2,.8,.2,1);
}

#wppostcards-floating-notice .wppostcards-notice-close {
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  float: right;
  cursor: pointer;
  color: #666;
}

.wppostcards-notice-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wppostcards-notice-image {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 8px;
  background: #f6f6f6;
}

.wppostcards-notice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wppostcards-notice-text {
  flex: 1 1 auto;
  min-width: 0;
}

.wppostcards-notice-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 16px;
  color: #111;
}

.wppostcards-notice-message {
  font-size: 14px;
  color: #333;
  max-height: 5.4em;
  overflow: hidden;
}

.wppostcards-notice-note {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

@keyframes wppostcards-fade-in {
  from { transform: translateY(8px); opacity: 0 }
  to { transform: translateY(0); opacity: 1 }
}

/* Responsive: reduce size on small screens */
@media (max-width: 480px) {
  #wppostcards-floating-notice { right: 12px; left: 12px; bottom: 12px; width: auto; }
  /* Keep image visible on mobile but make it smaller */
  .wppostcards-notice-image { 
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
  }
}
