:root {
    --clr-black: #000000;
    --clr-accent: #00A4BC;
    --clr-placeholder: #A6B1B2;
    --clr-primary: #212A2C;
    --clr-secondary: #95A3A5;
    --clr-success: #06D6A0;

    --weight-400: 400;
    --weight-500: 500;
    --weight-600: 600;
    --weight-700: 700;
}
a {
  text-decoration: none;
}

body {
  font-family: Georgia, serif;
  font-style: normal;
  background: #F7F8FC;
  margin: 0;
}

.creation_div {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black background */
  z-index: 6;
  align-items: center;
  justify-content: center;
}

.creation_div_content {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  width: fit-content;
  gap: 1.5rem;
}

.box_top {
  text-align: center;
  font-size: 32px;
  font-family: Roboto;
  font-weight: 700;
}

.box_body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.topic {
  font-size: 16px;
  font-family: Roboto;
  font-weight: 400;
}
.reqstar {
  color: #DA1E28;
}

.head_input {
  /*width: 380px;*/
  height: 48px;
  border: 1px solid #D2E0E2;
  border-radius: 10px;
  font-size: 16px;
  font-family: Roboto;
  font-weight: 400;
  padding: 0rem 1.0rem;
}
.head_input:focus-visible {
  border: 2px solid #00BDD9;
}
.head_input:focus {
  border: 2px solid #00BDD9;
}

.save_btn {
  width: 380px;
  height: 44px;
  background: #00BDD9;
  border: solid 1px #00BDD9;
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  font-family: Roboto;
  font-weight: 700;
}

.cancel_btn {
  width: 380px;
  height: 44px;
  background: #BEC8CA;
  border: solid 1px #BEC8CA;
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  font-family: Roboto;
  font-weight: 700;
}

.editing_div {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black background */
  z-index: 6;
  align-items: center;
  justify-content: center;
}

.editing_div_content {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  width: fit-content;
  gap: 1.5rem;
}


.context_menu {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.54);
  background-color: #ffffff;
  border-radius: 0px 10px 10px 10px;
  padding: 4px;
}
.context_menu ul {
    padding: 0;
    margin: 0;
}
.context_menu ul li {
    cursor: pointer;
    list-style: none;
    padding: 6px 10px;
    margin: 0;
}
.context_menu ul li a:active {
    color: #06D6A0;
}
.context_menu ul li:last-child {
    border-bottom: 1px solid transparent;
}
.cmdiv_btn:hover {
    color: #06D6A0;
}
.cmdiv_btn {
  font-family: Roboto;
  font-size: 14px;
  font-weight: 400;
  color: #212A2C;
}
.cmdiv_btn:active {
    color: #06D6A0;
}

.page_div {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}


.top_div {
  display: flex;
  flex-direction: row;
  height: 60px;
  background: #0A1C1F;
  justify-content: space-between;
  align-items: center;
}
.top_left {
  /*background: yellowgreen;*/
  padding-left: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.logo_div {
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo_img {
  width: 159px;
  height: 40px;
  filter: brightness(0) invert(1);
}
.top_right {
  /*background: lightpink;*/
  padding-right: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.profile_div {
  margin-left: 15px;
}
.profile_img {
  width: 24px;
  height: 24px;
}
.profile_div:hover {
  .profile_card {
    position: absolute;
    display: flex;
    width: 90px;
    height: 10px;
  }
  .logout_link {
    color: #00BDD9;
  }
}


.language_div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.language_img {
  width: 24px;
  height: 24px;
}
.lang_div {
  position: relative;
  display: inline-block;
}
.lang_link {
  cursor: pointer;
  display: flex;
}
.lang_link:hover {
  .language_text {
    color: #00A4BC;
  }
}

.language_options {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  z-index: 999;
  border-radius: 0.75rem;
  border: none;
  gap: 4px;
}
.lang_div:hover .language_options {
  display: flex;
  flex-direction: column;
}
.language_options:hover {
  background: #e6f6f9;
}
.language_option {
  padding-right: 3px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 10px 10px 10px 10px rgba(31, 62, 67, 0.15);
  .language_text {
    color: black;
  }
}

.language_option:hover {
  .language_text {
    color: #00A4BC;
  }
}

.lang_select {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-family: Roboto;
  font-weight: 500;
  margin-left: 3px;
  outline: none;
}
.lang_select option {
  background: black;
  color: white;
  border: none;
}
.language_text {
  font-family: Roboto;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-left: 3px;
}

.panel_div {
  display: flex;
  height: 20%;
  background: #faf6c5;
}



.info_div {
  display: flex;
  flex-direction: column;
  /*height: 80%;*/
  background: #F7F8FC;
  padding-bottom: 2rem;
}

.line {
  height: 2px;
  background: #EDEDF2;
  margin-left: 100px;
  margin-right: 100px;
}

.info_label {
  padding-top: 50px;
  padding-left: 100px;
  padding-bottom: 25px;
}

.label_text {
  font-family: Roboto;
  font-size: 40px;
  font-weight: 600;
  color: #042747;
}

.info_body {
  display: flex;
  flex-direction: row;
  /*height: 80%;*/
  background: #F7F8FC;
  overflow: auto;
}

.head_div {
  margin-left: 100px;
  margin-right: 20px;
  margin-top: 20px;
  width: 23%;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.head_btn {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid;
  border-color: #06D6A0;
  height: 44px;
  width: 273px;
  font-family: Roboto;
  font-size: 19px;
  font-weight: 700;
}

.btn_text {
  margin-left: 8px;
  color: #06D6A0;
}

.element_link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.element_img {
  width: 24px;
  height: 24px;
}

.element_text {
  font-family: Roboto;
  color: #212A2C;
}


.part_div {
  margin-bottom: 1.5px;
  font-size: 20px;
  font-weight: 500;

  .div_isnot_activ {
    .element_text {
      color: #8B8FA0;
    }
    .ellogo {
      content: url('/media/images/part-deactive.png');
    }
  }
}
.part_div:hover {
  background-color: #EDEDF2;
  border-radius: 5px;
}


.branch_div {
  padding-left: 10px;
  margin-bottom: 1.5px;
  font-size: 18px;
  font-weight: 400;

  .div_isnot_activ {
    .element_text {
      color: #8B8FA0;
    }
    .ellogo {
      content: url('/media/images/branch-deactive.png');
    }
  }
}
.branch_div:hover {
  background-color: #EDEDF2;
  border-radius: 5px;
}


.section_div {
  padding-left: 20px;
  margin-bottom: 1.5px;
  font-size: 18px;
  font-weight: 400;

  .div_isnot_activ {
    .element_text {
      color: #8B8FA0;
    }
    .ellogo {
      content: url('/media/images/section-deactive.png');
    }
  }
}
.section_div:hover {
  background-color: #EDEDF2;
  border-radius: 5px;
}


.subsection_div {
  padding-left: 30px;
  margin-bottom: 1.5px;
  font-size: 18px;
  font-weight: 400;

  .div_isnot_activ {
    .element_text {
      color: #8B8FA0;
    }
    .ellogo {
      content: url('/media/images/subsection-deactive.png');
    }
  }
}
.subsection_div:hover {
  background-color: #EDEDF2;
  border-radius: 5px;
}


.group_div {
  padding-left: 40px;
  margin-bottom: 1.5px;
  font-size: 18px;
  font-weight: 400;

  .div_isnot_activ {
    .element_text {
      color: #8B8FA0;
    }
    .ellogo {
      content: url('/media/images/group-deactive.png');
    }
  }
}
.group_div:hover {
  background-color: #EDEDF2;
  border-radius: 5px;
}


.subgroup_div {
  padding-left: 50px;
  margin-bottom: 1.5px;
  font-size: 18px;
  font-weight: 400;

  .div_is_activ {
    .element_text {
      color: #00BDD9;
    }
    .element_img {
      content: url('/media/images/subgroup-active.png');
    }
  }

  .div_isnot_activ {
    .element_text {
      color: #8B8FA0;
    }
    .element_img {
      content: url('/media/images/subgroup-deactive.png');
    }
  }
}
.subgroup_div:hover {
  background-color: #EDEDF2;
  border-radius: 5px;
}



.content_div {
  margin-right: 100px;
  margin-left: 20px;
  margin-top: 20px;
  width: 63%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search_div {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 58rem;
  height: 40px;
  background: #ffffff;
  border-radius: 10px;
  padding: 0rem 1rem;
}
.search_input {
  border: 1px solid #ffffff;
  width: 67rem;
  height: 38px;
  font-size: 16px;
  font-family: Roboto;
  font-weight: 400;
  padding: 0rem 1.0rem;
}
.search_input:focus-visible {
  outline: none;
}

.boxes_count {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
  gap: 0.5rem;
  padding-right: 1rem;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
}
.boxes_paginate {
  display: flex;
  gap: 0.5rem;
}
.boxes_navbtn {
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.resource_div {
  margin-bottom: 20px;
}

.resource_table {
  background: #ffffff;
  width: 100%;
  border-collapse: collapse; /* Убираем двойные линии между ячейками */
  border-radius: 10px;
  font-family: Roboto;
  font-size: 14px;
  font-weight: 400;
}
.resource_table thead {
  background: #00BDD9;
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  border: 1px solid #00BDD9;
}
.resource_table tbody td.code_td, td.name_td, td.note_td {
  padding-left: 0.5rem;
}
.resource_table tbody tr {
  border-bottom: 1px solid #EDEDF2;
}
.resource_table tr:last-child {
  border: 0;
}

.tr_isnot_activ {
  color: #8B8FA0;
}

.code_td {
  width: 8%;
}

.name_td {
  width: 20%;
}

.measure_td {
  width: 6%;
  text-align: center;
}

.weight_td {
  width: 6%;
  text-align: center;
}

.note_td {
  width: 20%;
}

.date_td {
  width: 10%;
}

.user_td {
  width: 15%;
}

.proccess_td {
  width: 5%;
  text-align: center;
}

.enter {
  border: 1px solid #00BDD9;
}

.resource_btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.btns_row1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  align-self: flex-start;
}
.res_text {
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
  color: #829395;
}
.row_number_input {
  width: 140px;
  height: 40px;
  border-radius: 10px;
  padding: 0px 10px;
  border: solid 1px #ffffff;
  text-align: right;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
}
.row_number_input:focus-visible {
  outline: none;
}
.add_row_btn {
  width: 210px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 500;
  color: #00BDD9;
  border: solid 1px #00BDD9;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.btns_row2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  align-self: flex-end;
}
.save_res_btn {
  width: 210px;
  height: 40px;
  border-radius: 10px;
  background: #00BDD9;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  border: solid 1px #00BDD9;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
.unload_btn {
  width: 235px;
  height: 40px;
  border-radius: 10px;
  background: #06D6A01A;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 500;
  color: #06D6A0;
  border: solid 1px #06D6A01A;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.res_input {
  border: none;
  font-family: Roboto;
  font-size: 14px;
  font-weight: 400;
}
.res_input:focus-visible {
  outline: none;
}

.edit_link:focus .element_img {
  content: url('/media/images/edit_active.png');
}
.delete_link:focus .element_img {
  content: url('/media/images/delete_active.png');
}
.exclude_link:focus .element_img {
  content: url('/media/images/delete_active.png');
}
.restore_link:focus .element_img {
  content: url('/media/images/restore_active.png');
}
.saveres_link:focus .element_img {
  content: url('/media/images/saveres_active.png');
}
.clean_link:focus .element_img {
  content: url('/media/images/clean_active.png');
}
.cancel_link:focus .element_img {
  content: url('/media/images/cancel_active.png');
}
.editing-row {
  border: 1px solid #00BDD9 !important;
}





.register_page {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.register_div form {
  background: #ffffff;
  border: solid 1px #E2ECEE;
  width: 892px;
  height: 592px;
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.0rem;
}

.register_title {
  color: #001E24;
  font-family: Roboto;
  font-size: 36px;
  font-weight: 600;
}

.register_form {
  display: flex;
  flex-direction: column;
  gap: 1.0rem;
}

.input_line {
  display: flex;
  flex-direction: row;
  gap: 4.0rem;
}

.input_div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input_div label{
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
}

.input_div input, .input_div select {
  width: 380px;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: #F7F8FC;
  padding: 0rem 1rem;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
}

.input_div input, .input_div select:focus-visible {
  outline: none;
}

.register_btn_div {
  align-self: flex-end;
}

.register_btn {
  background: #00BDD9;
  border: solid 1px #00BDD9;
  border-radius: 10px;
  width: 305px;
  height: 48px;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.login_page {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
}

.login_img {
  width: 55vw;
  height: 99.5vh;
}

.login_div {
  background: #ffffff;
  display: flex;
  width: 45vw;
  height: 99.5vh;
  align-items: center;
  justify-content: center;
}

.login_div form{
  background: #ffffff;
  border: solid 1px #E2ECEE;
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.0rem;
  width: 500px;
  height: 360px;
  align-items: center;
}

.login_title {
  color: #001E24;
  font-family: Roboto;
  font-size: 36px;
  font-weight: 600;
  text-align: center;
}

.login_form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
}

.login_line {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login_line input {
  width: 380px;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: #F7F8FC;
  padding: 0rem 1rem;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
}

.login_btn {
  background: #00BDD9;
  border: solid 1px #00BDD9;
  border-radius: 10px;
  width: 412px;
  height: 48px;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}



.line_link {
  display: flex;
  flex-direction: row;
  padding-left: 100px;
  gap: 2rem;
}

.link {
  display: flex;
  flex-direction: column;
}

.line_topic {
  font-family: Roboto;
  font-size: 18px;
  font-weight: 600;
  color: #869196;
}
.line_topic.is_activ {
  color: #00BDD9;
}

.underline1 {
  margin-top: 2px;
  height: 4px;
  background: #00BDD9;
  width: 140px;
  border-radius: 0px 5px;
}
.underline2 {
  margin-top: 2px;
  height: 4px;
  background: #00BDD9;
  width: 122px;
  border-radius: 0px 5px;
}
.underline3 {
  margin-top: 2px;
  height: 4px;
  background: #00BDD9;
  width: 73px;
  border-radius: 0px 5px;
}

.link_content {
  width: 100vw;
  padding: 20px 100px;
}

.link1 {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.profile_card {
  background: #ffffff;
  border-radius: 10px;
  width: 24vw;
  height: 150px;
  padding: 20px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.profile_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.fio_row {
  font-family: Roboto;
  font-size: 20px;
  font-weight: 500;
  color: #212A2C;
}
.role_row {
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
  color: #00BDD9;
}

.profile_content {
  background: #ffffff;
  border-radius: 10px;
  width: 53.3vw;
  height: 200px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap:2rem;
}

.info_block_topic {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.pc_label {
  font-family: Inter;
  font-size: 24px;
  font-weight: 600;
  color: #082226;
}

.pc_edit_label {
  font-family: Roboto;
  font-size: 16px;
  font-weight: 400;
  color: #06D6A0;
}

.ib_label {
  font-family: Roboto;
  font-size: 18px;
  font-weight: 400;
  color: #212A2C;
}
.ib_text {
  font-family: Roboto;
  font-size: 18px;
  font-weight: 400;
  color: #8B9C9E;
}

.info_block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info_block_line {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}


.link2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.link2 thead tr {
  height: 25px;
}
.link2 tbody tr {
  height: 25px;
}
.element_img {
    width: 24px;
    height: 24px;
}
.search_add_div {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 1rem;
}
.add_user_btn {
  width: 210px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 500;
  color: #06D6A0;
  border: solid 1px #06D6A0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}


.link3 thead tr {
  height: 25px;
}
.link3 tbody tr {
  height: 25px;
}
.link3 tbody .date {
  text-align: center;
}
.link3 tbody .record_id {
  text-align: center;
}


.hidden {
  display: none;
}


.highlighted {
  background-color: #ddf0f4; /* Светло-серый фон для выделения */
}

.user_info {
  display: flex;
  align-items: center;
}

.search_highlight {
  background-color: yellow !important;
}