/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Chat bubble styles */
.chat-bubble-garry {
  position: relative;
  background: #e4e4e7; /* zinc-200 */
  border-radius: 1.25rem;
  border-bottom-left-radius: 0.25rem;
}

.chat-bubble-garry::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -12px;
  width: 20px;
  height: 16px;
  background: #e4e4e7;
  border-bottom-right-radius: 16px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.chat-bubble-user {
  position: relative;
  background: #4437FF;
  border-radius: 1.25rem;
  border-bottom-right-radius: 0.25rem;
}

.chat-bubble-user::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -12px;
  width: 20px;
  height: 16px;
  background: #4437FF;
  border-bottom-left-radius: 16px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
