

/* Start:/local/templates/alltech/components/bitrix/news.list/device/style.css?17914982789499*/
[v-cloak] {
  display: none;
}

.app-container {
  display: flex;
  background: #F5F5F5;
  border-radius: 40px;
  padding: 24px;
  margin: 32px 0 50px 0;
}

.trade-top-p {
  max-width: 673px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #000;
}

.sidebar {
  width: 80px;
  background-color: #f5f5f5;
  /* padding: 10px 0; */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-button {
  width: 80px;
  height: 67px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 12.55px;
  border-width: 0.78px;
  transition: background-color 0.2s;
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  color: #999999;
}

.sidebar-button:disabled {
  opacity: 0.6;
  cursor: none;
}

.sidebar-icon {
  width: 32px;
}

.sidebar-button:hover {
  background-color: #e0e0e0;
}

.sidebar-button.active {
  background-color: #fff;
  color:#3ABAA6;
  border: 0.78px solid #3ABAA6;
}

.main-content {
  flex: 1;
  padding: 0 20px 0 58px;
  display: flex;
  flex-direction: column;
}

.trade-right {
  width: 300px;
  height: 368px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#form-container {
  height: 100%;
}

form[name="TES"] {
  display: flex;
  flex-direction: column;
  max-width: 525px;
  width: auto;
  height: 100%;
}

form[name="TES"] input[type="text"] {
  background-color: #fff;
}

.trade_tab_buttons input {
  width: 100%;
}

.obmen_title_text {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
}

.input-with-icon {
  position: relative;
  display: inline-block;
  width: 100%;
}

.next-button.next-button-add {
  background: gold;
  color: #000;
}

.input-with-icon input {
  padding-left: 38px !important;
  height: 46px !important;
  margin-top: 0 !important;
}

.input-with-icon svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* Чтобы не мешать кликам по инпуту */
}

.modal-obmen {
  position: fixed;
  inset: 0; 
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;     
  z-index: 1000;
}

.modal-content-obmen {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.modal-content-obmen p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #000;
}

.modal-content-obmen button {
  padding: 10px 25px;
  border-radius: 5px;
  border: none;
  background-color: #3ABAA6;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease;
}

.modal-content-obmen button:hover {
  background-color: #2e7e72;
}

.info_tab_button.obmen_submit {
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
}

.foreach.info_tab_input_group_inner2 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.foreach.info_tab_input_group_inner2 .trade_tab_buttons {
  margin-top: auto;
}

.trade-item {
  width: 300px;
  height: 368px;
  background: #fff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trade-item img {
  max-width: 100%;
}

.search-container {
  width: 100%;
}

.search-container input {
  height: 46px !important;
  border-radius: 9999px !important;
}

.search-container input:focus {
  box-shadow: inset 6px 8px 9px 0rem rgba(158, 158, 158, 0.25) !important;
}

.search-container-wrap,
.custom-device-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.search-container-wrap button,
.custom-device-wrap button {
  margin-left: 16px;
}

 input[type="text"].search-input  {
  padding-left: 35px;
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 3H8C7.46957 3 6.96086 3.21071 6.58579 3.58579C6.21071 3.96086 6 4.46957 6 5V19C6 19.5304 6.21071 20.0391 6.58579 20.4142C6.96086 20.7893 7.46957 21 8 21H16C16.5304 21 17.0391 20.7893 17.4142 20.4142C17.7893 20.0391 18 19.5304 18 19V5C18 4.46957 17.7893 3.96086 17.4142 3.58579C17.0391 3.21071 16.5304 3 16 3H14M10 3H14M10 3V4M14 3V4M10 4C10 4.26522 10.1054 4.51957 10.2929 4.70711C10.4804 4.89464 10.7348 5 11 5H13C13.2652 5 13.5196 4.89464 13.7071 4.70711C13.8946 4.51957 14 4.26522 14 4M10 4H14" stroke="%23999999" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 16px;
  border: 1px solid #ddd !important;
  border-radius: 4px;
  font-size: 16px;
  background-color: #fff !important;
  width: 100%;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.section-title img {
  width: 32px;
  height: 32px;
}

.items-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 5px;
}

.items-list li {
  cursor: pointer;
  position: relative;
  font-weight: 400;
  font-size: 14.4px;
  line-height: 24px;
  height: 32px;
  display: flex;
  align-items: center;
  border-radius: 14px;
}

.items-list li:hover {
  border-radius: 14px;
  position: relative; 
  white-space: nowrap;
}

.items-list li.selected {
  background: #3ABAA6;
  border-radius: 14px;
  color: #fff;
  width: 95%;
  padding: 0 30px 0 8px; 
  position: relative; 
  white-space: nowrap;
}

/* Создаем иконку */
.items-list li.selected::after {
  content: '';
  
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9,9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.75 0.75L8.25 8.25M0.75 8.25L8.25 0.75' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  
  position: absolute;
  
  /* Позиционируем относительно правого верхнего угла родителя */
  top: 50%;
  right: 16px; /* Здесь задается отступ от края */
  
  width: 10px;
  height: 10px;
  
  /* Центрирование по вертикали */
  transform: translateY(-50%);
}

.items-list li .checkmark {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.highlight {
  background-color: yellow;
  font-weight: bold;
}

.next-button {
  width: 96px;
  height: 46px;
  border-radius: 30px;
  align-items: center;
  font-size: 14px;
  justify-content: center;
  border: none;
  display: flex;
  background: #3ABAA6;
  color: #FFFFFF;
}

.next-button:disabled {
  background-color: #ccc; 
  color: #666; 
  cursor: not-allowed;
}

.step_form {
  font-size: 24px;
}

.step_form label {
  margin: 10px 0;
  display: block;
  font-weight: 400;
  font-size: 14.4px;
  line-height: 24px;
  display: flex;
  align-items: center;
}

.step_form label input {
  margin-right: 6px;
}

.step_form-buttons {
  display: flex;
  align-items: center;
  margin-top: 16px;

}

.step_form-buttons .prev-button {
  margin-right: 11px;
  background: #180a0a;
}

.step_h3 {
  margin-bottom: 20px;
}

@media (max-width: 1025px) {
  .trade-right {
    max-width: 230px;
    width: 100%;
    height: inherit;
  }

  .trade-item {
    width: 230px;
    height: auto;
  }
  .items-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
   .trade-top-p {
    font-size: 12px;
   }
  .app-container {
    flex-direction: column;
    padding: 0;
    background: inherit;
    margin: 16px 0 32px 0;
  }

  .main-content {
    background: #F5F5F5;
    padding: 10px 0;
    overflow-y: auto;
    margin: 0 -16px;
    position: relative;
  }

  .sidebar {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 16px;
  }

  .sidebar-icon {
    width: 22px;
  }

  input[type="text"]::placeholder {
    font-size: 12px;
  }

  .items-list li,
  .next-button  {
    font-size: 12px;
  }

  .sidebar-button {
    width: 65px;
    height: 55px;
    border-radius: 10px;
    font-size: 10px;
  }

  .items-list {
    width: 100vw;
    padding: 0 16px;
  }

  .step_form-buttons {
    margin: 16px 0;
  }

  .step_form-buttons button {
    height: 30px;
  }

  h3.step_h3 {
    margin: 16px 0;
    font-size: 18px;
  }

  .div-step {
    padding: 0 16px;
  }

  .trade-item {
    width: 200px;
    height: auto;
  }

  .trade-right {
    width: 100%;
    max-width: inherit;
    justify-content: center;
    height: auto;
    margin-top: 12px;
  }

  form[name="TES"] {
    width: 100%;
  }

  .info_tab_button.obmen_submit {
    line-height: inherit;
  }

  .foreach.info_tab_input_group_inner2 .trade_tab_buttons {
    margin-top: 16px;
  }

  .foreach.info_tab_input_group_inner2 .info_tab_input_group {
    margin-left: 0;
  }

  .trade-title-box {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .trade-title-box img {
    margin-left: 0px !important; 
  }

  .info_tab_input_group {
    margin-left: 2%;
    margin-right: 2%;
  }

  .search-container-wrap, 
  .custom-device-wrap,
  .obmen_title_wrap,
  .info_tab_input_group,
  .trade_tab_buttons {
    width: 100vw;
    padding: 0 16px;
  }
}
/* End */
/* /local/templates/alltech/components/bitrix/news.list/device/style.css?17914982789499 */
