

.live-chat-container  .hidden {
	visibility: hidden !important;
	display: none !important;
  }



.live-chat-container {
  font-size: medium;
  font-family: Arial, Helvetica, sans-serif;
  line-height: normal;
  color: #343434;
  width: 100%;
  max-width: 1920px;
  height: 100%;
  position: relative;
  position: fixed;
  /*padding: 2em;*/
  left: 50%;
  top: 0%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 9999;
  
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .hidden {
    visibility: hidden !important;
    display: none !important;
  }
}
.live-chat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  width: 220px;
  height: 72px;
  border-radius: 100px;
  padding: 4px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  border: 1px solid #cecece;
  position: fixed;
  bottom: 20px;
  right: 10px;
  cursor: pointer;
  pointer-events: initial;
}
@media (max-width: 767px) {
  .live-chat-container {
	z-index: 3;  
  }
  .live-chat-btn {
    bottom: 30px;
  }
}
.live-chat-btn__icon {
  background: #008286;
  height: 100%;
  border-radius: 100%;
  height: 64px;
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.live-chat-btn__icon img {
  height: 28px;
  width: 28px;
}
.live-chat-btn__text h1 {
  font-size: 16px;
  font-weight: bold;
}
.live-chat-btn__text span {
  font-size: 12px;
  color: #868686;
}
.live-chat-box {
  background: #fff;
  max-width: 355px;
  width: 100%;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 0 20px;
  pointer-events: initial;
}
@media (max-width: 375px) {
  .live-chat-box {
    margin: 0;
    max-width: 100%;
  }
}
.live-chat-box__header {
  background: #008286;
  height: 50px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-weight: bold;
}
.live-chat-box__header div {
  display: flex;
  align-items: center;
}
.live-chat-box__header .header-left img {
  margin-right: 10px;
}
.live-chat-box__header .header-right {
  margin-right: -5px;
}
.live-chat-box__header .header-right img {
  margin-left: 10px;
  cursor: pointer;
}
.live-chat-box__body {
  min-height: 500px;
  max-height: 500px;
  overflow: hidden;
  border-left: 1px solid #cecece;
  border-right: 1px solid #cecece;
  display: flex;
  flex-direction: column;
}
.live-chat-box__body .chat-login {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.live-chat-box__body .chat-login .tc-logo {
  padding: 40px 0 24px;
}
.live-chat-box__body .chat-login p {
  line-height: 20px;
  padding: 0 30px;
}
.live-chat-box__body .chat-login form {
  padding: 40px 30px 0;
  width: auto;
}
.live-chat-box__body .chat-login form label {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 10px;
}
.live-chat-box__body .chat-login form label:last-of-type {
  margin-bottom: 20px;
}
.live-chat-box__body .chat-login form label span {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 5px;
}
.live-chat-box__body .chat-login form input {
  width: 275px;
  height: 40px;
  border: 1px solid #cecece;
  border-radius: 5px;
  font-size: 14px;
  padding: 0 10px;
}
.live-chat-box__body .chat-login form .login_error {
  display: block;
  font-size: 12px;
  font-weight: normal; 
  color: #bc2525; 
  margin: 0;
  text-align: center;
}
.live-chat-box__body .chat-wrap {
  padding: 20px;
  overflow: auto;
  margin-top: auto;
}
.live-chat-box__body .chat-wrap .chat {
  display: flex;
  gap: 20px;
  flex-direction: column;
}
.live-chat-box__body .chat-wrap .chat .agent-chat .agent-name {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  font-size: 12px;
  color: #5b5b5b;
}
.live-chat-box__body .chat-wrap .chat .agent-chat .agent-name img {
  height: 20px;
  width: 20px;
  border-radius: 100%;
}
:nth-last-child(1 of .live-chat-box__body .chat-wrap .chat .agent-chat) .time-sent {
	display: inline-block;
}
.live-chat-box__body .chat-wrap .chat .time-sent {
  display: none;
  font-size: 12px;
  color: #5b5b5b;
  margin-top: 10px;
  margin-left: 7px;
}
.live-chat-box__body .chat-msg {
  padding: 12px 15px;
  font-size: 14px;
  border-radius: 20px;
  line-height: 20px;
  width: 100%;
  max-width: 254px;
}
.live-chat-box__body .agent-msg {
  background: #e4f6f6;
}
.live-chat-box__body .user-msg {
  background: #f3f3f3;
  align-self: flex-end;
}
.live-chat-box .chat-status {
  font-size: 14px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.live-chat-box .chat-status:is(.inactive) {
  background: #ffe9e9;
}
.live-chat-box .chat-status:is(.inactive) .chat-status-indicator {
  background: #f20000;
  border: 1px solid #a40a0a;
}
.live-chat-box .chat-status:is(.active) {
  background: #e8ffe4;
}
.live-chat-box .chat-status:is(.active) .chat-status-indicator {
  background: #00ce29;
  border: 1px solid #007b19;
}
.live-chat-box .chat-status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 20px;
}
.live-chat-box .chat-user-input {
  margin: 10px;
  position: relative;
  font-size: 14px;
}
.live-chat-box .chat-user-input span {
  display: block;
  align-items: center;
  min-height: 40px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #cecece;
  border-radius: 20px;
  padding: 10px 40px 10px 20px;
  max-height: 70px;
  overflow: auto;
}
.live-chat-box .chat-user-input button {
  cursor: pointer;
  padding: 4px;
  position: absolute;
  right: 4px;
  bottom: 1px;
  background: transparent;
  border: none;
}
.live-chat-box .chat-user-input:is(.inactive) span {
  pointer-events: none;
  opacity: 0.3;
}
.live-chat-box .chat-user-input:is(.inactive) button {
  cursor: default;
}
.live-chat-box .chat-user-input:is(.inactive) button svg {
  fill: #cecece;
  opacity: 0.3;
}
