/*body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}*/
.blue {
    color: blue;
}

#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#chat-header {
    background-color: #0056b3;
    color: white;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    #chat-header h3 {
        margin: 0;
        font-size: 16px;
        color: white !important;
    }

#toggle-chat {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

    #toggle-chat div::before {
        content: "v";
        font-family: "emporium-icons";
    }

#chat-container {
    flex-grow: 1;
    background-color: #f8f9fa;
    padding: 15px;
    overflow-y: auto;
    display: none;
    max-height: calc(80vh - 120px);
}

    #chat-container.visible {
        display: block;
    }

.message {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 18px;
    max-width: 75%;
    word-wrap: break-word;
    line-height: 1.4;
    font-size: 14px;
    text-align: left;
    width: fit-content;
}

.user-message {
    background-color: #0056b3;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 0px;
}

.bot-message {
    background-color: #e9ecef;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 0px;
}

#input-container {
    display: none;
    padding: 10px;
    background-color: white;
    border-top: 1px solid #ddd;
}

    #input-container.visible {
        display: flex;
    }

#user-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

#send-button {
    margin-left: 10px;
    padding: 10px 15px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

    #send-button:hover {
        background-color: #003d7a;
    }

#minimized-chat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #0056b3;
    color: white;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    width: 70px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 35px;
    height: 70px;
}

.chat-icon::before {
    content: "R";
    font-family: "emporium-icons";
    font-size: 30px;
    padding: 5px;
}

.typing-indicator {
    display: flex;
    padding: 8px 12px;
    background-color: #e9ecef;
    border-radius: 18px;
    margin-bottom: 12px;
    width: fit-content;
    border-bottom-left-radius: 5px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #666;
    border-radius: 50%;
    margin: 0 2px;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

    .typing-dot:nth-child(1) {
        animation-delay: 0s;
    }

    .typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes typingAnimation {
    0%, 60%, 100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-5px);
    }
}
