/* WhatsApp Chat Mockup Styles */
.wa-section {
  background: #F0F2F5;
  padding: 80px 0;
}
.wa-section-header { text-align: center; max-width: 580px; margin: 0 auto 48px; }

.wa-phones-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.wa-phone {
  width: 300px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 3px solid #1A1A1A;
  position: relative;
}
.wa-phone::before {
  content: '';
  display: block;
  width: 80px; height: 6px;
  background: #1A1A1A;
  border-radius: 3px;
  margin: 10px auto 0;
}

.wa-statusbar {
  background: #075E54;
  color: white;
  font-size: 0.7rem;
  padding: 4px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-header {
  background: #075E54;
  color: white;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-header-avatar {
  width: 36px; height: 36px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}
.wa-header-name { font-size: 0.9rem; font-weight: 600; }
.wa-header-status { font-size: 0.7rem; color: rgba(255,255,255,0.75); }
.wa-header-icons { margin-left: auto; display: flex; gap: 14px; font-size: 0.9rem; opacity: 0.85; }

.wa-body {
  background: #E5DDD5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c2b8ae' fill-opacity='0.12'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  min-height: 320px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wa-msg {
  max-width: 78%;
  padding: 6px 10px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.45;
  position: relative;
  word-wrap: break-word;
}
.wa-msg-time {
  position: absolute;
  bottom: 3px; right: 8px;
  font-size: 0.6rem;
  opacity: 0.6;
}
.wa-msg-in {
  background: white;
  align-self: flex-start;
  border-radius: 0 8px 8px 8px;
  margin-left: 4px;
}
.wa-msg-in::before {
  content: '';
  position: absolute;
  top: 0; left: -6px;
  border: 6px solid transparent;
  border-top-color: white;
  border-right-color: white;
}
.wa-msg-out {
  background: #DCF8C6;
  align-self: flex-end;
  border-radius: 8px 0 8px 8px;
  margin-right: 4px;
}
.wa-msg-out::before {
  content: '';
  position: absolute;
  top: 0; right: -6px;
  border: 6px solid transparent;
  border-top-color: #DCF8C6;
  border-left-color: #DCF8C6;
}
.wa-msg-out .wa-msg-time { right: 22px; }
.wa-tick { position: absolute; bottom: 3px; right: 6px; color: #4FC3F7; font-size: 0.65rem; }

.wa-img-msg {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  align-self: flex-end;
  max-width: 78%;
  margin-right: 4px;
}
.wa-img-placeholder {
  background: linear-gradient(135deg, #FFB347, #FF9933);
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.wa-img-caption {
  background: #DCF8C6;
  padding: 4px 8px 14px;
  font-size: 0.72rem;
  position: relative;
}

.wa-typing {
  background: white;
  border-radius: 0 8px 8px 8px;
  padding: 8px 12px;
  align-self: flex-start;
  margin-left: 4px;
  display: flex; align-items: center; gap: 4px;
}
.wa-dot {
  width: 6px; height: 6px;
  background: #aaa;
  border-radius: 50%;
  animation: wa-bounce 1.4s infinite;
}
.wa-dot:nth-child(2) { animation-delay: 0.2s; }
.wa-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes wa-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.wa-input-bar {
  background: #F0F2F5;
  padding: 8px 10px;
  display: flex; align-items: center; gap: 8px;
}
.wa-input-field {
  flex: 1; background: white; border-radius: 20px;
  padding: 8px 14px; font-size: 0.75rem;
  color: #aaa; border: none;
}
.wa-send-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center;
  justify-content: center; color: white; font-size: 0.8rem;
  flex-shrink: 0;
}

/* Phone label */
.wa-phone-label {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted, #6B7280);
}
.wa-phone-label span {
  display: inline-block;
  background: #075E54;
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
}
