.admin-tools {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #efefef;
    padding: 5px;
    font-size: 10px;
    line-height: 10px;
    z-index: 1000;
}

/* === Light theme === */
:root{
  --sidebar-w: 250px;
  --bg:#ffffff;        /* фон сайдбара и топбара */
  --bg-2:#f9fafb;      /* поля, инпуты */
  --text:#1f2937;      /* серый-800 */
  --muted:#6b7280;     /* серый-500 */
  --accent:#2563eb;    /* синий-600 */
  --hover:#f3f4f6;     /* серый-100 */
  --border:#e5e7eb;    /* серый-200 */
  --color-main: #AE5420;
  --color-second:#7F6145;
  --color-gray:#6b7280;
  --color-gray-light:#D0D0D0;
    --color-alt: #9431C8;
    --color-cancel: #484848;
    --color-info: #0193C6;
    --color-bad: #C70003;
    --color-good: #017A32;
    --color-warning: #F58403;
    --color-excel: #11773F;
}

@charset "UTF-8";

* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	outline: 0;
	font-family: 'Roboto',sans-serif;
}


*:before,*:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	outline: 0;
	-webkit-tap-highlight-color: transparent;
	-webkit-focus-ring-color: transparent;
	-webkit-touch-callout: none;
}
a {
    text-decoration: none;
    color: #212121;
    transition: all 250ms;
    border-bottom: 1px solid transparent;
}
table a:hover {color: var(--color-main);border-color: var(--color-main);}
table th a:hover {color: #fff;}
.content a:hover {color: var(--color-main);border-color: var(--color-main);}

h1, .pagetitle {margin-bottom: 25px;line-height: 1.1em;}
figure {margin:0;padding: 0;}
img {
    display: block;
    width: 100%;
}
ul,
ol {list-style: none;margin: 0;padding: 0;}
body {
	font-family: 'Roboto',sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 22px;
	color: #212121;
}
.table-container {
    width: 100%;
    overflow-x: scroll;
}
table {border-collapse: collapse; border: none;width: auto;border-radius: 15px;overflow: hidden;}
table thead {background: var(--color-main); color: #fff;}
table tbody {}
table tbody tr:nth-child(even) {background: var(--bg-2)}
table tbody tr:hover {background: var(--hover)}
table th {font-weight: 500;}
table th a {color: #ffffff;}
table th,
table td {padding: 5px 10px;border: 1px solid var(--border);white-space: nowrap;}

table td[data-value="Новый"] {font-weight: 700;}
.text-center {text-align: center;}

button {
    cursor: pointer;
    font-family: 'Roboto',sans-serif;
	font-size: 14px;
	line-height: 22px;
}
input,textarea,select,option {
    font-family: 'Roboto',sans-serif;
	font-size: 14px;
	line-height: 22px;
}
.btn {
    width: 100%;
    max-width: 350px;
    border: none;
    cursor: pointer;
    background: var(--color-main);
    color: #ffffff;
    padding: 7px 20px;
    border-radius: 10px;
    transition: all 250ms;
}
.btn:hover {box-shadow: 0 0 5px rgba(0,0,0,0.2);}
.btn.cancel {background: var(--color-cancel);}
.btn.alt {background: var(--color-alt);}
.btn.good {background: var(--color-good);}
.btn.bad {background: var(--color-bad);}
.btn.warning {background: var(--color-warning);}
.btn.excel {background: var(--color-excel);}
.btn.info {background: var(--color-info);}
.btn.icon {
    width: auto;
    padding: 4px;
    border-radius: 5px;
    line-height: 14px;
}

.btn.icon.light {
    border: 1px solid var(--color-main);
    color: var(--color-main);
    background: transparent;
}
.btn.icon.del {
    border: 1px solid var(--color-gray);
    color: var(--color-gray);
    background: var(--color-gray-light);
}
/* ===== Sidebar ===== */
.sidebar{
  position:fixed; inset:0 auto 0 0;
  z-index: 100;
  width:var(--sidebar-w);
  background:var(--bg);
  border-right:1px solid var(--border);
  display:flex; flex-direction:column;
  height:100vh;
  overflow-y:auto;
}
.sidebar__logo{
  display:flex; flex-direction:column; align-items:flex-start;
  gap:.35rem;
  padding:18px 16px 10px;
}
.sidebar__logo img{width:100%;height:40px;object-fit:contain}
.sidebar__brand{font-weight:700}
.sidebar__subtitle{font-size:12px;color:var(--muted);margin-top:-2px}

/* поиск */
.sidebar__search{padding:8px 12px 12px}
.sidebar__search .field{
  position:relative;
}
.sidebar__search input{
  width:100%; height:36px; border-radius:8px;
  border:1px solid var(--border);
  background:var(--bg-2); color:var(--text);
  padding:0 36px 0 34px; outline:none;
}
.sidebar__search .fa-magnifying-glass{
  position:absolute; left:10px; top:50%; transform:translateY(-50%);
  color:var(--muted); font-size:13px;
}

/* меню */
.nav{list-style:none; margin:6px 0 0; padding:0}
.nav__item{display:block}
.nav__link{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; text-decoration:none; color:var(--text);
  border-left:3px solid transparent;
}
.nav__link .fa{width:18px; text-align:center; color:var(--muted)}
.nav__link:hover{background:var(--hover)}
.nav__link[aria-current="page"]{border-left-color:var(--accent); background:#0c1a33}

.current-cart-items {margin-left:auto;opacity:0.8;}
/* выпадающие подменю */
.nav__toggle{
  /*justify-content:space-between;*/
}
.nav__caret{margin-left:auto; color:var(--muted); transition:transform .2s}
.nav__item.is-open > .nav__toggle .nav__caret{transform:rotate(90deg)}
.subnav{
  display:none; padding:4px 0 8px 34px;
}
.nav__item.is-open > .subnav{display:block}
.subnav a{
  display:flex; gap:8px; padding:8px 12px; color:var(--text); text-decoration:none;
}
.subnav a:hover{background:var(--hover)}
.subnav .fa{width:14px; color:var(--muted)}

/* нижний блок: пользователь */
.sidebar__spacer {flex:0;}
.user {
    display: flex;
    flex-direction: column;
    height: 100%;    
  margin-top:8px; padding:12px;
  border-top:1px solid var(--border);
  background:rgba(255,255,255,.02);
}
.user__name {font-weight:600}
.user__mail {font-size:12px;color:var(--muted)}
.user__levels{
    margin-top:8px; 
    font-size:12px; 
    color:var(--muted)
}
.user__levels .fa {width:14px;}
.copyright {
    border-top:1px solid var(--border);
    margin-top:auto; 
    padding: 10px 0;
    font-size:12px; 
    color:var(--muted)
}
/* контент справа */
.main{
  margin-left:var(--sidebar-w);
  padding: 20px;
}

/* мобилка: кнопка-бургер и выездное меню */
.topbar{
  display:none; position:sticky; top:0; z-index:4;
  background:var(--bg); border-bottom:1px solid var(--border);
  padding:10px 12px;
}
.burger{background:none;border:0;color:var(--text);font-size:20px}

.breadcrumb-wrapper {
    display: flex;
    margin: 0 0 20px 0;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    font-size: 0.9em;
}
@media (max-width: 900px){
  .topbar{display:block}
  .sidebar{
    transform:translateX(-100%); transition:transform .25s;
    box-shadow:0 0 0 rgba(0,0,0,0);padding: 50px 0px;
  }
  .sidebar.is-open{transform:none; box-shadow: 24px 0 60px rgba(0,0,0,.4)}
  .main{margin-left:0}
}

/* тонкая прокрутка */
.sidebar{scrollbar-width:thin; scrollbar-color: var(--muted) transparent}
.sidebar::-webkit-scrollbar{width:8px}
.sidebar::-webkit-scrollbar-thumb{background:var(--border); border-radius:8px}


/******************************************/
/********** ЛИСТИНГ ОБОРУДОВАНИЯ **********/
/******************************************/

.equipments-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin-bottom: 25px;
}
.equipments-list.units {
    grid-template-columns: repeat(auto-fit, max(200px));
}
.equipments-list.units > :first-child{
  grid-column: span 2; /* 2×150 = 300px минимум */
}

.equipment-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 250ms;
}
.equipment-item.current {
    box-shadow: inset 0 0 20px rgba(0,0,0,0.15);
}
.equipment-item.current .equipment-item__header {
    background: transparent;
}
.equipment-item:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.equipment-item:active {
    box-shadow: inset 0 0 15px rgba(0,0,0,0.15);
}
.equipment-item__header {
    background: var(--bg-2);
    padding: 10px 10px;
    min-height: 60px;
    border-bottom: 1px solid var(--border);
}
.equipment-item__header a {
    font-weight: 700;
}
.equipment-item__body {
    padding: 10px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    min-height: 145px;
}
.equipment-item__image {margin: auto auto 0 auto;padding: 0;}
.equipment-item__image img {height: auto;width: auto;max-height: 125px;}
.equipment-item__files {margin: 0 0 auto 0;padding: 0;width: 150px;}
.equipment-item__file-type {font-size: 0.9em;font-weight: 500;}
.equipment-item__files ul {display: flex; gap: 10px; flex-wrap: wrap;margin: 5px 0 10px;}
.equipment-item__files ul li {}
.equipment-item__files ul li a {}
.equipment-item__files ul li a img, 
.equipment-item__files ul li a svg {height: 20px}

/**************************/
/********** УЗЕЛ **********/
/**************************/

.unit-container {
    display: flex;
    gap: 20px 50px;
    margin-bottom: 25px;
    /*justify-content: space-between;*/
    flex-wrap: wrap;
}
.unit-scheme {
    max-width: 500px;
    width: 100%;
}
.unit-scheme img {width: auto; max-width: 500px;}
@media (max-width: 650px) {
    .unit-scheme img {max-width: 100%;}
    .unit-spares {overflow: scroll;width: 100%;}
    .unit-table {overflow: hidden;width: 100%;}
}
.unit-spares tbody {}
table.unit-table {font-size: 0.9em;}
.add-spare {
    border: 1px solid var(--color-main);
    color: var(--color-main);
    background: transparent;
}
.add-spare:hover {
    border: 1px solid var(--color-main);
    color: #ffffff;
    background: var(--color-main);
}

.form-add-spare,
.form-add-unit {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    align-items: flex-end;
}
.form-row {
    display: flex;
    flex-direction: column;
}
.form-row label {
    color: var(--color-gray);
    padding-left: 10px;
    font-size: 0.9em;
}
input,select,textarea,
.form-row > input,
.form-row > select,
.form-row > textarea {
    height: 36px;
    width: 100%;
    border: 1px solid var(--color-gray-light);
    padding: 8px 10px;
    border-radius: 10px;
}
.form-row button  {height: 36px;}

.form-row .tomSelect {width: 100%;}
.form-row .tomSelect input {height: auto;}
.form-row .ts-control {border-radius: 10px;}
.tomSelect input {height: auto;}

.cart-add-form {
    display:flex;
    gap:15px;
    align-items:center;
    flex-wrap:wrap;
    justify-content: center;
}
.cart-add-form .tomSelect {width: 80%;max-width: 500px;}
.cart-add-form .tomSelect .ts-control {border-radius: 8px;}
.cart-add-form .btn.icon {padding: 9px}

/*****************************************/
/************* АВТОРИЗАЦИЯ ***************/
/*****************************************/
#authorization-page h1 {text-align: center;font-weight:300;}
#authorization-page .main {margin: 0;}
.authorization-form-container {
    width: 100%;
    max-width: 350px;
    margin: auto;
    height: 90vh;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px
}
.authorization-logo img {
    display: block;
    width: 75%;
    margin: auto;
}
.authorization-checkbox-container {
    display: flex;
    justify-content: space-between;
}


/*****************************************/
/**************** ФОРМЫ ******************/
/*****************************************/

.form {
    display: flex;
    flex-direction: column;
    gap: 10px 20px;
}
.form .twocols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px
}
.form .threecols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px 20px
}
@media (max-width: 650px) {
    .form .twocols {grid-template-columns: 1fr;}
    .form .threecols {grid-template-columns: 1fr;}
}
.form fieldset {
    position: relative;
    border: none;
    padding-top: 20px;
}
.form fieldset.full-line-two {
    grid-column: 1/3;
}
.form fieldset.full-line-three {
    grid-column: 1/4;
}
@media (max-width: 650px) {
    .form fieldset.full-line-two {grid-column: 1/1;}
    .form fieldset.full-line-three {grid-column: 1/1;}
}
.form fieldset legend {
    position: absolute;
    top: 0;
    left: 10px;
    opacity: 0.75;
    font-size: 0.9em;
}

.form fieldset.checkbox {
    display: flex;
    gap: 10px;
}
input[type="checkbox"] {
    padding: 0;
    height: 20px;
    width: 20px;
}

fieldset.law a {border-bottom: 1px solid;}
fieldset.law a:hover {border-bottom: none;color: var(--color-main);}
/*****************************************/
/************* РЕГИСТРАЦИЯ ***************/
/*****************************************/
#registration-page h1 {text-align: center;font-weight:300;}
#registration-page .main {margin: 0;}
.registration-form-container {
    width: 100%;
    max-width: 700px;
    margin: auto;
    height: 100vh;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 25px
}
@media (max-width: 1024px) {
    .registration-form-container {
        margin: 0;
    }
}
.registration-logo img {
    display: block;
    width: 75%;
    max-width: 250px;
    margin: auto;
}
.registration-checkbox-container {
    display: flex;
    justify-content: space-between;
}

.registration-section {display: none !important;}
.registration-section.is-active {display: grid!important;}



fieldset.registration-type {margin: 0 auto 20px;padding: 0;}
.registration-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #f1f3f5;
}
.registration-toggle__item {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.registration-toggle__item input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.registration-toggle__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  background: transparent;
  transition: 
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.registration-toggle__item input[type="radio"]:checked + span {
  background: #ffffff;
  color: #212529;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.06);
}
.registration-toggle__item:hover span {
  color: #212529;
}
.registration-toggle__item input[type="radio"]:focus-visible + span {
  outline: 2px solid #4c6ef5;
  outline-offset: 2px;
}
@media (max-width: 650px) {
  .registration-toggle__item span {
    min-width: 100px;
    padding: 8px 14px;
    font-size: 13px;
  }
}

.pass_gen {
    position: absolute;
    right: 3px;
    top: 23px;
    display: none;
    align-items: center;
    padding: 3px 5px;
    gap: 5px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #efefef;
}
.pass_gen.active {display: flex;}
.pass_gen_yes,
.pass_gen_no {padding: 0px 5px;color: #ffffff;border: none;border-radius: 7px;}
.pass_gen_yes {background: var(--color-good);}
.pass_gen_no {background: var(--color-bad);}

.form-response {}
.form-response .error {color: var(--color-bad);}



/*******************************************************/
/******************** ЛИЧНЫЙ КАБИНЕТ *******************/
/*******************************************************/
.profile-group {
    margin-top: 30px;
}
.profile-group__fields {
    display: grid;
    gap: 20px;
    /*grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    grid-template-columns: 1fr;
}
.profile-group__fields textarea {min-height: 100px;}

#profile .alert {font-weight: 500;margin: 20px 0;}
#profile .alert-danger {color: var(--color-bad);}
#profile .alert-success {color: var(--color-good);}
#profile .alert-warning {color: var(--color-warning);}

.profileHeaders {
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.profileHeaderTop {
    display: flex;
    gap: 10px;
    align-items: center;
}
.profileHeaderTop__item {}
.profileHeaderTop__item.fullname {font-size: 1.5em; line-height: 1.1em; }
.profileHeaderTop__item.status {padding: 5px 10px;border-radius: 10px;max-width: 350px;height: 34px;line-height: 24px;position: relative;}
.profileHeaderTop__item.status:after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: "\f107"; }
.client .profileHeaderTop__item.status:after {display: none;}
.profileHeaderTop__item.status[data-status="0"] {color: #ffffff; background: var(--color-cancel);}
.profileHeaderTop__item.status[data-status="1"] {color: #ffffff; background: var(--color-good);}
.profileHeaderTop__item.status[data-status="2"] {color: #ffffff; background: var(--color-bad);}
.profileHeaderTop__item.status[data-status="3"] {color: #ffffff; background: var(--color-bad);}
.profileHeaderBottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.profileHeaderBottom__item {}
.profileStatusEditor {display: flex; gap: 10px;justify-content: space-between;} 
.profileStatusEditor__select {padding: 0px;height:24px;}
.profileStatusEditor__save,
.profileStatusEditor__cancel {padding: 0px 7px; border: none;border-radius: 5px;}
.profileStatusEditor__save {color: var(--color-good);}
.profileStatusEditor__cancel {color: var(--color-bad);}

.link-change-pass {
    margin-top: 30px;
}

/******************************************/
/**************** ИСТОРИЯ *****************/
/******************************************/

.historyList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding: 20px 0;
}
.historyItem {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
}
.historyItem .date {}
.historyItem .role {}
.historyItem .fullname {}
.historyItem .field {font-weight: 500;}
.historyItem .old {min-width: 50px;color: var(--color-gray);text-decoration: line-through}
.historyItem .new {min-width: 50px;}
/******************************************/
/**************** ЗАКАЗЫ ******************/
/******************************************/

.spares-orders {
    
}

.spares-orders .js-reorder {
    padding: 4px 8px;
}
.spares-orders .js-reorder {
    background: var(--color-gray);
}

/******************************************/
/**************** ЗАКАЗ *******************/
/******************************************/

.order-page__grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px 40px;
    align-items: start;
}

.order-page__right {overflow: hidden;}
.order-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    margin-bottom: 10px;
}
.order-line {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.order-page__mode {
    margin-bottom: 15px;
    width: fit-content;
    display: flex;
    gap: 10px;
    padding: 4px;
    border-radius: 999px;
    background: #f1f3f5;
    position: relative;
    cursor: pointer;
    user-select: none;
}
.order-page__mode .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  background: transparent;
  transition: 
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  background: #ffffff;
  color: #212529;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.06);
}
.order-page__mode .link {
    display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  padding: 10px 18px!important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  background: transparent;
}
.order-page__mode a: hover {box-shadow: none;}
@media (max-width: 1024px) {
  .order-page__mode span {
    min-width: 100px;
    padding: 8px 14px;
    font-size: 13px;
  }
}

.order-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 2px solid #efefef;
    padding-bottom: 20px;
}
.order-group:last-child {
    border: none;
}
.order-group__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 20px;
}
@media (max-width: 768px) {
    .order-group__fields {
        grid-template-columns: 1fr;
    }
}

.order-page__reorder {margin: 30px 0;}
.order-field textarea {height: auto;}

.order-field div {
    height: 36px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
}

.tools-btn {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}
.tools-btn a {width: fit-content;}
.tools-btn a i.fa-solid {margin-right: 5px;}


/********************************************/
/*********** РЕЗУЛЬТАТЫ ПОИСКА **************/
/********************************************/

.search-results-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.dashbord-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    
}
.dashbord-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 250ms;
}
.dashbord-item__header {
    background: var(--bg-2);
    padding: 10px 10px;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}
.dashbord-item__body {
    padding: 10px;
    display: flex;
    gap: 20px;
}
.dashbord-item__footer {
    background: var(--bg-2);
    padding: 5px 10px;
    border-top: 1px solid var(--border);
    font-weight: 400;
    text-align: center;
    margin-top: auto;
}

/* ЗАКАЗЫ */
.dashbord-order-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dashbord-order-item {}
.dashbord-order-item__header {display: flex;justify-content: space-between;gap:10px;font-weight: 500;font-size: 1.1em;}
.dashbord-order-item__title {}
.dashbord-order-item__sum {color: var(--color-main);}
.dashbord-order-item__body {display: flex;justify-content: space-between;gap:20px;}
.dashbord-order-item__user {}
.dashbord-order-item__status {}

/* КЛЕНТЫ */
.dashbord-user-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-start: start;
}
.dashbord-user-item {}
.dashbord-user-item__header {display: flex;justify-content: space-between;gap:10px;font-weight: 500;font-size: 1.1em;}
.dashbord-user-item__title {}
.dashbord-user-item__status {color: var(--color-main);}
.dashbord-user-item__body {display: flex;justify-content: space-between;gap:20px;}
.dashbord-user-item__createdon {}


/* КАТАЛОГ */

.catalog-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.catalog-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    transition: all 250ms;
}
.catalog-item i {font-size: 60px;}
.catalog-item:hover {color: var(--color-main);}


/******************* ПАГИНАЦИЯ ********************/
/* ===== Pagination (generic) ===== */

.pager-wrapper {
    margin-top: 12px;
}

.pager {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pager--main {
    margin-bottom: 8px;
}

.pager--pages {
    gap: 6px;
}

/* ссылки */
.pager__link {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.pager__link:hover {
    text-decoration: underline;
}

/* disabled */
.pager__disabled {
    opacity: 0.4;
    white-space: nowrap;
}

/* инфо */
.pager__info {
    white-space: nowrap;
}

/* страницы */
.pager__page {
    padding: 4px 8px;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.pager__page:hover {
    border-color: rgba(0,0,0,.35);
}

/* текущая */
.pager__page--current {
    font-weight: 600;
    border-color: rgba(0,0,0,.35);
    cursor: default;
}

/* многоточие */
.pager__ellipsis {
    opacity: 0.6;
    padding: 0 4px;
    user-select: none;
}


/************** ИМПОРТ ЗАПЧАСТЕЙ **************/

.spares-price-btns-wrap,
.spares-name-btns-wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;}
.spares-price-btns,
.spares-name-btns{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:10px 0;
}
.spares-update .btn,
.spares-price-history .btn,
.spares-name-history .btn {width: fit-content;}
.spares-update .btn:disabled {background: #aaaaaa;cursor: no-drop;}
.spares-update .btn:disabled:hover {box-shadow: none;}

.spares-update .alert-danger {font-weight: 500;color:var(--color-bad);}