﻿.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #5c6bc0;
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    z-index: 1000;
}

    .chat-button img {
        width: 30px;
        height: 30px;
        color: white;
    }

.chat-modal {
    position: fixed;
    bottom: 100px;
    right: 40px;
    width: 350px;
    height: 600px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}

.chat-modal-content {
    padding: 15px;
    position: relative;
}

.messages {
    height: 470px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.message {
    margin-bottom: 10px;
}

.chat-input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

    .close-button:hover {
        color: #000;
    }

.spinner-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    font-style: italic;
    color: #555;
}

.spinner-icon {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animacija rotacije */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}