@import url("/assets/variables-fc7a89b8.css");
@import url("/assets/slimselect-aaef0135.css");
@import url("/assets/richer-text-56c86f39.css");
@import url("/assets/flatpickr-5fdf06a4.css");
@import url("/assets/grid-cfe9c51c.css");
@import url("/assets/tables-ed5aff8b.css");
@import url("/assets/forms-d9305211.css");

.turbo-progress-bar {
  height: 5px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
}

.primary-color {
  color: var(--primary-color);
}

.secondary-color {
  color: var(--secondary-color);
}

.gray {
  color: #666;
}

.green {
  color: var(--green-color);
}

.danger {
  color: var(--danger-color);
}

html {
  box-sizing: border-box;
  background-color: #f7f7f7;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--primary-color);
}

a {
  color: var(--primary-color);
  text-decoration: underline;
}

ul {
  padding-left: 0;
  list-style: none;
}

ul li {
  margin-bottom: 10px;
}

.row-with-icon {
  display: flex;
  align-items: center;
}

.row-with-icon img {
  margin-right: 10px;
}

.notice {
  position: absolute;
  background: var(--primary-color);
  border-top: 5px solid var(--secondary-color);
  border-radius: var(--border-radius);
  color: #ffffff;
  padding: 15px;
  font-size: 16px;
  bottom: 25px;
  right: 25px;
}

.shadow {
  box-shadow: var(--box-shadow);
  transition: var(--box-shadow-transition);
}

.pill {
  padding: 3px 10px;
  border-radius: var(--border-radius);
  background: var(--primary-color);
  color: #f7f7f7;
  font-size: 14px;
}

.pill.lead {
  background: #5eb0ab;
}

.pill.danger {
  background: darkred;
}

.pill.money {
  background: #1e8520;
}

.time-pill {
  margin-left: 25px;
  padding: 5px 15px;
  border-radius: var(--border-radius);
  background: #3a4663c2;
  color: #f7f7f7;
  font-size: 14px;
}

.hidden {
  display: none;
}

.admin {
  display: grid;
  grid-template-columns: 275px 1fr;
  height: 100vh;
}

.admin .sidebar {
  position: relative;
  height: 100vh;
  overflow-y: scroll;
  background: #f1f1f1;
  scrollbar-width: none;
}

.admin .sidebar nav {
  padding: 25px;
}

.admin .sidebar nav img {
  max-width: 60px;
}

.admin .sidebar nav ul {
  list-style: none;
  padding-left: 0;
}

.admin .sidebar nav ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.admin .sidebar nav ul li.pm {
  padding: 7px 10px;
  background: #f7f7f7;
  border-radius: var(--border-radius);
}

.admin .sidebar nav ul li.pm a {
  font-weight: bold;
}

.admin .sidebar nav ul li > div {
  display: flex;
  align-items: center;
}

.admin .sidebar nav ul li a {
  color: var(--primary-color);
  text-decoration: none;
  margin-left: 15px;
  font-size: 14px;
}

.admin .sidebar nav ul li .logout-button {
  background: darkred;
  color: #f7f7f7;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  text-decoration: none;
  margin-left: 0;
}

.admin .sidebar nav h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.admin .sidebar nav p {
  color: var(--primary-color);
}

.admin .content {
  padding: 25px;
  max-height: 100vh;
  overflow-y: scroll;
}

.admin .content .top-header {
  margin-bottom: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin .content .top-header h1 {
  color: var(--primary-color);
  font-size: 30px;
}

.admin .content .top-header a {
  color: white;
}

.auth {
  padding: 150px 0;
}

.container-small {
  max-width: 600px;
  margin: 0 auto;
}

.container-small > h2 {
  text-align: center;
  margin-bottom: 25px;
}

.button-primary {
  background: var(--primary-color);
  color: #f7f7f7;
  padding: 5px 15px;
  border: 3px var(--primary-color) solid;
  border-radius: var(--border-radius);
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
}

.button-primary:hover {
  background: #0b3564;
}

.button-secondary {
  background: var(--secondary-color);
  color: #f7f7f7;
  padding: 5px 15px;
  border: 3px var(--secondary-color) solid;
  border-radius: var(--border-radius);
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
}

.button-secondary:hover {
  background: #0b3564;
}

.bg-primary {
  background: var(--primary-color);
}

.bg-green-outline {
  background: #f7f7f7;
  color: var(--green-color);
  border: 2px solid var(--green-color);
}

.bg-danger {
  background: darkred;
}

.bg-primary-outline {
  background: #f7f7f7;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.bg-orange-outline {
  background: #f7f7f7;
  color: orangered;
  border: 2px solid orangered;
}

.bg-danger-outline {
  background: #f7f7f7;
  color: darkred;
  border: 2px solid darkred;
}

.documents ul {
  list-style: none;
  padding-left: 0;
}

.documents ul li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: 5;
  padding: 10px 15px;
}

.documents ul img {
  width: 15px;
}

nav.pagination {
  padding: 10px 0;
  display: inline-block;
  display: flex;
}

nav.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  padding: 5px 10px;
  border-radius: var(--border-radius);
  border: 1px solid #d2d2d2;
  color: #777;
  cursor: pointer;
}

nav.pagination span:hover {
  border: 1px solid var(--secondary-color);
}

nav.pagination span.active {
  background: #777;
  color: var(--primary-color);
}

nav.pagination span a {
  color: #777;
  text-decoration: none;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
}

.tab {
  padding: 10px 20px;
  border: 1px solid transparent;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  cursor: pointer;
}

.tab.active {
  border-color: #ddd;
  border-bottom-color: transparent;
  background-color: #fff;
}

.panels {
  padding: 20px;
  border: 1px solid #ddd;
  border-top: none;
}

.panel {
  display: none;
}

.panel:not(.hidden) {
  display: block;
}

.four-box {
  padding-top: 25px;
  min-height: 100vh;
}

.four-box .row-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.four-box .row-box > div {
  padding: 25px;
  margin-bottom: 25px;
  border-radius: var(--border-radius);
}

.four-box .row-box > div > ul > li > div {
  margin-top: 5px;
}

.active {
  color: var(--primary-color);
}

.dropzone {
  padding: 30px;
  border: 2px dashed var(--primary-color);
}

.dropzone.is-dragover {
  background-color: #e6ecef;
}

.dragover {
  background-color: red;
}

.dropzone {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  border: dashed 1px black;
  padding: 10px;
  gap: 20px;
}

.file-input {
  display: none;
}

.file-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  background: #f7f7f7;
  padding: 5px 10px;
  & .file-row {
    display: flex;
    align-items: center;
    & img {
      height: 35px;
      margin-right: 15px;
    }
    & .filename {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
  }
}

.richer-text--mention-img {
  margin-top: -10px !important;
  display: none !important;
}

.richer-text--mention {
  display: inline-flex !important;
  align-items: flex-end !important;
}

.richer-text img {
  display: block;
  width: 100%;
}

.richer-text p {
  line-break: normal;
}

.suggested-item img {
  display: none !important;
}

.mb-10px {
  margin-bottom: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.text-center {
  text-align: center;
}

.sort {
  position: absolute;
  top: 1rem;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}

.sort-desc {
  border-top: 8px solid var(--primary-color);
}

.sort-asc {
  border-bottom: 8px solid var(--primary-color);
}

.relative {
  position: relative;
}

.mx-15 {
  margin: 0px 0px 0px 15px;
}

.px-15 {
  padding: 0px 0px 0px 15px;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.text-editor-wrapper {
  min-height: 250px;
}

.index-datepicker {
  input {
    background: none;
    border: none;
    font-size: 16px;
  }
}

/* Kanban Board */
.kanban-board {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding-top: 20px;
  background: #f7f7f7;
  overflow-x: auto;
}

/* Kanban List */
.kanban-list {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
}

/* Kanban List Header */
.kanban-list-header {
  background: var(--primary-color);
  color: #fff;
  padding: 15px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  & p {
    margin: 0;
  }
}

/* Kanban List Body */
.kanban-list-body {
  padding: 10px;
  flex-grow: 1;
  overflow-y: auto;
}

/* Kanban Card */
.kanban-card {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  padding: 10px;
  margin-bottom: 10px;
  transition: var(--box-shadow-transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kanban-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-2px);
}

/* Kanban Card Content */
.kanban-card-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

/* Kanban Card Actions */
.kanban-card-actions {
  display: flex;
  align-items: center;
}

.kanban-card-actions img {
  width: 16px;
  height: 16px;
  cursor: pointer;
  transition: transform 0.2s;
}

.kanban-card-actions img:hover {
  transform: scale(1.1);
}

/* Scrollable Lists */
.kanban-scrollable {
  max-height: 600px;
  overflow-y: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .kanban-board {
    flex-direction: column;
    gap: 15px;
  }

  .kanban-list {
    width: 100%;
  }
}
.completed {
  text-decoration: line-through;
}
.add-todo {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0px;
}

.split-view {
  display: flex;
  justify-content: space-between;
}
.todoinput {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}
.todo-filters {
  display: flex;
}

.avatar {
  width: 30px;
  height: 30px;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.kanban-card-content .user-images {
  & img {
    margin-left: -10px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--secondary-color);
  }
}
.kanban-card-content .user-images {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.number-card {
  padding: 25px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.card {
  padding: 15px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 25px 0;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  align-items: start;
}
.messages-container {
  padding: 15px;
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 15px 0;
}

.message-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
}

.message-bubble {
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: var(--border-radius);
  background: #f5f5f5;
}

.message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 14px;
}

.message-sender {
  font-weight: 600;
  color: var(--primary-color);
}

.message-time {
  color: #666;
  font-size: 12px;
}

.message-content {
  color: #333;
  line-height: 1.4;
}

.message-form {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  padding: 10px;
}

.message-input .text-editor-wrapper {
  min-height: 60px;
}
.message-input {
  width: calc(100% - 20px);
}

.message-form .button-primary {
  align-self: flex-start;
}
.logo {
  width: 150px;
  height: auto;
  margin: 0 auto;
  margin-bottom: 25px;
}
.logo img {
  width: 100%;
  height: auto;
}
.w-full {
  width: 100%;
}

.slide-over {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 500px;
  background: #fff;
  box-shadow: var(--box-shadow);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.slide-over--open {
  transform: translateX(0);
}

@media (min-width: 640px) {
  /* sm breakpoint */
  .slide-over {
    transition-duration: 0.7s;
  }
}
.flex-center{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
