
#dost_agent_opening{
    line-height: 1!important;
}

button.chatbox-open {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 52px;
    height: 52px;
    color: #fff;
    background-color: #0360a5;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
    border: 0;
    border-radius: 50% !important;
    cursor: pointer;
    margin: 16px;
}

.chatbox-popup {
    display: flex;
    position: fixed;
    box-shadow: 5px 5px 25px 0 rgba(46, 61, 73, 0.2);
    flex-direction: column;
    display: none;
    bottom: calc(2 * 16px + 52px);
    right: 16px;
    width: 377px;
    height: auto;
    background-color: #fff;
    border-radius: 16px;
    z-index: 9999;
}

.chatbox-popup .chatbox-popup__header {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    padding: 6px;
    color: #fff;
    background-color: #0360a5;
    align-items: center;
    justify-content: space-around;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.chatbox-popup .chatbox-popup__header .chatbox-popup__avatar {
    margin-top: -36px;
    background-color: #0360a5;
    border-radius: 50% !important;
}

.chatbox-popup .chatbox-popup__main {
    box-sizing: border-box;
    width: 100%;
    padding: calc(2 * 16px) 16px;
    line-height: calc(16px + 16px / 2);
    color: #888;
    text-align: center;
    overflow-y: auto;
    max-height: 400px; /* Çok fazla mesaj olursa scroll çıkar */
    padding-bottom: 1px;
}

.chatbox-popup .chatbox-popup__footer {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    padding: 16px;
    border-top: 1px solid #ddd;
    align-items: center;
    justify-content: space-around;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.chatbox-popup .chatbox-popup__header {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    padding: 16px;
    color: #fff;
    background-color: #0360a5;
    align-items: center;
    justify-content: space-around;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}
.chatbox-popup__header h1{
    margin: 0;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

#dynamicTextarea {
    width: 100%;
    resize: none;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    min-height: 40px;
    max-height: 80px;
    overflow-y: auto;
}

.chat-bubble {
    padding: 10px 15px;
    border-radius: 15px !important;
    max-width: 70%;
    word-wrap: break-word;
    display: inline-block;
    position: relative;
    clear: both;
    margin-bottom: 28px;
}

.user-avatar {
    position: absolute;
    right: 5px;
    bottom: -25px;
    width: 25px;
    height: 25px;
    border-radius: 50% !important;
    object-fit: cover;
    background: #888;
    padding: 2px;
}
.chat-bubble.user::after {
    font-weight: 900;
    position: absolute;
    right: 5px;
    bottom: -25px;
    color: white;
    font-size: 14px;
    background: #888;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-bubble.bot::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: -25px;
    width: 25px;
    height: 25px;
    background: #888 url('../../dost_agent.png') no-repeat center center;
    background-size: 25px 25px;
    border-radius: 50%;
}


.chat-bubble.user {
    background-color: #0360a5;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
    margin-left: auto;
    float:right;
}

.chat-bubble.bot {
    background-color: #e6f0fb;
    color: #0360a5;
    align-self: flex-start;
    border-bottom-left-radius: 0;
    margin-right: auto;
    float:left;
}

.chatbox-panel-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

.agent-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #4CAF50; /* Yeşil renk */
    border-radius: 50% !important;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.7); /* Hafif parlaklık efekti */
    animation: pulse 2s infinite; /* Nabız efekti */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.feedback-container {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 8px;
    margin-right: 15px;
    clear: both;
}

.feedback-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    padding: 5px 8px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.feedback-btn:hover {
    background: #f5f5f5;
}

.feedback-btn.thumbs-up:hover {
    color: #4CAF50;
}

.feedback-btn.thumbs-down:hover {
    color: #f44336;
}

.feedback-message {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-right: 15px;
    font-style: italic;
    clear: both;
    margin-top: 5px;
}
.chat-bubble ul{
    text-align: left;
}