/**
 * Silent Hill Healthcare — Zendesk Widget Custom Launcher
 * Brookhaven Hospital styles
 */

#shh-widget-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2a5a7a 0%, #1a3f5a 100%);
  box-shadow: 0 4px 20px rgba(42, 90, 122, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#shh-widget-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(42, 90, 122, 0.6);
  background: linear-gradient(135deg, #3a6f94 0%, #2a5a7a 100%);
}

#shh-widget-launcher:active {
  transform: translateY(0);
}

.shh-launcher-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shh-launcher-label {
  white-space: nowrap;
}

.shh-unread-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  margin-left: -2px;
}

#shh-widget-launcher.shh-has-unread {
  animation: shh-pulse 2s ease-in-out infinite;
}

@keyframes shh-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(42, 90, 122, 0.45); }
  50%       { box-shadow: 0 4px 28px rgba(239, 68, 68, 0.5); }
}

/* Mobile: smaller on small screens */
@media (max-width: 480px) {
  #shh-widget-launcher {
    bottom: 16px;
    right: 16px;
    padding: 10px 14px;
    font-size: 13px;
  }
}
