@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-wght.ttf') format('truetype');
  font-weight: 100 900; /* For variable weight fonts */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist-Mono';
  src: url('../fonts/GeistMono-wght.ttf') format('truetype');
  font-weight: 100 900; /* For variable weight fonts */
  font-style: normal;
  font-display: swap;
}

/* Minimalist Scrollbar for Dark Theme */

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--app-scroll-thumb) var(--app-scroll-track);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--app-scroll-track);
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--app-scroll-thumb);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--app-scroll-thumb-hover);
}

/* For horizontal scrollbars */
*::-webkit-scrollbar-corner {
  background: var(--app-scroll-track);
}


body {
  font-family: 'Geist-Mono', monospace;
  background-color: var(--app-body-bg);
  color: var(--app-text-primary);
}

header,
footer {
  background-color: var(--app-header-bg);

}

.housingX {
  font-size: .8rem;
}

.housedX {
  font-size: .6rem;
  color: var(--bs-success-text-emphasis);
}

.form-label {
  margin-bottom: 0;
}

.alert-dismissible {
  margin: 0px;
  cursor: pointer;
}

.squarePhotoAlbum {

}

.squarePhotoAlbum .albumImageContainer {


}

.squarePhotoAlbum .albumImageContainer img {
  width: 90px;
  height: 90px;
  border-radius: 10%;
  margin: .5rem;
  border: solid black;
}

.albumContainer {
  flex-wrap: wrap;
  display: flex;
  gap: 1rem;
}

.accordion-header button.accordion-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.accordion-item.breed .albumContainer {
  display: flex;
}

.accordion-item.breed .albumImageContainer img {
  display: block;
  width: 40px;
  height: 40px;
}

.accordion-item.breed .albumContainer .albumImageContainer {
  display: flex;
  align-items: center;
  gap: .5rem;
  height: fit-content;
}

.accordion-item.breed .albumContainer .albumImageContainer > div:first-of-type {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.accordion-item.breed .albumContainer .albumImageContainer > div:nth-of-type(2) {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}


.accordion-item.breed .albumContainer .albumImageContainer > div:first-of-type > span:nth-of-type(1) {
}

/*pathological etc etc*/
.accordion-item.breed .albumContainer .albumImageContainer > div:first-of-type > span:nth-of-type(2) {
  font-size: .75em;
  color: var(--bs-gray-600);
}

.accordion-item.breed .albumImageContainer img {
}

.albumImageContainer.inactive {
  opacity: 0.8;
  border: solid 2px #ff4b4b;
}

.albumImageContainer {
  border: solid black 3px;
  border-radius: 4px;
  /*padding: 6px;*/
  background-color: #59595924;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-wrap: wrap;
  text-align: center;
  justify-items: center;
}

.albumImageContainer:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}


.albumImageContainer img {
  display: block;
  width: 150px;
  /*margin: .5rem .5rem 0 .5rem;*/
  /*border: solid black 3px;*/
}

.albumImageContainer img {
}

.swipe .albumImageContainer img {
  max-height: unset;
}

.albumImageContainerFooter {
  display: flex;
}

.albumImageContainerFooter > div {
  display: block;
  width: 100%;
  height: 100%;
  display: inline-grid;
}

.albumImageContainerFooter > div a,
.albumImageContainerFooter > div button {
  padding: 0;
  margin: 0 !important;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.albumImageContainer > div a {
  color: unset;
  text-decoration: none;
}

.albumImageContainer > div a:hover {
  font-weight: bold;
}


.albumImageContainer.inactive {
  opacity: 0.6;
  border: solid 2px #ff4b4b;
}

.albumImageContainer.inactive button,
.albumImageContainer.inactive a {
  pointer-events: none;
  cursor: not-allowed;
}

.accordion-item.breed .albumImageContainer img {
  width: 50px !important;
  height: 50px !important;
}

ul.tree-view {
  font-size: 8px;
  padding: 6px;
}

ul.tree-view li {
  list-style-type: none;
}

ul.tree-view ul {
  /* margin-top: 3px; */
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px dotted grey;
}

ul.tree-view ul > li {
  position: relative
}

ul.tree-view ul > li:before {
  content: "";
  display: block;
  position: absolute;
  left: -16px;
  top: 6px;
  width: 12px;
  border-bottom: 1px dotted grey
}

.tree-view summary span:first-of-type {
  margin-right: .5rem;
}

.tree-view summary button {
  /*background: green;*/
  /*outline: solid darkgreen 1px;*/

  border: none;
  /* border-radius: 50%; */
  width: 8px;
  height: 8px;
  line-height: 0;
  padding: 0;
  margin: 0;
}

.modal-body form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list-group-item {
  cursor: pointer;
}

.nested-list {
  margin-left: 1.25rem;
  border-left: 1px solid #dee2e6;
  padding-left: 0.75rem;
}

.collapse-icon {
  transition: transform 0.2s ease-in-out;
}

.collapsed .collapse-icon {
  transform: rotate(-90deg);
}

/*.list-level-0 { background-color: #f8f9fa; }*/
/*.list-level-1 { background-color: #e9ecef; }*/
/*.list-level-2 { background-color: #dee2e6; }*/
/*.list-level-3 { background-color: #ced4da; }*/
/*.list-level-4 { background-color: #adb5bd; }*/
/*.list-level-5 { background-color: #6c757d; color: white; }*/
/*.list-level-6 { background-color: #495057; color: white; }*/
/*.list-level-7 { background-color: #343a40; color: white; }*/


.details-panel {
  text-align: start;
  padding: .5rem;
}

/*profile picture image (rounded circly type thing)*/
.ppi {
  border-radius: 50%;
  border: 1.5px solid var(--bs-gray-900);
}

.todo {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-evenly;
}

.todo > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}


.todo > div > ul {
  list-style: none;
}

/*

.toggleOptionsBelow{
	cursor: pointer;
	position: relative;
}
.toggleOptionsBelow:before {
	position: absolute;
	cursor: pointer;
	width: 10px;
	height: 10px;
	left: 10px;>
	content: "";
	background: var(--bs-light-bg-subtle);
	align-self: anchor-center;
}*/

/* Dark mode select styling */
.form-select.optgrouppers {
  background-color: #1e1e2e;
  color: #cdd6f4;
  border: 1px solid #313244;
  border-radius: 6px;
  padding: 0;
  width: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #585b70 #1e1e2e;
}

/* Scrollbar styling for webkit browsers */
.form-select.optgrouppers::-webkit-scrollbar {
  width: 8px;
}

.form-select.optgrouppers::-webkit-scrollbar-track {
  background: #1e1e2e;
  border-radius: 4px;
}

.form-select.optgrouppers::-webkit-scrollbar-thumb {
  background: #585b70;
  border-radius: 4px;
}

.form-select.optgrouppers::-webkit-scrollbar-thumb:hover {
  background: #7f849c;
}

/* Options styling */
.form-select.optgrouppers option {
  background-color: #1e1e2e;
  color: #cdd6f4;
  padding: 8px 12px;
  border-bottom: 1px solid #313244;
}

.form-select.optgrouppers option:hover,
.form-select.optgrouppers option:focus {
  background-color: #313244;
}

/* Selected options */
.form-select.optgrouppers option:checked {
  color: var(--bs-success-text-emphasis);
  filter: brightness(1.25);
}

/* Toggle indicator styling */
.toggleOptionsBelow {
  cursor: pointer;
  position: relative;
  background-color: #313244 !important;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.toggleOptionsBelow:hover {
  background-color: #45475a !important;
}

.toggleOptionsBelow:before {
  position: absolute;
  cursor: pointer;
  content: "▶";
  width: 10px;
  height: 10px;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #89b4fa;
  font-size: 10px;
  transition: transform 0.2s ease;
}

/* Indicator for expanded state - applied via JavaScript */
.toggleOptionsBelow.expanded:before {
  transform: translateY(-50%) rotate(90deg);
}

/* Disabled items styling with hierarchy colors */
.form-select.optgrouppers option[disabled] {
  opacity: 0.9;
  font-style: italic;
  background-color: #181825;
}

button.notifbtn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 0;
  border: 1px solid var(--app-notif-btn-border);
  background: var(--app-notif-btn-bg);
  color: var(--app-notif-btn-text);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}

button.notifbtn:before {
  content: attr(data-nr);
  display: none;

  position: absolute;
  top: -6px;
  left: -6px;

  align-items: center;
  place-content: center;

  width: 20px;
  height: 20px;

  font-size: 14px;

  background: var(--app-notif-badge-bg);
  color: var(--app-notif-badge-text);
  border-radius: 0;
  border: solid var(--app-notif-badge-border) 1px;
}

button.notifbtn.has-count:before {
  display: flex;
}

button.notifbtn:hover i {
  transform: scale(1.08);
}

button.notifbtn:hover {
  border-color: var(--app-notif-btn-hover-border);
  filter: brightness(1.08);
}

button.notifbtn:active {
  transform: translateY(1px);
}

#userManagement .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.headerMenuCounter {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: var(--app-notif-badge-text);
  background: var(--app-notif-badge-bg);
  border: 1px solid var(--app-notif-badge-border);
}

ul.notifstack {
  width: min(420px, calc(100vw - 1.5rem));
  padding: 0.4rem;
  z-index: 1050;
  max-height: min(68vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--app-notif-stack-bg);
  border: 1px solid var(--app-notif-stack-border);
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

ul.notifstack::-webkit-scrollbar {
  width: 10px;
}

ul.notifstack::-webkit-scrollbar-track {
  background: transparent;
}

ul.notifstack::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--app-accent-strong) 0%, var(--app-accent) 100%);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

ul.notifstack > li.notificationItem {
  padding: 0;
  border: 1px solid var(--app-notif-item-border);
  border-radius: 0;
  background: var(--app-notif-item-bg);
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

ul.notifstack > li.notificationItem:not(:first-of-type) {
  margin-top: 0.45rem;
}

ul.notifstack > li.notificationItem:hover {
  border-color: var(--app-notif-item-hover-border);
  background: var(--app-notif-item-hover-bg);
  transform: translateY(-1px);
}

ul.notifstack > li.notificationItem.is-seen {
  opacity: 0.72;
}

ul.notifstack > li.notificationSeeMoreItem {
  margin-top: 0.45rem;
  border: 1px solid var(--app-notif-item-border);
  background: var(--app-notif-item-bg);
}

.notificationSeeMoreLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  color: var(--app-accent);
  text-decoration: none;
  font-weight: 700;
}

.notificationSeeMoreLink:hover {
  text-decoration: underline;
  background: var(--app-notif-item-hover-bg);
}

.notificationType {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--app-notif-stack-border);
  color: var(--notif-type-color, #6ea8fe);
  font-size: 0.8rem;
  font-weight: 700;
}

.notificationTypeDot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(110, 168, 254, 0.14);
}

.notificationTypeContactIcon {
  margin-left: auto;
  color: var(--app-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.notificationContent {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--app-notif-divider);
  color: var(--app-notif-text);
  line-height: 1.35;
  font-size: 0.9rem;
  white-space: normal;
}

.notificationMeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  border-bottom: 1px solid var(--app-notif-divider);
  font-size: 0.75rem;
  color: var(--app-notif-muted);
}

.notificationMetaFrom {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.notificationMetaFrom a {
  font-weight: 700;
  text-decoration: none;
}

.notificationMetaFrom a:hover {
  text-decoration: underline;
}

.notificationMetaTime {
  color: var(--app-notif-time);
  text-align: right;
}

.notificationActions {
  display: flex;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  background: var(--app-notif-action-bg);
}

.notificationActions form {
  flex: 1;
}

.notificationActions .buttonpx {
  width: 100%;
  height: 30px;
  line-height: 0;
}

.toast-container {
  /*right: 0;*/
  /*bottom: 2rem;*/
  justify-self: anchor-center;
}

.conversationManagerPage {
  color: var(--app-text-primary);
}

.conversationManagerShell {
  background: linear-gradient(180deg, var(--app-surface-1) 0%, var(--app-surface-2) 100%);
  border: 1px solid var(--app-border);
  border-radius: 0;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--app-body-bg) 58%, transparent);
  padding: 1rem;
}

.conversationManagerHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.conversationManagerHeader h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.conversationManagerSubtitle {
  color: var(--app-text-muted);
  font-size: 0.86rem;
}

.conversationCompanyPicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.conversationCompanyItem {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--app-border);
  background: var(--app-surface-2);
  padding: 0.3rem 0.35rem 0.3rem 0.45rem;
  transition: filter 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.conversationCompanyItem:hover {
  border-color: var(--app-border-strong);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.conversationCompanyItem.is-active {
  border-color: var(--app-accent);
  background: color-mix(in srgb, var(--app-accent) 22%, var(--app-surface-2));
}

.conversationCompanyChip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.1rem 0.2rem 0.1rem 0.05rem;
  color: var(--app-text-primary);
  flex: 1;
}

.conversationCompanyNameLink {
  color: var(--app-text-primary);
  text-decoration: none;
}

.conversationCompanyNameLink:hover {
  color: var(--app-text-primary);
  text-decoration: underline;
}

.conversationCompanyUnreadBadge {
  margin-left: 0.2rem;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #dc3545;
  border: 1px solid #5a1118;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.conversationCompanyCounters {
  margin-left: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.conversationCompanyContactBadge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #2f86ff;
  border: 1px solid #0f3f88;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  cursor: pointer;
  text-decoration: none;
}

.conversationCompanyContactBadge:hover {
  color: #fff;
  filter: brightness(1.08);
}

.conversationCompanyImageLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.conversationCompanyImageLink img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--app-border-strong);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.conversationCompanyImageLink:hover img {
  border-color: var(--app-accent);
  transform: scale(1.04);
}

.conversationManagerEmpty {
  border: 1px dashed var(--app-border-strong);
  background: var(--app-surface-2);
  color: var(--app-text-secondary);
  padding: 0.85rem;
  margin-top: 0.4rem;
}

.companyAnimalsTotalContactsBadge {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  color: #fff;
  background: #2f86ff;
  border: 1px solid #0f3f88;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.companyAnimalsAccordionButton .companyAnimalsTotalContactsBadge {
  margin-left: auto;
}

.companyAnimalsAccordionButton::after {
  margin-left: 0.5rem;
}

.conversationTable .conversationCellPrimary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.conversationTable .conversationCellPrimary img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.conversationLastMessage {
  display: inline-block;
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--app-text-secondary);
}

.conversationUnreadBadge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #ff4d4c;
  border: 1px solid #370a0a;
}

.conversationUnreadPair {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.conversationContactBadge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #2f86ff;
  border: 1px solid #0f3f88;
}

.conversationContactBadge i {
  font-size: 0.65rem;
}

.geoPathToken {
  display: inline-flex;
  align-items: center;
  background: #10253d;
  border: 1px solid #2d5f9e;
  color: #dbe8fa;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.2;
}

.geoPathSeparator {
  color: #8eb7e7;
  font-size: 0.76rem;
  opacity: 0.8;
}

.geoPathLevel-planet {
  background: #1a3552;
}

.geoPathLevel-continent {
  background: #17324d;
}

.geoPathLevel-subcontinent {
  background: #14304a;
}

.geoPathLevel-country {
  background: #112a43;
}

.crVisitPanel {
  background: linear-gradient(180deg, #0f1a2a 0%, #101d30 100%);
  border: 1px solid #29496f;
  border-radius: 0;
  padding: 0.75rem;
  text-align: left;
  position: sticky;
  top: 0.8rem;
}

.crVisitPanelTitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: #dce9fb;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.crVisitList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crVisitList li {
  background: #111d2f;
  border: 1px solid #2b4a72;
  padding: 0.5rem;
}

.crVisitUser {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.crVisitUsername {
  font-weight: 700;
  font-size: 0.86rem;
}

.crVisitTime {
  margin-top: 0.2rem;
  display: block;
  color: #96b2d5;
  font-size: 0.74rem;
}

.crVisitEmpty {
  border: 1px dashed #2f4f76;
  background: #111d2f;
  color: #93afd1;
  padding: 0.65rem;
  font-size: 0.85rem;
}

.crViewer {
  background: linear-gradient(180deg, #0f1a2a 0%, #101d30 100%);
  border: 1px solid #29496f;
  border-radius: 0;
  padding: 16px;
  color: #f0f4fb;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.crViewerTitle {
  border-bottom: 1px solid #2a4b73;
  padding-bottom: 12px;
  margin-bottom: 12px;
  grid-template-columns: 1fr 1fr 1fr;
}

.crViewerTitle span {
  font-weight: 600;
  font-size: 0.85rem;
}

.crViewerTitle img {
  border: 1px solid #2f5179;
}

.crViewerMeta {
  color: #91afd2;
  font-size: 0.84rem;
  margin-bottom: 0.65rem;
}

.crViewerChats {
  max-height: 430px;
  overflow-y: auto;
  padding: 8px 4px;
  margin-bottom: 10px;
  background: #0d1828;
  border: 1px solid #263f60;
}

.crViewerChats ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crViewerChats li {
  max-width: min(82%, 680px);
  border-radius: 0;
  font-size: 0.92rem;
  word-wrap: break-word;
  line-height: 1.45;
}

.crViewerChats li .messageBubble {
  border: 1px solid #2b4f78;
  padding: 0.58rem 0.7rem 0.5rem;
}

.crViewerChats li .messageText {
  display: block;
}

.crViewerChats li .messageTime {
  margin-top: 0.34rem;
  display: block;
  font-size: 0.72rem;
  color: rgba(219, 232, 250, 0.72);
  text-align: right;
}

/* Message from the current user */
.crViewerChats li.requereer {
  align-self: flex-end;
  text-align: left;
}

.crViewerChats li.requereer .messageBubble {
  background: #1f4f84;
  border-color: #35679d;
}

/* Message from the Company */
.crViewerChats li.company {
  align-self: flex-start;
  text-align: left;
}

.crViewerChats li.company .messageBubble {
  background: #1a2c43;
  border-color: #2f5179;
}


.crViewerMessage {
  background: #101d30;
  border-top: 1px solid #29496f;
  padding-top: 10px;
}

.crViewerMessage textarea.form-control {
  background: #0b121d;
  border: 1px solid #29496f;
  color: #f0f4fb;
  border-radius: 0;
}

.crViewerMessage textarea.form-control:focus {
  box-shadow: none;
  border-color: #7cb4ff;
}

.crViewerMessage textarea::placeholder {
  color: #8eaed5;
}

.crViewerMessage .crSendButton {
  border: 1px solid #2f5179;
  background: #173252;
  color: #dce9fb;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0;
}

.crViewerMessage .crSendButton:hover {
  filter: brightness(1.1);
}

.crViewerMessage .crSendButton i {
  font-size: 1.2rem;
}


.user-card {
  width: 80px;
  height: 100px;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 5px;
  margin: 5px;
  background: white;
  cursor: grab;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 0.8rem;
}

.user-card:active {
  cursor: grabbing;
}

.user-card.dragging {
  opacity: 0.5;
  transform: rotate(5deg);
}

.user-card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.role-zone {
  min-height: 200px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 15px;
  margin: 10px 0;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.role-zone.drag-over {
  border-color: #007bff;
  background: #e3f2fd;
  border-style: solid;
}

.role-zone h5 {
  margin-bottom: 15px;
  padding: 8px 12px;
  border-radius: 5px;
  color: white;
  text-align: center;
}

.users-pool {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
}

.role-users-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.remove-user-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dc3545;
  color: white;
  border: none;
  font-size: 12px;
  display: none;
}

.user-card:hover .remove-user-btn {
  display: block;
}

.primary-role-indicator {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 20px;
  height: 20px;
  background: #ffc107;
  color: #000;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-card {
  position: relative;
}

.grid-tpc3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

[data-static-text] {
  outline: dashed yellow 0.5px;
}

[data-text-without-key] {
  border-bottom: dashed red 1px;
}

.buttonrow {
  display: flex;
  padding: 0px 5px 15px 0px;
  gap: 1rem;
  justify-content: space-between;
}

.modal-content > form > .modal-body {
  /* outline: dashed red 2px; */
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content > form > .modal-body > div:has(label) {
  /* outline: dashed green 1px; */
  text-align: left;
}
