#chatbox {
position: fixed;
bottom: -800px;  width: 400px;
height: var(--chatbot-window-height, 600px); background-color: var(--chatbot-chatbox-bg-color, #fff); border: none;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: bottom 0.3s ease;
display: flex;
flex-direction: column;
z-index: 9999;
border-radius: 10px 10px 10px 10px;
box-sizing: border-box; }
#chatbox.chatbox-closed {
bottom: -800px; }
#chatbox-header {
background-color: var(--chatbot-header-bg-color, #038AF9); color: var(--chatbot-header-text-color, #fff); padding: 10px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;    
font-size: 18px;
text-align: center;
border-bottom: 0px solid #ccc;
position: relative;
min-height: 40px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px 10px 0 0; background-clip: padding-box; overflow: hidden; border: none; box-shadow: none;
-webkit-appearance: none;
transform: translateZ(0); }
#chatbox-header #chatbox-close {
position: absolute;
top: 5px;
right: 10px;
font-size: 20px;
cursor: pointer;
color: var(--chatbot-header-text-color, #fff); }
#chatbox-content {
flex: 1;
padding: 10px;
overflow-y: auto;
box-sizing: border-box; }
.chat-message {
margin-bottom: 10px;
display: flex;
align-items: flex-start;
}
.chat-message.user {
flex-direction: row-reverse;
margin-right: -10px;
}
.chat-message.user span {
background-color: var(--chatbot-user-message-bg-color, #add8e6); color: var(--chatbot-user-message-text-color, #000); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 15px !important;
padding: 10px !important;
border-radius: 10px !important;
max-width: 90% !important; word-wrap: break-word;
margin-right: 10px !important;
box-sizing: border-box !important; line-height: 1.4 !important;
}
.chat-message.bot {
justify-content: flex-start;
}
.chat-message.bot span {
background-color: var(--chatbot-bot-message-bg-color, #ffc0cb); color: var(--chatbot-bot-message-text-color, #000); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 15px !important;
padding: 10px !important;
border-radius: 10px !important;
max-width: 90% !important; word-wrap: break-word;
margin-right: 10px !important;
box-sizing: border-box !important; line-height: 1.4 !important; }
.chat-message img {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
}
.chat-message.loading img {
width: 40px;
height: 20px;
}
#chatbox-controls {
display: flex;
padding: 10px;
border-top: 1px solid #ccc;
box-sizing: border-box;
height: 60px !important; min-height: 60px !important; max-height: 60px !important; }
#chatbox-input {
flex: 1;
padding: 10px;
border: 1px solid #ccc;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 15px !important;
color: #4a4a4a;
border-radius: 5px;
margin-right: 10px;
box-sizing: border-box;
height: 40px !important; min-height: 40px !important;
line-height: normal !important; }
#chatbox-send {
padding: 10px 20px;
border: none;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
box-sizing: border-box;
height: 40px !important; min-height: 40px !important;
line-height: 20px !important;
background-color: var(--chatbot-send-button-bg-color, #dc3232);
color: var(--chatbot-send-button-text-color, #fff);
}
#chatbox-send:hover {
background-color: #b91919;
} #chatbot-container {
position: fixed; bottom: 20px;
width: 350px;
height: 80px;
z-index: 2147483647;
pointer-events: none;
display: flex; align-items: flex-end;
}
#chatbox-button {
position: relative; width: 60px;
height: 60px;
border-radius: 50%;
overflow: hidden; cursor: pointer;
pointer-events: all; box-shadow: 0 2px 6px rgba(0,0,0,0.3);
flex-shrink: 0;
}
#chatbox-button img {
display: block;
width: 100%; height: 110%; object-fit: cover;
transform: translate(-0%, -2.5%); border-radius: 50%;
} #chatbox-footer {
padding: 5px 10px; text-align: center;
font-size: 0.8em; color: #808080; border-top: 1px solid #ccc; box-sizing: border-box; }
#chatbox-powered {
text-align: center; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;  
font-size: 14px !important; color: #808080 !important; }
#chatbox-powered a {
color: #808080 !important; text-decoration: none; }
#chatbox-powered a:hover {
text-decoration: underline; } @media (max-width: 768px) {
#chatbox {
width: 90%;
height: 85vh;
bottom: -100vh; margin: 0;
border-radius: 15px 15px 0 0;
left: 0;
right: 0;
z-index: 9999;
}
#chatbox-header {
height: 55px;
background-color: var(--chatbot-header-bg-color, #038AF9);
color: var(--chatbot-header-text-color, #fff);
font-size: 18px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10px 10px 0 0;
padding: 0 10px;
margin: 0;
z-index: 10;
}
#chatbox-content {
flex: 1;
padding: 10px;
overflow-y: auto;
margin: 0;
height: calc(100% - 55px - 60px);
}
#chatbox-controls {
height: 60px;
padding: 10px;
display: flex;
align-items: center;
border-top: 1px solid #ccc;
background-color: var(--chatbot-controls-bg-color, #fff);
box-sizing: border-box;
}
#chatbox-footer {
padding: 5px 5px;
text-align: center;
font-size: 0.8em;
color: #808080;
border-top: 1px solid #ccc;
} #chatbot-container {
position: fixed;
bottom: 5px;
z-index: 10000;
} #chatbox-button {
position: relative;
width: 50px;
height: 50px;
background-color: transparent;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
overflow: hidden; }
#chatbot-container.chatbot-position-right {
right: 5px;
left: auto;
}
#chatbot-container.chatbot-position-left {
left: 5px;
right: auto;
}
#chatbox-button img {
width: 115%;
height: 115%;
object-fit: cover;
border-radius: 50%;
}
#chatbot-proactive-bubble {
bottom: 20px;
max-width: calc(100vw - 80px);
}
#chatbot-proactive-bubble.chatbot-position-right {
right: 65px;
}
#chatbot-proactive-bubble.chatbot-position-left {
left: 65px;
}    
} #prechat-form {
padding: 20px;
text-align: center;
}
#prechat-form h3 {
margin-top: 0;
font-size: 1.2em;
}
#prechat-form .form-field {
margin-bottom: 15px;
text-align: left;
}
#prechat-form label {
display: block;
margin-bottom: 5px;
font-weight: bold;
font-size: 0.9em;
}
#prechat-form input[type="text"],
#prechat-form input[type="email"] {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
#prechat-start-btn {
background-color: var(--chatbot-header-bg-color, #038AF9); color: var(--chatbot-header-text-color, #fff);
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
width: 100%;
} #tab-messages .inner-messages-box { 
padding: 0; 
display: block;
}
#tab-messages .admin-chat-message { 
padding: 10px;
width: 100%;
box-sizing: border-box;
line-height: 1.5;
margin: 0;
border: none;
}
#tab-messages .admin-chat-message.user {
background-color: var(--chatbot-user-message-bg-color, #add8e6);
color: var(--chatbot-user-message-text-color, #000);
}
#tab-messages .admin-chat-message.bot {
background-color: var(--chatbot-bot-message-bg-color, #ffc0cb);
color: var(--chatbot-bot-message-text-color, #000);
}
#tab-messages .admin-chat-message .message-meta { 
font-size: 0.9em; 
margin-bottom: 8px;
font-weight: 600;
}
#tab-messages .admin-chat-message .message-meta small { 
font-weight: 400;
opacity: 0.8;
}
#tab-messages .admin-chat-message .message-content {
white-space: pre-wrap;
font-size: 14px;
}   #chatbot-proactive-bubble {
position: fixed;  bottom: 25px; z-index: 9998; background-color: var(--chatbot-header-bg-color, #038AF9);
color: var(--chatbot-header-text-color, #fff);
padding: 12px 18px;
padding-right: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
opacity: 0;
transform: translateY(10px);
transition: opacity 0.3s ease, transform 0.3s ease;
pointer-events: none;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
max-width: max-content;
max-width: 300px;
line-height: 1.4;
text-align: left;
word-wrap: break-word;
}
#chatbot-proactive-bubble.visible {
opacity: 1;
transform: translateY(0);
pointer-events: all;
}
#chatbot-proactive-bubble::after {
content: '';
position: absolute; top: 50%;
transform: translateY(-50%);
width: 0; 
height: 0; 
border-top: 8px solid transparent;
border-bottom: 8px solid transparent; }
.chatbot-proactive-close {
position: absolute;
top: 5px;
right: 8px;
font-size: 22px;
cursor: pointer;
font-weight: bold;
line-height: 1;
color: var(--chatbot-header-text-color, #fff);
opacity: 0.7;
transition: opacity 0.2s;
}
.chatbot-proactive-close:hover {
opacity: 1;
}  .newcodebyte-plugins-grid {
display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px;
} .plugin-card { flex: 1 1 350px;
max-width: 550px; background: #fff;
border: 1px solid #c3c4c7;
padding: 20px;
border-radius: 4px;
display: flex;
align-items: flex-start;
gap: 20px;
} .plugin-card .plugin-icon-img {
width: 125px;
height: auto; border-radius: 8px;
flex-shrink: 0;
} .plugin-card .plugin-info {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.plugin-card .plugin-info h3 {
margin: 0 0 8px 0;
}
.plugin-card .plugin-info p {
margin: 0;
flex-grow: 1;
}
.plugin-card .plugin-info .plugin-links {
margin-top: 15px;
} .newcodebyte-password-field {
position: relative; } .newcodebyte-password-field input.regular-text {
width: 100%; padding-right: 40px; box-sizing: border-box;
}
.newcodebyte-password-field .toggle-api-key {
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
cursor: pointer;
color: #888;
}
.newcodebyte-password-field .toggle-api-key:hover {
color: #0073aa;
}    #chatbox.chatbot-position-right,
#chatbot-container.chatbot-position-right {
right: 20px;
left: auto;
justify-content: flex-end;
}
#chatbot-proactive-bubble.chatbot-position-right {
right: 95px; left: auto;
}
#chatbot-proactive-bubble.chatbot-position-right::after {
right: -8px;
left: auto;
border-left: 8px solid var(--chatbot-header-bg-color, #038AF9);
border-right: none;
} #chatbox.chatbot-position-left,
#chatbot-container.chatbot-position-left {
left: 20px;
right: auto;
justify-content: flex-start;
}
#chatbot-proactive-bubble.chatbot-position-left {
left: 95px;
right: auto;
}
#chatbot-proactive-bubble.chatbot-position-left::after {
left: -8px;
right: auto;
border-right: 8px solid var(--chatbot-header-bg-color, #038AF9);
border-left: none;
} #chatbot-delete-messages {
background-color: #dc3545 !important; border-color: #dc3545 !important;
color: #ffffff !important; text-shadow: none !important;
} #chatbot-delete-messages:hover {
background-color: #c82333 !important; border-color: #bd2130 !important;
color: #ffffff !important;
} #chatbot-export {
background-color: #28a745 !important; border-color: #28a745 !important;
color: #ffffff !important; text-shadow: none !important;
} #chatbot-export:hover {
background-color: #218838 !important; border-color: #1e7e34 !important;
color: #ffffff !important;
}   .chatbot-shortcode-wrapper {
position: relative;
height: 600px;
width: 100%; 
max-width: 1100px; 
margin: 40px auto;
border: 1px solid #e0e0e0;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
overflow: hidden;
}
.chatbot-shortcode-wrapper #chatbox {
border-radius: 0;
box-shadow: none;
} #chatbot-conversations-table tr.unread td {
font-weight: bold;
}
#chatbot-conversations-table tr.unread:hover td {
background-color: #cfcfcf; }