
:root {
    --primary-color: #F06600;
    --primary-hover: #E65C00;
    --chat-width: 450px;
    --chat-height: 520px;
    --header-height: 56px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

#chatbot-popup {
    display: none;
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: var(--chat-width);
    height: var(--chat-height);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 18px 40px -5px rgba(0, 0, 0, 0.2),
    0 15px 20px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform-origin: bottom right;
    transform: scale(0.95);
    transition: all var(--transition-speed) ease-in-out;
    z-index: 999;
}
#chatbot-popup.visible {
    display: block;
    opacity: 1;
    transform: scale(1);
}
#chatbot-header {
    background: var(--primary-color);
    padding: 16px 20px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--header-textColor);
}
.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}
.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.icon-button {
    background: none;
    border: none;
    color: var(--header-textColor);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.icon-button:hover {
    color: var(--header-textColor);
    background: rgba(255, 255, 255, 0.1);
}
.icon-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}
#webchat {
    height: calc(100% - var(--header-height));
    background-color: #f9fafb;
    position: relative;
}
.webchat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 1;
}
#webchat > div {
    position: relative;
    z-index: 2;
}
#webchat .webchat__basic-transcript__content {
    white-space: pre-wrap !important;
    word-break: break-word !important;
}
#webchat .webchat__bubble__content {
    padding: 8px 12px !important;
}
#webchat .webchat__bubble {
    max-width: 85% !important;
    margin: 8px !important;
}
#webchat .webchat__basic-transcript__content ul,
#webchat .webchat__basic-transcript__content ol,
#webchat .webchat__bubble__content ul,
#webchat .webchat__bubble__content ol {
    padding-left: 24px !important;
    margin: 8px 0 !important;
    list-style-position: outside !important;
}
#webchat .webchat__basic-transcript__content li,
#webchat .webchat__bubble__content li {
    margin: 4px 0 !important;
    padding-left: 4px !important;
}
#open-chat {
    padding-left: 8px;
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 258px;
    height: 72px;
    border-radius: 5px;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: start;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    transition: all var(--transition-speed) ease-in-out;
    z-index: 998;
}
#open-chat.hidden {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    pointer-events: none;
}
#open-chat:hover {
    transform: translateY(-4px);
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}
#open-chat:focus {
    outline: 3px solid rgba(255, 102, 0, 0.5);
    outline-offset: 2px;
}
#open-chat svg {
    width: 28px;
    height: 28px;
    color: white;
    transition: transform 0.2s ease;
}
.main-content-chatbot {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}
.main-content-chatbot h1 {
    font-size: 36px;
    color: #333333;
    text-align: center;
    font-weight: 600;
}
.main-content-chatbot p {
    font-size: 18px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 48px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.content-grid-chatbot {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}
.content-box-chatbot {
    background: #ffffff;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.content-box-chatbot:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
.content-box-chatbot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FF6600;
}
.content-box-chatbot.featured {
    grid-column: span 2;
    min-height: 350px;
    background: linear-gradient(135deg, #FF6600, #E65C00);
    color: #ffffff;
    border: none;
}
.content-box-chatbot.featured::before {
    display: none;
}
.content-box-chatbot h2 {
    font-size: 24px;
    margin-bottom: 16px;
    position: relative;
    font-weight: 600;
    color: #333333;
}
.content-box-chatbot.featured h2 {
    color: #ffffff;
}
.content-box-chatbot p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 0;
}
.content-box-chatbot.featured p {
    color: #ffffff;
}
@media (max-width: 768px) {
    .content-grid-chatbot {
        grid-template-columns: 1fr;
    }
    .content-box-chatbot.featured {
        grid-column: span 1;
    }
    .main-content-chatbot {
        padding: 24px 16px;
    }
    .main-content-chatbot h1 {
        font-size: 28px;
    }
    #chatbot-popup {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
}

.webchat__bubble__content {
    line-height: 1.5;
    font-family: 'BK-Sans' !important;
}
.webchat__bubble__content p{
    line-height: 1.25;
    font-family: 'BK-Sans' !important;
}
.webchat__bubble__content span{
    font-family: 'BK-Sans' !important;
    display: inline-block;
    font-size:11px;
    margin-bottom:16px;
    color:#6b707e;
}
.webchat__render-markdown__citation{
    display:none !important;
}
.webchat__link-definitions {
    display:none !important;
}