/* Font connection */
@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap);

/* Reset all browser styles to default  */
* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-width: 320px;
}

body {
  color: #fff;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #232323;
}

input,
button,
textarea {
  font-family: "Poppins", sans-serif;
  font-size: inherit;
}

button {
  cursor: pointer;
  color: inherit;
  background-color: inherit;
}

a {
  color: inherit;
}

a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

p{
    line-height: 140%;
}

.lock body {
  overflow: hidden;
  -ms-touch-action: none;
      touch-action: none;
}


.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
}

.wrapper > main {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.wrapper > * {
  min-width: 0;
}

section{
    width: 100%;
    margin-bottom: 30px;
}
@media (max-width: 768px){
    section{
        margin-bottom: 30px;
    }
}
section:last-child{
    margin-bottom: 100px;
}

/* General */
[class*=__container] {
  max-width: 73.125rem;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  margin: 0 auto;
  padding: 0 1.25rem;
}

[class*=-ibg] {
  position: relative;
}

[class*=-ibg] img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

[class*=-ibg_contain] img {
  -o-object-fit: contain;
     object-fit: contain;
}

h1 {
  line-height: 150%;
  font-weight: 700;
}

@supports (font-size: clamp( 1.875rem , 1.6502808989rem  +  1.1235955056vw , 2.5rem )) {
  h1 {
    font-size: clamp( 1.875rem , 1.6502808989rem  +  1.1235955056vw , 2.5rem );
  }
}

@supports not (font-size: clamp( 1.875rem , 1.6502808989rem  +  1.1235955056vw , 2.5rem )) {
  h1 {
    font-size: calc(1.875rem + 0.625 * (100vw - 20rem) / 55.625);
  }
}

h2 {
  line-height: 1.5;
  font-weight: 700;
}

@supports (font-size: clamp( 1.625rem , 1.4901685393rem  +  0.6741573034vw , 2rem )) {
  h2 {
    font-size: clamp( 1.625rem , 1.4901685393rem  +  0.6741573034vw , 2rem );
  }
}

@supports not (font-size: clamp( 1.625rem , 1.4901685393rem  +  0.6741573034vw , 2rem )) {
  h2 {
    font-size: calc(1.625rem + 0.375 * (100vw - 20rem) / 55.625);
  }
}

/* Main Colors */
.operational-color  { 
    background: #2563eb;
}

.physical-color  {
    background: #0f766e;
}

.economic-color { 
    background: #DC8A00;
}

.reputation-color{ 
    background: #7c3aed; 
}

.environmental-color { 
    background: #16a34a; 
}

.safety-color   { 
    background: #dc2626;
}

/* ====== Загальні стилі ====== */  
  /* ====== Темна тема (твоя поточна) ====== */
  body.dark-theme {
    /* background: #121212;
    color: #f5f5f5; */
  }
  
  /* ====== Світла тема ====== */
  /* Кнопка перемикача */
  .theme-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #444;
    color: #fff;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    z-index: 1000;
  }
  .theme-toggle-menu{
    display: none;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
  }

  body.light-theme {
    background: #f5f5f5;
    color: #232323;
  }

  body.light-theme.link{
    stroke:#232323;
  }

  body.light-theme .link {
    fill: none;
    stroke: #232323; 
    stroke-width: 2.6;
    marker-end: url(#arrow);
    filter: url(#glow);
  }
  
  body.light-theme #arrow path {
    fill: #232323; 
  }

  body.light-theme #searchForm {
    background: rgba(0, 0, 0, 0.1);
  }

  body.light-theme .footer {
    border-top: 1px solid #0000003e;
}
body.light-theme .icon-menu span{
    background-color: #232323;
}
body.light-theme .icon-menu::before{
    background-color: #232323;
}
body.light-theme .icon-menu::after{
    background-color: #232323;
}

body.light-theme .item-metric {
    background: #e1e1e1;
}

body.light-theme .block-page-details__content {
    background-color: #e1e1e1;
    border: 1px solid hsla(0, 0%, 51%, 0.9);
}
body.light-theme .breadcrumbs li a {
 color: #232323;
}
body.light-theme .breadcrumbs li::after{
    color: #232323;
    opacity: 0.8;
}

body.light-theme .all-metrics__controls select {
    background: #e1e1e1;
    color: #232323;
  }

body.light-theme .page-impact__tabs .tab-btn {
    background: #e1e1e1;
    border: 1px solid #555;
    color: #232323;
  }
  
body.light-theme .page-impact__tabs .tab-btn.active {
    background: #c7c7c7;
  }

body.light-theme .menu__item:after{
    background-color: #232323;
  }


@media (max-width: 61.99875em){
    .theme-toggle.none{
        display: none;
    }
    .theme-toggle-menu{
        display: block !important;
    }
    body.light-theme .menu__body{
        background-color: #c6c6c6;
    }
}
  
  body.light-theme .theme-toggle {
    background: #ddd;
    color: #222;
  }
  



/* ==== Header ==== */
.header {
  width: 100%;
  z-index: 1000;
  margin-top: 10px;
}

.header__container {
  padding: 0 1.875rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@supports (height: clamp( 4.375rem , 4.1502808989rem  +  1.1235955056vw , 5rem )) {
  .header__container {
    height: clamp( 4.375rem , 4.1502808989rem  +  1.1235955056vw , 5rem );
  }
}

@supports not (height: clamp( 4.375rem , 4.1502808989rem  +  1.1235955056vw , 5rem )) {
  .header__container {
    height: calc(4.375rem + 0.625 * (100vw - 20rem) / 55.625);
  }
}

.header__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  flex: 0 1 25%;
}
.header__menu{
    flex: 0 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header__right{
    display: flex;
    justify-content: flex-end;
    flex: 0 1 25%;
}


.menu__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.menu__list {
  gap: 0.625rem 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.menu__item {
  line-height: 150%;
  position: relative;
  position: relative;
  overflow: hidden;
  padding-bottom: 0.0625rem;
  display: inline-block;
}

.menu__item:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  bottom: 0;
  -webkit-transform: translate3d(-110%, 0, 0);
          transform: translate3d(-110%, 0, 0);
  -webkit-transition: -webkit-transform 0.2s ease-in;
  transition: -webkit-transform 0.2s ease-in;
  -o-transition: transform 0.2s ease-in;
  transition: transform 0.2s ease-in;
  transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
}

.menu__item:hover:after,
.menu__item:focus:after {
  -webkit-transition: -webkit-transform 0.2s ease-in;
  transition: -webkit-transform 0.2s ease-in;
  -o-transition: transform 0.2s ease-in;
  transition: transform 0.2s ease-in;
  transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.menu__themes {
  padding: 0.375rem;
  background-color: #F3F3F3;
  border-radius: 50%;
}

.buttons-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  margin-right: 1.5rem;
}

.icon-menu {
  display: none;
}


@media (max-width: 61.99875em) {
    .header__logo a img{
        width: 60px;
    }
    .header__right{
        display: none;
    }
  .icon-menu {
    display: block;
    position: relative;
    width: 1.75rem;
    height: 1.375rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.25rem;
    background-color: #fff;
    border-radius: 0.625rem;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .icon-menu span {
    top: calc(50% - 0.125rem);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.125rem);
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.125rem);
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
  }

  .menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .menu__body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #1E3A8A;
    padding: 100px 30px 0px 30px;
    -webkit-transition: left 0.3s ease 0s;
    -o-transition: left 0.3s ease 0s;
    transition: left 0.3s ease 0s;
    overflow: auto;
  }

  .menu__body:before {
    content: "";
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 70px;
    z-index: 2;
  }

  .menu__body._active {
    left: 0;
  }

  .menu__body .menu__list {
    text-align: center;
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    z-index: 10;
    margin: 0;
  }

  .menu__body .menu__list li {
    font-size: 1.625rem;
    margin: 0 0 1.25rem 0;
  }

  .buttons-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0 0 1.25rem 0;
  }

}

/* -----------------------*/
/* ==== MAIN PAGE ==== */
/* -----------------------*/

/* ==== Hero ==== */
.hero {
    margin-top: 30px;
    text-align: center;
}

.hero__container{
    display: flex;
    flex-direction: column;
}
.hero-1000px{
    max-width: 1000px;
}

.hero__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 30px;
}
@media (max-width: 768px){
    
}
.hero__content.title-impact-type{
    margin-bottom: 10px !important;
}
.hero__content h1 {
    text-transform: capitalize;
}

.hero__content p {
    text-align: center;
    max-width: 75%;
}

@media (max-width: 768px){
    .hero__content p {
        max-width: 100%;
    }
    .hero__content h1 {
        margin-bottom: 0px;
        font-size: 30px;
    }
}

/* === Search === */

.search-section{
    display: none;
}
@media (max-width: 61.99875em){
    .search-section{
        display: block;
    }
}

.search-section__content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto;
    width: 100%;
    max-width: 700px;
  }
  #searchForm {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 10px;
    gap: 10px;
    width: 100%;
  }
  
  .search-input {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    flex: 1;
    min-height: 35px;
    flex: 0 1 75%;
  }
  
  .search-icon {
    margin-right: 8px;
    font-size: 18px;
    color: #333;
  }
  
  .search-input input {
    border: none;
    outline: none;
    font-size: 16px;
    flex: 1;
  }
  
  .search-button {
    flex: 0 1 25%;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s ease-in-out;
    min-height: 35px;
  }
  
.search-button:hover {
  opacity: 0.8;
}
@media (max-width: 768px){
    .search-section__content{
        max-width: 100%;
    }
    #searchForm{
        flex-direction: column;
        padding: 10px;
    }
    .search-input{
        width: 100%;
    }
    .search-button{
        min-width: 150px;
    }
  }

.search-form__main-page{
    padding: 0px;
}
  .search-input__main-page{
    min-height: 35px;
    width: 100%;
    max-width: 100%;
    flex: 0 1 100%;
  }

/* ==== WEB Stucture ==== */
:root{
    /* --bg:#1f1f1f; --text:#fff;; */
  }

  .diagram{
    position:relative;
    width:min(1100px,92vw);
    margin-left: auto;
    margin-right: auto;
    padding:80px 16px 40px;
    border-radius:20px;
  }
  
  #links{
    position:absolute; 
    inset:0;
    width:100%; 
    height:100%;
    pointer-events:none;
  }
  
  .button-item-style{
    display:inline-flex; 
    align-items:center; 
    justify-content:center;
    padding:16px 22px;
    border:0; 
    border-radius:12px;
    color:#fff; 
    font-weight:700; 
    letter-spacing:.2px;
    box-shadow: inset 0 1px rgba(255,255,255,.08);
    transition:transform .15s ease, opacity .15s ease, box-shadow .15s ease;
    position:relative; 
    z-index:1; 
  }
  .node:hover{
    transform:translateY(-3px);
    opacity:.90
}
  .node:active{
    transform:translateY(0)
}
  
  .top{
    position:absolute;      
    top:24px; left:50%; 
    transform:translateX(-50%);
    background:#274a9f;
  }
  .operational-blue  { 
    margin-top: 0;
    background: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.physical-teal  {
    margin-top: 70px; 
    background: #0f766e;
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.4);
}

.economic-amber { 
    margin-top: 140px; 
    background: #DC8A00;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
}

.reputation-purple{ 
    margin-top: 140px; 
    background: #7c3aed; 
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.environmental-green { 
    margin-top: 70px; 
    background: #16a34a; 
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.4);
}

.safety-red   { 
    margin-top: 0;
    background: #dc2626;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

  .nodes{
    display:grid;
    grid-template-columns:repeat(6, minmax(140px, 1fr));
    gap:20px 24px;
    align-items:start;
  }
  

  @media (max-width: 1024px){
    .nodes{ 
        grid-template-columns:repeat(3, minmax(150px, 1fr));
        gap: 50px 20px; 
    }
    .physical-teal{
        margin:0;
    }
    .economic-amber {
        margin:0;   
    }
    .environmental-green{
        margin:0;
    }
    .reputation-purple{
        margin:0;
    }
  }
  @media (max-width: 640px){
    .diagram{ 
        padding-top:150px 
    }
    .nodes{ 
        grid-template-columns:repeat(2, minmax(140px, 1fr)); }
  }
  
  /* Line Style SVG */
  .link{
    fill:none;
    stroke:#fff;
    stroke-width:2.6;
    marker-end:url(#arrow);
    filter:url(#glow);
  }
  #arrow path{ 
    fill:#fff 
}
  
/* ==== Footer ==== */
.footer {
    border-top: 1px solid #ffffff3e;
}
.footer__container {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-direction: column;
}


/* -----------------------*/
/* ==== About Page ==== */
/* -----------------------*/
.about-project__container{
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-project__two-column {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}
.about-project__img {
    flex: 0 1 40%;
}
.about-project__img img{
    max-width: 300px;
}
.about-project__text {
    flex: 0 1 50%;
}
.about-project__text a:hover{
    text-decoration:underline ;
}

.about-project__block h2{
    margin-bottom: 15px;
}
.about-project__block ul li {
    list-style: inside;
  }
  .about-project__block ul li:not(:last-child){
    margin-bottom: 10px;

  }

@media (max-width: 1024px){
    .about-project__two-column {
        flex-direction: column-reverse;
        gap: 40px;
    }
    .about-project__img {
        flex: 0 1 40%;
    }
    .about-project__text {
        flex: 0 1 60%;
    }
}

.about-project__text h2{
    text-align: center;
    margin-bottom: 30px;
}
@media (max-width: 768px){
    .about-project__img img {
        max-width: 150px;
    }
}

/* -----------------------*/
/* ==== Contact Page ==== */
/* -----------------------*/
.contact__content{

}

.contact__block{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact__block a:hover{
    text-decoration: underline;
}

/* -----------------------*/
/* ==== Page Impact Type ==== */
/* -----------------------*/


/* Hero */
.hero__top-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}
@media (max-width: 768px){
    .hero__top-row{
        flex-direction: column;
        margin-bottom: 30px;
        order: 2;
    }
}

/* Bread Crumbs */
.breadcrumbs {
    list-style: none;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
  }

  .breadcrumbs li {
    margin-right: 8px;
  }

  .breadcrumbs li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
  }

  .breadcrumbs li a:hover {
    text-decoration: underline;
  }

  .breadcrumbs li::after {
    content: "›";
    margin-left: 8px;
    color: #fff;
    opacity: 0.5;
  }

  .breadcrumbs li:last-child::after {
    content: "";
  }

  .breadcrumbs li:last-child a {
    color: #fff;
    opacity: 0.5;
    font-weight: 600;
    pointer-events: none;
  }

 
.page-impact__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  
  .page-impact__tabs .tab-btn {
    padding: 10px 20px;
    background: #333;
    border: 1px solid #555;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 5px;
    color: #fff;
  }
  
  .page-impact__tabs .tab-btn.active {
    background: #555;
    font-weight: bold;
  }
  
  .all-metrics__container{
    display:  flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .all-metrics__controls {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .all-metrics__tab-content {
    display: block;
  }
  
  .all-metrics__tab-content.hide {
    display: none;
  }


/* -----------------------*/
/* ==== Page Details ==== */
/* -----------------------*/

.operational-impact{
    background: #3B82F6;
}
.physical-impact{
    background: #10B981;
}
.economic-impact{
    background: #F59E0B;
}
.reputation-impact{
    background: #8B5CF6;
}
.environmental-impact{
    background: #22C55E;
}
.safety-impact{
    background: #EF4444;
}

.page-details-cont__container {
    max-width: 1000px;
}
.page-details-cont__block-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}
@media (max-width: 1024px){
    .page-details-cont__container{
        max-width: 700px;
    }
    }
@media (max-width: 768px){
    .page-details-cont__container{
    max-width: 100%;
}
}
.block-page-details{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-details-cont__blocks {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.block-page-details__name h2{
    font-size: 20px;
}
.block-page-details__items{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.block-page-details__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    background-color: hsl(0, 0%, 100%, 10%);
    border: 1px solid hsl(0, 0%, 100%, 50%);
    padding: 10px 20px;
    gap: 10px;
}

.block-page-details__impact-type {
    display:inline-flex; 
    align-items:center; 
    justify-content:center;
    padding: 10px 4px;
    border:0; 
    border-radius:12px;
    color:#fff; 
    font-weight:600; 
    letter-spacing:.2px;
    width: 100%;
    max-width: 180px;
    font-size: 14px;
}


/* -----------------------*/
/* ==== Page All Metrics ==== */
/* -----------------------*/
.all-metrics{
    margin-top: 100px;
}

  .all-metrics__search {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .all-metrics__form {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2c2c2c;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    max-width: 600px;
  }
  
  .search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px;
    border-radius: 6px;
  }
  
  .search-box button {
    margin-left: 10px;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
  }
  
  /* Controls */
  .all-metrics__controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 15px;
    gap: 20px;
  }
  
  .all-metrics__controls select {
    background: #3a3a3a;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
  }
  
  /* List */
.all-metrics__items-list{
    display: flex;
    flex-direction: column;
    gap: 10px;

}
.item-metric {
    display: block;
    background: #2c2c2c;
    border: 1px solid #666;
    border-radius: 6px;
    padding: 6px;
}
.item-metric:hover{
    opacity: 0.8;
}
.item-metic__title{
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 120%;
}

@media (max-width: 768px){
    .item-metic__title{
        font-size: 14px;
    }
}
 
  .item-metic__tags {
    gap: 5px;
    display: flex;
    overflow: hidden;
  }

  .item-metic-tag {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
  }

  .item-metic-tag{
    opacity: 0.6;
  }
  .tag-priority{
    opacity: 1 !important;
  }
  .tag-main-red{
    font-weight: 700;
    background: #dc2626;  
  }
  .tag-second-orange{
    background: #DC8A00;
}
  
  /* Pagination */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 6px;
  }
  
  .pagination button {
    background: #3a3a3a;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .pagination button.active {
    background: #fff;
    color: #000;
    font-weight: bold;
  }
  /* ===================== */

