body {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.header-bar {
  background-color: #a81010;
}

.header-search-icon {
  position: relative;
  text-decoration: none;
}

.header-chat-icon {
  cursor: pointer;
  position: relative;
}

.avatar-tiny {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  margin-right: 4px;
  position: relative;
  top: -1px;
}

/* Avatar styles */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  overflow: hidden;
  position: relative;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

/* Remove border and box-shadow for group avatars */
.avatar.avatar-group {
  border: none !important;
  box-shadow: none !important;
}

.avatar-group-container {
  display: flex;
  align-items: center;
}

.avatar-group .avatar {
  transition: transform 0.2s;
}

.avatar-group .avatar:hover {
  transform: translateY(-5px);
  z-index: 10 !important;
}

/* Avatar sizes */
.avatar-sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.avatar-md {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.avatar-lg {
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.avatar-xl {
  width: 64px;
  height: 64px;
  font-size: 26px;
}

/* User avatar (circle) */
.avatar-user {
  border-radius: 50%;
  overflow: hidden;
}

/* Group avatar (triangle) */
.avatar-group {
  /* Reset all properties that might cause the square background */
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  
  /* Set dimensions */
  width: var(--avatar-size, 40px) !important;
  height: var(--avatar-size, 40px) !important;
  
  /* Position for content */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  
  /* Use clip-path for the triangle shape */
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
  -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
  
  /* Set background color */
  background-color: var(--avatar-color, #6c757d) !important;
}

/* For browsers that don't support clip-path */
@supports not ((clip-path: polygon(50% 0%, 0% 100%, 100% 100%)) or (-webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%))) {
  .avatar-group {
    /* Fallback to border method */
    background-color: transparent !important;
    width: 0 !important;
    height: 0 !important;
    border-left: calc(var(--avatar-size, 40px) / 2) solid transparent !important;
    border-right: calc(var(--avatar-size, 40px) / 2) solid transparent !important;
    border-bottom: var(--avatar-size, 40px) solid var(--avatar-color, #6c757d) !important;
    padding-bottom: 0 !important;
  }
}

.form-control-title {
  font-size: 2rem;
  font-weight: 500;
}

.body-content {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #292929;
}

.input-dark {
  background-color: #444;
  border-color: transparent;
  color: #ffffff;
}

.input-dark:focus {
  color: #ffffff;
  background-color: #555;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.input-dark::placeholder {
  color: #888;
  opacity: 1;
}

.highlight-name {
  background-color: #ffc107;  /* Bootstrap warning color */
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Background color utilities */
.bg-indigo {
  background-color: #6610f2 !important; /* Bootstrap's indigo */
}

.bg-gray-800 {
  background-color: #343a40 !important; /* Bootstrap's gray-800 */
}

/* Optional: Add a subtle animation */
/* @keyframes highlight-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.highlight-name {
  animation: highlight-pulse 2s infinite;
} */
