/* Universal Bottom Bar - Always Visible */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white;
  border-top: 1px solid var(--green-600, #006847);
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.06);
  padding: 4px 6px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.bottom-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.bottom-bar-btn {
  flex: 1;
  text-align: center;
  padding: 5px 8px;
  font-weight: 600;
  font-size: 11px;
  border-radius: var(--radius, 4px);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.bottom-bar-btn-primary {
  background: linear-gradient(135deg, var(--green-800, #006847) 0%, var(--green-900, #004D35) 100%);
  color: white;
}

.bottom-bar-btn-primary:hover {
  background: linear-gradient(135deg, var(--green-900, #004D35) 0%, var(--green-800, #006847) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 104, 71, 0.3);
}

.bottom-bar-btn-secondary {
  background: var(--surface, #ffffff);
  color: var(--green-800, #006847);
  border: 1px solid var(--green-600, #006847);
}

.bottom-bar-btn-secondary:hover {
  background: var(--green-50, #f0f9f6);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 104, 71, 0.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .bottom-bar {
    padding: 3px 5px;
  }
  
  .bottom-bar-container {
    gap: 3px;
  }
  
  .bottom-bar-btn {
    padding: 4px 6px;
    font-size: 10px;
  }
  
  .bottom-bar-btn span {
    font-size: 9px;
  }
}

/* Desktop: Show as centered bar */
@media (min-width: 769px) {
  .bottom-bar-container {
    max-width: 800px;
  }
  
  .bottom-bar-btn {
    max-width: 250px;
  }
}

/* Ensure body has padding for bottom bar - always applied */
body {
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 28px;
  }
}

/* Hide Intercom widget launcher icon, but allow messenger to show when opened */
#intercom-container .intercom-launcher,
.intercom-launcher,
.intercom-launcher-frame,
[data-intercom-target],
iframe[title="Intercom live chat messenger"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Allow Intercom messenger window to show when opened programmatically */
#intercom-container .intercom-messenger,
.intercom-messenger-frame {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

