:root {
    --primary-color: #E6922E;
}

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

body {
    font-family: Arial, sans-serif;
}

.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    font-size: 2rem;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
}

.chat-window {
/ / border-radius: 0 5 px 0 5 px;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    height: 500px;
    max-height: 80vh;
    background: white;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 80%;
}

.chat-msg.agent {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-text {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 10px;
}

.chat-msg.user .chat-text {
    background: #abe5e5;
}

.avatar {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    align-items: center;
    gap: 8px;
}

.chat-input input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chat-input input[type="file"] {
    display: none;
}

.file-label {
    background: #eee;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
}

.chat-input button {
    background: var(--primary-color);
    color: white;
    border: none;
    /*margin-left: 10px;*/
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .chat-window {
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        border-radius: 15px 15px 0 0;
    }
}

.chatNewMessage {
    text-align: center;
    padding: 20px;
    color: #000000;
    background: aliceblue;
    border-radius: 10px;
}

.chatEndedMessage {
    text-align: center;
    padding: 20px;
    color: #999;
}

.startNewChat {
    text-align: center;
    padding: 10px;
}
.startNewChat button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
}

