/**
 * Copyright (c) 2024–2025 Peter Kocalka – All Rights Reserved.
 *
 * This source code is proprietary and confidential.
 * Reproduction, distribution or unauthorized use of this file,
 * in whole or in part, without express written consent is strictly prohibited.
 */
 /*
.chat-ai-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffc107;
    color: #000;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 9999;
}
.chat-ai-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    top: 80px; 
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 10000;
    font-family: sans-serif;
    overflow: hidden;
}
.chat-ai-header {
    background: #f4b400;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}
.chat-ai-history {
    padding: 10px;
    flex: 1 1 auto;
    max-height: 300px;
    height: 300px;
    overflow-y: auto;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.chat-ai-user-info,
.chat-ai-input-section {
    padding: 10px;
}
.chat-ai-user-info input,
.chat-ai-input {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.chat-ai-button {
    width: 100%;
    padding: 8px;
    background: #f4b400;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}
.chat-ai-user-info {
    display: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}
.chat-ai-user-info .chat-ai-field {
    flex: 1 1 48%;
    min-width: 120px;
}
.chat-ai-user-info .chat-ai-field.email {
    flex: 1 1 100%;
}
.chat-ai-user-info input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
*/
/* ✅ Zvýraznenie nového používateľa v tabuľke */
.chat-ai-new-user {
    background-color: #ffffcc !important;
    animation: chatAiHighlight 2s ease-out;
}
/* ✨ Animácia pri zvýraznení */
@keyframes chatAiHighlight {
    from { background-color: #fff9b1; }
    to { background-color: #ffffcc; }
}
.chat-ai-file-label {
    display: inline-block;
    cursor: pointer;
    padding: 6px 12px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s;
}
.chat-ai-file-label:hover {
    background-color: #e2e2e2;
}
.chat-user-entry {
    padding: 5px;
    border-radius: 4px;
}
.chat-user-new {
    background-color: #fff3cd;
    border-left: 4px solid orange;
}
.chat-ai-input-section {
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fff;
    flex-shrink: 0;
}
.chat-user-has-new::after {
    content: ' 🔔';
    color: red;
    font-weight: bold;
    margin-left: 5px;
}
.chat-user-has-new {
    background-color: #fff4f4 !important;
}
.chat-user-link {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.chat-user-link:hover {
    background-color: #f5f5f5;
}
.chat-user-active {
    background-color: #e0f7fa !important;
    font-weight: bold;
    border-left: 4px solid #00acc1;
}
.chat-msg {
    padding: 8px 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    max-width: 95%;
    word-wrap: break-word;
}
.chat-msg.user {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}
.chat-msg.assistant {
    background-color: #fff3e0;
    border-left: 4px solid #fb8c00;
}
.chat-msg.ai {
    background-color: #fff3e0;
    border-left: 4px solid #fb8c00;
}
.chat-msg.admin {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
}
.chat-msg strong {
    display: block;
    margin-bottom: 4px;
}
.chat-ai-thumb:hover {
    opacity: 0.8;
    transition: 0.2s;
}

