
    .cipesa-msg.bot.typing {
        display: flex;
        gap: 5px;
    }

    .dot {
        margin-top: 10px;
        width: 6px;
        height: 6px;
        background: #888;
        border-radius: 50%;
        animation: blink 1.4s infinite both;
    }

    .dot:nth-child(2) { animation-delay: .2s; }
    .dot:nth-child(3) { animation-delay: .4s; }

    @keyframes blink {
        0% { opacity: .2; }
        20% { opacity: 1; }
        100% { opacity: .2; }
    }
    .cipesa-msg strong {
        font-weight: 600;
    }

    .cipesa-msg ul {
        margin: 8px 0;
        padding-left: 20px;
    }

    .cipesa-msg p {
        margin: 6px 0;
    }

    .cipesa-msg {
        max-width: 75%;
        padding: 10px 14px;
        border-radius: 12px;
        line-height: 1.4;
    }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }


    .timestamp {
        font-size: 11px;
        color: #777;
        margin-top: 4px;
    }

    .copy-btn {
        position: absolute;
        top: 6px;
        right: 8px;
        font-size: 11px;
        background: none;
        border: none;
        cursor: pointer;
        color: #666;
    }


    .tooltip {
        position: absolute;
        background: #111;
        color: white;
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 4px;
        z-index: 9999;
    }

    .cipesa-cta-row.disabled {
        opacity: 0.4;
        pointer-events: none;
        filter: grayscale(0.6);
    }

    #wtspqrcode.locked {
        opacity: 0.3;
        filter: blur(3px);
        transition: all 0.3s ease;
    }

    /* Disable row and prevent clicking */
    .disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.5);
    }

    /* Lock QR area visually */
    #wtspqrcode.locked {
    opacity: 0.35;
    filter: blur(2.5px);
    transition: all 0.25s ease;
    }

    /* Small, clean terms area */
    .cipesa-terms {
    margin: 10px 0 14px;
    }

    .cipesa-terms-label {
    font-size: 13px;
    color: #444;
    display: flex;
    gap: 8px;
    align-items: center;
    }

    /* Source container */
    .sources {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #4b5563;
    }

    /* "Sources:" heading */
    .sources > strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 6px;
    }

    /* Source list */
    .sources ul {
    margin: 0;
    padding-left: 18px;
    list-style-type: disc;
    }

    /* Individual source items */
    .sources li {
    margin-bottom: 4px;
    line-height: 1.4;
    }

    /* Optional hover style if you later make them clickable */
    .sources li:hover {
    color: #2563eb;
    cursor: default;
    }

    .sources {
    margin-top: 14px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    }

    .source {
  display: inline-block;
  max-width: 220px; /* adjust as needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  font-size: 12px;
  color: #2563eb;
}
