@font-face {
    font-family: ITCFranklinGothicStd-Med;
    src: url("../fonts/ITCFranklinGothicStd-Med.otf") format("opentype");
}

@font-face {
    font-family: ITCFranklinGothicStd-Book;
    src: url("../fonts/ITCFranklinGothicStd-Book.otf") format("opentype");
}

@font-face {
    font-family: ITCFranklinGothicStd-Hvy;
    src: url("../fonts/ITCFranklinGothicStd-Hvy.otf") format("opentype");
}


body, html {
    font-family: "ITCFranklinGothicStd-Book";
}

.chat-story {
    width: 320px;
    min-width: 320px;
    background-color: #EEECEB;
    height: 100vh;
    overflow: auto;
    position: fixed;
}

    .chat-story .chat-story-black {
        background-color: #000;
        position: sticky;
        top: 0;
    }

        .chat-story .chat-story-black .chat-image {
            width: 100%;
            height: 160px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            overflow: hidden;
        }

            .chat-story .chat-story-black .chat-image img {
                width: 100%;
                height: auto;
            }

        .chat-story .chat-story-black .chat-story-black-description {
            padding: 10px;
        }

            .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title {
                display: flex;
                flex-direction: row;
                align-items: center;
            }

                .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title .h-logo {
                    width: 70px;
                    height: 40px;
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-position: center center;
                    background-image: url('../img/Harley/HDU Logo.png');
                    margin-right: 15px;
                }

                .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title h3 {
                    font-size: 26px;
                    color: #fff;
                    opacity: 1;
                    font-family: ITCFranklinGothicStd-Hvy;
                    padding: 0;
                    margin: 0;
                    margin-top: -5px;
                    text-transform: uppercase;
                }

                .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title .btn.btn-primary {
                    width: 40px;
                    height: 40px;
                    margin-left: auto;
                    background-image: url('../img/Harley/restart_alt_FILL0_wght400_GRAD0_opsz24 (1).svg');
                    background-size: 18px auto;
                    background-position: center center;
                    background-repeat: no-repeat;
                    border-radius: 0;
                }

                .chat-story .chat-story-black .chat-story-black-description .chat-story-black-description-title button.btn.btn-primary:hover {
                    background-color: #FA6600 !important;
                }

.description {
    font-size: 14px;
    color: #fff;
    opacity: .7;
    font-family: ITCFranklinGothicStd-Book;
}

.chat-story-black-description .status {
    display: flex;
    flex-direction: column;
/*    align-items: center;*/
    width: 100%;
    padding-top: 10px;
    color: #FA6600;
    white-space: nowrap;
    font-size: 14px;
}

    .chat-story-black-description .status.inactive {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        color: #ffffff55;
    }

    .chat-story-black-description .status.completed {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        color: #2B7E1C;
    }

    .chat-story-black-description .status.failed {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        color: #B80A0A;
    }

    .chat-story-black-description .status .bike {
        background-image: url('../img/Harley/bike.svg');
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        width: 30px;
        height: 22px;
    }

    .chat-story-black-description .status.inactive .bike {
        background-image: url('../img/Harley/bike-inactive.svg');
    }

    .chat-story-black-description .status.completed .bike {
        background-image: url('../img/Harley/bike-completed.svg');
    }

    .chat-story-black-description .status.failed .bike {
        background-image: url('../img/Harley/bike-failed.svg');
        transform: rotate(-45deg);
    }

.inactive-animatioon {
    background-image: linear-gradient(90deg, silver 50%, transparent 50%);
    background-repeat: repeat-x;
    background-size: 15px 2px;
    background-position: left top;
    animation: none;
    width: 100%;
    height: 2px;
    margin-bottom: 5px;
}

.completed .inactive-animatioon {
    background-image: linear-gradient(90deg, #2B7E1C 50%, transparent 50%);
}

.failed .inactive-animatioon {
    background-image: linear-gradient(90deg, #B80A0A 50%, transparent 50%);
}

.active-animatioon {
    background-image: linear-gradient(90deg, #FA6600 50%, transparent 50%);
    background-repeat: repeat-x;
    background-size: 15px 2px;
    background-position: left top;
    animation: border-dance .6s infinite linear;
    width: 100%;
    height: 2px;
    margin-bottom: 5px;
}

@keyframes border-dance {
    100% {
        background-position: left top, right bottom, left bottom, right top;
    }

    0% {
        background-position: left 15px top, right 15px bottom, left bottom 15px, right top 15px;
    }
}


.chat-story-description b {
    color: #FA6600 !important;
}


.chat-story .chat-story-description {
    padding: 20px;
}

.custom-content--inner {
    position: relative;
}

.custom-content--inner--width {
    min-height: calc(100vh - 70px);
}

.form-container {
    position: sticky;
    max-width: 1000px;
    padding: 0 20px;
    padding-bottom: 20px;
    margin: 0 auto;
    width: 100%;
    background: #ffffffc9;
}

    .form-container .form {
        max-width: 100%;
    }

.load-6 {
    position: absolute;
    top: -30px;
    padding: 5px 10px;
    background: #ffffffc9;
}

.form-container .form textarea.form-input.form-input {
    border-radius: 0 !important;
    border: 2px solid #000 !important;
    box-shadow: none !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 10px;
    font-weight: 500;
}


/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #e1dddb;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #333;
    }

#chatroom .message-content {
    padding: 0 !important;
    background: transparent !important;
    align-self: flex-start;
    max-width:80%;
}

    #chatroom .message-content.user {
        align-self: flex-end;
    }

    #chatroom .message-content.ai {
        margin-bottom: 10px;
    }

        #chatroom .message-content.ai .answer {
            background-color: #EEECEB !important;
        }


    #chatroom .message-content .message-wrapper {
        display: flex;
        flex-direction: column;
    }

        #chatroom .message-content .message-wrapper .description {
            font-size: 14px;
            margin-top: 0px;
            color: #333;
            text-align: left;
            margin-bottom:5px;
        }

    #chatroom .message-content.user .message-wrapper .description {
        text-align:right;
    }

        #chatroom .message-content .message-wrapper .answer {
            background: #ffc19d;
            color: #000;
            font-size: 16px;
            position: relative;
        }

            #chatroom .message-content .message-wrapper .answer .answer-body {
                padding: 12px;
            }

            #chatroom .message-content .message-wrapper .answer .feedback {
                background-color: #D9DBE5;
                padding: 10px;
                font-size: 14px;
                opacity: 1;
                padding-left: 12px;
                border-top:2px solid #fff;
                position: relative;
                padding-bottom: 8px;
            }

                #chatroom .message-content .message-wrapper .answer .feedback:before {
                    content: ' ';
                    width: 0;
                    height: 0;
                    border-style: solid;
                    border-width: 0 10px 8px 10px;
                    border-color: transparent transparent #D9DBE5 transparent;
                    position: absolute;
                    top: -8px;
                    left: 10px;
                    z-index:2;
                }

               


.feedback.positive {
    color: #2B7E1C;
    opacity: 1 !important;
}

.feedback.negative {
    color: #b80a0ad4;
    opacity: 1 !important;
}

.feedback.stage {
    background-color: #EEECEB !important;
    color: #FA6600;
    opacity: .9 !important;
}

.form span.left-pan {
    height: 42px;
    width: 42px;
    top: 4px;
    right: 4px;
    background-color: #000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    background-image: url('../img/Harley/send_FILL1_wght400_GRAD0_opsz24.svg');
    background-size: 18px 18px;
    background-position: center center;
    background-repeat: no-repeat;
    transition-duration: .2s;
}

    .form span.left-pan + span.left-pan {
        right: 50px;
        background-color: #EEECEB !important;
        background-image: url('../img/Harley/mic.svg');
        background-size: 24px 24px;
    }

        .form span.left-pan + span.left-pan:hover {
            background-color: #e1dddb !important;
        }

    .form span.left-pan:hover {
        background-color: #FA6600;
    }


.chat {
    padding-top: 40px;
}

.custom-svelte-dialog {
    border:none;
    padding:40px;
    box-shadow:0 10px 10px #00000022;
    border-radius:3px;
}

    .custom-svelte-dialog h2 {
    text-transform:uppercase;
    font-size:24px;
    font-weight:bold;
    }

    .custom-svelte-dialog hr {
    display:none;
    }

.custom-svelte-dialog select.form-control {
    margin:20px 0;
    border-radius:0px;
    border-color:#333;
    min-height:45px;
    position:relative;
}

    .custom-svelte-dialog select.form-control::after{
        content: ' ';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 100px 50px 0 50px;
        border-color: #000000 transparent transparent transparent;
        position:absolute;
        top:0;
        right:0;
    }

    .custom-svelte-dialog button {
        background-color: #FA6600;
        border: none;
        width: 100%;
        min-height: 45px;
        color: #fff;
        font-weight: 500;
        text-transform: uppercase;
        border: none !important;
        border-radius: 0 !important;
    }

    .custom-svelte-dialog::backdrop {
        background: rgba(0, 0, 0, 0.5);
    }

    dialog[open] {
        animation: zoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

@keyframes zoom {
    from {
        transform: scale(0.95);
    }

    to {
        transform: scale(1);
    }
}

dialog[open]::backdrop {
    animation: fade 0.2s ease-out;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}