#saknadebarn-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    transition: all 0.3s ease;
}

#saknadebarn-chatbot-container.hidden {
    display: none;
}

#saknadebarn-chatbot-header {
    background-color: #000;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#saknadebarn-chatbot-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

#saknadebarn-chatbot-toggle:hover {
    opacity: 0.8;
}

#saknadebarn-chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#saknadebarn-chatbot-input-container {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
}

#saknadebarn-chatbot-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    resize: none;
    height: 40px;
    line-height: 20px;
    font-family: inherit;
}

#saknadebarn-chatbot-send {
    background-color: #000;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0 15px;
    margin-left: 10px;
    cursor: pointer;
}

#saknadebarn-chatbot-send:hover {
    background-color: #222;
}

.message {
    margin-bottom: 10px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
}

.user-message {
    background-color: #e9f0f7;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.bot-message {
    background-color: #f0f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

/* Loading animation */
.loading {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 20px;
}

.loading:after {
    content: "...";
    animation: dots 1.5s steps(5, end) infinite;
    position: absolute;
    left: 0;
}

@keyframes dots {
    0%, 20% {
        content: ".";
    }
    40% {
        content: "..";
    }
    60% {
        content: "...";
    }
    80%, 100% {
        content: "";
    }
}

/* Chat Bubble */
#saknadebarn-chatbot-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

#saknadebarn-chatbot-bubble.hidden {
    display: none;
}

#saknadebarn-chatbot-bubble span {
    color: white;
    font-size: 24px;
} 