.container {
  width: 100%;
  height: 100%;
  padding: 15px;
  /* ХАКА САЛАМ, это изменения, чекай все изменения по ключевому слову в поиске ABOBA*/
  /* display: flex;
    flex-direction: column;
    justify-content: space-around; */
  /* align-items: center; */
  position: relative;
  display: grid;
  grid-template: 1fr auto / 30% 69%;
  gap: 40px;
}
.container_up,
.container_down {
  width: 100%;
  display: flex;
}
.container_up {
  flex-direction: column;
  /* ABOBA */

  /* align-items: center; */
}
.filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* ABOBA */

  /* position: absolute; */
  /* top: 20px; */
  /* left: 20px; */
  /* width: 20%; */
}
.date_filter,
.deal_name_filter,
.installation_team_member_name_filter {
  width: 100%;
  margin: 10px 0;
}
.date_filter {
  background-color: #4fa7ff;
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;

  transition: 0.3s;
  cursor: pointer;
}
.date_filter_dates {
  width: 100%;
  margin-bottom: 12px;
}
.date_filter_dates input {
  width: 100%;
  margin: 0;
  padding: 6px 12px;
}
.date_filter:hover {
  background-color: #4088cf;
}
.date_filter input {
  border-radius: 8px;
  font-size: 24px;
  flex-grow: 1;
}
.input_label {
  display: flex;
  font-size: 24px;
  align-items: center;
  justify-content: center;
}
.search_icon {
  padding: 10px 15px;
  background-color: #fff;
  border-radius: 50px;
  font-size: 15px;
}
.search_icon i {
  color: #4fa7ff;
}
.date_filter .search_icon {
  width: 45px;
  align-self: center;
}
.deal_name_filter,
.installation_team_member_name_filter,
.materials_amount_total_list__search_field__filter {
  display: flex;
  height: 67px;
  position: relative;
  border-radius: 50px;
  /* ABOBA */

  z-index: 5;
}
#deal_name,
#installation_team_member_name,
#product_name {
  background-color: #4fa7ff;
  color: #fff;
  padding: 15px;
  width: 100%;
  font-size: 28px;
  height: 100%;
  border-radius: 12px;
  transition: 0.3s;
}
#deal_name::placeholder,
#installation_team_member_name::placeholder,
#product_name::placeholder {
  color: #fff;
}
#deal_name:hover,
#deal_name:focus,
#installation_team_member_name:hover,
#installation_team_member_name:focus,
#product_name:hover,
#product_name:focus {
  background-color: #4088cf;
}
.deal_name_filter_search_icon,
.installation_team_member_name_filter_search_icon {
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  z-index: 2;
}

.deal_name, .deal_date {
  font-size: 24px;
}

.materials_amount_total_list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 15px;
  width: 70%;
  box-shadow: 7px 6px 21px -7px rgba(0, 0, 0, 0.75);
  border-radius: 25px;
}
.materials_amount_total_list__heading {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 24px;
  display: flex;
  flex-direction: row;
  text-align: right;
}
.materials_amount_total_list__search_field {
  width: 50%;
}
.materials_amount_total_list__materials_list {
  margin-top: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 400px;
  overflow-y: scroll;
}
.materials_amount_total_list__materials_list__row,
.deal_material_row {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 5px 0;
}
.materials_amount_total_list__materials_list__row__data_text,
.deal_material_row_data_text {
  background-color: #e6f0fa;
  word-wrap: break-word;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  height: 100%;
  width: 25%;
  border-radius: 8px;
  font-size: 20px;
  text-align: center;
  margin: 0 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Adds a light shadow */
  color: #333;
  overflow-wrap: break-word;
}
.service_price_container {
  width: 50%;
  flex-direction: column;
  justify-content: flex-start;
  align-self: center;
  margin: 10px 0 0 0;
}
.materials_amount_total_list__materials_list_head_row__text {
  text-align: center;
  font-size: 24px;
  width: 25%;
}
#product_name,
.installation_team_member_name_filter_search_icon {
  /* ABOBA */
  z-index: 5;
}
.materials_list_picker {
  position: absolute;
  left: 0;
  right: 0;
  top: 25px;
  background-color: #4fa7ff;
  padding: 15px;
  padding-top: 50px;
  border-radius: 15px;
  /* ABOBA */
  z-index: 4;
}
.material_option {
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 18px;
  border-radius: 15px;
  transition: 0.2s;
}
.material_option:hover {
  cursor: pointer;
  background-color: #4088cf;
}

.container_down {
  width: 100%;
  margin-top: 50px;
  padding: 20px;
  grid-area: 2/1;
  grid-column-start: 2 span;
}
.deals_list {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
.deal {
  width: 47%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 20px 15px;
  box-shadow: 7px 6px 21px -7px rgba(0, 0, 0, 0.75);
  border-radius: 25px;
  margin: 20px;
}

.open_popup_btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background-color: white;
  box-shadow: 0 0 0 0;
  -webkit-box-shadow: 0 0 0 0;
  width: 28px;
  height: 28px;
  /* background-position: center; */
}

.open_popup_btn:hover {
  img {
    transform: scale(0.85);
  }
}

.open_popup_btn img {
  width: 28px;
  height: 28px;
  transition: 0.6s ease;
}
.deal_info {
  font-size: 24px;
  margin-bottom: 15px;
  margin-right: 35px;
}
.deal_products_list__heading {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.deal_products_list__heading_row__text {
  width: 25%;
  font-size: 20px;
  text-align: center;
}
.deal_materials_list {
  display: flex;
  flex-direction: column;
}

#installation_team_member_name {
  /* ABOBA */
  z-index: 5;
}
.members_list_picker {
  z-index: 0;
  border-radius: 15px;
  padding: 20px;
  padding-top: 50px;
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  background-color: #4fa7ff;
}
.members_list_picker_option {
  text-align: center;
  color: #fff;
  transition: 0.2s;
  border-radius: 15px;
  cursor: pointer;
}
.members_list_picker_option:hover {
  background-color: #4088cf;
}
.go_to_fill_data_page_btn {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  background-color: #4FA7FF;
  color: #fff;
  gap: 55px;
  padding: 15px 35px;
  border-radius: 12px;
  font-size: 28px;
}
.go_to_fill_data_page_btn i {
    color: #fff;
}

.deals_list_picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 25px;
  border-radius: 15px;
  width: 100%;
  padding: 15px;
  background-color: #4FA7FF;
  z-index: 1;
  padding-top: 50px;
}
.deals_list_picker_option {
  transition: .3s;
  width: 100%;
  text-align: center;
  color: #fff;
  border-radius: 15px;
}
.deals_list_picker_option:hover {
  cursor: pointer;
  background-color: #4088cf;
}

.deal_btns_container {
  display: flex;
  margin-top: 15px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.approve_btn, .deny_btn {
  background-color: #4FA7FF;
  border-radius: 12px;
  padding: 15px;
  width: 40%;
  align-self: center;
  margin: 10px 0 0 0;
  color: #fff;
  font-size: 22px;
  transition: .2s;
}

.approve_popup_btn, .deny_popup_btn {
  background-color: #4FA7FF;
  border-radius: 12px;
  padding: 15px;
  width: 40%;
  align-self: center;
  margin: 10px 0 0 0;
  color: #fff;
  font-size: 22px;
  transition: .2s;
}

.approve_btn:hover, .approve_popup_btn:hover {
  background-color: #40cf64;
}
.deny_btn:hover, .deny_popup_btn:hover {
  background-color: #cf4040;
}

.btns_block {
  display: flex;
  justify-content: space-around;
}

.popup {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #0000007c;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.popup_main {
  position: absolute;
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: 35px 25px;
  gap: 20px;
  border-radius: 12px;
  background-color: #fff;
}
.popup_main h3 {
  font-weight: bold;
  font-size: 24px;
  text-align: center;
}
.form {
  display: flex;
  gap: 6px;
  flex-direction: column;
}
.close_popup {
  border: 0;
  background-color: transparent;
  box-shadow: none;
  padding: 12px;
  position: absolute;
  right: 20px;
  top: 20px;
  transition: 0.3s ease;
}

.hidden {
  display: none;
}