/* Post Buddy Embedded Chat CSS */

#post-buddy-container {
    margin-top: 40px;
    margin-bottom: 20px;
}

#post-buddy-trigger-btn {
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%) !important;
    color: white !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 30px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#post-buddy-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
    background: linear-gradient(135deg, #0085c3 0%, #006494 100%);
}


#post-buddy-embedded-chat {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#post-buddy-embedded-chat h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #0073aa;
    font-size: 1.2em;
}

#post-buddy-messages {
    max-height: 400px;
    overflow-y: auto;
    background: white;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 15px;
}

.post-buddy-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    line-height: 1.4;
    word-wrap: break-word;
}

.post-buddy-message.user {
    background: #0073aa;
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.post-buddy-message.bot {
    background: #e5e5ea;
    color: black;
    align-self: flex-start;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.post-buddy-input-area {
    display: flex;
    gap: 10px;
    align-items: center;
}

#post-buddy-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

#post-buddy-send {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

#post-buddy-send:hover {
    background: #005177;
}

#post-buddy-close-inline {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
}

#post-buddy-close-inline:hover {
    color: #333;
}