/* ==========================================================================
   PROJECT: AI COLLABORATION ASSISTANTS — THEME & COMPONENT STYLES
   File: css/Collaboration.css
   Tech Steward Digital AI — Joyce Yap Portfolio
   ========================================================================== */

/* ==========================================================================
   1. COLLABORATION: AI BOOKING AGENT & CALENDAR INTEGRATION (FB MESSENGER)
   ========================================================================== */
.theme-collab-fb-booking .pdetail-header-card::before,
.theme-messenger-ai .pdetail-header-card::before {
  background: linear-gradient(90deg, #0084ff, #00c2cb, #00d2ff, #31a24c);
}

.theme-collab-fb-booking .pdetail-badge,
.theme-messenger-ai .pdetail-badge {
  background: rgba(0, 194, 203, 0.15);
  border-color: rgba(0, 194, 203, 0.45);
  color: #00d2ff;
}

.theme-collab-fb-booking .pdetail-spec-icon,
.theme-messenger-ai .pdetail-spec-icon {
  color: #00c2cb;
}

.theme-collab-fb-booking .pdetail-feature-item i,
.theme-messenger-ai .pdetail-feature-item i {
  color: #00d2ff;
}

/* Switcher Button: Collab FB Booking */
#btn-collab-fb-booking.active {
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.28), rgba(0, 194, 203, 0.2));
  border-color: #00d2ff;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}
#btn-collab-fb-booking.active i {
  color: #00d2ff;
}

/* ==========================================================================
   2. COLLABORATION: TELEGRAM AI PERSONAL ASSISTANT
   ========================================================================== */
.theme-telegram-ai .pdetail-header-card::before {
  background: linear-gradient(90deg, #229ed9, #0088cc, #00f2fe, #f2c94c);
}

.theme-telegram-ai .pdetail-badge {
  background: rgba(34, 158, 217, 0.15);
  border-color: rgba(34, 158, 217, 0.45);
  color: #38bdf8;
}

.theme-telegram-ai .pdetail-spec-icon {
  color: #229ed9;
}

.theme-telegram-ai .pdetail-feature-item i {
  color: #24a1de;
}

/* Switcher Button: Telegram Assistant */
#btn-ai-telegram-assistant.active {
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.3), rgba(0, 136, 204, 0.2));
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(34, 158, 217, 0.35);
}
#btn-ai-telegram-assistant.active i {
  color: #38bdf8;
}

/* ==========================================================================
   3. COLLABORATION: SLACK AI ASSISTANT
   ========================================================================== */
.theme-slack-ai .pdetail-header-card::before {
  background: linear-gradient(90deg, #e01e5a, #36c5f0, #2eb67d, #ecb22e);
}

.theme-slack-ai .pdetail-badge {
  background: rgba(236, 178, 46, 0.15);
  border-color: rgba(236, 178, 46, 0.45);
  color: #facc15;
}

.theme-slack-ai .pdetail-spec-icon {
  color: #ecb22e;
}

.theme-slack-ai .pdetail-feature-item i {
  color: #2eb67d;
}

/* Switcher Button: Slack Assistant */
#btn-ai-slacks-assistant.active {
  background: linear-gradient(135deg, rgba(224, 30, 90, 0.22), rgba(236, 178, 46, 0.22));
  border-color: #ecb22e;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(236, 178, 46, 0.25);
}
#btn-ai-slacks-assistant.active i {
  color: #ecb22e;
}

/* ==========================================================================
   COLLABORATION COMMON COMPONENTS & CARDS
   ========================================================================== */
.collab-architecture-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--cyan-glow);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 14px;
}

/* Dedicated Case Study Blueprint Trigger inside Suite */
.collab-case-study-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0084ff, #00c2cb);
  color: #ffffff;
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(0, 194, 203, 0.25);
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}

.collab-case-study-cta:hover {
  background: linear-gradient(135deg, #0073e6, #00adb5);
  box-shadow: 0 6px 24px rgba(0, 194, 203, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Aligned Bento Card Glows for Portfolio Grid */
.card-collab.card-fb:hover {
  border-color: rgba(0, 194, 203, 0.65);
  box-shadow: 0 12px 36px rgba(0, 194, 203, 0.2);
}

.card-collab.card-telegram:hover {
  border-color: rgba(34, 158, 217, 0.65);
  box-shadow: 0 12px 36px rgba(34, 158, 217, 0.2);
}

.card-collab.card-slack:hover {
  border-color: rgba(236, 178, 46, 0.65);
  box-shadow: 0 12px 36px rgba(236, 178, 46, 0.2);
}

/* Distinct Tool Visual Chips in Standard Specs View */
.pdetail-tool-visual-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pdetail-tool-visual-card:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--cyan);
  box-shadow: 0 6px 16px rgba(0, 229, 255, 0.2);
}

/* ==========================================================================
   4. DEDICATED MULTIMODAL AI TELEGRAM ASSISTANT SUITE STYLES
   Transparent Glassmorphic Per-Row & Per-Column Architecture
   ========================================================================== */

/* 1st Row: Transparent Glass Hero Container */
.telegram-glass-hero {
  background: rgba(13, 27, 62, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(34, 158, 217, 0.35);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35), 0 0 35px rgba(34, 158, 217, 0.12);
  margin-bottom: 36px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.telegram-glass-hero:hover {
  border-color: rgba(34, 158, 217, 0.65);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45), 0 0 45px rgba(34, 158, 217, 0.22);
}

.telegram-glass-hero img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  display: block;
}

/* 2nd Row: Split Grid with Glass Cards */
.telegram-glass-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .telegram-glass-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.telegram-glass-card {
  background: rgba(13, 27, 62, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(34, 158, 217, 0.35);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(34, 158, 217, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.telegram-pill-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 158, 217, 0.15);
  border: 1px solid rgba(34, 158, 217, 0.45);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.telegram-glass-block {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 158, 217, 0.22);
  border-radius: 18px;
  padding: 20px 22px;
  transition: all 0.3s ease;
}

.telegram-glass-block:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(34, 158, 217, 0.45);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.12);
}

.telegram-tag {
  color: #38bdf8 !important;
}

.telegram-tag i {
  color: #38bdf8;
}

.telegram-cta-btn {
  background: linear-gradient(135deg, #0088cc, #24a1de) !important;
  box-shadow: 0 4px 18px rgba(34, 158, 217, 0.35) !important;
}

.telegram-cta-btn:hover {
  background: linear-gradient(135deg, #24a1de, #38bdf8) !important;
  box-shadow: 0 6px 24px rgba(34, 158, 217, 0.5) !important;
  transform: translateY(-2px);
}

/* Telegram Smartphone Simulated Chassis */
.telegram-chassis {
  background: #0e1621;
  border: 1.5px solid rgba(34, 158, 217, 0.4);
  border-radius: 24px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(34, 158, 217, 0.15);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.telegram-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #17212b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.telegram-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #24a1de, #0088cc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.35);
  flex-shrink: 0;
}

.telegram-info h4 {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.telegram-info span {
  color: #708499;
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.telegram-actions {
  margin-left: auto;
  color: #708499;
  font-size: 1.1rem;
}

.telegram-body {
  flex: 1;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(23, 33, 43, 0.7) 0%, #0e1621 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.tg-timestamp {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #708499;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 12px;
  border-radius: 12px;
  align-self: center;
  margin-bottom: 4px;
}

.tg-msg-row {
  display: flex;
  width: 100%;
}

.tg-msg-row.sent {
  justify-content: flex-end;
}

.tg-msg-row.received {
  justify-content: flex-start;
}

.tg-msg-bubble {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  position: relative;
}

.tg-msg-row.sent .tg-msg-bubble {
  background: #2b5278;
  color: #ffffff;
  border-bottom-right-radius: 4px;
  border: 1px solid rgba(84, 185, 237, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.tg-msg-row.received .tg-msg-bubble {
  background: #182533;
  color: #e4ecf2;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.tg-msg-time {
  display: block;
  text-align: right;
  font-size: 0.68rem;
  color: #708499;
  margin-top: 6px;
}

.tg-transcribe-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Voice Memo Audio Bubble */
.tg-voice-bubble {
  background: #2b5278;
  padding: 10px 16px;
  border-radius: 20px;
  border-bottom-right-radius: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(84, 185, 237, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  max-width: 86%;
}

.tg-voice-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #24a1de;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(36, 161, 222, 0.4);
}

.tg-voice-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.wave-bar {
  width: 3px;
  background: #64b5f6;
  border-radius: 2px;
  animation: wavePulse 1.4s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; }
.wave-bar:nth-child(5) { animation-delay: 0.3s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.25s; }
.wave-bar:nth-child(8) { animation-delay: 0.45s; }
.wave-bar:nth-child(9) { animation-delay: 0.15s; }
.wave-bar:nth-child(10) { animation-delay: 0.35s; }

@keyframes wavePulse {
  0% { transform: scaleY(0.4); opacity: 0.6; }
  100% { transform: scaleY(1.1); opacity: 1; }
}

.tg-voice-duration {
  font-size: 0.72rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  margin-left: 4px;
}

.telegram-input-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #17212b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-input-icon, .tg-input-mic, .tg-send-icon {
  color: #708499;
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.tg-input-mic:hover, .tg-send-icon:hover {
  color: #24a1de;
  transform: scale(1.1);
}

.telegram-input-box {
  flex: 1;
  background: #0e1621;
  border-radius: 18px;
  padding: 8px 16px;
  color: #708499;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 3rd Row: Transparent Glass Tabs Container & Cards */
.telegram-glass-container {
  background: rgba(13, 27, 62, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(34, 158, 217, 0.35);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(34, 158, 217, 0.1);
  margin-top: 36px;
  margin-bottom: 40px;
}

.telegram-glass-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid rgba(34, 158, 217, 0.25);
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.telegram-glass-tabs .fb-agent-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.telegram-glass-tabs .fb-agent-tab-btn:hover {
  background: rgba(34, 158, 217, 0.12);
  border-color: rgba(34, 158, 217, 0.4);
  color: #ffffff;
}

.telegram-glass-tabs .fb-agent-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.3), rgba(34, 158, 217, 0.2));
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 4px 16px rgba(34, 158, 217, 0.25);
}

.telegram-glass-tab-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 158, 217, 0.22);
  border-radius: 20px;
  padding: 28px;
}

.telegram-glass-tab-card h3 {
  color: #ffffff;
  font-family: var(--font-headline);
  font-size: 1.4rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.telegram-glass-tab-card h3 i {
  color: #38bdf8;
}

.telegram-alt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #cbd5e1;
  background: rgba(34, 158, 217, 0.1);
  border: 1px solid rgba(34, 158, 217, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-right: 8px;
  margin-bottom: 8px;
}

.telegram-glass-item {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.telegram-glass-item:hover {
  background: rgba(34, 158, 217, 0.06);
  border-color: rgba(34, 158, 217, 0.35);
  transform: translateX(4px);
}

.telegram-glass-item i {
  font-size: 1.15rem;
  color: #38bdf8;
  margin-top: 3px;
  flex-shrink: 0;
}

.telegram-glass-item h4 {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.telegram-glass-item p {
  color: var(--text-sublight);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   4. COLLABORATION: MULTIMODAL ENTERPRISE SLACK AI ASSISTANT SUITE
   ========================================================================== */

/* 1st Row: Hero Landscape Image (Transparent Glass Container) */
.slack-glass-hero {
  background: rgba(18, 21, 28, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(236, 178, 46, 0.35);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35), 0 0 35px rgba(236, 178, 46, 0.12);
  margin-bottom: 36px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.slack-glass-hero:hover {
  border-color: rgba(236, 178, 46, 0.65);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45), 0 0 45px rgba(236, 178, 46, 0.22);
}

.slack-glass-hero img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  display: block;
}

/* 2nd Row: Split Grid with Glass Cards */
.slack-glass-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .slack-glass-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.slack-glass-card {
  background: rgba(18, 21, 28, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(236, 178, 46, 0.35);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(236, 178, 46, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slack-pill-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(236, 178, 46, 0.15);
  border: 1px solid rgba(236, 178, 46, 0.45);
  color: #facc15;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.slack-glass-block {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(236, 178, 46, 0.22);
  border-radius: 18px;
  padding: 20px 22px;
  transition: all 0.3s ease;
}

.slack-glass-block:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(236, 178, 46, 0.45);
  box-shadow: 0 8px 24px rgba(236, 178, 46, 0.12);
}

.slack-tag {
  color: #facc15 !important;
}

.slack-tag i {
  color: #facc15;
}

.slack-cta-btn {
  background: linear-gradient(135deg, #e01e5a, #ecb22e) !important;
  box-shadow: 0 4px 18px rgba(236, 178, 46, 0.35) !important;
}

.slack-cta-btn:hover {
  background: linear-gradient(135deg, #ecb22e, #2eb67d) !important;
  box-shadow: 0 6px 24px rgba(236, 178, 46, 0.5) !important;
  transform: translateY(-2px);
}

/* Realistic Slack Workspace Simulation Chassis */
.slack-chassis {
  background: #1a1d21;
  border: 1.5px solid rgba(236, 178, 46, 0.4);
  border-radius: 24px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(236, 178, 46, 0.15);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.slack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #222529;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.slack-channel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.slack-status-badge {
  font-size: 0.72rem;
  color: #2eb67d;
  background: rgba(46, 182, 125, 0.12);
  border: 1px solid rgba(46, 182, 125, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  font-family: var(--font-mono);
}

.slack-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.slack-body {
  flex: 1;
  padding: 18px 20px;
  background: #1a1d21;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.slack-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.slack-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  flex-shrink: 0;
}

.slack-user-avatar.user {
  background: linear-gradient(135deg, #4a154b, #611f69);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slack-user-avatar.bot {
  background: linear-gradient(135deg, #e01e5a, #ecb22e);
  border: 1px solid rgba(236, 178, 46, 0.4);
}

.slack-msg-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slack-msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.slack-user-name {
  color: #ffffff;
  font-weight: 700;
}

.slack-app-badge {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.slack-timestamp {
  color: #64748b;
  font-size: 0.72rem;
}

.slack-msg-text {
  color: #e2e8f0;
  font-size: 0.87rem;
  line-height: 1.55;
}

/* Voice Memo Audio Bubble inside Slack */
.slack-voice-bubble {
  background: #222529;
  border: 1px solid rgba(236, 178, 46, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  max-width: 90%;
}

.slack-voice-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecb22e;
  color: #1a1d21;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(236, 178, 46, 0.4);
}

.slack-voice-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.slack-wave-bar {
  width: 3px;
  background: #ecb22e;
  border-radius: 2px;
  animation: wavePulse 1.4s ease-in-out infinite alternate;
}

.slack-wave-bar:nth-child(2) { animation-delay: 0.2s; }
.slack-wave-bar:nth-child(3) { animation-delay: 0.4s; }
.slack-wave-bar:nth-child(4) { animation-delay: 0.1s; }
.slack-wave-bar:nth-child(5) { animation-delay: 0.3s; }
.slack-wave-bar:nth-child(6) { animation-delay: 0.5s; }
.slack-wave-bar:nth-child(7) { animation-delay: 0.25s; }
.slack-wave-bar:nth-child(8) { animation-delay: 0.45s; }

.slack-voice-duration {
  font-size: 0.72rem;
  color: #cbd5e1;
  font-family: var(--font-mono);
  margin-left: auto;
}

.slack-transcribe-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

.slack-subworkflow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(54, 197, 240, 0.12);
  border: 1px solid rgba(54, 197, 240, 0.35);
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 6px;
  width: fit-content;
}

.slack-circuit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 182, 125, 0.12);
  border: 1px solid rgba(46, 182, 125, 0.35);
  color: #4ade80;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 6px;
  width: fit-content;
}

/* Slack Input Bar */
.slack-input-bar {
  background: #222529;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slack-formatting-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.slack-input-box {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  outline: none;
  padding: 4px 0;
}

.slack-input-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.95rem;
}

.slack-input-left-icons,
.slack-input-right-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slack-send-btn {
  color: #ecb22e;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.slack-send-btn:hover {
  transform: scale(1.15);
}

/* 3rd Row: Transparent Glass Tabs Container & Cards */
.slack-glass-container {
  background: rgba(18, 21, 28, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(236, 178, 46, 0.35);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(236, 178, 46, 0.1);
  margin-top: 36px;
  margin-bottom: 40px;
}

.slack-glass-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid rgba(236, 178, 46, 0.25);
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.slack-glass-tabs .fb-agent-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.slack-glass-tabs .fb-agent-tab-btn:hover {
  background: rgba(236, 178, 46, 0.12);
  border-color: rgba(236, 178, 46, 0.4);
  color: #ffffff;
}

.slack-glass-tabs .fb-agent-tab-btn.active {
  background: linear-gradient(135deg, rgba(224, 30, 90, 0.25), rgba(236, 178, 46, 0.25));
  border-color: #ecb22e;
  color: #facc15;
  box-shadow: 0 4px 16px rgba(236, 178, 46, 0.25);
}

.slack-glass-tab-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(236, 178, 46, 0.22);
  border-radius: 20px;
  padding: 28px;
}

.slack-glass-tab-card h3 {
  color: #ffffff;
  font-family: var(--font-headline);
  font-size: 1.4rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slack-glass-tab-card h3 i {
  color: #facc15;
}

.slack-alt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #cbd5e1;
  background: rgba(236, 178, 46, 0.1);
  border: 1px solid rgba(236, 178, 46, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-right: 8px;
  margin-bottom: 8px;
}

.slack-glass-item {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.slack-glass-item:hover {
  background: rgba(236, 178, 46, 0.06);
  border-color: rgba(236, 178, 46, 0.35);
  transform: translateX(4px);
}

.slack-glass-item i {
  font-size: 1.15rem;
  color: #facc15;
  margin-top: 3px;
  flex-shrink: 0;
}

.slack-glass-item h4 {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.slack-glass-item p {
  color: var(--text-sublight);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Workflow Architecture Showcase Modules (for the 3 separated images) */
.slack-workflow-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(236, 178, 46, 0.25);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.slack-workflow-card:hover {
  border-color: rgba(236, 178, 46, 0.55);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(236, 178, 46, 0.12);
}

.slack-workflow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.slack-workflow-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slack-workflow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(236, 178, 46, 0.15);
  border: 1px solid rgba(236, 178, 46, 0.4);
  color: #facc15;
}

.slack-workflow-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
  background: #0f1216;
  position: relative;
  cursor: zoom-in;
  transition: border-color 0.25s ease;
}

.slack-workflow-img-wrap:hover {
  border-color: rgba(236, 178, 46, 0.45);
}

.slack-workflow-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.slack-workflow-img-wrap:hover img {
  transform: scale(1.012);
}
