@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');
 
.chatbot-btn {
    position: fixed;
    bottom: 0px;
    right: 0px;
    height: 64px;
    width: 64px; 
    display: flex;
    align-items: center; 
}


* {
    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);
} 

.bot-row {
    display: flex;
    align-items: flex-start; 
}
.bot-msg-lt {
    display: flex;             
    align-items: flex-start; 
    position: relative;       
}

.bot-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.bot-icon img {
    width: 100%;
    height: 100%;
}

.msg-bubble {
    background: #f1f1f1;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 100%;
    word-wrap: break-word;
    flex: 1;                  
    margin-left: 0;           
}


.msg-bubble.user {
    background: var(--chat-primary, #007bff);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
 
.offcanvas#offcanvasRight { 
    border: 2px solid #00000073; 
    background: #fafafa;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    border-radius: 12px 12px 12px 12px;
}

 
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header img.chatbot-avatar {
    width: 36px;
    height: 36px;
    /*border-radius: 50%;*/
}

 /* Body */
.chat-body {
    flex: 1 1 auto;
    /* overflow-y: auto; */
    /* padding: 5px; */
    background: #fff;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}  

.chat-conversation li {
    list-style: none;
}


.bot-msg-lt .bot-icon img {
    width: 25px;
    height: 25px;
    /* border-radius: 50%; */
}


/* Loader */
.msg-bubble.loading {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* =============================
   Chat Footer
   ============================= */
.chat-footer {
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.chat-input-lt {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}



.chat-footer button {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-footer button:hover {
    transform: scale(1.1);
}

.icon-btn {
    color: #666;
    font-size: 20px;
}

/* Powered by */
.powered-by {
    font-size: 12px;
    color: #999;
    gap: 6px;
}

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


/********** 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;
}

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


/* 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%;
}


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

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

.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: 97%; 
}

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

.msg-input-area {
    flex: 1;
    resize: none;
    min-height: 40px;
    max-height: 120px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.chat-footer button {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-footer button:hover {
    transform: scale(1.1);
} 
/* Messages */
.chat-conversation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.chat-conversation li {
    list-style: none;
} 

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

/* Chatbot Button */
.chatbot-btn {
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
 
.chatbot-btn-avatar {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    background: black;
    border: 2px solid #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center; 
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.chatbot-btn-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
  
#skipChatBotLink {    
    color: #000; 
    border-radius: 8px; 
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; 
    text-decoration: none !important;
}

/* #skipChatBotLink:hover {
    background-color: #000;
    color: #fff; 
} */

.pcn-chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100%;
}
.offcanvas-end {
    transform: none !important;
    transition: none !important;
}
.form-control.is-invalid {
  background-image: none !important; 
  padding-right: 0.75rem; 
}