﻿.ai-dashboard-prompt-popup .dataviz-popup-wizard-title {
    color: var(--Grey-900, #020303);
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75rem;
}
.ai-dashboard-prompt-popup .dx-popup-title.dx-has-close-button {
    padding: 16px 24px;
}
.ai-dashboard-prompt-popup  .dx-toolbar-items-container {
    height: 36px !important;
}

.ai-dashboard-prompt-popup .dx-toolbar.dx-popup-bottom {
    border-top: 1px solid #e8eaeb;
}

.ai-dashboard-prompt-popup .dx-toolbar {
    padding: var(--sm, 1rem);
}

.dataviz-popup-wizard-btn-font {
    display: flex;
    height: 2.25rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid var(--Grey-500, #B6BFBF);
    background: var(--Grey-000, #FFF);
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
    color: var(--Grey-900, #020303);
    font-family: Inter;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25rem;
}


.verticalwizard {
    display: block;
    list-style: none;
    position: relative;
    width: 100%;
    padding: var(--lg, 1.5rem) var(--lg, 1.5rem) var(--xl, 2rem) var(--lg, 1.5rem);
}

.verticalwizard a:hover, .verticalwizard a:active, .verticalwizard a:focus {
    text-decoration: none
}

.verticalwizard li {
    display: block;
    height: 100%;
    min-height: 4.12rem;
    width: 100%;
    position: relative
}

.ai-dashboard-prompt-popup .wizzard-step {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 1rem;
}

.ai-dashboard-prompt-popup .verticalwizard li.complete .step {
    background: #0aa66e;
    padding: 1px 6px;
    border: 3px solid #55606E
}

.ai-dashboard-prompt-popup .verticalwizard li .step i {
    font-size: 10px;
    font-weight: 400;
    position: relative;
    top: -1.5px
}

.ai-dashboard-prompt-popup .verticalwizard li .step {
    display: flex;
    width: 1.5rem;
    height: 1.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: relative; 
    box-shadow: 0px 0px 0px 4px #E5F1F2;
    border: 2px solid var(--Grey-400, #DEE4E4);
    background: var(--Grey-200, #F8F9FA);
    box-shadow: none;
    min-width: 1.5rem; /* fix for ellipse shaped step when less space */
}

.ai-dashboard-prompt-popup .verticalwizard li.active .step, .verticalwizard li.active.complete .step {
    background: var(--Primary-100, #E5F1F2);
    border: 2px solid var(--Primary-500, #0B9294);
}

.ai-dashboard-prompt-popup .verticalwizard li.active:not(.done) .step {
    box-shadow: 0px 0px 0px 4px #E5F1F2;
}

.ai-dashboard-prompt-popup li span.step:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--Grey-400, #DEE4E4);
    border-radius: 50%;
}

.ai-dashboard-prompt-popup li.active span.step:before {
    background: var(--Primary-500, #0B9294);
}

.ai-dashboard-prompt-popup li.done.active span.step:before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 35%;
    transform: rotate(9deg) translate(-50%, -50%);
    z-index: 999;
    font-size: 1.1rem;
    font-weight: 900;
    background: transparent;
    width: auto;
    height: auto;
    color: #0B9294;
}

.ai-dashboard-prompt-popup .verticalwizard li.complete .title, .verticalwizard li.active .title {
    color: var(--Primary-500, #0B9294);
}

.ai-dashboard-prompt-popup .verticalwizard li.active.done .title,
.ai-dashboard-prompt-popup .verticalwizard li .title {
    display: inline;
    font-size: 13px;
    position: relative;
    top: 0;
    font-family: Inter;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25rem;
    color: var(--Grey-800, #2D3232);
}

.ai-dashboard-prompt-popup .verticalwizard li.active p {
    color: var(--Primary-500, #0B9294);
}

.ai-dashboard-prompt-popup .verticalwizard li.active.done p,
.ai-dashboard-prompt-popup .verticalwizard li p {
    color: var(--Grey-800, #2D3232);
    font-family: Inter;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
}
.ai-dashboard-prompt-popup .rightab {
    border: 1px solid #dedede;
    border-radius: 3px;
    padding: 30px;
    box-shadow: 1px 1px 11px #ccc;
    min-height: 320px;
}
.ai-dashboard-prompt-popup .verticalwizard li.active.done{
    cursor: pointer;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ai-dashboard-prompt-popup .verticalwizard li:before {
        /*transform: rotate(90deg) translateY(65px);*/
        max-width: 60%;
    }
}

@media (max-width: 991px) {
    .ai-dashboard-prompt-popup .verticalwizard li {
        float: left;
        width: 25%;
        height: auto;
        min-height: inherit;
        margin-bottom: 20px;
        max-width: inherit;
        text-align: center;
    }

    .ai-dashboard-prompt-popup .verticalwizard li:before {
        transform: none;
        max-width: inherit;
        position: absolute;
    }

    .ai-dashboard-prompt-popup .verticalwizard li .title {
        margin-top: 10px;
        text-align: center;
        display: block;
    }
}

.ai-dashboard-prompt-popup .dx-popup-content {
    padding:0!important;
}
.ai-dashboard-prompt-popup .dx-popup-content .row > div:first-child {
    border-right: 1px solid var(--Grey-400, #DEE4E4);
    border-radius: 0 !important;
    background: #FFF !important;
}
.ai-dashboard-prompt-popup .dx-popup-content .row {
    height: 27.185rem;
}

.ai-dashboard-prompt-popup .dx-popup-content .row > div:last-child {
    padding: 1rem var(--lg, 1.5rem) var(--xl, 2rem) var(--lg, 1.5rem);
    gap: var(--sm, 1rem);
}

.ai-dashboard-prompt-popup  .dx-popup-flex-height .dx-popup-content {
    overflow: hidden
}

.ai-dashboard-prompt-popup .tabs h3 {
    color: var(--Grey-900, #020303);
    font-family: Inter;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5rem;
}

.ai-dashboard-prompt-popup .destination p {
    color: var(--Grey-600, #879090);
    font-family: Inter;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.125rem;
}
 
.dataviz-popup-wizard-cancel-btn .dx-button-content {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.3rem;
}

.dataviz-popup-wizard-confirm-btn .dx-button-content {
    gap: 0.3rem;
    display: flex;
}

.ai-dashboard-prompt-popup .tabs {
    position: relative;
    padding-right: 1rem;
}


/* Hide the context menu button on tree */
.ai-dashboard-prompt-popup .dx-item.dx-treeview-item.dx-state-hover .treeview-item-btn {
    display: none;
}

/* workaround - small loader for treeview */
.ai-dashboard-prompt-popup .loader-wrapper {
    transform: scale(0.5);
    margin-top: 100%;
}

/* Hide treeview expand all button */
.ai-dashboard-prompt-popup #toggleTreeViewList {
    display: none;
}

@media (max-width:991px) {
    .ai-dashboard-prompt-popup .dx-popup-content .row > div:first-child {
        height: 7rem;
    }
    /*  spread the step horizontally over whole row  */
    .verticalwizard {
        display: flex;
        margin: 0;
        justify-content: space-around;
    }
    /* connecting line for horizontal step wizard screen  */
    ul.verticalwizard > li:not(:last-child):before {
        content: '';
        background: var(--Grey-400, #DEE4E4);
        height: 1px;
        width: 100%;
        top: 12px;
    }

    ul.verticalwizard > li.done:not(:last-child):before {
        background: #0B9294;
    }

    .ai-dashboard-prompt-popup .wizzard-step {
        flex-direction: column;
        align-items: center;
    }
    /* remove extra margin space near wizard step UI  */
    .ai-dashboard-prompt-popup .verticalwizard li {
        margin-bottom: 0;
        flex-grow: 1;
    }
    .ai-dashboard-prompt-popup .verticalwizard li .title {
        margin: 0;
    }
}

@media (max-width:699px) {
    .ai-dashboard-prompt-popup .dx-popup-content {
        width: min(94vw, 400px);
    }
}

@media (min-width:700px) {
    .ai-dashboard-prompt-popup .dx-popup-content {
        width: 550px;
    }
}

@media (min-width:992px) {
    ul.verticalwizard li .wizzard-step:before {
        content: '';
        width: 2px;
        background: var(--Grey-400, #DEE4E4);
        height: calc(100% - 30px);
        position: absolute;
        left: 11px;
        top: 27px;
    }
    ul.verticalwizard li.done .wizzard-step:before {
        background: #0B9294;
    }
    ul.verticalwizard li:last-child .wizzard-step:before {
        display: none;
    }

    .ai-dashboard-prompt-popup .dx-popup-content {
        min-width: 750px;
    }
}

@media (min-width:1300px) {
    .ai-dashboard-prompt-popup .dx-popup-content {
        min-width: 850px;
    }
}

/* Recorder */

.ai-dashboard-prompt-popup .user-input-question-box {
    border: 1px solid var(--sds-grey-500);
    border-radius: 6px !important;
    overflow-wrap: break-word;
}

.aiChatInput .autosize {
    resize: none;
    overflow: hidden;
    min-height: 30px !important;
    color: var(--sds-grey-900);
    border-radius: 6px !important;
}

.aiChatInput{
    font-size: 14px;
    line-height: 20px;
}
.aiChatInput button.sds-btn{
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
    display: flex;
    height: 32px;
    width: auto;
    padding: 8px 12px;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;

    border-radius: 6px !important;
    overflow-wrap: break-word;

    border: 1px solid var(--sds-grey-500);
    color: var(--sds-grey-500);
}
    


.ai-dashboard-prompt-popup .dx-popup-content .row > div:first-child {
    border-right: none;
    border-radius: 0 !important;
}

.ai-dashboard-prompt-popup  h3 {
    color: var(--Grey-900, #020303);
    font-family: Inter;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5rem;
}