/* Enhances WebSocket Chat Widget with additional styles for better visibility */

/* Ensure predefined question buttons have visible text regardless of position */

[class*="-predefined-button"] {
  color: inherit;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  min-width: 80px;
  font-size: 14px !important;
  margin: 2px 4px;
  opacity: 1 !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Ensure pill styles have proper rounded corners */

[class*="-predefined-pill"] {
  border-radius: 24px !important;
}

/* Ensure button styles have square corners */

[class*="-predefined-button"]:not([class*="-predefined-pill"]) {
  border-radius: 4px !important;
}

/* Add a subtle shadow for better visibility */

[class*="-predefined-container"] button {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

/* Enhance hover behavior */

[class*="-predefined-container"] button:hover {
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  transform: translateY(-1px);
}

/* Container styles for different positions */

[class*="-predefined-top"], [class*="-predefined-bottom"], [class*="-predefined-welcome"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

