@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --sidebar-width: 80px;
}

.text-primary {
  color: #4646aa !important;
}

.btn-primary {
  background-color: #4646aa !important;
  border: #4646aa !important;
}

.icon {
  filter: brightness(0) invert(1);
  width: 35px;
  height: auto;
}

body {
  margin: 0;
  background-color: #eef0fb;
  font-family: "Inter", sans-serif;
  color: #2c2b3d;
}

.sidebar {
  width: var(--sidebar-width);
  background-color: #2f2d52;
  color: white;
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.icon-btn {
  padding: 8px 0;
  text-align: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content {
  margin-left: var(--sidebar-width);
  height: 100vh;
  background-color: #f2f4ff;
}

.icon-btn {
  font-size: 1.5rem;
  color: white;
  margin: 1rem 0;
  text-decoration: none;
}

.profile img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid white;
}

.profile-name {
  font-size: 0.605rem;
  margin-top: 0.5rem;
  text-align: center;
}

.member-name {
  font-size: 20px;
  line-height: 1.2;
  text-decoration: none;
}

button.btn {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}

button.btn img {
  max-width: 24px;
}

.header {
  background-color: #ecedf4;
}

h4 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: #2c2b3d;
}

small.text-muted {
  font-size: 14px;
}

.chat-left-menu {
  padding-left: 1.5rem !important;
  padding-right: 2.5rem !important;
  padding-top: 1.5rem !important;
  border-top-right-radius: 63px;
  background-color: #484872 !important;
}

.initials {
  font-size: 18px;
  line-height: 1.2;
}

.chat-member-name {
  font-size: 16px;
  color: #eeeeee !important;
}

.remove-chat-icon img {
  width: 15px;
}

.remove-chat-icon {
  width: 90px;
  align-items: center;
}

.search-chat {
  position: relative;
}

.search-chat input {
  padding: 15px 35px 15px 40px;
  background-color: #494572;
  color: #fff;
}

.search-chat::after {
  content: " ";
  background-image: url(../images/search-members.png);
  display: block;
  height: 30px;
  width: 30px;
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 5px;
}

.search-chat::before {
  content: " ";
  background-image: url(../images/search.png);
  display: block;
  height: 25px;
  width: 25px;
  position: absolute;
  z-index: 1;

  top: 12px;
  right: 9px;
}

.search-chat input::placeholder {
  color: #fff !important;
  font-weight: 700;
  font-size: 18px;
}

.chat-history-date {
  font-family: Inter;
  font-weight: 400;
  font-size: 14px;
  color: #6e6e6e;
  border-bottom: 1px solid #5e5e5e;
  padding-bottom: 10px;
  text-align: center;
}

.chat-time {
  font-family: Inter;
  font-weight: 400;
  font-size: 11px;
  float: right;
  margin-top: 11px;
  margin-left: 12px;
}

.mb-3.chat-individual-container {
  position: relative;
}

.chat-content-initials {
  position: absolute;
  top: 25px;
  font-size: 13px;
}

.chat-details {
  padding-left: 45px;
}

.chat-details small.text-muted {
  margin-bottom: 5px !important;
  display: block;
}

.chat-sent-inputs button.btn {
  background-color: #eceef5 !important;
  border: 1px solid #4040a1 !important;
  left: -3px;
  border-left: 0px !important;
  background-image: url(../images/send.png);
  background-repeat: no-repeat;
  background-position: center center;
  width: 60px;
}

.chat-sent-inputs input.form-control {
  border: 1px solid #4040a1;
  border-radius: 5px !important;
  background-color: #eceef5;
  padding: 12px 15px;
}

.chat-sent-inputs input::placeholder {
  color: #9c9c9c !important;
  font-weight: 400;
  font-size: 18px;
}

.chat-page {
  background-color: #ecedf4;
}

.chat-btn-wrap button.btn {
  background-color: #d7dcee !important;
  width: 40px;
  height: 40px;
  padding: 5px !important;
  margin-left: 10px;
}

.chat-btn-wrap button.btn img {
  max-width: 30px;
  max-height: 30px;
}

.user-profile {
  background-color: #eceef5;
  border-radius: 5px;
  width: 270px;
}

h6.profile-head-title {
  font-weight: 500;
  font-size: 18px;
  color: #2c2b3d;
}

.change-profile .btn {
  font-size: 14px;
  color: #3e3e42;
}

button.btn.submit-btn {
  border: 1px solid #4646aa !important;
  background-color: #4646aa !important;
  border-radius: 5px;
  font-size: 16px;
  color: #fff !important;
  padding: 7px;
}

.user-info-form input,
.user-info-form select {
  border: 1px solid #4646aa;
  padding: 5px 7px;
  border-radius: 5px;
}

.user-info-form input::placeholder {
  font-family: Inter;
  font-weight: 400;
  font-size: 14px;
  color: #3e3e42;
}

.card-footer {
  padding-bottom: 1rem;
}

#search-results {
  max-height: 200px;
  overflow-y: auto;
}

.sidebar.chat-sidebar {
  background-color: #484872 !important;
  border-top-right-radius: 0px;
}

.chat-sidebar-member {
  border-bottom: 1px solid #eeeeee;
}

.chat-message-container,
.chat-form {
  background-color: #f2f4ff !important;
}

.chat-send-input {
  border: 1px solid #4040a1;
  border-radius: 5px;
  font-family: Inter;
  font-weight: 400;
  font-size: 18px;
  color: #9c9c9c;
}

.company-logo,
.initials {
  width: 70px;
  height: 70px;
}

.company-logo {
  background-color: #eceef5 !important;
}

.company-details,
.member-details {
  width: calc(100% - 115px - 1.5rem);
}

.icon-primary-btn {
  background-color: #4646aa;
}

.card {
  border-radius: 0px;
  border-top-right-radius: 25px;
}

.modal-header {
  background-color: #eceef5;
}

.btn-outline-primary,
.btn-outline-primary:hover {
  color: #4646aa !important;
  border: 2px solid #4646aa !important;
  background-color: transparent !important;
}

.modal-title {
  font-family: Inter;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  color: #2c2b3d;
}

.learn-more {
  background-color: transparent !important;
  font-family: Inter;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  color: #2c2b3d;
}

.nav-tabs {
  z-index: 11;
  border-bottom: 1px solid #c1c1c1;
  padding: 12px 0px 0px 15px;
}

.nav-tabs .nav-link {
  border: 0;
  font-family: Inter;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  text-transform: capitalize;
  color: #888;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link.hover {
  background-color: transparent;
  color: #4646aa;
  border-bottom: 2px solid #4646aa;
}

.nav-tabs li.nav-item button {
  border-radius: 0px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.nav-tabs li.nav-item:last-child button {
  border-right: 0px !important;
}

.card-hover-zoom {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  cursor: pointer;
}

.card-hover-zoom:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.icon-btn {
  margin: 8px 0;
  width: 50px;
  border-radius: 10px;
  transition: background-color 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.icon-btn.active {
  background-color: #ffffff33;
  /* semi-transparent white highlight */
}

.icon {
  width: 24px;
  height: 24px;
}

.user-chat-box,
.ai-chat-box {
  max-width: calc(100% - 50px);
  width: fit-content;
  min-width: 110px;
}

.user-chat-box {
  margin-left: auto;
}

.ai-chat-box {
  margin-right: auto;
}

.add-user-btn button,
.add-user-btn a {
  color: #fff;
  padding: 8px 15px !important;
  display: inline-block;
  border-radius: 10px;
  margin-top: 10px;
  text-decoration: none;
}

.modal-dialog.modal-lg {
  max-height: calc(100vh - 3.5rem);
}

.modal-content {
  max-height: calc(100vh - 3.5rem);
}

.scroll-popup-body {
  max-height: calc(100vh - 9.5rem - 72px);
  overflow: auto;
  margin-bottom: 10px;
}

.context-profile {
  display: none;
}

.form-check-input:checked+label+.context-profile {
  display: block;
}

.form-check {
  margin-bottom: 0.75rem;
}

a.download-img-icon {
  background-image: url(../images/down-arrow-fill.png);
  margin-left: -42px;
  margin-top: 5px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.2s linear;
}

.creative-img-wrap>img:hover+a.download-img-icon,
.download-img-icon:hover {
  visibility: visible;
  opacity: 1;
}

.file-card {
  width: 120px;
  height: 140px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.filename-wrapper {
  max-width: 100px;
  /* or set based on your layout */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.company-content {
  max-height: 100px;
  overflow: auto;
}

.table thead tr th {
  background-color: #4646aa;
  color: #fff;
}

button#sendBtn.btn.disabled,
button#sendBtn.btn:disabled,
fieldset:disabled button#sendBtn.btn {
  background-color: #4646aa;
  border: 1px solid #4646aa;
}

.btn.bg-\[\#D7DCEE\] {
  background-color: rgb(215 220 238 / var(--tw-bg-opacity, 1)) !important;
  border-color: #4646aa !important;
}

.btn.text-\[\#4646AA\] {
  color: rgb(70 70 170 / var(--tw-text-opacity, 1)) !important;
}

div#chatMessages {
  position: relative;
}

.please-wait {
  opacity: 0.8;
  left: 50%;
}

.btn.btn-danger {
  background-color: #c85454;
  border: 1px solid #c85454;
}