.sitebar .menu .sm-li a.leads::before {
  background-image: url(icon.svg) !important;
}

/* Оплатить */

.block_item.commissions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.commissions button,
.row3 button {
  border: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 14px 18px 15px;
  gap: 8px;

  min-width: 181px;
  min-height: 40px;

  background: #2e5fda;
  border-radius: 12px;

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
  color: #fff;
}

.commissions button:hover,
.row3 button:hover {
  border: 1px solid #2e5fda;
  color: #2e5fda;
  background: white;
}

.row3 input {
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  color: rgba(47, 67, 35, 0.75);
  max-width: 80px;
}

.row3 div.input {
  border-radius: 12px;
  border: 1px solid rgba(42, 42, 42, 0.3);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 15px;
  gap: 0px;

  min-width: 61px;
  min-height: 40px;

  background: white;
  border-radius: 12px;

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
  color: rgba(47, 67, 35, 0.75);
}

.row3 .column p {
  font-weight: 700 !important;
}

.item .row3 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.right_content .column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.com-status {
  background: url(vec2.svg) no-repeat;
  background-position: calc(100% - 10px) center;
  font-weight: 700 !important;
  cursor: pointer;
}

.commission-status-1 .com-status {
  background-color: rgba(46, 95, 218, 0.15);
  border-color: rgba(46, 95, 218, 1);
  color: rgba(46, 95, 218, 1);
}

.commission-status-2 .com-status {
  background-color: rgba(255, 168, 1, 0.15);
  border-color: rgba(255, 168, 1, 1);
  color: rgba(255, 168, 1, 1);
}

.commission-status-3 .com-status {
  background-color: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 1);
  color: rgba(255, 0, 0, 1);
}

.commission-status-4 .com-status {
  background-color: rgba(56, 111, 0, 0.15);
  border-color: rgba(56, 111, 0, 1);
  color: rgba(56, 111, 0, 1);
}

.commission-status-5 .com-status {
  background-color: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 1);
  color: rgba(255, 0, 0, 1);
}
.commission-status-6 .com-status {
  background-color: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 1);
  color: rgba(255, 0, 0, 1);
}
.commission-status-7 .com-status {
  background-color: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 1);
  color: rgba(255, 0, 0, 1);
}
.commission-status-8 .com-status {
  background-color: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 1);
  color: rgba(255, 0, 0, 1);
}
.commission-status-9 .com-status {
  background-color: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 1);
  color: rgba(255, 0, 0, 1);
}
.commission-status-10 .com-status {
  background-color: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 1);
  color: rgba(255, 0, 0, 1);
}

section.lightpick {
  position: absolute;
  -webkit-box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1019607843);
  -moz-box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1019607843);
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1019607843);
  border-radius: 12px;
  overflow: hidden;
}

/* MY */
.right_content .column {
  gap: 22px !important;
}
.block_item_row .block_item .sub_title {
  color: #2a2a2a;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.block_item .price_one_lead {
  gap: 10px;
  flex-wrap: nowrap !important;
}

.title-sort1-wrapper {
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
}

#sortDropdown {
  background-image: url("./select.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  border-radius: 12px;
  border: 1px solid rgba(78, 71, 255, 0.2);
  background-size: 14px;
  background-position: 250px;
  transition: 0.3s;
  cursor: pointer;
  -webkit-background-size: 14px;
  -webkit-background-position: 250px;
}

#datePickerField {
  display: -webkit-flex;
  display: flex;
  width: 48px;
  height: 48px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid rgba(78, 71, 255, 0.2);
  background: none;
  background-image: url("./mage_calendar.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: center;
  cursor: pointer;
  color: transparent;
}

.com_sort_1 {
  display: -webkit-flex;
  display: flex;
  gap: 10px;
}

.status-tabs {
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  padding: 0 0 30px 0;
  gap: 15px;
}

.status-tabs .tab {
  padding: 12px;
  color: #d2d2d2;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 25.2px */
  border-bottom: 1px solid #d2d2d2;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.status-tabs .tab.active {
  border-bottom: 1px solid #2e5fda;
  color: #5e5e5e;
  font-weight: 600;
}
.status-tabs .tab.active .count-new {
  background: #2e5fda;
}

.name {
  color: #2a2a2a;
  font-size: 18px;
  font-weight: 700 !important;
}

.block_item.leads .row1 .name span {
  color: #2a2a2a;
  font-size: 16px;
  font-weight: 400;
}

.block_item.leads .row1 .date {
  color: #2a2a2a;
  font-size: 18px;
  font-weight: 500;
}

.block_item_row .block_item .title {
  font-weight: 700 !important;
}

.block_item .transactions .item .row1 .name,
.block_item .transactions .item .row1 .value,
.row2 .phone {
  font-weight: 700 !important;
}

header.header .container {
  width: 90%;
}

.sitebar .menu .sm-li a {
  white-space: nowrap;
}

.row3-grid-wrapper .row3,
.commission-status-1 {
  display: contents;
}

.row3-grid-wrapper {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: space-between;
  gap: 13px 22px;
}

.row3-grid-wrapper .column:nth-child(3n) {
  max-width: 280px;
  width: 100%;
}
.tab-new {
  display: flex;
  align-items: center;
  gap: 10px;
}
.count-new {
  background: rgba(46, 95, 218, 0.3);

  border-radius: 50%;

  min-width: 18.325px;
  min-height: 18.325px;
  width: 1.6em;
  height: 1.6em;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1px;
  text-align: center;
}
.count-new3{
  width: 1.9em;
  height: 1.9em;
}
.saved {
  background: url(./saved.svg) no-repeat;
  background-position: left;
  background-size: 17px;
  padding: 0 0 0 27px;
  text-transform: lowercase;
  color: #d4d4d4;
  transition: 0.3s;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
}
@media (max-width: 1100px) {
  .com-status option {
    font-size: 12px;
  }
  .right_content:has(.block_item) {
    width: 70% !important;
  }
  .menu-header ul.menu {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: end;
  }
  .menu-header ul li {
    margin: 0;
    padding: 0;
  }
  header.header .container {
    width: 90%;
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .right_content:has(.block_item) {
    width: 100% !important;
  }
  .sm-li {
    display: none;
  }
  .sm-li.active {
    display: block !important;
  }
  .menu {
    margin: 0 !important;
  }
  .sitebar .user_info {
    -webkit-flex-direction: column;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .menu-header {
    z-index: 1001;
  }
}

@media (max-width: 768px) {
  .block_item.commissions {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .row3-grid-wrapper {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }
  .row3-grid-wrapper .column:nth-child(1) {
    order: 0;
  }
  .row3-grid-wrapper .column:nth-child(2) {
    order: 2;
  }
  .row3-grid-wrapper .column:nth-child(3) {
    order: 4;
    max-width: none;
    width: 100%;
  }
  .row3-grid-wrapper .column:nth-child(4) {
    order: 1;
  }
  .row3-grid-wrapper .column:nth-child(5) {
    order: 3;
  }
  .row3-grid-wrapper .column:nth-child(6) {
    order: 5;
  }
}

@media (max-width: 600px) {
  .com_sort_1 {
    display: contents;
  }
  .title-sort1-wrapper {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: space-between;
  }
  #sortDropdown {
    grid-column: 1/-1;
    margin-top: 20px;
    background-position: 97%;
  }
  .block_item_row .block_item .title {
    font-size: 42px;
  }
  .commissions button {
    width: 100%;
  }
  .right_content .column {
    width: 100%;
  }
  .block_item .transactions .item .row1 {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  header.header .container {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .com_sort_1 {
    display: contents;
  }
  .title-sort1-wrapper .title {
    order: 0;
  }
  .title-sort1-wrapper .date-filter {
    order: 1;
    justify-self: end;
  }
  .title-sort1-wrapper #sortDropdown {
    order: 2;
  }
  .title-sort1-wrapper {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: space-between;
  }

  #sortDropdown {
    grid-column: 1/-1;
    margin: 20px 0 0 0;
    background-position: 97%;
  }
  .block_item_row .block_item .title {
    font-size: 42px;
  }
  .commissions button {
    width: 100%;
  }
  .right_content .column {
    width: 100%;
  }
  .block_item .transactions .item .row1 {
    flex-wrap: wrap;
  }
  header.header .container {
    width: 100%;
  }
}
@media (max-width: 500px) {
  .lightpick__month {
    width: 300px;
    min-width: 300px;
  }
}

@media (max-width: 400px) {
  .lightpick__month {
    width: 250px;
    min-width: 250px;
  }
  .lightpick__month-title > .lightpick__select-months {
    font-size: 18px;
  }
  .lightpick__month-title > .lightpick__select {
    font-size: 18px;
  }
  .lightpick__day {
    height: auto;
  }
  .lightpick__day.is-today {
    padding: 0;
  }
}

@media (max-width: 375px) and (orientation: portrait) {
  .block_item_row .block_item .sub_title {
    font-size: 16px;
  }
  .menu-header ul.menu {
    gap: 8px;
    justify-content: space-around;
  }

  .title-sort1-wrapper .title,
  .title-sort1-wrapper #sortDropdown {
    justify-self: start;
  }
}

.drag-handle {
    cursor: move;
    width: 30px;
    text-align: center;
    user-select: none;
}

.emoji-input {
    width: 50px;
    text-align: center;
}

#status-table tr.ui-sortable-helper {
    background: #f9f9f9;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#status-table td.drag-handle, #status-table th.drag-handle { width:10px }