/* Custom Error Help Block */
.help-block {
  color: #cf1b18;
  display: block;
  margin: 5px 0 0 4px;
  font-size: 14px;
  line-height: 17px;
}

.help-block.other-error {
  margin: 45px 0 -25px;
}

.input-block .help-block {
    margin-top: 4px;
    color: #d93025;
    font-size: 13px;
}

.js-input-group {
    position: relative;
    width: 100%;
}

.js-input-group .help-block {
    display: block;
    font-size: 13px;
    color: #d93025;
    margin-top: 4px;
}

.js-input-group.has-error .input-field {
    border-color: #d93025 !important;
}

/* === Toast Container === */
.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99999;
}

/* === Toast Card === */
.toast-react {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 300px;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.toast-react.show {
  transform: translateX(0);
  opacity: 1;
}

/* === Toast Content === */
.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

/* === Icon Animation === */
.toast-anim-icon {
  width: 22px;
  height: 22px;
  animation: iconAppear 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes iconAppear {
  0% { transform: scale(0.4) rotate(-120deg); opacity: 0; }
  60% { transform: scale(1.3) rotate(15deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); }
}

/* === Message === */
.toast-message {
  flex: 1;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
}

/* === Progress Bar === */
.toast-progress {
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}
.toast-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  transform-origin: left;
  animation: progressShrink 4s linear forwards;
}

@keyframes progressShrink {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.pf-wrapper {
    --sz:40px;
    width: var(--sz);
    height: var(--sz);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    min-width: var(--sz);margin-right: 8px;
}

.pf-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.pf.flexbox {
    border-radius: 50%;
    background: #0066ff;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;--sz:100%
}


/* Forgot Password link */
.forgot-link a {
    color: #2a55ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.forgot-link a:hover {
    text-decoration: underline;
}

/* Smooth transition for hide/show */
#forgotForm, #loginForm {
    transition: all 0.3s ease-in-out;
}

.language-dd li.active {
    font-weight: 600;
    /* color: var(--theme-primary, #007bff); */
    color: #0E318B;
}

.new-cht-btn {
    display: none;
}


.black-btn.disabled {
    opacity: 0.9;
    pointer-events: none;
}

/* Typing (thinking) dot */
.typing-dot {
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#111;             /* black dot like ChatGPT */
  margin-right:8px;
  vertical-align:middle;
  animation: blinkdot 1s linear infinite;
}
@keyframes blinkdot {
  0% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 0; transform: translateY(0); }
}

.chat-response-col::-webkit-scrollbar,
.chat-box::-webkit-scrollbar {
    width: 0 !important; 
    display: none !important;
}

.chat-response-col,
.chat-box {
    scrollbar-width: none !important; /* Firefox hide */
    -ms-overflow-style: none; /* IE hide */
}

.chat-response-col {
    height: calc(100vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.chat-box {
    min-height: 100%;
    padding-bottom: 20px;
}

.ai-error {
    color: #e53935;
    font-weight: 600;
    padding: 6px 0;
}