/* Bubbles.js — user reply / option button styles */
.bubble.reply {
  background: transparent;
  box-shadow: none;
  float: right;
  position: relative;
  transform-origin: right top;
  margin: 8px 0 10px;
  padding: 0;
  max-width: 72%;
}

.bubble.reply.history {
  margin: 0 0 2px 0;
}

.bubble.reply .bubble-content {
  transition: all 200ms;
}

/* ── Option buttons ─────────────────────────────────────────────────── */
.bubble.reply .bubble-content .bubble-button {
  background: #fff;
  color: #1B8354;                   /* DGA green */
  padding: 8px 16px;
  border: 1.5px solid #1B8354;     /* DGA green */
  border-radius: 50px;
  margin-top: 3px;
  text-align: center;
  display: inline-block;
  float: right;
  cursor: pointer;
  transition: all 200ms;
  text-decoration: none;
  word-break: normal;
  box-sizing: content-box;
  font-family: 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  font-size: .875rem;
  width: 100% !important;
  animation-name: animate-reply;
  animation-play-state: paused;
  animation-fill-mode: forwards;
  transform: translate3d(0, 0, 0);
  animation-delay: -3s;
}

@keyframes animate-reply {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.bubble.reply.say .bubble-content .bubble-button {
  animation-play-state: running;
  min-height: 24px;
  overflow: hidden;
}

/* Hover & selected state */
.bubble.reply:not(.bubble-picked) .bubble-content .bubble-button:hover,
.bubble.reply .bubble-content .bubble-button.bubble-pick {
  background: #1B8354;             /* DGA green fill */
  color: #fff;
  transform: scale(1) translate3d(0, 0, 0);
  padding: 8px 16px;
  height: auto;
}

/* Collapse unselected buttons after pick */
.bubble.reply.bubble-picked .bubble-content .bubble-button {
  transform: scale(0) translate3d(0, 0, 0);
  padding: 0;
}

/* Recalled interaction styles */
.bubble.history .bubble-content .bubble-button,
.bubble.history.reply:not(.bubble-picked) .bubble-content .bubble-button:hover,
.bubble.history.reply .bubble-content .bubble-button.bubble-pick {
  background: rgba(27,131,84,.15);
  color: #1B8354;
  cursor: default;
}

/* Free-form text input bubble */
.bubble.reply-freeform {
  margin: 0;
}

.bubble.reply.say.bubble-hidden {
  margin: 0;
  transform: scale(0);
  height: 0;
}

.bubble.reply.say .bubble-content .bubble-button.bubble-pick {
  margin-top: 1px;
  text-align: right;
}
