/* navigation.css — стили компонента navigation (BEM) */

/* === WRAP (бывший inline style + .mt-3) === */
.navigation__wrap {
  width: 100%;
  display: -webkit-box;
  margin-top: 1rem;
}

/* === LIST (бывший .pagination из ech.css) === */
.navigation__list {
  display: inline-block;
  padding-left: 0;
  margin: 0 0 15px;
  border-radius: 4px;
}

.navigation__list > li {
  display: inline;
}

.navigation__list > li > a,
.navigation__list > li > span {
  position: relative;
  float: left;
  padding: 0.3rem 0.9rem;
  margin: 0 3px;
  font-size: 1.1rem;
  color: #96afc0;
  text-decoration: none;
  background-color: hsla(240, 7%, 12%, 0.88);
  border: 1px solid rgba(90, 185, 234, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-weight: 500;
  border-radius: 6px;
}

.navigation__list > li:first-child > a,
.navigation__list > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  display: flex;
  height: 100%;
  align-items: center;
}

.navigation__list > li:last-child > a,
.navigation__list > li:last-child > span {
  border-top-right-radius: 4px;
  display: flex;
  height: 100%;
  align-items: center;
  border-bottom-right-radius: 4px;
}

.navigation__list > li > a:hover {
  z-index: 2;
  color: #fff;
  background-color: rgba(90, 185, 234, 0.10);
  border-color: rgba(90, 185, 234, 0.3);
  text-decoration: none;
}

.navigation__list > .active > a,
.navigation__list > .active > a:focus,
.navigation__list > .active > a:hover,
.navigation__list > .active > span,
.navigation__list > .active > span:focus,
.navigation__list > .active > span:hover {
  z-index: 3;
  color: #fff;
  cursor: default;
  background: linear-gradient(135deg, #55b2fd, #6573ea);
  border-color: transparent;
}

.navigation__list > .disabled > a,
.navigation__list > .disabled > a:focus,
.navigation__list > .disabled > a:hover,
.navigation__list > .disabled > span,
.navigation__list > .disabled > span:focus,
.navigation__list > .disabled > span:hover {
  color: #7395ae;
  cursor: not-allowed;
  background-color: hsla(240, 7%, 12%, 0.5);
  border-color: rgba(90, 185, 234, 0.08);
  opacity: 0.6;
}

.navigation__list > li span {
  background: hsla(240, 7%, 12%, 0.88) !important;
  opacity: 0.5;
}

/* === PAGES (бывший .hidden-xs — без CSS в текущем проекте) === */
/* navigation__pages — без стилей (hidden-xs не был определён в CSS проекта) */
