:root {
  --header-color: #002c68;
  --header-text-color: white;
  --footer-color: #002c68;
  --footer-text-color: white;
  --main-background: #dbdbdb;
  --sidebar-background: #b5d7ff;
  --sidebar-text-color: slategrey;
  --sidebar-hover-color: #002c68;
  --sidebar-highlight-color: black;
  --sidebar-header-text-color: black;
  --user-chat-bubble-color: #b5d7ff;
  --user-chat-bubble-text-color: black;
  --agent-chat-bubble-color: #002c68;
  --agent-chat-bubble-text-color: white;
  --chat-textbox-color: #b5d7ff;
  --chat-send-message-color: #002c68;
  --chat-send-message-icon-color: white;
  --hamburger-icon-color: black;
  --hamburger-icon-bg: #b5d7ff;
  --chat-main-background: #dbdbdb;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Lato" !important;
}

.container {
  flex-grow: 1;
}

footer {
  margin-top: auto;
}

.navbar-brand-logo {
  height: 40px;
}

.header-color {
  background: var(--header-color);
}

.header-text-color {
  color: var(--header-text-color) !important;
}

.footer-color {
  background: var(--footer-color);
}

.footer-text-color {
  color: var(--footer-text-color) !important;
}

.main-background-color {
  background: var(--main-background) !important;
}

.sidebar-background-color {
  background: var(--sidebar-background) !important;
}

.sidebar-text-color {
  color: var(--sidebar-text-color);
}

.sidebar-text-color:hover {
  color: var(--sidebar-hover-color) !important;
}

.sidebar-highlight-color {
  color: var(--sidebar-highlight-color) !important;
}

.sidebar-header-text-color {
  color: var(--sidebar-header-text-color) !important;
}

.sidebar-header-text-color > h3 {
  font-family: "Titillium Web";
}

.chat-bubble-user-color {
  background: var(--user-chat-bubble-color) !important;
  color: var(--user-chat-bubble-text-color) !important;
}

.chat-bubble-agent-color {
  background: var(--agent-chat-bubble-color) !important;
  color: var(--agent-chat-bubble-text-color) !important;
}

.chat-textbox-color {
  background: var(--chat-textbox-color) !important;
}

.chat-send-message-color {
  background: var(--chat-send-message-color) !important;
}

.chat-send-message-icon-color {
  background: var(--chat-send-message-icon-color) !important;
}

.hamburger-icon-color {
  background: var(--hamburger-icon-color) !important;
}

.hamburger-icon-background-color {
  background: var(--hamburger-icon-bg) !important;
}

.webchat__basic-transcript__scrollable {
  background: var(--chat-main-background) !important;
}

.webchat__bubble:not(.webchat__bubble--from-user) .webchat__bubble__content {
  background: var(--agent-chat-bubble-color) !important;
  color: var(--agent-chat-bubble-text-color) !important;
}

.webchat__bubble--from-user .webchat__bubble__content {
  background: var(--user-chat-bubble-color) !important;
  color: var(--user-chat-bubble-text-color) !important;
}

.webchat__send-box__main {
  background: var(--chat-textbox-color) !important;
}

.webchat__icon-button .webchat__icon-button__shade {
  background-color: var(--chat-send-message-color) !important;
}

.webchat__send-icon {
  fill: var(--chat-send-message-icon-color) !important;
}

.webchat__text-content,
.webchat__send-box-text-box__input {
  font-family: "Lato" !important;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
  color: black;
}

.nav-link {
  color: slategrey;
}

.navlink,
.active {
  color: black;
}

.btn-ms-login {
  background-size: 100%;
  width: 200px;
  height: 38px;
  margin-top: 15px;
  border: none;
  background-repeat: no-repeat;
}

html {
  position: relative;
  min-height: 100%;
}

.container {
  max-width: 100vw;
}

.content-area {
  height: 75vw;
}

.sidebar {
  background-color: white;
  height: 75vh;
  width: 250px;
  padding-top: 20px;
  position: fixed;
  z-index: 1;
  transition: all 0.3s ease-in-out;
  left: 0;
  overflow-x: hidden;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
}

.sidebar.collapsed {
  width: 0;
  padding: 0;
  overflow: hidden;
}

.content-area {
  margin-left: 250px;
  height: 75vh;
  padding: 20px;
  transition: margin-left 0.3s ease-in-out;
}

.lbl-not-authenticated{
    font-family: "Titillium Web" !important;
}

.content-area.expanded {
  margin-left: 0;
}

.toggle-btn {
  position: fixed;
  left: 260px;
  cursor: pointer;
  color: black;
  border: none;
  padding: 0 5px;
  border: 2px solid black;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.toggle-btn.collapsed {
  left: 10px;
}

.btn-logout {
  top: 15px;
  right: 40px;
  position: fixed;
  text-decoration: none;
  color: black;
}

#loadingSpinner {
  z-index: 9999;
  margin-left: 25px;
}

.spinner {
  border: 8px solid #f3f3f3; /* Light gray */
  border-top: 8px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 25px;
  height: 25px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
