/* =========================================================================
   NextPointe Text for Webex — Embedded App Styles
   Webex-themed, responsive, dark/light mode aware
   ========================================================================= */

:root {
    --nxp-primary: #07C1E4;
    --nxp-primary-hover: #059ab8;
    --nxp-success: #2ecc71;
    --nxp-danger: #e74c3c;
    --nxp-warning: #f39c12;

    /* Light mode defaults */
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f7;
    --bg-card: #ffffff;
    --bg-hover: #f0f0f0;
    --text-primary: #121212;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Dark mode (Webex dark theme) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1a1a;
        --bg-secondary: #242424;
        --bg-card: #2a2a2a;
        --bg-hover: #333333;
        --text-primary: #f0f0f0;
        --text-secondary: #b0b0b0;
        --text-muted: #777777;
        --border-color: #3a3a3a;
        --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
}

/* ---- Reset & Base ---- */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "CiscoSans", "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

a {
    color: var(--nxp-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---- Layout ---- */

.app-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
    min-height: 100vh;
}

/* ---- Header ---- */

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.app-header .logo {
    width: 28px;
    height: 28px;
    background: var(--nxp-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.app-header .title {
    font-size: 16px;
    font-weight: 600;
}

.app-header .subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ---- Views (show/hide) ---- */

.view {
    display: none;
}

.view.active {
    display: block;
}

/* ---- Loading ---- */

.loading-view {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--nxp-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-view p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ---- Error ---- */

.error-view {
    text-align: center;
    padding: 40px 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.error-view h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.error-view p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ---- Auth view ---- */

.auth-view {
    text-align: center;
    padding: 40px 20px;
}

.auth-view .welcome-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--nxp-primary), #059ab8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.auth-view h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.auth-view p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.auth-view .tenant-badge {
    display: inline-block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-secondary);
}

.auth-view .tenant-badge strong {
    color: var(--text-primary);
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--nxp-primary);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--nxp-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-hover);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

/* ---- Conversations view ---- */

.conversations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.conversations-header h2 {
    font-size: 16px;
    font-weight: 600;
}

.conversations-header .user-info {
    font-size: 12px;
    color: var(--text-secondary);
}

.conversation-list {
    list-style: none;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid var(--border-color);
}

.conversation-item:last-child {
    border-bottom: none;
}

.conversation-item:hover {
    background: var(--bg-hover);
}

.conversation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.conversation-avatar--sms {
    background: rgba(7, 193, 228, 0.12);
    border-color: rgba(7, 193, 228, 0.3);
    color: var(--nxp-primary);
}

.conversation-avatar--wa {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.conversation-avatar svg {
    width: 20px;
    height: 20px;
}

.conversation-body {
    flex: 1;
    min-width: 0;
}

.conversation-phone {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-preview {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.conversation-meta {
    text-align: right;
    flex-shrink: 0;
}

.conversation-time {
    font-size: 11px;
    color: var(--text-muted);
}

.conversation-count {
    display: inline-block;
    background: var(--nxp-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 7px;
    margin-top: 4px;
}

.wa-expired-dot {
    font-size: 12px;
    margin-top: 3px;
    display: inline-block;
    cursor: help;
}

/* ---- Empty state ---- */

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

/* ---- Conversation detail ---- */

.detail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.detail-header .back-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--nxp-primary);
    padding: 4px 8px;
    border-radius: 6px;
}

.detail-header .back-btn:hover {
    background: var(--bg-hover);
}

.detail-header-text {
    flex: 1;
    min-width: 0;
}

.detail-header .detail-phone {
    font-size: 16px;
    font-weight: 600;
}

.detail-did {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}

.conversation-did {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}

.messages-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
}

.message-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message-inbound {
    align-self: flex-start;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

.message-outbound {
    align-self: flex-end;
    background: var(--nxp-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-sender {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-secondary);
}

.message-outbound .message-sender {
    color: rgba(255, 255, 255, 0.8);
}

.message-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

.message-outbound .message-time {
    color: rgba(255, 255, 255, 0.7);
}

/* ---- Message status check marks (WhatsApp-style) ---- */

.message-status {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    vertical-align: middle;
}

.message-status svg {
    width: 16px;
    height: 12px;
}

/* Single gray check — sent */
.message-status--sent svg {
    color: rgba(255, 255, 255, 0.6);
}

/* Double gray check — delivered */
.message-status--delivered svg {
    color: rgba(255, 255, 255, 0.6);
}

/* Double blue check — read */
.message-status--read svg {
    color: #53bdeb;
}

/* Red X — failed */
.message-status--failed svg {
    color: #e74c3c;
}

/* ---- Message media attachments ---- */

.message-media {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.message-media-img {
    max-width: 100%;
    max-height: 240px;
    border-radius: 10px;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.message-media-img:hover {
    opacity: 0.85;
}

.message-media-link {
    display: block;
    line-height: 0;
}

.message-media-video {
    max-width: 100%;
    max-height: 240px;
    border-radius: 10px;
}

.message-media-audio {
    width: 100%;
    max-width: 250px;
}

.message-media-file {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--bg-hover);
    color: var(--nxp-primary);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.message-media-file:hover {
    background: var(--border-color);
    text-decoration: none;
}

.message-outbound .message-media-file {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.message-outbound .message-media-file:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ---- Header actions (New + Refresh) ---- */

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---- Compose form ---- */

.compose-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0;
}

.compose-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: -8px;
}

.compose-input,
.compose-select,
.compose-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: border-color 0.15s ease;
}

.compose-input:focus,
.compose-select:focus,
.compose-textarea:focus {
    outline: none;
    border-color: var(--nxp-primary);
}

.compose-textarea {
    resize: vertical;
    min-height: 60px;
}

.compose-select {
    appearance: auto;
}

.compose-send-btn {
    align-self: flex-end;
    margin-top: 4px;
}

.compose-error {
    font-size: 12px;
    color: var(--nxp-danger);
    min-height: 16px;
    text-align: center;
}

/* ---- Status badges ---- */

.status-connected {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--nxp-success);
    font-size: 12px;
    font-weight: 500;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ---- Refresh button ---- */

.refresh-btn {
    background: none;
    border: none;
    color: var(--nxp-primary);
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.refresh-btn:hover {
    background: var(--bg-hover);
}

/* ---- Toast notifications ---- */

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.toast.visible {
    transform: translateX(-50%) translateY(0);
}

.toast.toast-error {
    border-color: var(--nxp-danger);
    color: var(--nxp-danger);
}

.toast.toast-success {
    border-color: var(--nxp-success);
    color: var(--nxp-success);
}

/* ---- Channel badges ---- */

.channel-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1px 5px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 4px;
}

.channel-badge--sms {
    background: rgba(7, 193, 228, 0.15);
    color: var(--nxp-primary);
}

.channel-badge--wa {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

/* ---- Reply bar ---- */

.reply-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.reply-input {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: border-color 0.15s ease;
}

.reply-input:focus {
    outline: none;
    border-color: var(--nxp-primary);
}

/* ---- WhatsApp 24h window banner ---- */

.wa-window-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    animation: bannerFadeIn 0.2s ease;
}

@keyframes bannerFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wa-window-banner.active {
    background: rgba(37, 211, 102, 0.08);
    color: #1a9e4a;
}

.wa-window-banner.warning {
    background: rgba(245, 166, 35, 0.10);
    color: #b87a00;
}

.wa-window-banner.expired {
    background: rgba(220, 53, 69, 0.08);
    color: #c0392b;
}

.wa-window-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.wa-window-text {
    flex: 1;
}

/* ---- Channel picker (+ New flow) ---- */

.channel-picker {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
}

.channel-picker-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4px;
}

.channel-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--bg-card);
}

.channel-option:hover {
    border-color: var(--nxp-primary);
    background: var(--bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.channel-option--sms:hover {
    border-color: var(--nxp-primary);
}

.channel-option--wa:hover {
    border-color: #25d366;
}

.channel-option__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-option__icon--sms {
    background: rgba(7, 193, 228, 0.12);
    color: var(--nxp-primary);
}

.channel-option__icon--wa {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.channel-option__icon svg {
    width: 22px;
    height: 22px;
}

.channel-option__text {
    flex: 1;
}

.channel-option__label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.channel-option__desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.channel-option__arrow {
    color: var(--text-muted);
    font-size: 18px;
}

/* ---- Template selector ---- */

.template-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 4px;
}

.template-item {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--bg-secondary);
}

.template-item:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.06);
}

.template-item.selected {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    box-shadow: 0 0 0 1px #25d366;
}

.template-item__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.template-item__body {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template-vars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.template-var-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.template-var-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 36px;
    flex-shrink: 0;
}

.template-var-input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    background: var(--bg-primary);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.15s;
}

.template-var-input:focus {
    border-color: #25d366;
}

.template-preview {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    font-size: 12px;
    color: var(--text-primary);
    line-height: 1.5;
    white-space: pre-wrap;
    margin-top: 4px;
}

.template-preview .var-highlight {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    font-weight: 600;
    border-radius: 3px;
    padding: 1px 3px;
}

.compose-note {
    font-size: 11px;
    color: var(--text-muted);
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    line-height: 1.4;
}

/* Quick Reply variable hint banner */
.qr-var-hint {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 40px;
    right: 40px;
    background: var(--brand-primary, #007bff);
    color: #fff;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 6px;
    text-align: center;
    z-index: 10;
}
.qr-var-hint kbd {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 11px;
}

/* Quick Replies (Canned Responses) picker */
.canned-picker-btn {
    flex-shrink: 0;
    padding: 4px 6px;
    color: var(--text-muted);
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.canned-picker-btn:hover {
    color: var(--brand-primary, #007bff);
    background: var(--bg-secondary);
}

.reply-bar { position: relative; }

/* ---- Text Shortcut autocomplete popup ---- */
.shortcut-popup {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 60px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    font-size: 13px;
    white-space: nowrap;
    z-index: 20;
    animation: shortcutFadeIn 0.12s ease;
}
@keyframes shortcutFadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
.shortcut-popup__key {
    font-weight: 700;
    color: var(--nxp-primary, #2563eb);
    text-transform: uppercase;
}
.shortcut-popup__arrow {
    color: var(--text-muted, #9ca3af);
}
.shortcut-popup__val {
    color: var(--text-primary, #1e293b);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shortcut-popup__hint {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--bg-secondary, #f1f5f9);
    color: var(--text-muted, #9ca3af);
    font-weight: 600;
    border: 1px solid var(--border-color, #e2e8f0);
}

.canned-dropdown {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    width: 280px;
    max-height: 340px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.canned-dropdown__search {
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
}
.canned-dropdown__search input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 12px;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-sizing: border-box;
}
.canned-dropdown__cats {
    display: flex;
    gap: 4px;
    padding: 6px 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
}
.canned-dropdown__cat {
    padding: 2px 8px;
    font-size: 10px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    color: var(--text-primary);
}
.canned-dropdown__cat.active {
    background: var(--brand-primary, #007bff);
    color: white;
    border-color: var(--brand-primary, #007bff);
}
.canned-dropdown__list {
    overflow-y: auto;
    flex: 1;
    padding: 4px;
}
.canned-dropdown__item {
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}
.canned-dropdown__item:hover {
    background: var(--bg-secondary);
}
.canned-dropdown__item-title {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 2px;
}
.canned-dropdown__item-preview {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}
.canned-dropdown__item-vars {
    font-size: 10px;
    color: var(--brand-primary, #007bff);
    margin-top: 2px;
}
.canned-dropdown__empty {
    padding: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}
