@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

:root {
  --app-border-color: #39397e;
  --txt-color: #3460c6;
  --task-category: #cf7e34;
  --diagram-cl: #8ca1d3;
  --app-bg-inv: #fff;
  --app-bg: #101827;
  --app-bg-2: #1d283c;
  --app-bg-tasks: #2c394f;
  --app-bg-2-inv: #f3f6fd;
  --app-bg-stat: #8ca1d3;
  --sidebar: rgba(21, 30, 47, 1);
  --sidebar-main-color: #fff;
  --table-border: #1a2131;
  --table-header: #1a2131;
  --app-content-main-color: #fff;
  --sidebar-link: #fff;
  --sidebar-active-link: #1d283c;
  --sidebar-hover-link: #1a2539;
  --action-color: #2869ff;
  --action-color-hover: #6291fd;
  --app-content-secondary-color: #152032;
  --app-content-secondary-color-productheader: #1d283c;
  --app-content-secondary-color-gridview: #152032;
  --filter-reset: #2c394f;
  --filter-shadow: rgba(16, 24, 39, 0.8) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  --filter-shadow-topmostdiv: rgba(16, 24, 39, 0.8) 0px 0px 0px 0px, rgba(0, 0, 0, 0.3) 0px 0px 0px 3px; }

.light:root {
  --app-border-color: #b0c8ff;
  --app-bg-inv: #101827;
  --app-bg-tasks: rgba(168, 176, 209, 0.5);
  --app-bg: #fff;
  --app-bg-2: #f3f6fd;
  --app-bg-2-inv: #1d283c;
  --app-bg-stat: #1d283c;
  --sidebar: #f3f6fd;
  --app-content-secondary-color: #f3f6fd;
  --app-content-secondary-color-gridview: #f3f6fd;
  --app-content-secondary-color-productheader: #f3f6fd;
  --app-content-main-color: #1f1c2e;
  --sidebar-link: #1f1c2e;
  --sidebar-hover-link: rgba(195, 207, 244, 0.5);
  --sidebar-active-link: rgba(195, 207, 244, 1);
  --sidebar-main-color: #1f1c2e;
  --filter-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; }

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%; }

body {
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  background-color: var(--app-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

.tasklink {
  text-decoration: none; }

.app-container {
  border-radius: 4px;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  overflow: hidden;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  max-width: 2000px;
  margin: 0 auto; }

/* ========== SIDEBAR ========== */
.sidebar {
  flex-basis: 200px;
  max-width: 200px;
  flex-shrink: 0;
  background-color: var(--sidebar);
  display: flex;
  flex-direction: column; }
  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px; }
  .sidebar-list {
    list-style-type: none;
    padding: 0; }
    .sidebar-list-item {
      position: relative;
      margin-bottom: 4px; }
      @media screen and (max-width: 1024px) {
        .sidebar-list-item-name {
          display: none; } }
      .sidebar-list-item a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 10px 16px;
        color: var(--sidebar-link);
        text-decoration: none;
        font-size: 14px;
        line-height: 24px; }
        @media screen and (max-width: 1024px) {
          .sidebar-list-item a {
            padding: 10px 2vw;
            margin: 1vw; } }
      .sidebar-list-item svg {
        margin-right: 8px; }
      .sidebar-list-item:hover {
        background-color: var(--sidebar-hover-link); }
      .sidebar-list-item.active {
        background-color: var(--sidebar-active-link); }
        .sidebar-list-item.active:before {
          content: '';
          position: absolute;
          right: 0;
          background-color: var(--action-color);
          height: 100%;
          width: 4px; }
  @media screen and (max-width: 1024px) {
    .sidebar {
      max-width: 10%; } }

/* ========== APP CONTENT ========== */
.app-content {
  padding: 16px;
  background-color: var(--app-bg);
  height: 100%;
  flex: 1;
  max-height: 100%;
  display: flex;
  flex-direction: column; }
  .app-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    gap: 8px;
    flex-wrap: wrap; }
  .app-content-headerText {
    color: var(--app-content-main-color);
    font-size: 24px;
    line-height: 32px;
    margin: 0; }
  .app-content-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 4px; }
    .app-content-actions-wrapper {
      display: flex;
      align-items: center;
      margin-left: auto; }
    @media screen and (max-width: 520px) {
      .app-content-actions {
        flex-direction: column; }
        .app-content-actions .search-bar {
          max-width: 100%;
          order: 2; }
        .app-content-actions .app-content-actions-wrapper {
          padding-bottom: 16px;
          order: 1; } }

/* ========== SEARCH BAR ========== */
.search-bar {
  background-color: var(--app-content-secondary-color);
  border: 1px solid var(--app-content-secondary-color);
  color: var(--app-content-main-color);
  font-size: 14px;
  line-height: 24px;
  border-radius: 4px;
  padding: 0px 10px 0px 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: left 10px center;
  width: 100%;
  max-width: 320px;
  transition: .2s; }
  .light .search-bar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231f1c2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }
  .search-bar::placeholder {
    color: var(--app-content-main-color); }
  .search-bar:hover {
    border-color: var(--action-color-hover);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236291fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }
  .search-bar:focus {
    outline: none;
    border-color: var(--action-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232869ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }

/* ========== BUTTONS ========== */
.mode-switch {
  background-color: transparent;
  border: none;
  padding: 0;
  color: var(--app-content-main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: 8px;
  cursor: pointer; }
  .mode-switch .moon {
    fill: var(--app-content-main-color); }
  .mode-switch.active .moon {
    fill: none; }

.action-button {
  border-radius: 4px;
  height: 32px;
  background-color: var(--app-content-secondary-color);
  border: 1px solid var(--app-content-secondary-color);
  display: flex;
  align-items: center;
  color: var(--app-content-main-color);
  font-size: 14px;
  margin-left: 8px;
  cursor: pointer;
  padding: 5px; }
  .action-button span {
    margin-right: 4px; }
  .action-button:hover {
    border-color: var(--action-color-hover); }
  .action-button:focus, .action-button.active {
    outline: none;
    color: var(--action-color);
    border-color: var(--action-color); }

.button-plus,
.button-minus {
  background-color: transparent;
  border: none;
  padding: 0;
  color: var(--app-content-main-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center; }

.button-plus {
  margin-left: 1em;
  margin-right: 8px; }

/* ========== ACCOUNT INFO ========== */
.account-info {
  display: flex;
  align-items: center;
  padding: 16px;
  margin-top: auto; }
  @media screen and (max-width: 1024px) {
    .account-info {
      justify-content: center; } }
  .account-info-picture {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0; }
    .account-info-picture img {
      width: 100%;
      height: 100%;
      object-fit: cover; }
  .account-info-name {
    font-size: 14px;
    color: var(--sidebar-main-color);
    margin: 0 8px;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap; }
    @media screen and (max-width: 1024px) {
      .account-info-name {
        display: none; } }
  .account-info-more {
    color: var(--sidebar-main-color);
    padding: 0;
    border: none;
    background-color: transparent;
    margin-left: auto;
    display: flex; }
    @media screen and (max-width: 1024px) {
      .account-info-more {
        display: none; } }

/* ========== APP ICON ========== */
.app-icon {
  color: var(--sidebar-main-color); }
  .app-icon .app-icon-svg {
    width: 105px;
    height: 45px; }
    @media screen and (max-width: 1024px) {
      .app-icon .app-icon-svg {
        width: 12vw;
        height: 45px; } }
  .app-icon svg {
    width: 24px;
    height: 24px;
    position: relative;
    right: 0.90em; }

/* ========== FILTER MENU ========== */
.filter-button-wrapper {
  position: relative; }

.filter-menu {
  background-color: var(--app-content-secondary-color);
  position: absolute;
  top: calc(100% + 16px);
  right: -74px;
  border-radius: 4px;
  padding: 8px;
  width: 220px;
  z-index: 2;
  box-shadow: var(--filter-shadow);
  visibility: hidden;
  opacity: 0;
  transition: .2s; }
  .filter-menu:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--app-content-secondary-color);
    bottom: 100%;
    left: 50%;
    transform: translatex(-50%); }
  .filter-menu.active {
    visibility: visible;
    opacity: 1;
    top: calc(100% + 8px); }
  .filter-menu label {
    display: block;
    font-size: 14px;
    color: var(--app-content-main-color);
    margin-bottom: 8px; }
  .filter-menu select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    padding: 8px 24px 8px 8px;
    background-position: right 4px center;
    border: 1px solid var(--app-content-main-color);
    border-radius: 4px;
    color: var(--app-content-main-color);
    font-size: 12px;
    background-color: transparent;
    margin-bottom: 16px;
    width: 100%; }
    .light .filter-menu select {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f1c2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
    .filter-menu select:hover {
      border-color: var(--action-color-hover); }
    .filter-menu select:focus {
      outline: none;
      color: var(--action-color);
      border-color: var(--action-color);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232869ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }

.filter-menu-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px; }

.filter-button {
  border-radius: 2px;
  font-size: 12px;
  padding: 4px 8px;
  cursor: pointer;
  border: none;
  color: #fff; }
  .filter-button.apply {
    background-color: var(--action-color); }
  .filter-button.reset {
    background-color: var(--filter-reset); }

/* ========== TABLE VIEW ========== */
.products-area-wrapper {
  width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: 0 4px; }

.Product-body {
  width: 100%;
  max-height: 100%; }

.tableView .products-header {
  display: flex;
  align-items: center;
  border-radius: 4px;
  background-color: var(--app-content-secondary-color-productheader);
  position: sticky;
  top: 0; }
.tableView .products-row {
  display: flex;
  align-items: center;
  border-radius: 4px; }
  .tableView .products-row.BorderStyle {
    border: 2px dashed var(--app-border-color); }
  .tableView .products-row:hover {
    box-shadow: var(--filter-shadow);
    background-color: var(--app-content-secondary-color); }
.tableView .product-cell {
  flex: 1;
  padding: 8px 16px;
  color: var(--app-content-main-color);
  font-size: 14px;
  display: flex;
  align-items: center;
  overflow: hidden; }
  .tableView .product-cell.id {
    flex: 0.3; }
  .tableView .product-cell.action {
    flex: 0.2;
    display: flex;
    gap: 8px; }
  .tableView .product-cell.projector {
    font-size: 25px;
    font-weight: 600; }
    @media screen and (max-width: 1024px) {
      .tableView .product-cell.projector {
        font-size: 0.8em; } }
  .tableView .product-cell img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 6px;
    object-fit: cover; }
  @media screen and (max-width: 780px) {
    .tableView .product-cell {
      font-size: 12px; }
      .tableView .product-cell.image {
        flex: 0.5; } }
  @media screen and (max-width: 520px) {
    .tableView .product-cell.complexity {
      flex: 0.6; }
    .tableView .product-cell.category {
      display: none; }
    .tableView .product-cell.solved {
      display: none; }
    .tableView .product-cell.sales {
      flex: 0.4; }
    .tableView .product-cell.status-cell {
      flex: 0.4; }
    .tableView .product-cell.stock, .tableView .product-cell.price {
      flex: 0.2; } }
.tableView .sort-button {
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--app-content-main-color);
  margin-left: 4px;
  display: flex;
  align-items: center; }
  .tableView .sort-button:hover {
    color: var(--action-color); }
  .tableView .sort-button svg {
    width: 12px; }
.tableView .cell-label {
  display: none; }

/* ========== GRID VIEW (ИСПРАВЛЕННЫЙ) ========== */
.gridView {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 8px;
  width: 100%;
  box-sizing: border-box; }
  .gridView .products-header {
    display: none; }
  .gridView .products-row {
    background-color: var(--app-content-secondary-color-gridview);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    min-width: 24%;
    max-width: 24%; }
    .gridView .products-row:hover {
      transform: translateY(-3px);
      box-shadow: var(--filter-shadow);
      border-color: var(--action-color); }
    .gridView .products-row.BorderStyle {
      border: 2px dashed var(--app-border-color); }
  .gridView .product-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--app-content-main-color);
    font-size: 14px;
    gap: 12px;
    width: 100%; }
    .gridView .product-cell .cell-label {
      opacity: 0.7;
      font-size: 12px;
      font-weight: 500; }
    .gridView .product-cell.image {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 12px;
      margin-bottom: 8px; }
      .gridView .product-cell.image img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0; }
      .gridView .product-cell.image span {
        font-size: 18px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center; }
    .gridView .product-cell.category, .gridView .product-cell.sales, .gridView .product-cell.price, .gridView .product-cell.status-cell, .gridView .product-cell.solved, .gridView .product-cell.stock {
      padding: 8px 0;
      border-bottom: 1px solid var(--app-border-color); }
      .gridView .product-cell.category:last-child, .gridView .product-cell.sales:last-child, .gridView .product-cell.price:last-child, .gridView .product-cell.status-cell:last-child, .gridView .product-cell.solved:last-child, .gridView .product-cell.stock:last-child {
        border-bottom: none; }
    .gridView .product-cell.projector .cell-label {
      display: none; }
  .gridView .status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600; }
  .gridView .guest-badge {
    font-size: 10px;
    padding: 2px 8px; }

/* Адаптив для планшетов и телефонов */
@media (max-width: 768px) {
  .gridView {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px; }

  .gridView .products-row {
    min-width: 100%; } }
@media (max-width: 480px) {
  .gridView {
    grid-template-columns: 1fr;
    /* На узких экранах — одна колонка */
    gap: 12px; } }
/* ========== STATUS BADGES ========== */
.status {
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500; }
  .status.easy {
    padding: 4px 8px;
    color: #2ba972;
    background-color: rgba(43, 169, 114, 0.2); }
  .status.medium {
    padding: 4px 8px;
    color: #59719d;
    background-color: rgba(89, 113, 157, 0.2); }
  .status.hard {
    padding: 4px 8px;
    color: #9d5959;
    background-color: rgba(157, 89, 89, 0.2); }

.easy {
  color: #2ba972;
  background-color: rgba(43, 169, 114, 0.2); }

.medium {
  color: #59719d;
  background-color: rgba(89, 113, 157, 0.2); }

.hard {
  color: #9d5959;
  background-color: rgba(157, 89, 89, 0.2); }

/* ========== LANGUAGE SWITCHER ========== */
select.language-switcher {
  background-color: var(--app-bg-2);
  color: var(--app-content-main-color);
  border: 1px solid var(--app-border-color);
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233460c6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px; }
  select.language-switcher:hover {
    border-color: var(--action-color);
    background-color: var(--sidebar-hover-link); }
  select.language-switcher:focus {
    border-color: var(--action-color);
    box-shadow: 0 0 0 2px rgba(40, 105, 255, 0.2); }
  select.language-switcher option {
    background-color: var(--app-bg-2);
    color: var(--app-content-main-color);
    padding: 10px; }

/* ========== GUEST BADGE ========== */
.guest-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  color: white;
  background-color: #4169e1;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap; }

/* ========== MODAL CONFIRM ========== */
.modal-confirm {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background-color: var(--app-bg-2);
  border-radius: 8px;
  box-shadow: var(--filter-shadow);
  min-width: 400px;
  max-width: 500px;
  padding: 24px;
  animation: modalAppear 0.3s ease-out; }
  .modal-confirm-text {
    color: var(--app-content-main-color);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 8px 0;
    text-align: center; }
  .modal-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center; }
    .modal-confirm-buttons button {
      padding: 10px 24px;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
      min-width: 100px; }
  .modal-confirm.closing {
    animation: modalDisappear 0.2s ease-in forwards; }

.btn-confirm-ok {
  background-color: var(--action-color);
  color: white; }
  .btn-confirm-ok:hover {
    background-color: var(--action-color-hover);
    transform: translateY(-1px); }

.btn-confirm-cansel {
  background-color: var(--app-bg-tasks);
  color: var(--app-content-main-color); }
  .btn-confirm-cansel:hover {
    background-color: var(--app-bg);
    transform: translateY(-1px); }

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9); }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); } }
@keyframes modalDisappear {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9); } }
/* ========== MARKDOWN MODAL ========== */
.md-modal-overlay {
  position: fixed;
  top: 0;
  left: 1000px;
  right: 0;
  bottom: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px; }

.md-modal {
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  background-color: var(--app-bg);
  border-radius: 12px;
  border: 1px solid var(--app-border-color);
  box-shadow: var(--filter-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column; }
  .md-modal-header {
    background-color: var(--app-bg-2);
    padding: 16px 20px;
    border-bottom: 1px solid var(--app-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center; }
    .md-modal-header h3 {
      margin: 0;
      color: var(--txt-color);
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      gap: 10px; }
  .md-modal-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1; }
  .md-modal-footer {
    background-color: var(--app-bg-2);
    padding: 12px 20px;
    border-top: 1px solid var(--app-border-color);
    text-align: center; }
    .md-modal-footer p {
      margin: 0;
      font-size: 0.9rem;
      color: var(--diagram-cl); }

.md-help-item {
  margin-bottom: 20px;
  border: 1px solid var(--app-border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--app-bg-2); }

.md-help-title {
  background-color: var(--app-bg-tasks);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--app-content-main-color);
  font-weight: 500;
  border-bottom: 1px solid var(--app-border-color); }

.md-example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px; }
  @media (max-width: 640px) {
    .md-example {
      grid-template-columns: 1fr; } }

.md-syntax {
  background-color: var(--app-bg);
  border: 1px solid var(--app-border-color);
  border-radius: 6px;
  padding: 12px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.5; }
  .md-syntax code {
    display: block;
    margin-bottom: 6px;
    color: var(--diagram-cl);
    white-space: pre-wrap; }
    .md-syntax code:last-child {
      margin-bottom: 0; }

.md-result {
  background-color: var(--app-bg);
  border: 1px solid var(--app-border-color);
  border-radius: 6px;
  padding: 12px;
  font-size: 0.9rem;
  line-height: 1.4; }

/* ========== TASK FORM STYLES ========== */
.topmost-div,
.topmost-div-task-plus,
.topmost-div-task-minus {
  position: fixed;
  border-radius: 15px;
  z-index: 9999;
  top: 10vw;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  max-width: 600px;
  background-color: var(--app-bg-2);
  padding: 20px; }
  @media screen and (max-width: 1024px) {
    .topmost-div,
    .topmost-div-task-plus,
    .topmost-div-task-minus {
      width: 90vw;
      top: 5vh;
      max-height: 90vh;
      overflow-y: auto; } }

.description {
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  margin: 16px 0; }
  @media screen and (max-width: 1024px) {
    .description {
      font-size: 3vw; } }

.taskID_complexity {
  text-align: center;
  font-size: 1.4em;
  margin-top: 10px; }

.TaskH1 {
  color: var(--sidebar-main-color);
  margin-bottom: 20px; }

.btnclose,
.btnclosetask {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s; }
  .btnclose:hover,
  .btnclosetask:hover {
    background-color: rgba(255, 255, 255, 0.1); }

/* ========== UTILITY CLASSES ========== */
.HiddenBlock {
  display: none; }

.teamlink {
  text-decoration: none;
  cursor: pointer; }

.delete-team-btn,
.delete-task-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--app-content-main-color);
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center; }
  .delete-team-btn:hover,
  .delete-task-btn:hover {
    background-color: rgba(244, 64, 106, 0.2);
    color: #f4406a; }

/* ========== HOVER EFFECTS ========== */
#button-minus-svg:hover path,
#button-plus-svg:hover path {
  fill: var(--action-color); }

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 520px) {
  .tableView .product-cell.image span {
    max-width: 100px;
    white-space: normal;
    word-break: break-word; } }
@media screen and (max-width: 600px) {
  .modal-confirm {
    min-width: unset;
    width: 90%;
    max-width: 90%;
    padding: 20px; }

  .modal-confirm-buttons {
    flex-direction: column;
    gap: 8px; }
    .modal-confirm-buttons button {
      width: 100%; } }

/*# sourceMappingURL=Main.css.map */
