/** Shopify CDN: Minification failed

Line 24:12 Expected identifier but found whitespace
Line 24:14 Unexpected "{"
Line 24:23 Expected ":"
Line 24:47 Expected ":"

**/
/* SHOPIFY_STYLESHEETS_VERSION: 1.0 */


/* CSS from section stylesheet tags */
/* START_SECTION:2026-text-messages (INDEX:4) */
/* =============================================
   TEXT CONVERSATION SECTION — STYLES
   ============================================= */

.text-conversation-section {
  width: 100%;
  box-sizing: border-box;
}

.text-conversation-inner {
  max-width: {{ section.settings.max_width }}px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ── */
.text-conversation-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(128,128,128,0.2);
}

.conversation-avatar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.conversation-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 6px rgba(52, 199, 89, 0.6);
}

.conversation-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color, #111);
  letter-spacing: 0.01em;
}

/* ── Thread ── */
.text-conversation-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Message Row ── */
.message-row {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  position: relative;
}

.message-row--sender {
  align-items: flex-end;
}

.message-row--receiver {
  align-items: flex-start;
}

/* ── Typing Indicator ── */
.typing-indicator-wrap {
  display: none;
  align-items: center;
  margin-bottom: 4px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transform-origin: left center;
  will-change: opacity, transform;
}

.typing-sender {
  justify-content: flex-end;
  transform-origin: right center;
}

.typing-indicator-wrap.typing-visible {
  display: flex;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.typing-indicator-wrap.typing-exit {
  display: flex;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 18px;
  min-width: 52px;
  justify-content: center;
}

.typing-bubble .dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.75);
  animation: typingBounce 1.1s infinite ease-in-out;
  will-change: transform;
}

.typing-bubble .dot:nth-child(1) { animation-delay: 0s; }
.typing-bubble .dot:nth-child(2) { animation-delay: 0.18s; }
.typing-bubble .dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-6px); }
}

/* ── Message Bubble ── */
.message-bubble {
  display: inline-block;
  max-width: min(75%, 520px);
  padding: 10px 14px 8px;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  opacity: 0;
  transform: scale(0.75) translateY(10px);
  transform-origin: bottom left;
  will-change: opacity, transform;
  transition: none;
}

.message-bubble--sender {
  transform-origin: bottom right;
  border-bottom-right-radius: 4px;
}

.message-bubble--receiver {
  border-bottom-left-radius: 4px;
}

.message-bubble.bubble-pop {
  animation: bubblePop 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bubblePop {
  0%   { opacity: 0; transform: scale(0.6)  translateY(14px); }
  60%  { opacity: 1; transform: scale(1.04) translateY(-2px); }
  100% { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* ── Message Text ── */
.message-text {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.45;
  color: inherit;
  word-break: break-word;
}

/* ── Timestamp ── */
.message-timestamp {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.6;
  color: inherit;
  text-align: right;
}

.message-bubble--receiver .message-timestamp {
  text-align: left;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .message-bubble {
    max-width: 85%;
    font-size: 14px;
  }

  .text-conversation-inner {
    padding: 0 12px;
  }
}

/* ── Accessibility: Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .message-bubble.bubble-pop {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .typing-indicator-wrap.typing-visible {
    opacity: 0 !important;
  }

  .typing-bubble .dot {
    animation: none;
  }
}
/* END_SECTION:2026-text-messages */