/* ══════════════════════════════════════════════════════════════ */
/* WhatsApp Web — Desktop Split Chat Layout                      */
/* Only activates on screens ≥ 768px.                            */
/* Mobile uses the normal separate-page navigation.              */
/* ══════════════════════════════════════════════════════════════ */

/* ── FF Chat Design Tokens (Minimalist Theme) ── */
:root {
  --wa-green: var(--primary);
  --wa-dark-green: var(--primary-dark);
  --wa-teal-green: var(--primary-dark);
  --wa-light-green: var(--primary-light);
  --wa-bg: var(--bg-app);
  --wa-sidebar-bg: var(--bg-surface);
  --wa-chat-bg: var(--bg-sunken);
  --wa-bubble-in: var(--msg-in-bg);
  --wa-bubble-out: var(--msg-out-bg);
  --wa-text: var(--text-primary);
  --wa-text-secondary: var(--text-secondary);
  --wa-link: var(--text-link);
  --wa-header-bg: var(--bg-surface);
  --wa-search-bg: var(--bg-sunken);
  --wa-border: var(--border);
  --wa-unread-bg: var(--primary);
  --wa-hover: var(--bg-sunken);
  --wa-active: var(--primary-pale);
  --wa-icon: var(--text-secondary);
  --wa-panel-header: var(--bg-surface);
}

[data-theme="dark"] {
  --wa-green: var(--primary);
  --wa-dark-green: var(--primary-dark);
  --wa-bg: var(--bg-app);
  --wa-sidebar-bg: var(--bg-surface);
  --wa-chat-bg: var(--bg-app);
  --wa-bubble-in: var(--msg-in-bg);
  --wa-bubble-out: var(--msg-out-bg);
  --wa-text: var(--text-primary);
  --wa-text-secondary: var(--text-secondary);
  --wa-header-bg: var(--bg-surface);
  --wa-search-bg: var(--bg-elevated);
  --wa-border: var(--border);
  --wa-hover: var(--bg-elevated);
  --wa-active: var(--primary-pale);
  --wa-icon: var(--text-secondary);
  --wa-panel-header: var(--bg-surface);
}

[data-theme="telegram"] {
  --wa-green: #5B9BD5;
  --wa-dark-green: #4A8BC4;
  --wa-bg: #0E1621;
  --wa-sidebar-bg: #17212B;
  --wa-chat-bg: #0E1621;
  --wa-bubble-in: #182533;
  --wa-bubble-out: #2B5278;
  --wa-text: #F5F5F5;
  --wa-text-secondary: #8E9BA8;
  --wa-header-bg: #17212B;
  --wa-search-bg: #242F3D;
  --wa-border: #242F3D;
  --wa-hover: #1E2C3A;
  --wa-active: #2E3D4F;
  --wa-icon: #8E9BA8;
  --wa-panel-header: #17212B;
}

/* ══════════════════════════════════════════════════════════════ */
/* DESKTOP SPLIT LAYOUT (≥ 768px)                                */
/* ══════════════════════════════════════════════════════════════ */
.wa-desktop-shell {
  display: none; /* Hidden on mobile by default */
}

@media (min-width: 768px) {
  /* Break out of the app shell completely for full-viewport chat */
  .page-pane.pane-active:has(.wa-desktop-shell),
  .page-pane:has(.wa-desktop-shell) {
    position: fixed !important;
    top: 0 !important;
    left: 72px !important;  /* Leave room for the desktop sidebar nav */
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    overflow: hidden !important;
    z-index: 100 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .wa-desktop-shell {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: var(--wa-bg);
    flex: 1;
    min-height: 0;
    min-width: 0;
  }

  /* ── Connection Status Bar ── */
  .wa-connection-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 200;
  }

  .wa-connection-bar.connecting {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
  }

  .wa-connection-bar.reconnecting {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    color: #9a3412;
  }

  .wa-connection-bar.connected {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    animation: wa-bar-fade-out 2s ease 1.5s forwards;
  }

  .wa-connection-bar.offline {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
  }

  .wa-connection-bar .wa-conn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes wa-bar-fade-out {
    to { max-height: 0; padding: 0; opacity: 0; overflow: hidden; }
  }

  /* ── Typing preview in sidebar ── */
  .wa-chat-preview .wa-typing-preview {
    color: var(--wa-green);
    font-style: italic;
    font-weight: 500;
  }

  /* ── LEFT SIDEBAR (Chat List) ── */
  .wa-sidebar {
    width: 380px;
    min-width: 320px;
    max-width: 440px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--wa-sidebar-bg);
    border-right: 1px solid var(--wa-border);
    flex-shrink: 0;
    overflow: hidden;
  }

  /* Sidebar Header */
  .wa-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    height: 60px;
    background: var(--wa-panel-header);
    flex-shrink: 0;
  }

  .wa-sidebar-header .wa-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .wa-sidebar-header .wa-logo-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wa-sidebar-header .wa-logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--wa-green);
  }

  .wa-sidebar-header .wa-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--wa-text);
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  .wa-sidebar-header .wa-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .wa-header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--wa-icon);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
  }

  .wa-header-btn:hover {
    background: var(--wa-hover);
  }

  /* Search Bar */
  .wa-search-bar {
    padding: 8px 12px;
    flex-shrink: 0;
  }

  .wa-search-bar .wa-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--wa-search-bg);
    border-radius: 8px;
    padding: 0 12px;
    height: 36px;
    transition: all 0.2s;
  }

  .wa-search-bar .wa-search-input-wrap:focus-within {
    box-shadow: 0 0 0 2px rgba(0, 168, 132, 0.15);
  }

  .wa-search-bar .wa-search-icon {
    font-size: 14px;
    color: var(--wa-icon);
    flex-shrink: 0;
    margin-right: 14px;
    transition: color 0.2s;
  }

  .wa-search-bar .wa-search-input-wrap:focus-within .wa-search-icon {
    color: var(--wa-green);
  }

  .wa-search-bar input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    height: 100%;
    font-size: 14px;
    color: var(--wa-text);
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  .wa-search-bar input::placeholder {
    color: var(--wa-text-secondary);
    font-size: 13px;
  }

  /* Filter Tabs */
  .wa-filter-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .wa-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .wa-filter-tab {
    padding: 6px 14px;
    border-radius: 18px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--wa-search-bg);
    color: var(--wa-text-secondary);
  }

  .wa-filter-tab:hover {
    background: var(--wa-hover);
    color: var(--wa-text);
  }

  .wa-filter-tab.active {
    background: var(--wa-green);
    color: #ffffff;
  }

  .wa-filter-tab-add {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--wa-search-bg);
    color: var(--wa-icon);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
  }

  .wa-filter-tab-add:hover {
    background: var(--wa-hover);
  }

  /* Notification Banner */
  .wa-notification-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #e7fce3, #d0f0c0);
    border-bottom: 1px solid var(--wa-border);
    font-size: 13px;
    color: #111b21;
    flex-shrink: 0;
    animation: wa-slide-down 0.3s ease;
  }

  [data-theme="dark"] .wa-notification-banner,
  [data-theme="telegram"] .wa-notification-banner {
    background: linear-gradient(135deg, rgba(0, 168, 132, 0.15), rgba(0, 168, 132, 0.08));
    color: var(--wa-text);
  }

  .wa-notification-banner .wa-notif-icon {
    font-size: 20px;
    flex-shrink: 0;
  }

  .wa-notification-banner .wa-notif-text {
    flex: 1;
    font-weight: 500;
  }

  .wa-notification-banner .wa-notif-text span {
    color: var(--wa-green);
    cursor: pointer;
    font-weight: 600;
  }

  .wa-notification-banner .wa-notif-close {
    border: none;
    background: none;
    color: var(--wa-icon);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
  }

  .wa-notification-banner .wa-notif-close:hover {
    opacity: 1;
  }

  /* Archived Chats Row */
  .wa-archived-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--wa-border);
  }

  .wa-archived-row:hover {
    background: var(--wa-hover);
  }

  .wa-archived-row .wa-archived-icon {
    font-size: 16px;
    color: var(--wa-green);
  }

  .wa-archived-row .wa-archived-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--wa-green);
  }

  /* Chat List */
  .wa-chat-list {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--wa-border) transparent;
  }

  .wa-chat-list::-webkit-scrollbar {
    width: 6px;
  }

  .wa-chat-list::-webkit-scrollbar-thumb {
    background: var(--wa-border);
    border-radius: 3px;
  }

  /* Chat List Item */
  .wa-chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.12s;
    border-bottom: 1px solid transparent;
    position: relative;
  }

  .wa-chat-item:hover {
    background: var(--wa-hover);
  }

  .wa-chat-item.active {
    background: var(--wa-active);
  }

  .wa-chat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 76px;
    right: 16px;
    height: 1px;
    background: var(--wa-border);
  }

  .wa-chat-item:last-child::after {
    display: none;
  }

  .wa-chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #dfe5e7, #cdd5d8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
  }

  .wa-chat-avatar.group {
    background: linear-gradient(135deg, var(--wa-green), var(--wa-dark-green));
    border-radius: 50%;
  }

  .wa-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  .wa-chat-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .wa-chat-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .wa-chat-name {
    font-size: 16px;
    font-weight: 400;
    color: var(--wa-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  .wa-chat-item.unread .wa-chat-name {
    font-weight: 600;
  }

  .wa-chat-time {
    font-size: 12px;
    color: var(--wa-text-secondary);
    flex-shrink: 0;
    font-weight: 400;
  }

  .wa-chat-item.unread .wa-chat-time {
    color: var(--wa-green);
    font-weight: 600;
  }

  .wa-chat-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .wa-chat-preview {
    font-size: 14px;
    color: var(--wa-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  .wa-chat-preview .wa-tick {
    color: #53bdeb;
    font-size: 14px;
    letter-spacing: -3px;
    flex-shrink: 0;
  }

  .wa-chat-preview .wa-sender {
    color: var(--wa-text-secondary);
    font-weight: 500;
  }

  .wa-chat-preview .wa-voice-icon {
    color: var(--wa-green);
    font-size: 14px;
  }

  .wa-unread-badge {
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--wa-unread-bg);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    flex-shrink: 0;
  }

  .wa-pin-icon {
    font-size: 12px;
    color: var(--wa-text-secondary);
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  .wa-mute-icon {
    font-size: 12px;
    color: var(--wa-text-secondary);
    flex-shrink: 0;
  }

  /* ── RIGHT PANEL (Chat Area) ── */
  .wa-chat-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--wa-chat-bg);
    position: relative;
    overflow: hidden;
    min-width: 0;
  }

  /* Chat wallpaper pattern */
  .wa-chat-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cdefs%3E%3Cpattern id='p' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='6' cy='6' r='1.5' fill='%23000'/%3E%3Ccircle cx='26' cy='16' r='1' fill='%23000'/%3E%3Ccircle cx='16' cy='32' r='1.2' fill='%23000'/%3E%3Ccircle cx='36' cy='36' r='0.8' fill='%23000'/%3E%3Cpath d='M10 20 Q15 15 20 20' stroke='%23000' fill='none' stroke-width='0.5'/%3E%3Cpath d='M30 8 L32 4 L34 8' stroke='%23000' fill='none' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='200' height='200' fill='url(%23p)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
  }

  [data-theme="dark"] .wa-chat-panel::before,
  [data-theme="telegram"] .wa-chat-panel::before {
    opacity: 0.03;
    filter: invert(1);
  }

  /* Placeholder (no chat selected) */
  .wa-empty-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 40px;
  }

  .wa-empty-chat .wa-empty-icon {
    width: 340px;
    max-width: 80%;
    aspect-ratio: 16/14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    opacity: 0.15;
    margin-bottom: 8px;
  }

  .wa-empty-chat h2 {
    font-size: 28px;
    font-weight: 300;
    color: var(--wa-text);
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: -0.5px;
  }

  .wa-empty-chat p {
    font-size: 14px;
    color: var(--wa-text-secondary);
    max-width: 480px;
    line-height: 1.6;
  }

  .wa-empty-chat .wa-get-app {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 20px;
    background: var(--wa-search-bg);
    border-radius: 24px;
    font-size: 14px;
    color: var(--wa-text);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
  }

  .wa-empty-chat .wa-get-app:hover {
    background: var(--wa-hover);
  }

  /* Inline-embedded chat area — override fixed positioning from cc-chat-page */
  .wa-chat-panel .cc-chat-page,
  .wa-chat-panel .chat-page {
    position: relative !important;
    inset: unset !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    max-width: none !important;
    flex: 1 !important;
    min-height: 0 !important;
    z-index: 1;
    background: transparent;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  /* Override chat-page fixed positioning when inside desktop panel */
  .wa-chat-panel .chat-page {
    position: relative !important;
    inset: unset !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Fix the messages area to fill available space */
  .wa-chat-panel .chat-messages {
    flex: 1 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    max-height: none !important;
  }

  /* Fix input bar to stick at bottom */
  .wa-chat-panel .chat-input-bar {
    flex-shrink: 0 !important;
    position: relative !important;
    bottom: auto !important;
  }

  /* Override chat header inside desktop panel */
  .wa-chat-panel .cc-chat-header {
    background: var(--wa-panel-header);
    border-bottom: 1px solid var(--wa-border);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    padding: 10px 16px;
    gap: 12px;
  }

  /* Ensure call buttons are visible in desktop header */
  .wa-chat-panel .cc-header-actions {
    display: flex !important;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .wa-chat-panel .cc-header-actions .btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: none;
    border: none;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wa-icon);
    transition: all 0.15s ease;
  }

  .wa-chat-panel .cc-header-actions .btn-icon:hover {
    background: var(--wa-hover);
    color: var(--wa-green);
  }

  .wa-chat-panel .cc-input-bar {
    background: var(--wa-panel-header);
    border-top: 1px solid var(--wa-border);
  }

  /* WhatsApp-style message bubbles when in desktop */
  .wa-chat-panel .cc-sent {
    background: var(--wa-bubble-out);
    color: var(--wa-text);
    border-radius: 8px 8px 0 8px;
  }

  .wa-chat-panel .cc-recv {
    background: var(--wa-bubble-in);
    color: var(--wa-text);
    border-radius: 8px 8px 8px 0;
    border: none;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.08);
  }

  .wa-chat-panel .cc-sent .cc-meta {
    color: var(--wa-text-secondary);
  }

  .wa-chat-panel .cc-recv .cc-meta {
    color: var(--wa-text-secondary);
  }

  .wa-chat-panel .cc-date-sep {
    background: rgba(255, 255, 255, 0.9);
    color: var(--wa-text-secondary);
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 8px;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0;
  }

  [data-theme="dark"] .wa-chat-panel .cc-date-sep,
  [data-theme="telegram"] .wa-chat-panel .cc-date-sep {
    background: rgba(30, 44, 58, 0.9);
  }

  .wa-chat-panel .cc-messages {
    background: transparent;
    padding: 20px 60px;
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
    scrollbar-width: thin;
    display: flex !important;
    flex-direction: column !important;
  }

  .wa-chat-panel .cc-msg-row {
    max-width: 55%;
  }

  /* Sender label in group chats */
  .wa-chat-panel .cc-sender-label {
    font-size: 12.5px;
    font-weight: 600;
  }

  /* Send button */
  .wa-chat-panel .cc-send-btn {
    background: var(--wa-green);
    box-shadow: none;
  }

  .wa-chat-panel .cc-send-btn:hover:not(:disabled) {
    background: var(--wa-dark-green);
  }

  .wa-chat-panel .cc-input-wrap {
    background: var(--wa-sidebar-bg);
    border-radius: 8px;
    border: none;
  }

  .wa-chat-panel .cc-input-wrap:focus-within {
    background: var(--wa-sidebar-bg);
    border-color: transparent;
    box-shadow: none;
  }

  /* Hide back button on desktop */
  .wa-chat-panel .cc-header-back {
    display: none;
  }

  /* Resize scroll bottom button  */
  .wa-chat-panel .cc-scroll-bottom {
    right: 30px;
  }
}

/* ── Large Desktop (≥ 1200px) ── */
@media (min-width: 1200px) {
  .wa-sidebar {
    max-width: 480px;
  }

  .wa-chat-panel .cc-messages {
    padding: 20px 80px;
  }
}

/* ── Ultra Wide (≥ 1440px) ── */
@media (min-width: 1440px) {
  .wa-chat-panel .cc-messages {
    padding: 20px 100px;
  }

  .wa-chat-panel .cc-msg-row {
    max-width: 50%;
  }
}

/* ── Animations ── */
@keyframes wa-slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes wa-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wa-slide-in-right {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.wa-chat-panel-anim {
  animation: wa-slide-in-right 0.25s ease-out;
}

/* ── Bottom banner in sidebar ── */
.wa-get-whatsapp-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--wa-panel-header);
  border-top: 1px solid var(--wa-border);
  cursor: pointer;
  flex-shrink: 0;
}

.wa-get-whatsapp-banner:hover {
  background: var(--wa-hover);
}

.wa-get-whatsapp-banner .wa-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.wa-get-whatsapp-banner .wa-app-text {
  flex: 1;
  font-size: 14px;
  color: var(--wa-green);
  font-weight: 600;
}

/* ── Skeleton stagger animation ── */
.wa-skeleton-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  animation: wa-fade-in 0.4s ease forwards;
  opacity: 0;
}

.wa-skeleton-item:nth-child(1) { animation-delay: 0ms; }
.wa-skeleton-item:nth-child(2) { animation-delay: 60ms; }
.wa-skeleton-item:nth-child(3) { animation-delay: 120ms; }
.wa-skeleton-item:nth-child(4) { animation-delay: 180ms; }
.wa-skeleton-item:nth-child(5) { animation-delay: 240ms; }
.wa-skeleton-item:nth-child(6) { animation-delay: 300ms; }
