/* widgets.css — Notification + Visitor Widget Styling */
#notification-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
  font-size: 0.9rem;
  color: #1e293b;
}

.fake-notification {
  background: white;
  border-left: 4px solid #1d4ed8;
  padding: 0.9rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  pointer-events: auto;
  line-height: 1.4;
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.fake-notification.show { opacity: 1; }
.fake-notification.fade-out { animation: fadeOut 1s ease forwards; }

.fake-notification .location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fake-notification .location img {
  width: 16px;
  height: 16px;
}

.fake-notification .product {
  color: #1d4ed8;
  font-weight: 700;
  margin-top: 0.3rem;
}

.fake-notification .timestamp {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.4rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-15px); }
}
/* File input styling */
input[type="file"] {
  border: 1px solid #d1d5db;
  padding: 0.5rem;
  border-radius: 0.25rem;
  width: 100%;
  background-color: white;
}

input[type="file"]::file-selector-button {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  padding: 0.4rem 0.8rem;
  border-radius: 0.25rem;
  margin-right: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

input[type="file"]::file-selector-button:hover {
  background: #e5e7eb;
}

/* File feedback styling */
#file-feedback {
  color: #4b5563;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

#file-name {
  font-weight: 500;
  color: #1f2937;
}
