/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;700&display=swap");

body {
  background-color: #f3f3f9;
}
#modal-background {
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.2s ease-in;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.breadcrumb {
  /*position: relative;*/
  background-color: white;
  /*top: calc(-1 * var(--size-6));*/
  /*width: calc(100% + var(--size-6)); !* Полная ширина main + компенсация для gap *!*/
  /*margin-left: calc(-1 * var(--size-6)); !* Убираем отступ слева *!*/
  /*margin-right: calc(-1 * var(--size-6)); !* Убираем отступ справа *!*/
  padding: 10px;
  align-items: center;
  /*color: var(--color-text-subtle);*/
  display: flex;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  gap: 7px;
  overflow-wrap: break-word;
  a {
    padding-block-end: 2px;
  }
  img, svg {
    filter: brightness(0.8);
  }
  span {
    margin-bottom: 2px;
    color: #8F909C;
  }
  a:hover {
    color: #475281;
  }
  @media (width >= 40rem) {
    /*gap: var(--size-2);*/
  }
  @media (width < 40rem) {
    z-index: -1;
    top: calc(1 * var(--size-0,7)); /* Корректируем отступ сверху */
    margin-left: calc(1 * var(--size-1)); /* Корректируем отступ слева */
  }
}

.in_progress {
  background-color: #fef4e4;
}
.completed {
  background-color: #DAF4F1;
}

/* Табы */
ul.nav.custom-tabs {
  margin-top: 25px;
  --vz-nav-link-padding-x: 1rem;
  --vz-nav-link-padding-y: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  border-bottom: 1px solid #E5E7EB;
}
.nav-tabs-custom .nav-item {
  position: relative;
}
.nav-link {
  display: block;
  padding: var(--vz-nav-link-padding-y) var(--vz-nav-link-padding-x);
  font-size: 15px;
  font-weight: bold;
  /*color: var(--vz-nav-link-color);*/
  background: 0 0;
  border: 0;
  -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
  color: #4D598B;
}
.nav-link.active {
  color: #0ab39c;
  border-bottom: 2px solid #0ab39c;
}
#tab-content .card {
  padding: 30px;
  h4 {
    color: #53585F;
    font-weight: bold;
    margin-bottom: 10px;
  }
  p {
    color: #888A98;
  }
}
@media (max-width: 768px) {
  .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {
    justify-content: start !important;
  }
  ul.nav.custom-tabs {
    margin-top: 10px;
    font-size: 13px;
  }
  #tab-content .card {
    padding: 20px;
    h4 {
      margin-bottom: 10px;
    }
  }
}

.comment-area {
  display: block;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
}
.comment-area textarea {
  background-color: #f3f6f9;
  padding: .5rem .9rem;
  width: 100%;
  border: 0;
  outline-color: #f3f6f9;
}
.children {
  margin-left: 30px;
}

/* TODO: надо исправить. Альтернатива ".sidebar.active ~ .main .user-buttons" */
header {
  width: -webkit-fill-available;
}

.item-icon {
  width: 80px;
  height: 80px;
  margin-right: 3px;
  padding: 5px;
  border-radius: 50%;
  border: 1px solid #888A98;
}
