﻿/* .editor-container .cta-ai-chatbot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 50;
    bottom: 10px;
    right: 10px;
    background-color: var(--sds-primary-500, #0B9294);
    border-radius: 50%;
    color: var(--sds-white, #fff);
    height: 50px;
    width: 50px;
    padding: 10px 9px 10px 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.editor-container .cta-ai-chatbot-btn:active,
.editor-container .cta-ai-chatbot-btn:hover {
    background-color: var(--sds-primary-600, #00737A);
}

.editor-container .cta-ai-chatbot-btn svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
} */

/* .editor-container .ai-chatbot-container {
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    z-index: 120;
} */

#source-code-chatbot-container {
    width: 0px;
}

#source-code-chatbot-container:has(.sidebar.open) {
    width: auto;
    height: auto;
    border-left: 1px solid #e8eaeb;
}

#source-code-chatbot-container .side-panel.sidebar.open {
    width: 370px;
    margin-left: 3px;
}

#source-code-chatbot-container:has(.sidebar.open) #chatbot-chat-interface {
    border: none !important;
}

#source-code-chatbot-container .side-panel.sidebar {
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    box-shadow: none;
}

.sds-copilot-floating-input-container {
    --sds-copilot-container-padding: 10px;
    background: var(--sds-white, #fff);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: var(--sds-copilot-container-padding);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.sds-copilot-floating-input-container .sds-copilot-floating-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding-left: 10px;
}

.sds-copilot-floating-input-container .sds-copilot-draggable-handle {
    position: absolute;
    width: 5px;
    height: 100%;
    min-height: 30px;
    left: 0;
    right: 0;
    /* add both side's padding to cover full container */
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    margin: -10px;
}

.sds-copilot-floating-input-container .sds-copilot-draggable-handle svg {
    height: 30px;
    width: 5px;
    object-fit: cover;
    margin: 10px 0px 10px 10px;
}

.sds-copilot-floating-input-container .sds-copilot-input {
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 14px;
    min-width: 350px;
    min-height: 32px;
    field-sizing: content;
    z-index: 5;
    max-height: 200px;
}

.sds-copilot-floating-input-container .sds-copilot-send {
    z-index: 5;
}

.sds-copilot-floating-input-container .sds-copilot-input:active,
.sds-copilot-floating-input-container .sds-copilot-input:focus,
.sds-copilot-floating-input-container .sds-copilot-input:focus-visible {
    outline: 1px solid var(--sds-primary-300);
}

.cta-sds-code-editor-copilot svg {
    width: 12px;
    height: 12px;
}
