h1 {
  font-family: "DM Serif Display", serif;
  font-size: 54px;
}

h2 {
  font-family: "Albert Sans", sans-serif;
  font-size: 42px;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

h2 {
  font-family: "Albert Sans", sans-serif;
  font-size: 42px;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}


h3 {
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: 30px;
  font-weight: 300;
  font-style: normal;
}

h4 {
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: 22px;
  font-weight: 300;
  font-style: normal;
}

h5 {
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  font-weight: 300;
  font-style: normal;
}

.nav-item {
  font-family: "DM Serif Display", serif;
  font-size: 18px;
  margin: 0px 10px 0px 10px
}

.dropdown-item {
  font-family: "Albert Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
}

body {
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  display: flex;
  background: rgba(248, 249, 250, .1);
  /* background: white; */
}

.member-contacts-table th {
  text-align: left;
}

.member-contacts-table th, td {
  padding: 5px;
}

.member-contacts-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

.btn, .btn-primary, .btn-primary-vnote {
  font-family: "Albert Sans", sans-serif;
  background-color: #2c1561 !important;
  border-color: black !important;
  border-radius: 10px !important;
  border-style: solid !important;
  border-width: 1px !important;
}


.btn-primary:hover {
  color: white;
  background-color: rgb(238, 221, 247);
  border-color: black !important;
  font-weight: bold;
}

.btn-primary:active, .btn-primary:active:focus {
  color: black !important; 
  background-color: rgb(238, 221, 247) !important; 
  border-color: black !important;
  font-weight: bold;
  border-style: solid !important;
  outline: none !important;
}

.account-button {
  font-family: "Albert Sans", sans-serif;
  background-color: #2c1561 !important;
  color: white !important;
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 14px;
  text-align: center;
  border-radius: 50%;
  height: 45px;
  width: 45px;
  border-width: 1px;
}

.account-button:hover {
  color: white;
  background-color: rgb(238, 221, 247);
  font-weight: bold;
}

.account-button:active, .account-button:focus {
  color: black !important; 
  background-color: rgb(238, 221, 247) !important; 
  font-weight: bold;
  border-style: solid !important;
  outline: none !important;
}

/* Blur */
.shape {
  margin: 0 auto;
  aspect-ratio: 1;
  position: relative;
  --width: 100%;
  --scale: 1;
  --opacity: 0.66;
  --top: 0;
  --left:0;
  --path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  --background: linear-gradient( #802a88, #9a26d1, #9b1561, #f37037, #ebf2fa);
  --offset: 0deg;
  --speed: 8000ms;
  clip-path: var(--path);
  background: var(--background);
  scale: var(--scale);
  opacity: var(--opacity);
  width: var(--width);
  top: var(--top);
  left: var(--left);
  rotate: var(--offset);
  mix-blend-mode: difference;
  animation: turn var(--speed) linear forwards infinite;
}

@keyframes turn {
  to {
      rotate: calc( var(--offset) + 1turn);
  }
}

.blur-container {
  --blur: 40px;
  filter: blur(var(--blur));
  height: 100vh;
  width: 100%;
  /* display: grid; */
  overflow: hidden;
}

.blur-container > * {
  grid-column: 1/-1;
  grid-row: 1/-1;
}

/* Date picker */
.datepicker-days th, .datepicker-months th, .datepicker-years th {
  font-family: "Albert Sans", sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.datepicker table tr td, .datepicker table tr td:hover, .datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
  font-family: "Albert Sans", sans-serif;
  font-size: 14px;
}

.datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover {
  font-family: "Albert Sans", sans-serif;
  font-size: 14px;
  font-weight: bold;
  background-color: #4b1d70 !important;
  color: white;
  background-image: none !important; 
}

.datepicker table tr td.today, .datepicker table tr td.today:hover, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover {
  font-family: "Albert Sans", sans-serif;
  font-size: 14px;
  font-weight: bold;
  background-color: rgb(238, 221, 247) !important;
  background-image: none !important;
}

#chatPopup {
  width: 300px;
  height: 400px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: 1px solid #ccc;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  display: none; /* Initially hidden */
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000; /* Ensure it's on top of other elements */
}

#chatbox {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #ccc transparent; /* Scrollbar color for Firefox */
}

.message {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.message img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.user {
  flex-direction: row-reverse; /* Ensure the user's message aligns right */
}

.user {
  color: #666666
}

#inputContainer {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ccc;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

input[type="text"] {
  flex: 1;
  padding: 5px;
}

button {
  padding: 5px 10px;
}

/* The button that opens the chat */
#chatToggleBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding-top: 10px;
  padding-right: 0px;
  padding-bottom: 10px;
  padding-left: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 1001; /* Above the chat popup */
  overflow: hidden;
}

/* Hover effect for the chat toggle button and minimize button */
#chatToggleBtn:hover {
  transform: scale(1.02); /* Adds a bold effect by scaling the icon */
}

/* Minimize button inside chat window */
#minimizeBtn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#minimizeBtn:hover {
  transform: scale(1.2); /* Adds a bold effect by scaling the icon */
}


#expandBtn {
  position: absolute;
  top: 15px;
  right: 45px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}


#expandBtn:hover {
    transform: scale(1.2); /* Adds a bold effect by scaling the icon */
  }

/* Loader/Typing indicator animation for "..." moving effect */
.typing-indicator {
  display: inline-block;
  position: relative;
  width: 30px;
}

.typing-indicator div {
  display: inline-block;
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #666; /* Color of the typing dots */
  animation: typing 1.2s infinite;
}

.typing-indicator div:nth-child(1) {
  left: 0;
  animation-delay: 0s;
}

.typing-indicator div:nth-child(2) {
  left: 8px;
  animation-delay: 0.2s;
}

.typing-indicator div:nth-child(3) {
  left: 16px;
  animation-delay: 0.4s;
}

@keyframes typing {
  0% {
      transform: scale(0.5);
      opacity: 0.5;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

@media (min-width: 1200px) {
  .container {
      min-width: auto !important;
      width: auto !important;
  }
}

/* Sidebar */
.sidebar {
  height: 100vh;
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #f8f9fa;
  padding-top: 20px;
  overflow: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar a {
  padding: 10px 15px;
  text-decoration: none;
  font-size: 16px; /* was 16px */
  color: #666666;
  /* display: block; */
  display: flex;
  align-items: left;
}

.nav-img {margin: 0px 10px 0px 0px !important;; 
          width:10% !important;}

.sub-menu-nav {
  font-family: "Albert Sans", sans-serif;
  font-weight: bold; 
  padding: 15px 15px 5px 15px; 
  font-size: 12px; /* was 12px */
}

.sidebar a:hover {
  background-color: #ddd;
}

.sidebar a.selected {
  background-color: rgb(238, 221, 247);
  color: black;
  font-weight: bold;
}

.sidebar img {
  display: block;
  margin: 0 auto 15px auto;
  width: 200px;
  pointer-events: none !important;
}

.content {
  margin-left: 250px;
  padding: 20px;
  width: 100%;
}

.clearChatBtn {
  background-color: rgb(238, 221, 247); 
  text-align: left;
  border: none; 
  cursor: pointer; 
  font-size: 14px; 
  color: black; 
  border-radius: 10px;
  border-width: 1px;
  border-style: solid;
  font-weight: bold;}

  .clearChatBtn:hover {
    transform: scale(1.02); /* Adds a bold effect by scaling the icon */
  }




  .tool-icon {text-decoration: none !important;}

  .tool-icon:hover {
    transform: scale(1.02); 
    /* background-color: rgba(238, 221, 247, 0.2);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    border-radius: 20px; */
  }

  .tool-img {display:block; align-content:center; width: 50px;margin-left: auto; margin-right: auto;}

  .tool-div {display:flexbox; align-items: center; text-align: center; width: 200px}


.form-check-label {font-weight: normal !important;}



/* Add this CSS in your stylesheet or modify existing spinner styles */

.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3); /* Light grey with opacity */
  border-top: 4px solid #ffffff; /* White */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Doc writer page */
.doc-writer-container, .doc-writer-container-question {
  max-width: 80vw;
  margin: 0 auto;
  margin-bottom: 25px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.doc-writer-container-question {
  background: #fffcf3
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

span:empty::before {
  content: attr(data-placeholder);
  display: block;
  height: 100%;
  color: #00000066;
  cursor: text;
  }

.doc-select, .doc-textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
