

/* Start:/bitrix/templates/empty/template_styles.css?177382078513538*/
/* === ОСНОВНЫЕ КОНТЕЙНЕРЫ === */

/* Стилизация основного контейнера */
.bx-core {
  background: rgba(250, 250, 250, 0.95);
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

/* Центрирование для страниц авторизации */
.bx-core:has(.bx-auth),
.bx-core:has(.bx-auth-reg),
.bx-core:has(form[name="bform"]),
.bx-core:has(form[name="form1"]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Адаптивная ширина контейнера */
@media (min-width: 1600px) { .bx-core { width: 1500px; } }
@media (min-width: 1345px) and (max-width: 1599px) { .bx-core { width: 1340px; } }
@media (min-width: 1200px) and (max-width: 1344px) { .bx-core { width: 1170px; } }
@media (min-width: 992px) and (max-width: 1199px) { .bx-core { width: 970px; } }
@media (min-width: 768px) and (max-width: 991px) { .bx-core { width: 750px; } }

/* === СТИЛИ АВТОРИЗАЦИИ === */

/* Общие стили окон авторизации */
.bx-auth, .bx-auth-reg, form[name="bform"], form[name="form1"] {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 140px 25px 30px 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  margin: 20px auto;
}

.profile-block-shown {
  max-width: 600px;
}

/* Логотип через ::before */
.bx-auth::before, .bx-auth-reg::before, form[name="bform"]::before, form[name="form1"]::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 130px;
  background-image: url('https://inprice.ru/wp-content/uploads/2026/03/logo-tech.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Заголовок формы */
.bx-auth-note {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 25px;
  text-align: center;
}

/* Сообщение об ошибке */
.errortext {
  font-weight: 600;
  text-align: center;
  margin: 20px 0;
  display: block;
}

/* Подписи полей */
.bx-auth-label, .profile-table td {
  vertical-align: middle;
  color: #34495e;
  font-weight: 500;
}

/* Обязательные поля (звёздочка) */
.starrequired {
  color: #a80532;
  font-size: 16px;
  vertical-align: middle;
  margin-left: 2px;
}

/* Поля ввода */
.bx-auth-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea[name="ADMIN_NOTES"] {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  box-sizing: border-box;
}

.bx-auth-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea[name="ADMIN_NOTES"]:focus {
  outline: none;
  border-color: #a805326b;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(168, 5, 50, 0.1);
}

/* Чекбокс «Запомнить меня» */
#USER_REMEMBER, .bx-auth-reg input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.1);
}

label[for="USER_REMEMBER"] {
  color: #7f8c8d;
  font-size: 14px;
  cursor: pointer;
}

/* Ссылки */
a {
  color: #a80532;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #8a042a;
  text-decoration: underline;
}

.bx-auth-reg a {
  color: #a80532;
}

/* Кнопки */
.btn-primary,
input[type="submit"],
input[type="reset"],
input[value="Отменить"],
input[value="Сохранить"],
button[class="reset"] {
  background: linear-gradient(135deg, #a80532 0%, #8a042a 100%);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

button.reset a {
  color: #fff;
  font-size: 14px;
}

.bx-auth .btn-primary, .bx-auth-reg input[type="submit"] {
  width: 100%;
}
form[name="support_edit"] input[name="apply"] {
  display: none;
}

.btn-primary:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[value="Отменить"]:hover,
input[value="Сохранить"]:hover,
button[class="reset"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(168, 5, 50, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.bx-auth-reg input[type="submit"]:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

/* Таблица формы */
.bx-auth-table, .bx-auth-reg table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.bx-auth-reg th, .bx-auth-reg td {
  padding: 10px;
}

.bx-auth-reg th {
  text-align: left;
  font-weight: 600;
}

/* Пояснительный текст */
.bx-auth-reg p,
form[name="bform"] div:nth-child(3) {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin-top: 10px;
}

/* Ссылки внизу формы */
noindex p {
  text-align: center;
  margin: 15px 0;
  font-size: 14px;
}

/* === СТИЛИ ДЛЯ СТРАНИЦЫ ОБРАЩЕНИЯ В ПОДДЕРЖКУ === */

/* Общие стили для таблиц поддержки */
.support-ticket-edit.data-table,
.support-ticket-edit-form.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Заголовки таблиц поддержки */
.support-ticket-edit.data-table th,
.support-ticket-edit-form.data-table th {
  background: linear-gradient(#D2D5D8, #fff);
  color: #a80532;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid #ADC3D5;
}

.support-ticket-edit-form.data-table th[colspan="2"] {
  text-align: center;
}

/* Ячейки данных в таблицах поддержки */
.support-ticket-edit.data-table td,
.support-ticket-edit-form.data-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.support-ticket-edit.data-table tr:last-child td {
  border-bottom: none;
}

/* Информация об обращении */
.support-ticket-edit td {
  line-height: 1.6;
  color: #34495e;
  font-size: 14px;
}

.support-ticket-edit span[title] {
  color: #a80532;
  font-weight: 500;
}

/* Блок обсуждения */
.ticket-edit-message {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 15px;
  margin: 10px 0;
}

.ticket-edit-message .support-float-quote {
  float: right;
  background: #a80532;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.ticket-edit-message .support-float-quote a {
  color: white;
  text-decoration: none;
}

.ticket-edit-message .support-float-quote a:hover {
  text-decoration: underline;
}

.ticket-edit-message b {
  color: #2c3e50;
}

/* Форма ответа */
.support-ticket-edit-form.data-table .field-name {
  width: 200px;
  font-weight: 600;
  color: #2c3e50;
  vertical-align: top;
  padding-top: 10px;
}

/* Кнопки форматирования текста */
.support-ticket-edit-form.data-table input[type="button"] {
  background: #ecf0f1;
  border: 1px solid #bdc3c7;
  color: #7f8c8d;
  padding: 5px 10px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
}

.support-ticket-edit-form.data-table input[type="button"]:hover {
  background: #d5dbdb;
  color: #2c3e50;
}

/* Текстовое поле сообщения */
.support-ticket-edit-form.data-table textarea#MESSAGE {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  resize: vertical;
  min-height: 150px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.support-ticket-edit-form.data-table textarea#MESSAGE:focus {
  outline: none;
  border-color: #a805326b;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(168, 5, 50, 0.1);
}

/* Поля ввода файлов */
.support-ticket-edit-form.data-table input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* Кнопка «Ещё…» для файлов */
.support-ticket-edit-form.data-table input[type="button"][value="Еще..."] {
  background: #3498db;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.support-ticket-edit-form.data-table input[type="button"][value="Еще..."]:hover {
  background: #2980b9;
}

/* Выпадающий список оценок */
.support-ticket-edit-form.data-table select#MARK_ID {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  font-size: 14px;
}

/* Чекбокс закрытия обращения */
.support-ticket-edit-form.data-table input[type="checkbox"] {
  transform: scale(1.1);
  margin-right: 8px;
}

/* Дополнительные поля (производитель, модель и т. д.) */
.field-wrap {
  display: inline-block;
  width: 100%;
}

.field-item input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Основные кнопки формы поддержки */
form[name="support_edit"] input[type="submit"],
form[name="support_edit"] input[type="reset"] {
  background: linear-gradient(135deg, #a80532 0%, #8a042a 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-right: 10px;
  margin-top: 10px;
}

form[name="support_edit"] input[type="submit"]:hover,
form[name="support_edit"] input[type="reset"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(168, 5, 50, 0.4);
}

form[name="support_edit"] input[type="submit"]:active,
form[name="support_edit"] input[type="reset"]:active {
  transform: translateY(0);
}

/* === ОБЩИЕ СТИЛИ И РЕЗЕТЫ === */

/* Убираем лишние границы в таблицах поддержки */
table.support-ticket-edit th,
table.support-ticket-edit td,
table.support-ticket-edit-form {
  border: none;
}

/* Ячейка с кнопкой */
.authorize-submit-cell {
  padding-top: 15px;
}

/* === АДАПТИВНОСТЬ === */

/* Адаптивность для мобильных устройств — общие стили */
@media (max-width: 767px) {
  /* Основной контейнер */
  .bx-core {
    padding: 0 10px;
  }

  /* Окна авторизации */
  .bx-auth, .bx-auth-reg, form[name="bform"], form[name="form1"] {
    padding: 120px 15px 20px 15px;
  }

  /* Таблицы поддержки */
  .support-ticket-edit.data-table,
  .support-ticket-edit-form.data-table {
    font-size: 13px;
    margin-bottom: 15px;
  }

  /* Поля формы поддержки */
  .support-ticket-edit-form.data-table .field-name {
    width: auto;
    font-size: 13px;
    padding-top: 8px;
  }

  /* Блок обсуждения */
  .ticket-edit-message {
    padding: 10px;
  }

  /* Кнопки форматирования текста */
  .support-ticket-edit-form.data-table input[type="button"] {
    padding: 4px 8px;
    font-size: 11px;
  }

  /* Текстовое поле сообщения */
  .support-ticket-edit-form.data-table textarea#MESSAGE {
    min-height: 120px;
    padding: 10px;
  }

  /* Основные кнопки формы */
  form[name="support_edit"] input[type="submit"],
  form[name="support_edit"] input[type="reset"] {
    padding: 8px 15px;
    font-size: 13px;
    margin-right: 8px;
    margin-top: 8px;
  }
}

/* Планшеты */
@media (min-width: 768px) and (max-width: 1024px) {
  .support-ticket-edit-form.data-table .field-name {
    width: 180px;
    font-size: 14px;
  }

  .support-ticket-edit-form.data-table input[type="button"] {
    font-size: 13px;
  }
}

/* Маленькие экраны (смартфоны в альбомной ориентации) */
@media (min-width: 480px) and (max-width: 767px) {
  .bx-auth::before, .bx-auth-reg::before, form[name="bform"]::before, form[name="form1"]::before {
    height: 100px; /* Уменьшаем логотип на маленьких экранах */
  }

  .bx-auth-note {
    font-size: 16px;
  }

  .errortext {
    font-size: 14px;
  }
}

/* Очень маленькие экраны (смартфоны в портретной ориентации) */
@media (max-width: 479px) {
  .bx-core {
    padding: 0 5px;
  }

  .bx-auth, .bx-auth-reg, form[name="bform"], form[name="form1"] {
    padding: 100px 10px 15px 10px;
  }

  .bx-auth::before, .bx-auth-reg::before, form[name="bform"]::before, form[name="form1"]::before {
    height: 80px;
  }

  .support-ticket-edit.data-table,
  .support-ticket-edit-form.data-table {
    font-size: 12px;
  }

  .field-item input,
  .support-ticket-edit-form.data-table select#MARK_ID,
  .support-ticket-edit-form.data-table textarea#MESSAGE {
    padding: 6px;
    font-size: 12px;
  }
}

table.bx-interface-grid tr.bx-odd td.bx-sorted {
  background-color: #f8f8f8 !important;
}
/* End */
/* /bitrix/templates/empty/template_styles.css?177382078513538 */
