@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
}

main {
    width: 100%;
}

body {
    background: #f00f40 !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    align-items: center;
    background-image: var(--body-bg);
    height: 100vh;
}

#app {
    height: 100%;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #000;
    text-align: center;
    color: var(--primary-bg);
    font-size: 12px;
}

    .footer img {
        width: 100%;
        height: 100%;
    }

.img-container {
    width: 80px;
    text-align: center;
    margin-left: 8px;
    margin-top: 8px;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: var(--primary-bg);
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD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ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.top-header {
    background: black !important;
    color: white !important;
}
/*Chat css*/
:root {
    --body-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --msger-bg: #fff;
    --primary-bg: #fff;
    --border: 2px solid #ddd;
    --left-msg-bg: #ececec;
    --right-msg-bg: #579ffb;
    --top-color: #dc3545;
    --top-secondary-color: #972631;
    --top-text-color: #fff;
    --base-color: #303940;
    --base-secondary-color: #15191c;
    --base-color-text: #313131;
    --light-gray1: #eee;
    --light-gray2: #F1F5F8;
    --light-gray3: #8c8c8c;
    --light-gray4: #596670;
    --error-bg: #ffcece;
    --table-th: #303940a1;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

.msger {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    max-width: 100%;
    height: calc(100% - 0px);
    overflow: hidden;
    background: var(--msger-bg);
}

.msger-chat {
    flex: 1;
    overflow-y: auto;
    height: 100%;
    padding: 10px 0;
    display: inline-block;
    width: 100%;
    float: left;
}

.msg {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

    .msg:last-of-type {
        margin: 0;
    }

.msg-img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    overflow: hidden;
    box-shadow: 0px 1px 8px #3c3c3c;
}

.msg-bubble {
    width: 100%;
}

.msg-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-msg .msg-bubble {
    border-bottom-left-radius: 0;
}

.right-msg {
    flex-direction: row-reverse;
}

    .right-msg .msg-bubble {
        background: var(--right-msg-bg);
        border-bottom-right-radius: 0;
    }

    .right-msg .msg-img {
        margin: 0 0 0 10px;
    }

.msger-inputarea {
    display: flex;
    padding: 0px 10px 0px 10px;
    background: transparent;
    width: 76%;
    background: white;
    /*    position: fixed;
    bottom: 54px;
    width: calc(50% - 79px);
    left: 595px;*/
}

.inputarea-overlay {
    width: 100%;
    border: 2px solid #303940;
    box-shadow: 0px 3px 12px #6a6a6a;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.btn-msg-send {
    position: absolute;
    right: 5px;
    top: 15px;
}

.msger-input {
    flex: 1;
    background: var(--primary-bg);
    width: 100%;

}

.msger-send-btn {
    margin-left: 10px;
    background: rgb(0, 196, 65);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.23s;
}

    .msger-send-btn:hover {
        background: rgb(0, 180, 50);
    }


.request-container {
    padding: 15px;
}

    .request-container .message {
        color: var(--base-color-text);

    }

.response-container {
    /*background-color: var(--light-gray2);*/
    padding: 15px;

}

    .response-container .message {
        color: var(--base-color-text);
    }

        .response-container .message pre {
            margin-top: 15px;
            background: #494949;
            color: #fff;
            padding: 5px 10px;
            border-radius: 8px;
            margin-bottom: 0px !important;
            display: block;
            word-break: break-word;
            overflow-wrap: break-word;
            white-space: pre-wrap;
        }

        .response-container .message h1:first-child {
            margin-top: 0 !important;
        }

        .response-container .message h1 {
            font-size: 22px;
            font-weight: 600;
            margin-top: 3rem;
        }

        .response-container .message h2 {
            font-size: 20px;
            font-weight: 600;
            margin-top: 3rem;
        }

        .response-container .message h3 {
            font-size: 18px;
            font-weight: 600;
            margin-top: 3rem;
        }


.btn-copy {
    color: var(--base-color);
    cursor: pointer;
    float: right;
}

    .btn-copy:hover {
        color: var(--base-secondary-color);
        transition: 0.5s;
    }

.d-flow-root {
    display: flow-root;
}

textarea {
    width: 100%;
    height: auto; /* Set to auto to allow height adjustment */
    max-height: 400px; /* Maximum height */
    overflow-y: auto; /* Allow vertical scrolling if needed */
    resize: none; /* Disable manual resizing */
    box-sizing: border-box; /* Include padding/border in height/width */
    padding: 10px 35px 10px 10px;
    font-family: Arial, sans-serif; /* Font style */
    border: 1px solid #ccc; /* Border style */
    border-radius: 4px; /* Rounded corners */
}

    textarea:focus, input:focus {
        outline: none;
    }


.spinner-border {
    color: var(--primary-bg);
}

.d-flex-v {
    display: flex;
    flex-direction: column;
}

.cursor-pointer {
    cursor: pointer;
}

.spinner-border-md {
    height: 25px;
    width: 25px;
}

.fa-send {
    height: 25px;
    width: 25px;
    color: #303940;
    border: none;
    background: none;
}


.ai-heading h2 {
    color: #6a6a6a;
}

.ai-heading h4 {
    color: #8a8a8a;
}

.typing-loader {
    display: inline-block;
    width: 6px;
    height: 6px;
    -webkit-animation: line 1s linear infinite alternate;
    -moz-animation: line 1s linear infinite alternate;
    animation: line 1s linear infinite alternate;
    border-radius: 50%;
    margin-left: 5px;
}

.fs-12px {
    font-size: 12px;
}

@-webkit-keyframes line {
    0% {
        background-color: rgba(0,0,0, 1);
        box-shadow: 12px 0px 0px 0px rgba(0,0,0,0.2), 24px 0px 0px 0px rgba(0,0,0,0.2);
    }

    25% {
        background-color: rgba(0,0,0, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(0,0,0,2), 24px 0px 0px 0px rgba(0,0,0,0.2);
    }

    75% {
        background-color: rgba(0,0,0, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(0,0,0,0.2), 24px 0px 0px 0px rgba(0,0,0,2);
    }
}

@-moz-keyframes line {
    0% {
        background-color: rgba(0,0,0, 1);
        box-shadow: 12px 0px 0px 0px rgba(0,0,0,0.2), 24px 0px 0px 0px rgba(0,0,0,0.2);
    }

    25% {
        background-color: rgba(0,0,0, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(0,0,0,2), 24px 0px 0px 0px rgba(0,0,0,0.2);
    }

    75% {
        background-color: rgba(0,0,0, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(0,0,0,0.2), 24px 0px 0px 0px rgba(0,0,0,2);
    }
}

@keyframes line {
    0% {
        background-color: rgba(0,0,0, 1);
        box-shadow: 12px 0px 0px 0px rgba(0,0,0,0.2), 24px 0px 0px 0px rgba(0,0,0,0.2);
    }

    25% {
        background-color: rgba(0,0,0, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(0,0,0,2), 24px 0px 0px 0px rgba(0,0,0,0.2);
    }

    75% {
        background-color: rgba(0,0,0, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(0,0,0,0.2), 24px 0px 0px 0px rgba(0,0,0,2);
    }
}

/*scroll bas*/

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--top-color);
    border-radius: 10px;
    transition: 0.5s;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--top-secondary-color);
        transition: 0.5s;
    }

.placeholder.bg-dark {
    background: var(--light-gray3) !important;
}

.placeholder-img {
    height: 40px;
    width: 40px;
    margin-top: 5px;
}

.placeholder-box {
    height: 4rem;
}

.w-70 {
    width: 70%;
}

button:focus,
input[type=button]:focus {
    border: none !important;
    outline: none !important;
}


.error-sub-container {
    background-color: var(--error-bg);
    padding: 15px;
}


.stop-button {
    border-radius: 50%;
    border: 0;
    width: 35px;
    height: 35px;
    color: #fff;
    background: #1b1b1b;
}

.main-msg-size {
    width: 70% !important
}

.textarea-container {
    position: absolute;
    max-width: 1020px;
    background-color: #fff;
    overflow: hidden;
    bottom: 20px;
    display: flex;
    width: 100%;
    border: 2px solid #303940;
    box-shadow: 0px 3px 12px #6a6a6a;
    border-radius: 20px;
    padding: 15px 18px 10px 10px;
}

.resizable-textarea {
    width: calc(100% - 45px);
    min-height: 50px;
    max-height: 150px;
    padding: 15px 5px 15px 10px;
    box-sizing: border-box;
    overflow-y: auto;
    resize: none;
    border: none;
    font-size: 16px;
    line-height: 1.5;
    outline: none;
    /*scrollbar-width: none;*/
    scrollbar-width: auto;
}


/*table css*/

/* General table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Table header styles */
th {
    background-color: var(--table-th);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

/* Table body styles */
td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #ddd;
}





/* Zebra striping effect for rows */
tr:nth-child(odd) {
    background-color: #f9f9f9;
}





/* Adding alternate row coloring for better readability */
tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Responsive table container (scrollable) */
.table-container {
    max-width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}



/* Rounded corners for the table */
table {
    border-radius: 12px;
    overflow: hidden;
}

/* Table caption (optional) */
caption {
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    background-color: var(--table-th);
    color: white;
}


.profile-dropdown-main {
    display: inline-flex;
}

.profile-dropdown-sidenav {
    display: none;
    background: #303940;
    box-shadow: 0px -4px 3px rgb(0 0 0 / 15%);
}

.label-block {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-left: 10px;
    font-size: 14px;
}

.profile-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #494949;
    font-size: 1.3rem;
}

.spinner-block {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.spinner-md {
    width: 4rem;
    height: 4rem;
    font-size: 1.4rem;
}

.icon-style {
color: red !important; 
font : bold !important
    ;
}


/* Default alignment for user-message-style */
.chat-message-content {
    text-align: start; /* Left-align by default */
}

/* Center-align when the single-line class is applied */
.single-line {
    text-align: center !important;
}