.login-chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: #004bbd;
  color: #ffffff;
  border: none;
  border-radius: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.login-chatbot-widget:hover, .login-chatbot-widget:focus-visible {
  background-color: #003a99;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  outline: none;
}
.login-chatbot-widget:focus-visible {
  outline: 2px solid #004bbd;
  outline-offset: 2px;
}
.login-chatbot-widget .login-chatbot-widget__icon {
  font-size: 16px;
  line-height: 1;
}
.login-chatbot-widget .login-chatbot-widget__label {
  font-size: 14px;
}

.login-chatbot-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1051;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  max-height: 700px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.login-chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #004bbd;
  color: #ffffff;
  flex-shrink: 0;
}
.login-chatbot-header .login-chatbot-header__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.login-chatbot-header .login-chatbot-header__close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-chatbot-header .login-chatbot-header__close:hover, .login-chatbot-header .login-chatbot-header__close:focus-visible {
  background-color: rgba(255, 255, 255, 0.2);
}
.login-chatbot-header .login-chatbot-header__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.login-chatbot-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-chatbot-message {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.login-chatbot-message--bot {
  align-self: flex-start;
  background-color: #f0f2f5;
  color: #333333;
  border-bottom-left-radius: 2px;
}

.login-chatbot-message--user {
  align-self: flex-end;
  background-color: #004bbd;
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.login-chatbot-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 16px 12px;
  flex-shrink: 0;
}

.login-chatbot-option-btn {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background-color: #ffffff;
  color: #004bbd;
  border: 1px solid #004bbd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.login-chatbot-option-btn:hover, .login-chatbot-option-btn:focus-visible {
  background-color: #004bbd;
  color: #ffffff;
}
.login-chatbot-option-btn:focus-visible {
  outline: 2px solid #004bbd;
  outline-offset: 2px;
}
.login-chatbot-option-btn--start-over {
  border-style: dashed;
  color: #666666;
  border-color: #666666;
  font-size: 12px;
  text-align: center;
}
.login-chatbot-option-btn--start-over:hover, .login-chatbot-option-btn--start-over:focus-visible {
  background-color: #666666;
  color: #ffffff;
}

.login-chatbot-zendesk {
  margin-top: 8px;
}

.login-chatbot-zendesk-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #004bbd;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.login-chatbot-zendesk-link:hover, .login-chatbot-zendesk-link:focus-visible {
  text-decoration: underline;
  color: #003a99;
}
.login-chatbot-zendesk-link::before {
  content: "\f35d";
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
  font-weight: 900;
  font-size: 12px;
}

.login-chatbot-zendesk-video {
  margin-top: 6px;
  width: 100%;
  max-width: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.login-chatbot-zendesk-video iframe,
.login-chatbot-zendesk-video video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  border: none;
  border-radius: 4px;
}

@media only screen and (max-width: 767px) {
  .login-chatbot-panel {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    border: none;
  }
  .login-chatbot-widget {
    bottom: 12px;
    right: 12px;
  }
}
@media only screen and (min-width: 768px) {
  .login-chatbot-panel {
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    max-height: 700px;
    border-radius: 8px;
  }
}
@media only screen and (max-width: 320px) {
  .login-chatbot-widget {
    bottom: 8px;
    right: 8px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .login-chatbot-widget .login-chatbot-widget__icon {
    font-size: 18px;
  }
  .login-chatbot-widget .login-chatbot-widget__label {
    font-size: 12px;
  }
  .login-chatbot-header {
    padding: 10px 12px;
  }
  .login-chatbot-header .login-chatbot-header__title {
    font-size: 14px;
  }
  .login-chatbot-messages {
    padding: 8px 10px;
    gap: 8px;
  }
  .login-chatbot-message {
    max-width: 90%;
    font-size: 13px;
    padding: 8px 10px;
  }
  .login-chatbot-options {
    padding: 6px 10px 10px;
  }
  .login-chatbot-option-btn {
    font-size: 12px;
    padding: 7px 10px;
  }
  .login-chatbot-zendesk-video iframe,
  .login-chatbot-zendesk-video video {
    min-height: 140px;
  }
}
