/* Floating Button */
#chatWidget .chat-toggle-btn {
  position: fixed;
  bottom: 65px;
  right: 20px;
  background: #F45801;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
}

#chatWidget .chat-toggle-btn:hover {
  background: #F45801;
}

/* Notification Circle */
#chatWidget .notification-circle { 

        position: absolute;
        top: -8px;       /* tweak for best alignment */
        right: -8px;     /* tweak for best alignment */
        min-width: 22px; /* ensures circle even with 1 digit */
        height: 22px;
        border-radius: 50%; 
        background: linear-gradient(to bottom, #ff3b3b, #b30000);
        color: white;
        font-size: 12px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 2px 6px rgba(0,0,0,0.3);
        padding: 5px;   /* small padding so double-digit fits */
        line-height: 1; /* avoid vertical misalignment */

}

/* Chat Container */
#chatWidget .onlinechatcontainerpart {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  max-height: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 9999;
}

/* Header */
#chatWidget .onlinechatheader {  
  background: #F45801;
  color: #fff;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

/* Body */
#chatWidget .onlinechatbody {
  padding: 5px;
  overflow-y: auto;
  flex: 1;
}

/* Buttons */
#chatWidget .bookingbtn {
  width: 100%;
  background: #F45801;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

#chatWidget .bookingbtn:hover {
  background: #F45801;
}

/* Inputs */
#chatWidget .form-control {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 6px;
}

/* #chatWidget .error {  
  color: red;
  font-size: 12px;
  margin-top: 4px;
  
} */

.error {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: none;   /* hide by default */
}

.error:not(:empty) {
  display: block;  /* only show when text is present */
}

#chatWidget .lbl-OTP {
  font-size: 14px;
  font-weight: bold;
  color: #F45801;
}
