/* 
*Customer App - Chatbot Virtual Assistance 
*Powered by Logicvalley
*/

@import url(color.css);
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", serif;
}

*,
::after,
::before {
    box-sizing: border-box;
}

::placeholder {
    font-size: 13px;
}

.form-control:focus {
    box-shadow: none;
    background-color: #F2F2F2;
    border-color: var(--chat-primary);
}

.msg-input-area:focus {
    box-shadow: none;
    background-color: transparent !important;
    border-color: var(--chat-primary);
}

body {
    width: 100%;
    height: 100%;
    font-size: 14px;
    background: transparent !important;
}


/********** Chatbot *******/

/*header {
    padding: 7px 0;
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid #CED4DA;
    background: #FFF;
}*/

.chatbot-avatar {
    height: 34px;
}

.emoji-ico {
    font-size: 14px;
}

.chat-footer {
    position: sticky;
    bottom: 0;
    /* width: 100%; */
}

.info-txt {
    display: flex;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(44, 62, 80, 0.6);
}

.info-desc {
    flex: 0 0 auto;
}

.chat-conversation .bot-msg-lt + .bot-msg-lt,
.chat-conversation .user-msg-lt + .user-msg-lt {
    margin-top: 5px;
}

.bot-msg-lt {
    gap: 5px;
    position: relative;
    display: flex;
    /* align-items: center; */
}

    .bot-msg-lt:first-child {
        margin-top: 0px;
    }

.user-msg-lt,
.bot-msg-lt {
    margin-top: 28px;
}

.msg-bubble,
.user-msg-lt {
    display: flex;
}

.bot-icon {
    position: absolute;
    height: 28px;
    width: 28px;
    border-radius: 50px;
    text-align: center;
}

    .bot-icon img {
        height: 24px;
        /* width: 24px; */
    }

.msg-bubble {
    padding: 8px 12px;
    align-items: end;
    border-radius: 16px;
    gap: 4px;
}

    .msg-bubble.loader {
        height: 35px;
        width: 65px;
    }

.msg-bubble,
.msg-ans-option-lt {
    margin-left: 35px;   
}

.msg-ans-option-lt {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.msg-txt {
    font-size: 13px;
    word-break: break-word;
}

    .msg-txt.as-ques {
        font-weight: 500;
    }

.sent-time {
    margin-top: 5px;
    margin-left: 37px;
    font-size: 10px;
    color: rgba(51, 51, 51, 0.5);
}

.bot-msg-lt .msg-bubble {
    background: #F5F5F5;
}

.bot-msg-lt .msg-txt {
    color: #252627;
    white-space: pre-wrap;
}

.user-msg-lt {
    justify-content: end;
    margin-left: auto;
}

    .user-msg-lt .msg-bubble {
        background: #262D33;
        margin-left: auto;
    }

    .user-msg-lt .msg-txt {
        color: white;
        font-weight: 400;
        white-space: pre-wrap;
    }

    .user-msg-lt .sent-time {
        text-align: end;
        margin-left: 0;
    }

.chat-by-aira {
    font-size: 11px;
    color: rgba(108, 117, 125, 0.8);
}

.chat-input-lt {
    background-color: white;
    padding: 8px 16px;
    gap: 6px;
}

.msg-input-area {
    /* height: 41px !important; */
    padding: 10px 16px;
    max-height: 117px;
    resize: none;
    font-size: 14px;
    border-radius: 19px;
    border: 1px solid rgba(22, 43, 72, 0.12);
}


/* form  */

.msg-form-content {
    padding: 8px 12px;
    margin-top: 5px;
    align-items: end;
    border-radius: 16px;
    border: 1px solid #C9D1D7;
    margin-left: 35px;
    gap: 4px;
}

    .msg-form-content .form--header {
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

        .msg-form-content .form--header .progress-bar-item {
            flex: 0 0 auto;
            width: 50px;
        }

        .msg-form-content .form--header .form--header-title {
            padding-left: 10px;
        }

        .msg-form-content .form--header ._main-title {
            font-size: 13px;
            font-weight: 600;
        }

        .msg-form-content .form--header ._sub-title {
            font-size: 11px;
            font-weight: 500;
            color: #6C757D;
        }

    .msg-form-content .form-control,
    .msg-form-content label {
        font-size: 13px;
        color: #333;
    }

.circular-progress {
    position: relative;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: conic-gradient(#005E85 3.6deg, #BDBDBD 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .circular-progress::before {
        content: "";
        position: absolute;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        background-color: #fff;
    }

.progress-value {
    position: relative;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--chat-primary);
    --bs-btn-border-color: var(--chat-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--chat-primary);
    --bs-btn-hover-border-color: var(--chat-primary);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--chat-primary);
    --bs-btn-active-border-color: var(--chat-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--chat-primary);
    --bs-btn-disabled-border-color: var(--chat-primary);
}

.btn-link,
.btn-link:hover {
    color: var(--chat-primary);
    text-decoration: none;
}


/* //// Datepicker */

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--chat-primary);
    border-color: transparent;
    color: #fff;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
    font-family: inherit;
}

.form-check-input {
    --bs-form-check-bg: var(--bs-body-bg);
    width: 16px;
    height: 16px;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid #C9D1D7;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}

    .form-check-input:checked[type=radio] {
        --bs-form-check-bg-image: url("../img/radio-button-check.svg");
    }

    .form-check-input:checked {
        background-color: var(--chat-primary);
        border-color: var(--chat-primary);
    }

    .form-check-input:focus {
        border: 1px solid var(--chat-primary);
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .0);
    }

.form-check label {
    margin-left: 5px;
    display: inline-block;
}

.frm-helper-line {
    margin-top: 5px;
    color: #6C757D;
    font-size: 10px;
    font-weight: 400;
}

.helper-line {
    color: #6C757D;
}

.file-content-item {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 12px;
    margin-top: 4px;
    margin-bottom: 4px;
}

    .file-content-item .file--type,
    .file-content-item .file--download {
        flex: 0 0 auto;
    }

        .file-content-item .file--type img,
        .file-content-item .file--download img {
            max-width: 24px;
        }

    .file-content-item .file--type {
        padding-right: 10px;
    }

    .file-content-item .file--download {
        padding-left: 10px;
        cursor: pointer;
    }

    .file-content-item .file--info {
        flex: 1 1 auto;
    }

    .file-content-item .file--size {
        color: #6C757D;
        font-size: 10px;
    }

.content-full-width {
    width: 100%;
}


/* form end */


/* 
.msg-input-area:focus~.chat-action-btn.voice-msg {
    display: none;
} */

.chat-action-btn {
    padding: 8px;
    border-radius: 20px;
}

    .chat-action-btn.send-btn {
       /* background-color: var(--chat-primary);*/
    }

.add-file {
    padding-left: 0px;
    color: #6C757D;
    margin-bottom: 9px;
    /* background-color: blue; */
}

.voice-msg,
.send-msg-btn {
    color: #ADB5BD;
}

.details-list {
    list-style-type: disc;
    padding-left: 22px;
    margin-bottom: 6px;
}

ol.details-list {
    list-style-type: auto;
}

    ol.details-list .link-txt {
        display: inline;
    }

.link-txt {
    word-break: break-word;
    color: var(--chat-primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
}

.evidence-chat {
    margin-top: 4px;
    max-width: 350px;
    border-radius: 10px;
    overflow: hidden;
}

.msg-ans-btn {
    padding: 7px 14px;
    color: var(--chat-primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid #BDBDBD;
}

    .msg-ans-btn.with-icon {
        display: inline-flex;
        align-items: center;
    }

    .msg-ans-btn:hover {
        color: white;
        background-color: #262D33;
    }

.msg-load-dot {
    position: relative;
    height: 100%;
    width: 100%;
}

.info-txt .msg-load-dot {
    width: 7%;
}

    .info-txt .msg-load-dot svg {
        width: 7%;
        transform: translate(-50%, -43%) !important;
    }

.msg-load-dot svg {
    position: absolute;
    transform: translate(-50%, -50%) !important;
    width: 65px !important;
    height: auto !important;
    transform: translate3d(0px, 0px, 0px);
    content-visibility: visible;
    top: 25%;
    left: 50%;
}

.msg-bubble .spinner-grow {
    width: 8px;
    height: 8px;
}

.spinner-grow {
    width: 6px;
    height: 6px;
    animation-duration: 1.1s;
}

    .spinner-grow:nth-child(1) {
        animation-delay: .4s;
    }

    .spinner-grow:nth-child(2) {
        animation-delay: .8s;
        margin-left: 1px;
    }

    .spinner-grow:nth-child(3) {
        margin-left: 1px;
        animation-delay: 1.1s;
    }
.offcanvas {
    width:550px !important;
}
.offcanvas-backdrop.show {
    opacity: .1 !important;
}
.dropdown-menu {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: 100%; /* Adjust as needed */
}

.dropdown-item {
    padding: 8px 12px;
}

.powered-by{
    font-weight: 400;
    font-size: 12px;
    line-height: 166%;
    letter-spacing: 0.4px;
    color: rgba(22, 43, 72, 0.38);
}

.chatbot-btn {
    position: fixed;
    bottom: 20px;    
    right: 20px;    
    cursor: pointer;
    display: flex;
    align-items: center;
}

.greeting-bubble {
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 6px 12px rgba(12, 12, 13, 0.10),
                0px 1px 8px rgba(12, 12, 13, 0.05);
    animation-name: greeting;
    animation-fill-mode: forwards;
    animation-duration: 4s;
    max-height: 64px;
    opacity: 0;
}

@keyframes greeting {
    0% {
        opacity: 0;
        transform: translate(70px, 0) scale(50%);
    }
    10% {
        opacity: 1;
        transform: none;
    }
    90% {
        opacity: 1;
        transform: none;
    }
    100% {
        transform: translate(70px, 0) scale(50%);
        display: none;
    }
}

.chatbot-btn-avatar {
    height: 64px;
}


@media (min-width: 470px) { 
    /* .evid-name-label{
        width: 190px !important;
    } */

    .evid-lt{
        flex-wrap: nowrap !important;
    }
 }


@media (min-width: 768px) { }


@media (min-width: 992px) {  }


@media (min-width: 1200px) {  }


@media (min-width: 1400px) {  }


.evidence-section {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem 1.25rem;

    /* Ensure border + padding don't misalign */
    width: 100%;
    box-sizing: border-box;
}


.form-control.is-invalid {
  background-image: none !important; 
  padding-right: 0.75rem; 
}