#gogptChat-content * {
    transition: none !important;
}

body {
    overflow: hidden;
}

a:link, a:visited{
	color: inherit;
}

.invisible {
    opacity: 0;
    pointer-events: none;
}

.chroma-flow #layout {
    --color-bg-home: var(--color-gray-0);
    --ws-bg-color: var(--color-gray-0);
    --ws-layout-semi-space: 0;
    
    min-width: auto;
    min-height: auto;
    padding: 0 !important;
}

.chroma-flow #layout > .dashlet-area {
    padding: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

#searchable-documents-dialog {
	padding: 1rem;
}

body.wide-skin.global-theme .dashlet-panel:not(.in-tab):not(.recycle-bin) {
    border: none;
    box-shadow: none;
}

fieldset.dashlet-fieldset.no-legend {
    display: flex;
}

#gogptChat-content {
    width: 100vw !important;
    height: 100vh !important;
    border: none !important;
}

#gogptChat-content .dashlet-fieldset {
    padding: 0 !important;
}

.topics-fieldset {
    flex: none !important;
    width: 33%;
    max-width: 32rem;
    display: flex;
}

/*
.topics-fieldset .dataTables_scrollBody,
.topics-fieldset .dataTables_scroll,
.topics-fieldset .dataTables_wrapper,
.topics-fieldset .table-container,
.topics-fieldset .field-composite {
    display: flex;
    flex-direction: column;
    flex: 1 !important;
}
*/

.chat-topic-main {
    flex: 1;
}

.chat-topic-footer {
    display: flex;
    flex-direction: column;
}

.chat-topic-footer .delete-hot-topics-button{
	color:  var(--color-orange-800) !important;
}

.chat-topic-container-buttons {
    display: flex;
    flex-direction: column;
}

.topics-composite {
    display: flex;
    flex-direction: column;
}

.topics-composite [data-name="topics"] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topics-fieldset .dataTables_scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topics-fieldset .dataTables_wrapper {
    flex: 1;
	display: flex;
	flex-direction: column;
}

.topics-fieldset .dataTables_scrollBody {
    flex: 1 1 0;
    height: auto !important;
}

.topics-fieldset .dataTables_scroll {
	flex: 1;
}

.topics-fieldset .dataTables_scrollHead {
    display: none !important;
}

.topics-fieldset .dataTables_scroll {
    border: none;
}

.topics-fieldset .dataTables_scrollBody,
.topics-fieldset .dataTables_scrollBody tbody td {
    background-color: var(--color-gray-100) !important;
    border-color: var(--color-gray-100) !important;
    color: var(--color-text) !important;
}

body.wide-skin .dashlet-panel .topics-fieldset .dataTables_wrapper .dataTables_caption {
    border: none;
}

.topics-fieldset .dataTables_wrapper .dataTables_caption label.table-caption-label {
    text-align: left;
    color: var(--color-title);
    background-color: var(--color-gray-100);
    font-size: var(--text-400);
    line-height: var(--leading-400);
    font-weight: 700;
    height: auto;
    min-height: auto;
    max-height: none;
    padding: var(--space-8) var(--space-11) 0 var(--space-11);
}


.chat-topic {
    display: flex;
    padding: var(--space-9);
    background-color: var(--color-gray-0);
    border-radius: var(--radius);
    box-shadow: var(--shadow-small);
    border: solid 1px var(--color-gray-300);
    margin: var(--space-5) var(--space-10);
    cursor: pointer;
}

.chat-topic:hover {
    background-color: var(--color-gray-100);
}

.chat-topic .topic-image {
    box-shadow: none;
    border-radius: var(--radius);
    max-width: var(--space-12);
    margin-right: var(--space-5);
}

.chat-topic .topic-title {
    margin: 0;
    font-size: var(--text-400);
    line-height: var(--leading-400);
}

.chat-topic .topic-description {
    margin: 0;
    font-size: var(--text-300);
    line-height: var(--leading-300);
    opacity: 0.8;
    font-weight: 400 !important;
}

.chat-topic.topic-active {
    cursor: not-allowed;
    transform: scale(0.95);
    opacity: 0.5;
    background-color: var(--color-gray-0);
}


.ticket-fieldset {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    max-height: 100%;
    padding: 2rem 10%;
    background-color: var(--color-gray-50);
    gap: 1rem !important;
    overflow-y: auto;
}

.abuse-report-fieldset {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    max-height: 100%;
    padding: 2rem 10%;
    background-color: var(--color-gray-50);
    gap: 1rem !important;
    overflow-y: auto;
}

.justify-end {
    justify-content: flex-end;
}

.assistant-fieldset {
    flex: 10;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    padding: 0;
    width: 0;
    gap: 0;
}

.chat-fieldset {
    flex: 1 1 0;
    /*
    overflow-x: visible;
    overflow-y: auto;
     */
    text-align: center;
    padding: 3rem 1.5rem 1.5rem;
}

.chat {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    max-width: 55rem;
    overflow: visible;
}

.chat-header {
    border-radius: var(--radius) var(--radius) 0 0;
	background-color: rgba(var(--color-cta-600-rgb), 0.8);
    backdrop-filter: blur(4px);
    padding: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 1;
}

.chat-header .header-left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.chat-header .header-center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.chat-header .header-right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.chat-header img {
    min-width: 2.125rem;
    max-width: 5rem;
    height: 2.125rem;
    border-radius: var(--radius);
    display: block;
    position: relative;
    object-fit: contain;
    background-color: white;
    padding: 0.25rem;
    box-shadow: var(--shadow-small);
}

.chat .chat-message {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0.25rem;
    width: 100%;
    margin-top: 0.375rem;
}

[data-action="showDocumentAction"] {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: medium !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.chat .chat-message:first-child {
    margin-top: 0;
}

.chat .chat-message main {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    margin-left: auto;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius);
    box-shadow: var(--shadow-small);
    border: none;
    color: var(--color-message-text);
}

.chat .chat-message > footer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    gap: 0.25rem;
}

.chat .chat-message > footer > .right-actions {
    margin-left: auto;
}

.document-references {
    display: flex;
    gap: 0.5rem;
    width: 55%;
    max-width: 24rem;
    flex-wrap: wrap;
}

.document-references .document-reference{
    position: relative;
}

.document-references .document-reference .document-visibility{
	display: block;
    font-size: 0.75rem;
    color: #00C000;
    position: relative;
    width: fit-content;
    margin-bottom: -1rem;
}

.chat .chat-message.removing {
    opacity: 0;
}

.chat .chat-message.sender-user {
    margin-top: 1.5rem;
    margin-bottom: 0;
    margin-right: 0;
    max-width: 80%;
}

.chat .chat-message.sender-user:first-child {
    margin-top: 0;
}

.doc-references {
	display: flex;
	border-color: red;
}

.chat .chat-message.sender-assistant {
    --color-avatar-border: var(--color-cta-300);
    --color-bg-from: var(--color-cta-100);
    --color-bg-to: var(--color-cta-200);
    --color-message-text: var(--color-cta-900);
}

.chat .chat-message.sender-assistant.error-unauthorized {
    --color-avatar-border: #f87171;
    --color-bg-from: #fee2e2;
    --color-bg-to: #fecaca;
    --color-message-text: #7f1d1d;
}

.chat .chat-message.sender-assistant .avatar-container {
    align-self: flex-start;
    /*
    margin-right: var(--space-7);
    margin-bottom: var(--space-7);
     */
    width: var(--space-13);
    height: var(--space-13);
    border: solid 0.125rem var(--color-avatar-border);
    border-radius: 9999px;
    left: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: calc(100% + 0.25rem);
}

.chat .chat-message.sender-assistant .avatar-container > i {
    color: var(--color-avatar-border);
}

.chat .chat-message.sender-assistant .avatar-container .waiting-container {
    border-radius: 9999px;
    overflow: hidden;
}

.chat .chat-message.sender-assistant .avatar-container .waiting-loader {
    color: var(--color-cta-600);
}

.chat .chat-message.sender-assistant .avatar-container .waiting-overlay {
    background-color: var(--color-gray-0);
}

.chat .chat-message.sender-assistant > main img {
    object-fit: cover;
    align-self: flex-start;
    width: 100%;
    height: 100%;
    padding: var(--space-1);
    background-color: var(--color-gray-0);
    border-radius: 9999px;
    box-shadow: var(--shadow-small), var(--shadow-inner);
    border: none;
    transform-origin: bottom right;
}

.chat .linkify-message-style {
	color: var(--color-cta-700);
}

.ecommerce-image {
    object-fit: contain !important;
    align-self: flex-start;
    width: var(--space-18) !important;
    height: var(--space-18) !important;
    padding: var(--space-1);
    background-color: var(--color-gray-0);
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-small), var(--shadow-inner);
    border: solid 1px var(--color-gray-300);
    transform-origin: bottom right;
}

.ecommerce-image-placeholder {
    font-size: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-300);
}

.ecommerce-image-placeholder.ecommerce-image-placeholder--geo {
    color: hsl(0deg, 65%, 67%);
}

.ecommerce-image-inline {
    cursor: pointer;
}

.chat .chat-message .effective-message {
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.5rem;
    white-space: normal;
    user-select: text;
    background-image: linear-gradient(to bottom right, var(--color-bg-from), var(--color-bg-to));
    border-radius: var(--radius);
}

.chat .chat-message .effective-message > span {
    /*
    white-space: pre-line;
     */
}

.chat .chat-message .effective-message a {
	color: blue;
    text-decoration: underline;
}

.chat .chat-message .effective-message * {
    user-select: inherit;
}

.chat .chat-message.sender-user.from-image .effective-message {
    white-space: normal;
}

.chat .chat-message.sender-user .effective-message {
    text-align: left;
    font-size: 1rem;
    box-shadow: none;
    border: none;
    background-color: transparent;
    background-image: linear-gradient(to bottom right, var(--color-gray-100), var(--color-gray-200));
    color: var(--color-gray-700);
    padding: 0.875rem 1.25rem;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
    align-self: flex-end;
    border-radius: var(--radius);
}

.chart-wrapper canvas{
	width: fit-content !important;
}

.chat .chat-message .vega-chart-container{
    border-style: solid;
    border-width: 1px;
    border-radius: var(--radius);
    border-color: var(--color-cta-100);
    box-shadow: var(--shadow-base);

    width: inherit;
}

.chat .chat-message .data-table-container{
    border-style: hidden;
    width: inherit;
    flex: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat .chat-message .data-table-container .data-table-container-buttons{ 	
	display: flex;
	gap: 0.5rem;
}

.chat .chat-message .data-table-container table{
    border-style: solid;
    border-width: 1px;
    border-radius: var(--radius);
    border-color: var(--color-cta-100);
    box-shadow: var(--shadow-base);
    
    width: inherit;
}

.chat .chat-message .data-table-container th{
	text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--color-gray-600);
    padding: 0.625rem 0.5rem;
    border-bottom: 0.125rem solid var(--color-input-border-active);
}

.chat .chat-message .data-table-container tr{
    color: var(--color-gray-400);
    padding: 0.5rem 0.5rem 0 0.5rem;
}

.chat .chat-message .data-table-container td{
	font-size: 0.75rem;
    color: var(--color-gray-400);
    padding: 0.3125rem 0.25rem 0 0.25rem;
}

.chat .chat-message .data-table-container tbody tr:hover td 
{
    color: var(--color-gray-700);
    background-color: var(--color-gray-100);
}





.input-fieldset {
    --offset-bottom: 0;

    display: flex;
    flex-direction: column;
    padding: 0 1.5rem 1.5rem;
    gap: 1.5rem;
    position: sticky;
    z-index: 1;
    bottom: var(--offset-bottom);
    background-color: rgba(var(--color-gray-0-rgb), 0.8);
    backdrop-filter: blur(4px);
}

.input-fieldset::before {
    display: none;

    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 3rem;
    background-image: linear-gradient(90deg, white, rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(0.125rem);
    pointer-events: none;
}

.input-composite {
    flex: 1;
    margin-bottom: 0 !important;
    min-width: 0;
}

.input-composite input,
.input-composite textarea {
    max-width: 100% !important;
    overflow: hidden !important;
    resize: none;
    flex: unset !important;
}

.text-metrics {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 400;
    position: absolute;
    display: none;
    opacity: 0;
    pointer-events: none;
    height: 0;
    min-height: 0;
    max-height: 0;
    white-space: pre;
}

.send-composite {
    display: flex;
    align-items: flex-end;
}

.send-composite [data-action="sendMessage"] {
    margin: 0;
}

.show-references {
    opacity: 1;
}

.show-references.hidden {
    opacity: 0;
    pointer-events: none;
}

.chat-message > footer {

}

.chat-message > footer.hidden {
    opacity: 0;
    pointer-events: none;
}

.semantic-search-query-fieldset {
    font-style: italic;
}

.documents-fieldset {
    flex: 1;
}

.searchable-document .searchable-document-title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;  
	max-width: 5rem; 
}
.searchable-document .searchable-document-links-container {
   display: flex;
   gap: 0.25rem;
}


.searchable-document .document-visibility{
	font-size: 1.25rem;
	flex: 1;
	color: #00C000;
	margin-top: -1.5rem;
    position: absolute;
    margin-left: -1.5rem;
}

.searchable-document {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.25rem;
    min-height: 10rem;
}

.ecommerce-image-details-placeholder {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border: none;
    box-shadow: none;
    color: var(--color-gray-300);
}

.searchable-document-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    height: 100% !important;
}

.searchable-document-inline .ecommerce-image {
    object-fit: contain !important;
    cursor: pointer;
    width: 3.5rem !important;
    height: 3.5rem !important;
    padding: 0.25rem !important;
}

.searchable-document-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.25rem;
}

.searchable-document-default {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    background-color: var(--color-gray-100);
    padding: 1rem;
    border-radius: var(--radius);
}

.searchable-document-default .document-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.searchable-document-default .ecommerce-image {
    margin-left: auto;
    height: 100% !important;
    width: auto !important;
    max-width: 40% !important;
    min-width: 30% !important;
    background-color: var(--color-gray-100);
    max-height: calc(10rem - 2rem);
    padding: 1rem;
}

.searchable-document-default header {
    display: flex;
}

.searchable-document-default header .header-container {
    display: flex;
    flex-direction: column;
}

.searchable-document-default .title {
    color: var(--color-title);
    text-transform: uppercase;
    font-size: var(--text-sm);
    line-height: var(--leading-sm);
    font-weight: 600;
}

.searchable-document-default .subtitle {
    color: var(--color-text-subtle);
    margin: 0;
    font-size: var(--text-sm);
    line-height: var(--leading-sm);
    font-weight: 400;
}

.searchable-document-default main {
    display: none;
}

.searchable-document-default footer {
    display: flex;
    gap: 0.25rem;
}

.searchable-document-default .document-button {
    /*
    box-shadow: none !important;
    */
}

.wa-settings-fieldset {
    width: 100%;
    flex: 1;
}


.searchable-document > h1 {
    margin-left: 0.25rem !important;
}

.searchable-document > .ui-button .ui-button-text {
    overflow: visible !important;
}

/*
.searchable-document + .searchable-document {
    margin-top: var(--space-8);
}
*/

.searchable-document h1 {
    margin: 0 auto 0 0;
    color: var(--color-text);
    font-weight: 600;
    flex: 1;
}

.document-button {
    margin-right: var(--space-5);
    height: var(--space-13) !important;
    width: var(--space-13) !important;
    font-size: var(--text-500) !important;
}

.document-button.hidden {
    display: none !important;

    opacity: 0 !important;
    pointer-events: none !important;
}

.like-action-button {
    background-color: var(--color-cta-300) !important;
    margin-left: auto !important;
}


.chat-message .document-button.hidden {
    display: none;
}

.chat-message .searchable-document:last-of-type {
    margin-right: auto;
}

.document-button .ui-button-text,
.document-button i {
    padding: 0 !important;
    text-indent: 0 !important;
}

.ui-button.waiting .ui-button-text,
.ui-button.waiting .ui-button-icon-primary {
    opacity: 0;
}

/* CHAT APPEARANCES */
.chat-minimal .topics-fieldset {
	display: none !important;
}

.document-details-composite {
    font-size: var(--text-base);
    line-height: 1.5;
    padding: 1rem 2.5rem;
    background-color: var(--color-gray-50);
}

.document-details-composite pre {
	text-wrap: wrap;
}

#layout [data-name="inputMessage"] {
    padding: 0.75rem !important;
    font-size: 1rem!important;
    border: none !important;
    box-shadow: none !important;
    flex: 1 !important;
    overflow-y: auto !important;
}

#searchable-documents-dialog .hrd-form {
    height: auto;
}


/*
@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    .assistant-fieldset {
        padding: 0;
    }

    .chat {
        padding: var(--space-10);
        padding-bottom: 0;
    }

    .chat-fieldset {
        margin-bottom: 0;
        padding-bottom: 5rem;
    }

    .input-fieldset {
        padding: var(--space-10);
        padding-right: 0;
        margin-right: var(--space-10);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.65));
        -webkit-backdrop-filter: blur(0.125rem);
        backdrop-filter: blur(0.125rem);
    }
}
*/

#gogptChat-panel .chat-message.sender-assistant > footer [data-action="openTicket"] .f-icon,
#gogptChat-panel .chat-message.sender-assistant > footer [data-action="clearConversation"] .f-icon {
    display: none;
}

#gogptChat-panel .ticket-buttons-fieldset {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
}

#abuse-report-dialog .ticket-buttons-fieldset {
    flex-direction: column;
}

#gogptChat-panel .ticket-buttons-fieldset [data-action="sendWaTicket"] {
    flex: 1;
}

:root {
    --text-300: var(--text-xs);
    --text-400: var(--text-sm);
    --text-500: var(--text-base);

    --leading-300: var(--leading-xs);
    --leading-400: var(--leading-sm);
    --leading-500: var(--leading-base);
}

.product-image {
	max-width: 12.5rem;
	max-height: 12.5rem;
}

.vendor-footer {
    padding: 0.75rem;
    font-size: 0.875rem;
    text-align: center;
    background-color: var(--color-gray-100);
    border-top: solid 1px var(--color-gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.vendor-footer a {
	text-decoration: none;
}

.toggle-info {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    opacity: 0.75;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
}

.toggle-info::after {
    content: "";
    display: block;
    height: 0.125rem;
    border-radius: 9999px;
    background-color: currentColor;
    opacity: 0.5;
    width: 0;
    margin: 0 auto;
}

.toggle-info.highlight {
    color: var(--color-gray-800);
    opacity: 1;
}

.toggle-info.highlight::after {
    width: 100%;
}

.toggle-info.ui-state-disabled {
    cursor: not-allowed !important;
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.tos-fieldset > header {
    padding: 1rem;
    box-shadow: var(--shadow-base);
    background-color: var(--color-gray-0);
    border-radius: var(--radius) var(--radius) 0 0;
    display: flex;
    align-items: center;
}

.tos-message {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-gray-600);
    /*
    align-self: center;
    */
    overflow-y: auto;
}

.tos-message * {
    margin: 0;
}

.tos-fieldset {
    height: 100vh;
    gap: 0 !important;
    background-color: var(--color-gray-50);
}

.tos-fieldset [data-action="closeTos"] {
    align-self: flex-start;
}

.tos-message h1,
.tos-message h2,
.tos-message h3,
.tos-message h4,
.tos-message h5,
.tos-message h6 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-gray-900);
}

.dashlet-fieldset.tos-open {
    overflow: hidden !important;
}


#gogptChat-panel .chat-message.sender-assistant > footer button {

}

#gogptChat-panel .chat-message .effective-message .linkified-product {
    /*
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    border-bottom: solid 1px currentColor;
    max-width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 0;
    padding-bottom: 0.1875rem;
    margin-bottom: -0.25rem;
    */

    text-transform: uppercase;
    cursor: pointer;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    line-height: normal;
    gap: 0.75rem;
    border: none;
    border-radius: 9999px;
    background-color: rgba(var(--color-gray-0-rgb), 0.5);
    color: var(--color-gray-900);
    padding: 0.125rem 0.125rem 0.125rem 0.5rem;
    max-width: 100%;
    margin: 0.25rem 0;
}

#gogptChat-panel .chat-message .effective-message .linkified-product .linkified-product-text {
    width: 0%;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

#gogptChat-panel .chat-message .effective-message .linkified-product .separator {
    height: 1.5rem;
    width: 1px;
    background-color: var(--color-gray-200);
    border-radius: 9999px;
    display: none;
}

#gogptChat-panel .chat-message .effective-message .linkified-product img {
    /*
    padding: 0;
    width: 40px;
    height: 21px;
    border: none;
    box-shadow: none;
    */

    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    box-shadow: none;
}

#gogptChat-panel .chat-message .effective-message .linkified-product .linkify-image-placeholder {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 2rem;
    height: 1.5rem;
    border: none;
    box-shadow: none;
    color: var(--color-gray-300);
}

#gogptChat-panel .chat-message.sender-user .effective-message .uploaded-image-container {
    display: flex;
    margin: 0 -0.75rem;
}

#gogptChat-panel .chat-message.sender-user .effective-message .uploaded-image {
    max-width: 10rem;
    max-height: 5rem;
    border-radius: var(--radius);
}

#function-tags {
    font-size: 0.75rem;
    color: var(--color-gray-700);
}

.function-tags-description {
    display: none !important;
    font-size: 1rem;
    font-weight: 600;
}

.function-tags-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.function-tag {

}

.message-tags {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.75rem;
    color: rgba(var(--color-cta-600-rgb), 0.75);
}

.message-tags .function-tags-container {
    justify-content: flex-start;
    border-radius: 0 0 var(--radius) var(--radius);
    font-weight: 600;
}

.message-tags .semantic-query {

}

.effective-message .message-tags {
    position: static;
    padding: 0;
    margin-top: 2rem;
}





.term-of-services-text {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.term-of-services-text section {
    margin: 2rem 0;
    line-height: 1.5;
}

.term-of-services-text h1,
.term-of-services-text h2,
.term-of-services-text h3,
.term-of-services-text h4,
.term-of-services-text h5,
.term-of-services-text h6 {
    margin: 0 0 0.5em;
    color: var(--color-gray-900);
}

.term-of-services-text p {
    margin: 0 0 1rem;
    padding: 0;
}

.term-of-services-text ol p,
.term-of-services-text ul p {
    padding: 0 0 0 0.75rem;
}

.term-of-services-text h1 {
    font-size: 1.5rem;
}

.term-of-services-text h2 {
    font-size: 1.25rem;
}

.term-of-services-text h3 {
    font-size: 1rem;
    line-height: 1;
}

.term-of-services-text ul {
    margin: 0.5rem 0;
    padding: 0 0 0 1.5rem;
    list-style: revert;
}

.term-of-services-text > header h1 {
    margin: 0 0 0.125em;
}

.term-of-services-text .chapter {
    font-weight: 700;
    color: var(--color-gray-900);
}

.term-of-services-text .sub-chapter {
    font-weight: 600;
    color: var(--color-gray-900);
}

.term-of-services-text .content-legal {
    line-height: 1.5;
}

.term-of-services-text a,
.term-of-services-text a:link {
    text-decoration: underline;
    color: var(--color-cta-600);
    font-weight: 500;
    cursor: pointer;
}

.term-of-services-text a:visited {
    color: var(--color-cta-800);
    font-weight: 400;
}

.send-container {
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
    background: var(--color-gray-0);
    border: solid 1px var(--color-input-border);
    border-radius: var(--radius);
}

#assistant-content .vendor-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
}

#gogptChat-content .send-container {
    transition-property: box-shadow !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

.input-buttons {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.75rem;
}

.send-container:focus-within {
    --tw-ring-width: 2px;
    --tw-ring-color: rgba(var(--color-input-border-active-rgb), 0.2);
    --tw-ring-offset-color: var(--color-gray-0);
    --tw-ring-offset-width: 2px;
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);

    border-color: var(--color-input-border-active);
    box-shadow: 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color), var(--tw-ring-shadow);
}

/*
#layout [data-action="sendMessageEvent"] {
    flex: none !important;
    margin-left: auto !important;
    color: white !important;
}
 */

[data-action="sendMessageEvent"] .ui-button-icon-primary {
    display: none !important;
}

[data-action="sendMessageEvent"] .ui-button-text {
    display: inline-flex !important;
    align-items: center;
    gap: 0.25rem;
}

#layout [data-action="toggleRecording"] {
}

.chat-header .chat-header-actions {
    margin-left: auto !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: none;
}

.chat-header [data-action="clearConversation"].button-reverse,
.chat-header [data-action="clearConversation"].reverse {
    background-color: transparent !important;
    border: none !important;
    flex: none !important;
    flex-direction: row-reverse;
    opacity: 0.9 !important;
    color: white !important;
}

[data-action="clearConversation"].button-reverse,
[data-action="clearConversation"].reverse {
    border: none !important;
    flex: none !important;
    flex-direction: row-reverse;
}

[data-action="clearConversation"].button-reverse:hover,
[data-action="clearConversation"].reverse:hover {
    background-color: var(--color-cta-500) !important;
}

.user-language-composite {
    flex: 1;
}

.chat-header.with-close-button [data-action="clearConversation"] {
    margin-right: 4rem !important;
}

.chat-header .chat-header-title {
    flex: 1;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.effective-message svg.loader {
    display: block;
}

.effective-message svg.loader.done {
    opacity: 0;
}

.effective-message svg.loader > circle:nth-child(1) {
    animation: loading-dots 1s infinite;
}

.effective-message svg.loader > circle:nth-child(2) {
    animation: loading-dots 2s infinite;
}

.effective-message svg.loader > circle:nth-child(3) {
    animation: loading-dots 3s infinite;
}

@keyframes loading-dots {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}

.chat-buttons-large button:not([data-variants~="select-addon"]) {
    padding: 0 1rem !important;
    height: 2.25rem !important;
    font-size: 0.875rem !important;
}

.chat-buttons-large button.ui-button-icon-only:not([data-variants~="select-addon"]) {
    width: 2.25rem !important;
}

[data-action="configureWaAction"] {
    font-size: 0.75rem !important;
}

.effective-message p,
.effective-message ol,
.effective-message ul {
    margin: 0;
    padding: 0;
}

.effective-message p {
    margin: 0.5rem 0;
}

.effective-message ol {
    list-style: revert;
    margin: 1rem 0;
    padding-left: 2rem;
}

.effective-message ul {
    list-style: revert;
    margin: 1rem 0;
    padding-left: 2rem;
}

.effective-message li {
    margin: 0.25rem 0;
}

#term-of-service-policy,
#privacy-info-policy,
#privacy-policy {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-gray-0);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

#term-of-service-policy,
#privacy-info-policy {
    z-index: 1;
}

#term-of-service-policy > header,
#privacy-info-policy > header {
    flex-direction: column !important;
    align-items: stretch !important;
}

#term-of-service-policy .description,
#privacy-info-policy .description,
#privacy-policy .description {
    padding: 4rem;
    font-size: 1.25rem;
    line-height: 1.5;
    flex: 1;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    overflow-y: auto;
}

#privacy-policy [data-action="acceptPrivacyPolicy"] {
    align-self: center;
    margin-top: 2rem;
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
    height: auto !important;
}

.legals-container:empty {
    display: none !important;
}

.tos-fieldset:not(.html) .tos-message {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tos-fieldset iframe {
    flex: 1;
}

#privacy-policy .more-info {
    align-self: center;
    display: inline-block;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: solid 2px var(--color-gray-100);
}

#privacy-policy .more-info #privacy-more-info {
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

#gogptChat-content .booking-button button {
    width: 100%;
}

#gogptChat-content .booking-message {
    max-width: 40rem;
}

#gogptChat-content .booking-card {
    --color-assistant-booking-from: var(--color-cta-100-rgb);
    --color-assistant-booking-to: var(--color-cta-300-rgb);
    --color-assistant-booking-button: var(--color-cta-400-rgb);
    --color-assistant-booking-text: var(--color-cta-900-rgb);
    --color-assistant-booking-button-text: 255, 255, 255;

    box-shadow: var(--shadow-large);
}

#gogptChat-content .booking-card {
    position: relative;
    font-size: 1.125rem;
    padding: 1.75em;
    background-image: linear-gradient(to bottom right, rgba(var(--color-assistant-booking-from), 1), rgba(var(--color-assistant-booking-to), 1));
    color: rgba(var(--color-assistant-booking-text), 1);
    overflow: hidden;
}

#gogptChat-content .booking-card .booking-card__decoration {
    position: absolute;
    top: 50%;
    left: 2rem;
    font-size: 10em;
    transform: translateY(-50%);
    color: rgba(var(--color-assistant-booking-text), 0.05);
    pointer-events: none;
}

#gogptChat-content .booking-card > *:not(.booking-card__decoration) {
    position: relative;
    z-index: 1;
}

#gogptChat-content .booking-card *:not(button) {
    color: inherit;
}

#gogptChat-content .booking-card .booking-card__image-container {
    flex: none;
    width: auto;
    max-width: 7em;
    height: 4em;
    border-radius: 9999px;
    border: solid 1px rgba(var(--color-assistant-booking-text), 0.5);
    overflow: hidden;
    display: inline-block;
    float: left;
    margin-right: 1em;
}

#gogptChat-content .booking-card .booking-card__image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 0;
    object-fit: contain;
    padding: 0.75em;
}

#gogptChat-content .booking-card .booking-card__title {
    font-size: 1.25em;
}

#gogptChat-content .booking-card .booking-card__description {
    margin: 1em 0 0;
    flex-direction: column;
    gap: 1em;
}

#gogptChat-content .booking-card [data-action="selectBooking"] {
    font-size: 1em !important;
    height: 2.5em !important;
    margin-top: 1.25em;
    width: 100%;
    background-color: rgba(var(--color-assistant-booking-button), 1);
    color: rgba(var(--color-assistant-booking-button-text), 1);
    border: none;
}

#gogptChat-content .booking-card [data-action="selectBooking"]:hover {
    background-color: rgba(var(--color-assistant-booking-button), 0.8);
}

#gogptChat-content .booking-button [data-action="selectBooking"] {
    font-size: 1em !important;
    height: 2.5em !important;
    background-color: rgba(var(--color-assistant-booking-button), 1);
    color: rgba(var(--color-assistant-booking-button-text), 1);
    border: none;
}

#gogptChat-content .booking-button [data-action="selectBooking"]:hover {
    background-color: rgba(var(--color-assistant-booking-button), 0.8);
}

#gogptChat-content .document-reference {
    position: relative;
}

#gogptChat-content .document-reference .document-reference__geo {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1.125rem;
    color: hsl(0deg, 65%, 55%);
    pointer-events: none;
    transform: translate(-25%, 0%);
}

/******** BEGIN SWITCH **********/

.switch {
    position: relative;
    display: inline-block;
    width: 2.5rem;
    height: 1.25rem;
    border-radius: 9999px;
    cursor: pointer;
    background-color: var(--color-gray-300);
    transition: all 0.3s ease;
    flex: none;
}

.switch::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 0.25rem;
    transform: translate(0, -50%);
    width: 0.825rem;
    height: 0.825rem;
    border-radius: 9999px;
    background-color: var(--color-gray-0);
    transition: all 0.3s ease;
}

.switch-enabled {
    background-color: hsl(120deg, 40%, 65%);
}

.switch-enabled::before {
    left: calc(100% - 1.125rem);
}

.switch-label {
    font-size: 0.825rem;
    display: inline-block;
    margin: 0 0 0 0.75rem;
    font-weight: 600;
    color: var(--color-gray-800);
}

.switch-container {
    display: inline-flex;
    align-items: center;
}

.switch-container.element-disabled {
    opacity: 0.5;
}

.switch-container.element-disabled .switch {
    cursor: inherit;
}

/******** END SWITCH **********/

.theme-composite {
    width: 4.25rem;
}

.chat-header .theme-composite .switch {
    background-color: white;
}

.chat-header .theme-composite .switch::before {
    background-color: hsl(0deg, 40%, 65%);
}

.chat-header .theme-composite .switch-enabled::before {
    background-color: hsl(120deg, 40%, 65%);
}

.chat-header .theme-composite .switch-label {
    color: white;
}

.theme-composite .switch-label {
    display: inline-flex;
    align-items: center;
}

.input-fieldset .input-buttons .input-right-actions {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.chroma-flow [data-for$="Lang"] .select-minimal-template,
.chroma-flow [data-for$="Language"] .select-minimal-template {
    display: inline-flex;
}



@media screen and (min-width: 1024px) {
    :root {
        --text-300: var(--text-sm);
        --text-400: var(--text-base);
        --text-500: var(--text-lg);

        --leading-300: var(--leading-sm);
        --leading-400: var(--leading-base);
        --leading-500: var(--leading-lg);
    }

    .document-button {
        margin-right: var(--space-5);
        height: var(--space-16) !important;
        width: var(--space-16) !important;
        font-size: var(--text-500) !important;
    }

    .chat .chat-message.sender-assistant .avatar-container {
        align-self: flex-start;
        /*
        margin-right: var(--space-7);
        margin-bottom: var(--space-7);
         */
        width: 2.75rem;
        height: 2.75rem;
        border: solid 0.1875rem var(--color-avatar-border);
        border-radius: 9999px;
        position: absolute !important;
        top: unset !important;
        bottom: 0;
        left: 0;
        transform: translateX(calc(-100% - 0.5rem));
    }

    .chat .chat-message {
        margin: 0.375rem auto 0 auto;
    }

    .chat .chat-message.sender-user {
        margin: 3rem 0 0 auto;
    }

    .ticket-fieldset {
        padding: 5rem 10%;
        gap: 1.5rem !important;
    }

    .abuse-report-fieldset {
        padding: 5rem 10%;
        gap: 1.5rem !important;
    }

    #gogptChat-panel .chat-message.sender-assistant > footer [data-action="openTicket"] .f-icon,
    #gogptChat-panel .chat-message.sender-assistant > footer [data-action="clearConversation"] .f-icon {
        display: inline-block;
    }

    #gogptChat-panel .ticket-buttons-fieldset {
        display: flex;
        flex-direction: row;
    }

    #abuse-report-dialog .ticket-buttons-fieldset {
        flex-direction: row;
    }

    #term-of-service-policy .description,
    #privacy-info-policy .description,
    #privacy-policy .description {
        justify-content: center;
    }

    #gogptChat-content .booking-card .booking-card__description {
        flex-direction: row;
    }
}

@media screen and (min-width: 512px) {
    #term-of-service-policy > header,
    #privacy-info-policy > header {
        flex-direction: row !important;
        align-items: center !important;
    }
}