html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

@media (min-width: 1200px) {
    .mw-lg-60 {
        max-width: 60% !important;
    }
}

@media (max-width: 1200px) {
    .mw-lg-60 {
        max-width: 100% !important;
    }
}

body {
    margin-bottom: 60px;
}

a.disabled {
    /* And disable the pointer events */
    pointer-events: none;
    cursor: default;
}

.hidden {
    display: none;
}

.spinner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.spinner {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #903163;
    border-radius: 50%;
    border-color: transparent #903163;
    animation: s6 1s infinite linear;
}

    .spinner::before,
    .spinner::after {
        content: "";
        grid-area: 1/1;
        margin: 2px;
        border: inherit;
        border-radius: 50%;
    }

    .spinner::before {
        border-color: #903163 transparent;
        animation: inherit;
        animation-duration: 0.5s;
        animation-direction: reverse;
    }

    .spinner::after {
        margin: 8px;
        border-color: transparent #ccc; /* Updated to your second tone */
    }

@keyframes s6 {
    100% {
        transform: rotate(1turn);
    }
}

#check-new-plugin-url, #reset-plugin-url, #check-new-site-url, #reset-site-url, #add-webchat-url {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

#newUrlInput {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#authorizedUrlsList span {
    cursor: pointer; 
}

    #authorizedUrlsList span[contenteditable="true"] {
        padding-right: 1rem;
        padding-left: 1rem;
        background-color: #f5f8fa;
        border: none !important;
        color: #5E6278;
        border-radius: .475rem;
    }

.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    display: inline-flex;
    align-items: center;
    position: relative;
    background-color: var(--kt-primary) !important;
    color: white !important;
}

    .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
        background-color: white !important;
    }

    .select2-search.select2-search--inline {
        width: 100% !important;
    }
    
.page-item.active .page-link {
    background-color: var(--kt-primary) !important;
    border-color: var(--kt-primary) !important;
}

.daterangepicker .ranges ul {
    max-height: 280px !important;
}

.selected-subscription {
    background-color: var(--kt-secondary) !important;
    color: white !important;
    font-weight: bold !important;
}


/* MYGPT CHAT PARTIAL CSS*/
.acd-designer-root ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.acd-designer-root ::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.acd-designer-root :hover::-webkit-scrollbar-thumb {
    background-color: #CDCDCD;
}

.acd-designer-host {
    margin: 20px 0;
    padding: 0 40px 0 20px;
}

.teams-frame {
    display: flex;
}

.teams-hexagon-outer {
    overflow: hidden;
    transform: rotate(120deg);
    flex: 0 0 50px;
    height: 40px;
    margin-right: 6px;
}

.teams-inner-frame {
    background-color: white;
    border-radius: 4px;
    padding: 24px;
    min-width: 400px;
    max-width: 726px;
}

.teams-hexagon-inner {
    overflow: hidden;
    width: 100%;
    height: 100%;
    transform: rotate(-60deg);
}

.teams-botNameAndTime {
    color: black;
    margin-bottom: 12px;
}

.teams-card {
    border: 2px solid #F1F0EF;
    border-top-color: #ACCEEF;
    border-radius: 4px;
}

.teams-bot-logo {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-image: url(https://adaptivecards.io/node_modules/adaptivecards-designer/dist/containers/bot-framework.png);
    background-size: 50px 50px;
    visibility: visible;
    transform: rotate(-60deg);
}

.acd-designersurface {
    outline: none;
}

.acd-peer {
    animation-name: acd-peer-frame-disappear;
    animation-duration: 150ms;
    animation-fill-mode: forwards;
    border: 1px dashed transparent;
}

    .acd-peer:hover {
        animation-name: acd-peer-frame-appear;
        animation-duration: 200ms;
        animation-fill-mode: forwards;
    }

.acd-peerButton {
    font-size: 14px;
    border: 1px solid #2D7BB7;
    color: #2D7BB7;
    background-color: white;
    cursor: default;
    user-select: none;
    padding: 1px;
    display: flex;
    align-items: center;
    pointer-events: all !important;
    height: 20px;
    border-radius: 0;
    outline: none;
}

.acd-peerButton-icon {
    font-family: 'FabricMDL2Icons';
    font-style: normal;
    font-weight: normal;
    justify-content: center;
}

.acd-peerButton.fixedWidth {
    width: 20px;
}

    .acd-peerButton.fixedWidth.circular {
        border-radius: 50%;
    }

.acd-icon-drag:before {
    content: "\E7C2";
}

.acd-peerButton:hover {
    background-color: #2D7BB7;
    color: white;
}

.acd-icon-remove:before {
    content: "\E711";
}

.ac-pushButton {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    padding: 4px 10px 5px 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 32px;
    background-color: white;
    color: #6264A7;
    border: 2px solid #BFC0DA;
    border-radius: 4px;
}

    .ac-pushButton:hover {
        background-color: #6264A7;
        border: 2px solid #6264A7;
        color: white;
    }


/* These were inline style tags. Uses id+class to override almost everything */
#style-KE1MF.style-KE1MF {
    flex: 1 1 100%;
    overflow: auto;
}

#style-Fo91N.style-Fo91N {
    position: relative;
    width: 100%;
    height: 100%;
}

#style-9kBUH.style-9kBUH {
    height: 100%;
}

#style-cxOoX.style-cxOoX {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    flex: 0 0 auto;
    padding: 16px;
    margin: 0px;
    background-color: rgb(255, 255, 255);
}

#style-cwejK.style-cwejK {
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: rgb(37, 36, 36);
    font-weight: 600;
    text-align: start;
    line-height: 18.62px;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#style-JxMhq.style-JxMhq {
    margin-top: 0px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0px;
}

#style-IfAZt.style-IfAZt {
    height: 12px;
    overflow: hidden;
    flex: 0 0 auto;
    display: flex;
    margin-right: 0px;
    margin-left: 0px;
}

#style-JwUBB.style-JwUBB {
    display: flex;
    justify-content: flex-start;
    box-sizing: border-box;
    flex: 0 0 auto;
    padding: 0px;
    margin: 0px;
}

#style-wsKCG.style-wsKCG {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    min-width: 20px;
    min-height: 20px;
    flex: 0 1 auto;
    padding: 0px;
    margin: 0px;
}

#style-a2q9T.style-a2q9T {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#style-FVmoJ.style-FVmoJ {
    min-width: 0px;
    width: 32px;
    max-height: 100%;
    border-radius: 50%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

#style-elVd3.style-elVd3 {
    width: 12px;
    overflow: hidden;
    flex: 0 0 auto;
    display: flex;
}

#style-3GJPY.style-3GJPY {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    min-width: 20px;
    min-height: 20px;
    flex: 1 1 50px;
    padding: 0px;
    margin: 0px;
}

#style-rgkH1.style-rgkH1 {
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: rgb(37, 36, 36);
    font-weight: 600;
    text-align: start;
    line-height: 18.62px;
    overflow-wrap: break-word;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#style-ggiiX.style-ggiiX {
    margin-top: 0px;
    width: 100%;
    margin-bottom: 0px;
}

#style-2Je3F.style-2Je3F {
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: rgba(37, 36, 36, 0.75);
    font-weight: 400;
    text-align: start;
    line-height: 18.62px;
    overflow-wrap: break-word;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#style-J7dLq.style-J7dLq {
    margin-top: 0px;
    width: 100%;
    margin-bottom: 0px;
}

#style-JKWxj.style-JKWxj {
    height: 12px;
    overflow: hidden;
    flex: 0 0 auto;
    margin-right: 0px;
    margin-left: 0px;
}

#style-ZCoQP.style-ZCoQP {
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: rgb(37, 36, 36);
    font-weight: 400;
    text-align: start;
    line-height: 18.62px;
    overflow-wrap: break-word;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#style-YtBg7.style-YtBg7 {
    margin-top: 0px;
    width: 100%;
    margin-bottom: 0px;
}

#style-NtzGK.style-NtzGK {
    height: 12px;
    overflow: hidden;
    flex: 0 0 auto;
    display: block;
    margin-right: 0px;
    margin-left: 0px;
}

#style-jGowI.style-jGowI {
    border-width: 0px;
    border-spacing: 0px;
    border-style: none;
    border-collapse: collapse;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#style-kxPtg.style-kxPtg {
    padding: 0px;
    max-width: 150px;
    vertical-align: top;
}

#style-TJpsq.style-TJpsq {
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: rgb(37, 36, 36);
    font-weight: 600;
    text-align: start;
    line-height: 18.62px;
    overflow-wrap: break-word;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#style-rLbSo.style-rLbSo {
    margin-top: 0px;
    width: 100%;
    margin-bottom: 0px;
}

#style-QY6oz.style-QY6oz {
    width: 10px;
}

#style-csYgS.style-csYgS {
    padding: 0px;
    vertical-align: top;
}

#style-CMdzR.style-CMdzR {
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: rgb(37, 36, 36);
    font-weight: 400;
    text-align: start;
    line-height: 18.62px;
    overflow-wrap: break-word;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#style-6J7yH.style-6J7yH {
    margin-top: 0px;
    width: 100%;
    margin-bottom: 0px;
}

#style-9GgiA.style-9GgiA {
    height: 12px;
    overflow: hidden;
    flex: 0 0 auto;
}

#style-GLHgU.style-GLHgU {
    overflow: hidden;
}

#style-ybJ7I.style-ybJ7I {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

#style-1ts7p.style-1ts7p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
}

#style-VXU1D.style-VXU1D {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#style-3KlHq.style-3KlHq {
    flex: 0 0 auto;
    width: 8px;
}

#style-ZQcZ9.style-ZQcZ9 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
}

#style-4LiGw.style-4LiGw {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#style-zDrpW.style-zDrpW {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

#style-2yycI.style-2yycI {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 348px;
    height: 279.555px;
    left: 0px;
    top: 0px;
}

#style-hBBCT.style-hBBCT {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 316px;
    height: 18.6172px;
    left: 16px;
    top: 16px;
}

#style-XiXzf.style-XiXzf {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 316px;
    height: 49.2344px;
    left: 16px;
    top: 34.6172px;
}

#style-ZXFoX.style-ZXFoX {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 32px;
    height: 37.2344px;
    left: 16px;
    top: 46.6172px;
}

#style-TOSZf.style-TOSZf {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 32px;
    height: 32px;
    left: 16px;
    top: 46.6172px;
}

#style-AUhkt.style-AUhkt {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 284px;
    height: 37.2344px;
    left: 48px;
    top: 46.6172px;
}

#style-c4U6e.style-c4U6e {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 272px;
    height: 18.6172px;
    left: 60px;
    top: 46.6172px;
}

#style-NGNpN.style-NGNpN {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 272px;
    height: 18.6172px;
    left: 60px;
    top: 65.2344px;
}

#style-vI5ZT.style-vI5ZT {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 316px;
    height: 105.086px;
    left: 16px;
    top: 83.8516px;
}

#style-FZnqj.style-FZnqj {
    position: absolute;
    z-index: 10;
    display: initial;
    width: 316px;
    height: 30.6172px;
    left: 16px;
    top: 188.938px;
}

#style-i8Jma.style-i8Jma {
    position: absolute;
    z-index: 10;
    width: 102.094px;
    height: 32px;
    left: 16px;
    top: 231.555px;
}

#style-K7mXv.style-K7mXv {
    position: absolute;
    z-index: 10;
    width: 53.5312px;
    height: 32px;
    left: 126.094px;
    top: 231.555px;
}

#style-Db79k.style-Db79k {
    visibility: hidden;
    position: absolute;
    z-index: 500;
}

#style-lLeVv.style-lLeVv {
    visibility: hidden;
    position: absolute;
    z-index: 500;
}

#style-VwMwI.style-VwMwI {
    visibility: hidden;
    position: absolute;
    display: flex;
    justify-content: flex-end;
    z-index: 500;
    pointer-events: none;
}
/* END : MYGPT CHAT PARTIAL CSS*/

.spinner-teams {
    width: 48px;
    height: 48px;
    transform-origin: center;
    animation: rotate 2s linear infinite;
}

#active-segment-spinner {
    fill: none;
    stroke: #6060c9;
    stroke-width: 4;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

table thead > tr > th.sorting {
    cursor: pointer;
}


.image-container {
    position: relative;
    cursor: pointer; 
}

    .image-container.selected {
        border: 2px solid #903163;
        background-color: #D2ACC0;
        border-radius: calc(0.625rem - 1px);
    }

.thumbnail-wrapper {
    width: 100%;
    height: 100px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:5px;
}

.thumbnail-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.wrap-text-with-breaks {
    overflow-wrap: break-word; 
    word-break: break-word;
    white-space: normal;
}

.designer-viewer-container {
    display: flex;
    flex: 1;
    height: 60vh;
    overflow: hidden;
    position: relative;
}


.designer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.viewer {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: white;
    overflow: auto;
}

.root-editor {
    padding: 10px;
}

.fullscreen-header {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #1e1e2d;
    color: white;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.designer-viewer-container.fullscreen .fullscreen-header {
    display: flex;
}

.fullscreen>.designer {
    margin-top: 50px;
}

.fullscreen>.viewer {
    margin-top: 50px;
}
