@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap"); 

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
  'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
  monospace;
}

.columns-flex {
  display: flex;
  flex-direction: column;
}

.rows-flex {
  display: flex;
  flex-direction: row;
}

.app-content-page { 
  position: absolute;
  left: 59px;
  top: 0;
  display: flex;
  min-height: 100vh;
}

button {
  border: none;
}

.loading {
  width: 100px;
  height: 100px;
}

.discover-submenu {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
  width: 260px;
  height: 100%;
  border-right: 1px solid rgba(22, 24, 50, 0.2);
}

.discover-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 600px;
}

.solutions-submenu {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
  width: 241px;
  height: 100%;
  border-right: 1px solid rgba(22, 24, 50, 0.2);
}

.solutions-list {
  margin-left: 30px;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.solution-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 20px;
  margin-left: 30px;
  max-width: 650px;
  text-align: left;
}

.solution-list-item {
  display: flex;
  flex-direction: row;
  width: 918px;
  height: 79px;
  background: #FFFFFF;
  border: 1px solid rgba(22, 24, 50, 0.5);
  box-sizing: border-box;
  border-radius: 5px;
  align-items: center;
}

.solution-icon {
  width: 33px;
  height: 34px;
}

.bug-icon {
  width: 33px;
  background: url('/assets/bug-icon-B2alePBa.svg') no-repeat center center;
}

.enhancement-icon {
  width: 33px;
  background: url('/assets/enhancement-icon-DFDdNzTW.svg') no-repeat center center;
}

.feature-icon {
  width: 33px;
  background: url('/assets/feature-icon-CyzZwAAI.svg') no-repeat center center;
}

.solution-upvotes {
  width: 30px;
  border: 1px solid rgba(22, 24, 50, 0.3);
  border-radius: 5px;
  text-align: center;
  align-items: center;
  background: none;
  cursor: pointer;
}

.solution-name {
  flex-direction: column;
  width: 340px;
  margin-left: 15px;
  font-size: 0.75em;
  justify-items: center;
  align-items: flex-start;

 

}

.solution-name span {
  width: 100%;
}

.solution-name p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 40ch;
  margin: 0px;
}

.solution-name h3{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 20ch;
  margin: 0px;
}

.solution-thin-item {
  display: flex;
  flex-direction: column;
  width: 80px;
  font-size: 0.75em;
  align-items: center;
  text-align: center;
  white-space: pre;
}

.solution-medium-item {
  display: flex;
  flex-direction: column;
  font-size: 0.75em;
  width: 110px;
  align-items: center;
  text-align: center;
}

.solution-thin-item span:nth-of-type(1),
.solution-medium-item span:nth-of-type(1){
  font-weight: bold;
}

.solution-progress-icon {
  margin-left: 21px;
  width: 40px;
  height: 40px;
  background: rgba(252, 10, 10, 0.2);
  border: 1px solid #FC0A0A;
  box-sizing: border-box;
  border-radius: 20px;
}

.settings-submenu-item {
  margin-bottom: 15px;
}

.logoutButton {
  height: 32px;
  background-color: #161832;
  border-radius: 5px;
  color: #FFF;
  font-weight: bold;
  border: 0;
  cursor: pointer;
  margin-bottom: 20px;
}

.logoutButton:hover{
  color: #161832;
  background-color: #16183238;
}

.integrations {
  display: flex;
  flex-direction: column;
}

.integrations-list {
  display: flex;
  flex-direction: column;
}

.discover-search {
  display: flex;
  width: 85%;
  height: 30px;
  margin-top: 15px;
  margin-left: 15px;
  border: 1px #161832 solid;
  padding: 5px;
  color: #888888;
}

.discover-results {
  display: flex;
  width: 85%;
  margin-top: 15px;
  margin-left: 15px;
  flex-direction: column;
  padding: 5px;
}

.discover-item {
  border-bottom: 1px #888888 solid;
}

.save-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /*width: 220px;*/
  height: 32px;
  background-color: #161832;
  border-radius: 5px;
  color: #FFF;
  font-weight: bold;
  border: 0;
}

.epic-container {
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.issue-container {
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.checkmark {
  width: 15px;
  height: 15px;
  margin-left: 10px;
  margin-right: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(22, 24, 50, 0.5);
  box-sizing: border-box;
}

.break-flex-row {
  flex-basis: 100%;
  height: 0;
}

.jira-items-list {
  margin-top: 15px;
  max-width: 95%;
}

.jira-epic {
  width: 95%;
  height: 50px;
  min-width: 800px;
  margin-bottom: 5px;
  background: rgba(196, 196, 196, 0.2);
  padding: 0px;
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-content: center;
  align-items: center;
}

.jira-issue {
  width: 95%;
  height: 50px;
  margin-bottom: 5px;
  min-width: 800px;
  background: rgba(196, 196, 196, 0.2);
  padding: 0px;
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-content: center;
  align-items: center;
}

.epic-marker {
  width: 10px;
  height: 50px;
  margin-right: 15px;
  background: rgba(22, 24, 50, 0.6);
}

.issue-marker {
  width: 10px;
  height: 50px;
  margin-right: 15px;
  background: rgba(57, 76, 253, 0.28);
}

.epic-summary {
  font-size: 0.85em;
  width: 250px;
}

.issue-type {
  font-size: 0.75em;
  color: #161832;
  margin-left: 20px;
}

.issue-id {
  font-size: 0.75em;
  color: #161832;
  margin-left: 20px;
  color: #1627FD;
}

.issue-owner {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  margin-left: 20px;
  margin-right: 10px;
}

.epic-linked {
  margin-left: 20px;
  width: calc(100% - 20px);
  margin-top:5px;
}

.wizard-steps {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  width: 200px;
  height: 30px;
  justify-items: center;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.step {
  display: flex;
  width: 30px;
  height: 30px;
  background: #FFFFFF;
  border: 1px solid rgba(22, 24, 50, 0.3);
  box-sizing: border-box;
  border-radius: 15px;
  font-size: 0.85em;
  justify-items: center;
  justify-content: center;
  align-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.step-line {
  border-top: 1px solid rgba(22, 24, 50, 0.3);
  height: 1px;
  width: 105px;
  align-items: center
}

.wizard-next {
  position: absolute;
  right: 107px;
  top: 30px;
  width: 54px;
  height: 26px;
  font-size: 0.8em;
  align-self: end;
  background: #9beac2;
  border: 1px solid rgba(22, 24, 50, 0.5);
  box-sizing: border-box;
  border-radius: 5px;
  cursor: pointer;
}

.wizard-steps .selected {
  border: 3px solid #30F3DC;
}

.wizard-steps .selected {
  background: #30F3DC;
  border: 1px solid #30F3DC;
}

.issue-filters {
  border-bottom: 1px solid rgba(22, 24, 50, 0.3);
  width: 95%;
  margin-top: 45px;
  margin-bottom: 25px;
  padding-bottom: 10px;
  padding-top: 10px;

}

.selected {
  font-weight: 700 !important;
  color: rgba(22, 24, 50, 0.8) !important;
}

.preview-box {
  margin-top: 15px;
  /*width: 700px;*/
  /*border: 1px solid rgba(22, 24, 50, 0.3);*/
  box-sizing: border-box;
  border-radius: 5px;
  padding: 10px 10px;
  margin-bottom: 15px;
}

.preview-box div {
  margin-top: 10px;
  margin-bottom: 10px;
}

.preview-items {
  width: 150px;
}

.top-aligned {
  align-self: flex-start;
}

.issue-filters {

}

.issue-filter {
  margin-right: 30px;
}

.issue-type {
  width: 63px;
}

.issue-type-toggle {
  cursor: pointer;
}

.issue-properties {
  align-items: center;
  margin-bottom: 25px;
}

.issue-property {
  color: rgba(22, 24, 50, 0.6);
  text-align: center;
  font-size: 0.85em;
  width: 75px;
}

.issue-property:first-child {
  width: 280px !important;
  margin-left: 30px;
}

.common-row {
  /*align-items: center;*/
}

.common-row div {
  display: flex;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 5px;
  height: 32px;
  align-items: center;
}

.common-row .short {
  width: 32px;
}

.short {
  width: 32px;
}

.common-row img {
  padding: 0;
  margin: 0;
  width: 32px;
  height: 32px;
  border-radius: 16px;
}

.edit-button {
  display: flex;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUxMiA1MTIiIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB3aWR0aD0iNTEycHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnPjxwYXRoIGQ9Ik00MjIuOTUzLDE3Ni4wMTljMC41NDktMC40OCwxLjA5LTAuOTc1LDEuNjEyLTEuNDk4bDIxLjc3Mi0yMS43NzJjMTIuODgzLTEyLjg4MywxMi44ODMtMzMuNzcxLDAtNDYuNjU0ICAgbC00MC40MzQtNDAuNDM0Yy0xMi44ODMtMTIuODgzLTMzLjc3MS0xMi44ODMtNDYuNjUzLDBsLTIxLjc3MiwyMS43NzJjLTAuNTIzLDAuNTIzLTEuMDE4LDEuMDY0LTEuNDk4LDEuNjEzTDQyMi45NTMsMTc2LjAxOXoiIGZpbGw9IiMwMjAyMDIiLz48cG9seWdvbiBmaWxsPSIjMDIwMjAyIiBwb2ludHM9IjExNC4zMTcsMzk3LjY4NCAxNTcuMzE3LDQ0MC42ODQgMTA2LjY1OCw0NDguMzQyIDU2LDQ1NiA2My42NTgsNDA1LjM0MSA3MS4zMTYsMzU0LjY4MyAgIi8+PHBvbHlnb24gZmlsbD0iIzAyMDIwMiIgcG9pbnRzPSIzNDkuMTQzLDEyNS41MzUgMTE4Ljk4MiwzNTUuNjk0IDEwNi41NDEsMzQzLjI1MyAzMzYuNzAxLDExMy4wOTQgMzI0LjI2LDEwMC42NTMgODEuNjU5LDM0My4yNTMgICAgMTY4Ljc0Nyw0MzAuMzQxIDQxMS4zNDgsMTg3Ljc0ICAiLz48L2c+PC9zdmc+') no-repeat center center;
  background-size: 24px 24px;
}

.red {
  color: red;
}

.delete-button {
  display: flex;
  width: 24px;
  height: 24px;
  color: red;
  cursor: pointer;
  background-color: #FFF;
  align-items: center;
  font-weight: bold;
}

.create-solution-button {
  background: #9CEAC2 url('/assets/create-solution-button-CiQE3qrY.svg') no-repeat center center;
  width: 199px;
  height: 172px;
  border-radius: 5px;
  cursor: pointer;
}

/* loader */

.lds-ring {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 18px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 15px;
  height: 15px;
  margin: 2px;
  border: 2px solid #000;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #000 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.full-width {
  width: 100%
}

.left-menu {
  /* font-family: 'Inter'; */
  font-size: '200px'; 
  color: 'red';
}

.gutter {
  cursor: col-resize;
  position: relative;
}

.gutter.gutter-horizontal {
  width: 2px;
}

.gutter:hover {
  background-color: #5C5CEB; 
}

.gutter::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  right: -20px;
  bottom: 0;
  cursor: col-resize;
}

.mantine-Popover-dropdown {
  z-index: 99 !important;
}

/* end loader */
.columns-flex {
    sdisplay: flex;
    flex-direction: column;
}

.rows-flex {
    display: flex;
    flex-direction: row;
}

@keyframes loader-animation {
    0% {
        left: -100%;
    }
    49% {
        left: 100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}
.loader {
    height: 5px;
    width: -webkit-fill-available;
    overflow: hidden;
   
}
.loader.spaced{
    margin: 0 30px;
}
.loader .bar {
    position: relative;
    height: 5px;
    width: 100%;
    background-color: #9ceac3;
    animation-name: loader-animation;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.page-title {
    font-size: 1.6em;
    color: black;
    margin: 15px 15px;
    font-weight: bold;
}

.sort-options {
    margin-left: 15px;
}

.sort-options button {
    border: 1px darkgray solid;
    border-radius: 5px;
    padding: 5px;
    margin-left: 15px;
}
.sort-options button:hover {
    background-color: #eee;
}

.small-font {
    font-size: 0.75em;
}

.notification-content a, .notification-content a:visited, .notification-content a:hover, .notification-content a:active {
    color: #5B60E3 !important;
}.wizard-container {
    position: absolute;
    display: flex;
    z-index: 99;
    top: 50%;
    left: 50%;
    margin-left: calc(85vw / -2);
    margin-top: calc(85vh / -2);
    width: 85vw;
    height: 85vh;
    background-color: #FFFFFF;
    flex-direction: row;
    border-radius: 5px;
}

.wizard-left {
    width: 60%;
}
.wizard-right {
    width: 40%;
}


.overlay {
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    background-color: rgba(196, 196, 196, 0.6);
    width: 100vw;
    height: 100vh;
}

.title-field-input {
    width: -webkit-fill-available;
    font-size: 24px;
    font-weight: bold;
    height: 35px;
    margin-top: 15px;
}

.title-field {
    width: -webkit-fill-available;
    font-size: 1.5em;
    font-weight: bold;
    /*margin: 0 auto;*/
    margin-bottom: 10px;
    height: 35px;
    padding: 5px;
}

.wizard-title {
    width: 750px;
    margin-top: 35px;
    margin-left: 35px;
    height: 50px;
    border-bottom: 1px solid rgba(22, 24, 50, 0.5);
    padding-bottom: 15px;
}

.delete-solution-button {
    display: flex;
    margin-top: 25px;
    margin-right: 25px;
    height: 35px;
    border: 1px solid red;
    color: red;
    background: #fff;
    border-radius: 5px;
    padding: 5px 15px;
    margin-left: auto;
    cursor: pointer;
}
.delete-solution-button:hover {
    background: red;
    color: #fff;
}

.save-solution-button {
    display: flex;
    margin-top: 25px;
    margin-right: 25px;
    height: 35px;
    border: 1px solid #5C5CEA;
    color: #5C5CEA;
    background: #fff;
    border-radius: 5px;
    padding: 5px 15px;
    margin-left: auto;
    cursor: pointer;
}

.save-solution-button:hover {
    background: #5C5CEA;
    color: #fff;
}

.editorjs {
    margin-top: 15px;
    width: 750px;
    max-height: 500px;
    margin-left: 5px;
    overflow-y: hidden;
}
.wizard-content-row {
    padding: 4px;
}

.priority-select {
    margin-left: 10px;
    width: 150px;
}

.add-feedback-toggle {
    padding: 5px 10px;
    border: 1px #ccc solid;
    border-radius: 5px;
}

.item-title {
    font-weight: bold;

}

.feedback-textarea {
    width: 350px;
    margin-top: 5px;
    border: 1px #ccc solid;
    border-radius: 4px;
    padding: 5px;
}/* ——— Footer (search, what’s new, notifications, invite, profile) ——— */
.sidebar-footer-target {
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.15s ease;
  cursor: pointer;
  flex-shrink: 0;
  overflow: visible;
  align-self: stretch;
}

.sidebar-footer-target:hover {
  background-color: #eaeaeb;
}

.sidebar-footer-target--expanded {
  width: 100%;
  justify-content: flex-start;
}

.sidebar-footer-target--collapsed {
  width: 40px;
  justify-content: center;
}

.sidebar-footer-icon-slot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.sidebar-footer-label {
  color: #161832;
  transition: opacity 0.2s ease;
}

.sidebar-footer-label--expanded {
  opacity: 1;
}

.sidebar-footer-label--collapsed {
  opacity: 0;
}

/* ——— MainNav ——— */
.sidebar-navbar {
  z-index: 89;
}

.sidebar-nav-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid #d8d8db;
  transition: width 0.15s ease-out 0.05s;
  font-size: 14px;
}

.sidebar-nav-section[data-menu-type="false"] {
  width: 204px;
}

.sidebar-nav-section[data-menu-type="true"][data-nav-expanded="true"] {
  width: 204px;
}

.sidebar-nav-section[data-menu-type="true"][data-nav-expanded="false"] {
  width: 56px;
}

.sidebar-nav-logo-row {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  margin-left: 12px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.sidebar-nav-logo-outer {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-nav-logo-inner {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transform: scale(1.142857);
  transform-origin: center center;
  line-height: 0;
}

.sidebar-nav-add-row {
  display: flex;
  justify-content: space-between;
  align-self: stretch;
  height: 39px;
  font-size: 14px;
  margin-left: 2px;
  margin-bottom: 3px;
  flex-shrink: 0;
}

.sidebar-nav-add-btn {
  overflow: hidden;
}

.sidebar-nav-plus-box {
  border-radius: 5px;
}

.sidebar-nav-add-text {
  transition: opacity 0.2s ease;
}

.sidebar-nav-add-text--visible {
  opacity: 1;
}

.sidebar-nav-add-text--hidden {
  opacity: 0;
}

.sidebar-nav-main-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  min-height: 0;
  gap: 3px;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #c1c2c5 transparent;
}

.sidebar-nav-main-scroll::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav-main-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav-main-scroll::-webkit-scrollbar-thumb {
  background: #c1c2c5;
  border-radius: 3px;
}

.sidebar-nav-main-scroll::-webkit-scrollbar-thumb:hover {
  background: #a6a7ab;
}

/* Settings: horizontal padding only (full-width hover within content); even vertical gap */
.sidebar-nav-section[data-menu-type="false"] .sidebar-nav-main-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
  gap: 2px;
}

.sidebar-nav-footer-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 6px;
  margin-top: auto;
  margin-left: 8px;
  margin-right: 8px;
  padding-top: 8px;
  font-size: 14px;
  flex-shrink: 0;
}

.sidebar-nav-link-label {
  transition: opacity 0.2s ease;
}

.sidebar-nav-link-label--visible {
  opacity: 1;
}

.sidebar-nav-link-label--hidden {
  opacity: 0;
}

.sidebar-search-spotlight {
  position: fixed;
  left: 50%;
  top: 72px;
  transform: translateX(-50%);
  width: 500px;
  max-width: min(500px, calc(100vw - 32px));
  box-sizing: border-box;
  flex-shrink: 0;
  z-index: 400;
  pointer-events: auto;
}

/* ——— Search (sidebar + shared result styles) ——— */
.sidebar-search-panel {
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f8f9fa;
  border: 1px solid #d8d8db;
  box-shadow:
    0 16px 48px rgba(91, 96, 227, 0.2),
    0 6px 20px rgba(75, 75, 232, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 64px;
}

.sidebar-search-input-row {
  min-height: 64px;
  flex-shrink: 0;
  width: 100%;
}

.sidebar-search-input-root {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.sidebar-search-input-field {
  background-color: #f8f9fa;
  color: #212529;
  border: none;
  border-radius: 0;
  font-size: 15px;
  min-height: 40px;
  height: 40px;
  padding-left: 4px;
  padding-right: 12px;
}

.sidebar-search-input-field::placeholder {
  color: #7b808d;
}

.sidebar-search-divider {
  height: 1px;
  background-color: #d8d8db;
  flex-shrink: 0;
}

.sidebar-search-results-bg {
  background-color: #fafafc;
}

.sidebar-search-footer-bar {
  background-color: #fafafc;
  user-select: none;
}

.sidebar-search-header-checkbox {
  padding: 0 15px;
  padding-top: 5px;
  border-bottom: 1px solid #d9d9d9;
}

.sidebar-search-popover-footer {
  border-top: 0 !important;
}

.sidebar-search-result-card {
  position: relative;
  border-radius: 8px;
  background-color: #fff;
  border-color: #e2e4ea !important;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.sidebar-search-result-header-left {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-search-result-chat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.sidebar-search-result-title {
  color: #585c68;
}

.sidebar-search-result-open-icon {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 0;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
  padding-top: 2px;
}

.sidebar-search-result-card:hover .sidebar-search-result-open-icon {
  opacity: 1;
}

.sidebar-search-result-card:hover {
  background-color: #eaeafe;
  border-color: #c5c9d8 !important;
  cursor: pointer;
  /* Soft lift + diffuse glow (reads as “small blur” without blurring label text) */
  box-shadow:
    0 0 0 1px rgba(91, 96, 227, 0.06),
    0 2px 4px rgba(75, 75, 232, 0.06),
    0 12px 28px -6px rgba(75, 75, 232, 0.16);
  transform: translateY(-1px);
}

.sidebar-search-spoiler {
  font-size: 14px;
}

.sidebar-search-spoiler button {
  color: #5b60e3;
  font-size: 14px;
}

.sidebar-search-input-header .mantine-TextInput-input,
.sidebar-search-input-header .mantine-Input-input,
.sidebar-search-input-header input {
  background: #363699;
  color: #fff;
}

/* ——— Notifications dropdown ——— */
.sidebar-notifications-header {
  background: #f1f3f5;
  height: 44px;
}

.sidebar-notifications-title {
  font-size: 20px;
}

.sidebar-notifications-switch {
  display: inline-flex;
  align-items: center;
}

.sidebar-notifications-switch[data-switch-on="true"] .mantine-Switch-inner {
  background-color: #5c5ceb;
}

.sidebar-notifications-switch[data-switch-on="true"] .mantine-Switch-track {
  background-color: #5c5ceb;
}

.sidebar-notifications-switch .mantine-Switch-input:checked + .mantine-Switch-track {
  background-color: #5c5ceb;
  border-color: #5c5ceb;
}

.sidebar-notifications-switch .mantine-Switch-label {
  color: #585c68;
  font-size: 14px;
}

.sidebar-notifications-switch[data-switch-on="false"] .mantine-Switch-inner {
  background-color: #d8d8db;
}

.sidebar-notifications-switch[data-switch-on="false"] .mantine-Switch-track {
  background-color: #d8d8db;
}

.sidebar-notifications-dots-btn {
  background-color: #5c5ceb1a;
}

.sidebar-notifications-submenu-dropdown {
  height: 48px;
  width: 250px;
}

.sidebar-notifications-submenu-item {
  width: 240px;
}

.sidebar-notifications-scroll {
  overflow-y: scroll;
}

.sidebar-notifications-segments {
  position: sticky;
  top: 12px;
  height: 40px;
}

.sidebar-notifications-tab-label {
  font-size: 14px;
  font-weight: 600;
}

.sidebar-notifications-unread-dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: #2684ff;
}

.sidebar-notifications-empty {
  text-align: center;
}

/* ——— Profile menu ——— */
.profile-menu-account-input input,
.profile-menu-account-input .mantine-TextInput-input,
.profile-menu-account-input .mantine-Input-input {
  background-color: #f9fafb;
}

.profile-menu-account-input input:focus,
.profile-menu-account-input .mantine-TextInput-input:focus,
.profile-menu-account-input .mantine-Input-input:focus {
  border-color: #b1b1b1;
}

.profile-menu-account-scroll {
  max-height: 200px;
  overflow-y: auto;
}

.profile-menu-account-row {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 10px;
  border-radius: 4px;
  cursor: pointer;
  background-color: transparent;
}

.profile-menu-account-row:hover {
  background-color: #f9fafb;
}

.profile-menu-account-row--selected {
  background-color: #f9fafb;
}

.profile-menu-invite-submit {
  font-weight: 700;
}

.profile-menu-invite-submit:hover {
  background-color: #9f9af8 !important;
}
/* Chat Modal Specific Styles */
.chat-modal-drag-handle {
  cursor: move !important;
}

.chat-modal-drag-handle:active {
  cursor: grabbing !important;
}

/* Ensure the resizable handles are visible and functional */
.react-resizable-handle {
  background-color: transparent;
}

.react-resizable-handle-se {
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: se-resize;
}

.react-resizable-handle-s {
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  cursor: s-resize;
}

.react-resizable-handle-e {
  right: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  cursor: e-resize;
}

.react-resizable-handle-n {
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  cursor: n-resize;
}

.react-resizable-handle-w {
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  cursor: w-resize;
}

.react-resizable-handle-ne {
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: ne-resize;
}

.react-resizable-handle-nw {
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: nw-resize;
}

.react-resizable-handle-sw {
  bottom: 0;
  left: 0;
  width: 12px;
  height: 12px;
  cursor: sw-resize;
}

/* Chat message animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Apply animations to messages */
.user-message {
  animation: slideInRight 0.3s ease-out;
}

.agent-message {
  animation: slideInLeft 0.3s ease-out;
}

/* Typing indicator animation */
@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
}

.typing-indicator {
  animation: typing 1.4s infinite ease-in-out;
}

/* Markdown content styling */
.chat-markdown {
  line-height: 1.6;
}

.chat-markdown pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: 100%;
}

.chat-markdown code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  white-space: pre-wrap;
}

.chat-markdown table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.5rem 0;
}

.chat-markdown th,
.chat-markdown td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.chat-markdown th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.chat-markdown .user-message th {
  background-color: rgba(255, 255, 255, 0.1);
}

.chat-markdown .user-message td,
.chat-markdown .user-message th {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Ensure links are visible in both themes */
.chat-markdown a {
  color: #4A90E2;
  text-decoration: underline;
}

.chat-markdown .user-message a {
  color: #B3D9FF;
}
/* MainLayout.css */

/* Main layout container styling */
.responsive-container {
  width: 100%;
  overflow: auto;
}

/* Styling for the content wrapper */
.responsive-content-wrapper {
  width: 100%;
  min-width: 1225px;
}

/* Full-height app areas (/discovery, /trends): shell fills height; inner regions scroll */
.responsive-container-discovery {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.responsive-content-wrapper-discovery {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.responsive-container-ai {
  width: 100%;
  overflow-x: auto;
}

.responsive-content-wrapper-ai {
  width: 100%;
  min-width: 1223px;
  max-width: 1674px;
}

/* Media query for larger screens */
@media (min-width: 1864px) {
  .responsive-container {
    display: flex;
    justify-content: center;
  }
}


@media (min-width: 1674px) {
  .responsive-container-ai {
    display: flex;
    justify-content: center;
    overflow-y: hidden;
  }
}

/* Main section styles */
.main-layout {
  background-color: #F8F8FB;
  overflow: hidden;
}
.ellipsis-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.2;
  max-height: 1.2em;
  word-break: break-word;
  flex: 1;
}

/* Filter Modal Layout */
.filter-modal-container {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
}

.filter-modal-container .filter-modal-container__left {
  flex: 0 0 auto;
  width: 300px;
  min-width: 300px;
}

.filter-modal-container .filter-modal-container__right {
  flex: 1 1 0;
  min-width: 0;
  border-left: 1px solid #e9ecef;
}

.filter-modal-left-panel {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  /* background: linear-gradient(to right, #f8f9fb 0%, #fafbfc 100%); */
  border-radius: 0 0 0 12px;
}

.filter-modal-middle-panel {
  width: 100%;
  min-width: 0;
  border-right: 1px solid #e5e7eb;
}

.filter-modal-right-panel {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 12px 0;
}

/* Scrollbars - subtle and rounded */
.filter-modal-left-panel .mantine-ScrollArea-viewport,
.filter-modal-right-panel .mantine-ScrollArea-viewport {
  scrollbar-gutter: stable;
}
.filter-modal-left-panel .mantine-ScrollArea-scrollbar,
.filter-modal-right-panel .mantine-ScrollArea-scrollbar {
  --scrollbar-width: 6px;
}
.filter-modal-left-panel .mantine-ScrollArea-thumb,
.filter-modal-right-panel .mantine-ScrollArea-thumb {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.15);
}
.filter-modal-left-panel .mantine-ScrollArea-thumb:hover,
.filter-modal-right-panel .mantine-ScrollArea-thumb:hover {
  background: rgba(0, 0, 0, 0.22);
}

/* Filter Categories */
.filter-category-button {
  height: 38px;
  padding: 8px 12px;
  border-radius: 5px;
  background-color: transparent;
  width: 100%;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #374151;
  outline: none;
  border: none;
}
.filter-category-button:focus,
.filter-category-button:focus-visible {
  outline: none;
  box-shadow: none;
  border: none;
}

/* .filter-category-button:hover {
  background-color: #eef0f4;
} */

.filter-category-button.active {
  background-color: rgba(79, 70, 229, 0.1);
}

.filter-category-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: transparent;
  color: #3c3e41;
}

/* Child filter items */
.filter-child-button {
  border-radius: 5px;
  transition: background-color 0.15s ease;
}
.filter-child-button:hover {
  background-color: #e8eaf0;
}
.filter-child-button.active:hover {
  background-color: rgba(92, 92, 235, 0.12);
}

/* Filter Options */
.filter-option-checkbox {
  cursor: pointer;
}

.filter-option-checkbox input {
  cursor: pointer;
}

.filter-option-checkbox input:checked {
  background-color: #5B60E3;
  border-color: #5B60E3;
}

/* Applied Filters */
.applied-filter-item {
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-radius: 5px;
  border: 1px solid #e9ecef;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.applied-filter-item:hover {
  background-color: #f1f3f5;
  border-color: #dee2e6;
}

/* Search Input */
.filter-search-input input {
  height: 36px;
  min-height: 36px;
  background-color: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.filter-search-input input::placeholder {
  color: #9ca3af;
}
.filter-search-input input:focus {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
}

/* Badge Styles */
.filter-count-badge {
  font-size: 11px;
  font-weight: 600;
  min-width: 20px;
  border-radius: 10px;
}

/* Loading States */
.filter-loading-skeleton {
  border-radius: 8px;
}

/* Empty States */
.filter-empty-state {
  text-align: center;
  color: #6b7280;
  margin-top: 48px;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .filter-modal-container {
    flex-direction: column;
    height: auto;
    max-height: 80vh;
  }
}
.ellipsis-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 1.2;
  max-height: 1.2em;
  word-break: break-word;
  flex: 1;
}
.editorWrap .tiptap {
  width: 100%;
  padding: 10px 36px 10px 12px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid rgb(206, 212, 218);
  font-size: 14px;
  padding: 10;
}
.editorWrap .tiptap > * + * {
  margin-top: 0;
}

.editorWrap .tiptap > *:first-child {
  margin-top: 0 !important;
}

.editorWrap .tiptap > *:last-child {
  margin-bottom: 0 !important;
}

.editorWrap .tiptap {
  padding: 0 !important;
}

.rightSection {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  width: 36px;
}

.wrap {
  position: relative;
}

.ProseMirror > p {
  margin: 0px;
  padding: 8px 10px;
}

.mention {
  color: #1c7ed6;
  font-weight: 500;
  box-decoration-break: clone;
  padding: 0.1rem 0rem;
}

.ProseMirror p.is-editor-empty:first-child::before {
  content: attr(data-placeholder);
  float: left;
  color: #adb5bd;
  pointer-events: none;
  height: 0;
}.items {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0px 10px 20px rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
  max-height: 230px;
  overflow-y: scroll;
  position: relative;
}

.item {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  display: block;
  margin: 0;
  padding: 0.2rem 0.4rem;
  text-align: left;
  width: 100%;
}
.item.is-selected {
  background-color: #f0f0f0;
}

.item:hover {
  background-color: #f0f0f0;
}

.loader-line {
  height: 3px;
  position: relative;
  overflow: hidden;
  background-color: #ddd;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  position: sticky;
  bottom: 0px;
}

.loader-line:before {
  content: "";
  position: absolute;
  left: -50%;
  height: 3px;
  width: 40%;
  background-color: #5B60E3;
  -webkit-animation: lineAnim 1s linear infinite;
  -moz-animation: lineAnim 1s linear infinite;
  animation: lineAnim 1s linear infinite;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

@keyframes lineAnim {
  0% {
    left: -40%;
  }
  50% {
    left: 20%;
    width: 80%;
  }
  100% {
    left: 100%;
    width: 100%;
  }
} 

.resizable-div {
    /* width: 100%; */
    /* height: 200px; */
    background-color: aqua;
    border: 1px solid #ddd;
    resize: both; 
    overflow: auto; 
  } 