body {
      margin: 0;
      font-family: 'Onest', sans-serif;
      background-color: #f5f5f5;
    }

    /*--------------------------------------------------------------------*/

   .container-add-a-school {
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 40px;
}
.participants-container{
   max-width: 1100px;
  margin: 0 auto;
  margin-top: 40px;
    background-color: #fff;
  border-radius: 56px;
  padding: 30px;
}

.card-add-a-school {
  background-color: #fff;
  border-radius: 56px;
  padding: 30px;
  margin-bottom: 0;
  
}

.title-add-a-school {
  color: #1565C0;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 500;
}

.subtitle-edit {
    font-family: 'Roboto Serif', serif;
}

.form-group-add-a-school {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 400;
  color: #212121;
  margin-bottom: 20px;
  flex: 1 1 238px; 
}
.form-group-add-a-school2 {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 400;
  color: #212121;
  margin-bottom: 20px;
  flex: 1 1 238px; 
}
.form-row {
  display: flex;
  gap: 40px; 
}
.form-group-add-a-school {
  display: flex;
  flex-direction: column;
  gap: 8px; 
}
.form-group-add-a-school2 {
  display: flex;
  flex-direction: column;
  gap: 8px; 
}

.inputs-row {
  display: flex;
  gap: 12px; 
}
.dropdown-age {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  z-index: 10;
  max-height: 150px;
  overflow-y: auto;
  width: 100%;
}
.dropdown-age div {
  padding: 8px 12px;
  cursor: pointer;
  padding-left: 20px; }
  

.label-add-a-school {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  font-size: 16px;

}


.select-wrapper-add-a-school {
  position: relative;
  margin-bottom: 8px;
  height: 56px !important;
  padding: 0 12px 0 12px !important; 
  box-sizing: border-box !important;
  border: 1px solid #f5f5f5 !important;
  border-radius: 6px !important;
  background-color: #f5f5f5 !important;
  font-size: 14px !important;
  cursor: pointer; 
}
.select-wrapper-add-a-festival {
  position: relative;
  margin-bottom: 8px;
  height: 56px !important;
  padding: 0 12px 0 12px !important; 
  box-sizing: border-box !important;
  border: 1px solid #f5f5f5 !important;
  border-radius: 6px !important;
  background-color: #f5f5f5 !important;
  font-size: 14px !important;
  cursor: pointer; 
}
.dropdown-item:hover {
  background-color: #e6f4ff; 
  border-radius: 4px;

}

.select-wrapper-add-a-school select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  height: 56px;
  padding-left: 12px; 
  padding-right: 0;
  border: none;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 6px;
  width: 330px;
  position: absolute;
  top: -1px;
  transform: translateX(-10px);
  color: #757575;
}
.select-wrapper-add-a-festival select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  height: 56px;
  padding-left: 12px; 
  padding-right: 0;
  border: none;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 6px;
  width: 508px;
  position: absolute;
  top: -1px;
  transform: translateX(-10px);
  color: #757575;
}




.select-wrapper-add-a-school .arrow-select-add-a-school {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none; 
  font-size: 16px;
  font-weight: 400;
  color: #757575;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  width: 100%;
  padding-right: 40px; 
  cursor: pointer;
  border: none;
  font-size: 14px;
  height: 36px;
  line-height: 20px;
}
.input-wrapper-add-a-school{
  position: relative;
  margin-bottom: 8px;
}


.input-name,
.input-address,
.input-site,
.input-price-from,
.input-price-to,
.input-age-from,
.input-age-to,
.input-class-from,
.input-class-to {
  height: 56px !important;
  padding: 8px 12px !important;
  padding-right: 30px !important;
  box-sizing: border-box !important;
  border: 1px solid #f5f5f5 !important;
  border-radius: 6px !important;
  background-color: #f5f5f5 !important;
  font-size: 16px !important;
  color: #757575!important; 
  -webkit-text-fill-color: #757575!important; 

}

.input-name,
.input-address,
.input-site {
  width: 100%;

}

.select-add-a-school {
  width: 100%;
  appearance: none;
  box-sizing: border-box;
  height: 36px;
  padding: 8px 12px;
  padding-right: 30px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f5f5f5;
  font-size: 14px;
}

.textarea-add-a-school {
  width: 100%;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #f5f5f5;
  background-color: #f5f5f5;
  font-size: 16px;
 
 min-height: 80px;     
  max-height: 300px;
  margin-top: 0;
  font-weight: 400;
  color: #757575 !important; 
  -webkit-text-fill-color: #757575 !important; 
  resize: none; 

}
.custom-multiselect,
.custom-multiselect label,
.custom-multiselect input,
.custom-multiselect li {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #757575!important;
}

.form-row-add-a-school {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.arrow-input-add-a-school,
.arrow-select-add-a-school {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 13px;
  color: #292929;
  pointer-events: none;
}

.logo-upload-add-a-school {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.logo-box-add-a-school {
  width: 890px;
  height: 172px;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  background-color: #fff; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.logo-box-add-a-school img {
  width: 100%;      
  height: auto;     
  object-fit: contain; 
  display: block;
  background-color: #fff; 
}

.logo-buttons-add-a-school {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 6px;
}

.btn-add-a-school,
.btn1-add-a-school {
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  gap: 20px;
  width: 238px;
  height: 48px;
  display: flex;         
  align-items: center;    
  justify-content: center; 
  text-align: center;  
  transition: transform 0.2s ease; 
}

.btn-add-a-school:hover,
.btn1-add-a-school:hover {
  transform: scale(1.05); 
}
.btn1-add-a-school {
  padding: 5px 40px; 
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px; 
  width: 250px;
}

.btn1-add-a-school .bi-plus {
   position: relative;
  top: 2px; 
  margin-right: -6px;
  font-size: 26px;
}
.btn-add-a-school,
.btn-outline-add-a-school {
  display: flex;
  align-items: center;
  gap: 8px; 
}

.btn-add-a-school img,
.btn-outline-add-a-school img {
  width: 20px;
  height: 20px;
  display: block;
}
.school-logo-img {
  width: 100%;
  height: 208px;
  border-radius: 8px;
  object-fit: contain; 
  background-color: #fff;
  padding: 8px; 
  box-sizing: border-box;
  display: block;
}
.school-logo-img1 {
  width: 100%;
  height: 104px;
  border-radius: 8px;
 object-fit: contain;
  background-color: #fff;  
  display: block; 
  padding: 8px; 
}

.btn-add-a-school:disabled,
.btn-outline-add-a-school:disabled {
  border: 1px solid #AAC7DF;
  color: #AAC7DF;
  cursor: not-allowed;
}


.btn-outline-add-a-school {
  background-color: transparent;
  border: 1px solid #2196f3;
  color: #2196f3;
  cursor: pointer;
}

.btn-outline-add-a-school img {
  filter: none;
}

.subtext-add-a-school {
  font-size: 16px;
  color: #757575;
  margin-top: 5px;
  font-weight: 400;
}
.subtext-add-a-school2 {
  font-size: 16px;
  color: #757575;
  margin-top: 5px;
  font-weight: 400;
  padding-right: 46px;
 
}

.map-add-a-school {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.info-box-add-a-school {
  background-color: #eaf4ff;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.editor-placeholder-add-a-school {
  background-color: #920065;
  color: white;
  padding: 14px;
  border-radius: 1px;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

.submit-btn-add-a-school {
  background-color: #DEEAF2;
  border: none;
  border-radius: 10px;
  padding: 14px;
  width: 100%;
  color: #AAC7DF;
  font-size: 16px;
  margin-top: 20px;
  font-weight: 500;
  cursor: not-allowed;
    transition: background-color 0.3s ease;
}
.submit-btn-add-a-school.active {
  background-color: #2196F3; 
  color: #fff; 
  cursor: pointer;
}

.btn-icon-add-a-school {
  width: 20px;
  height: 20px;
}

.divider-add-a-school {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 20px 0;
}

@media (max-width: 600px) {
  .container-add-a-school {
    padding: 0;
    margin-top: 20px;
  }

  .card-add-a-school {
    padding: 16px;
    border-radius: 20px;
  }

  .title-add-a-school {
    font-size: 22px;
    text-align: left;
    margin: 8px 0;
  }

  .school-logo-img {
  width: 100%;
  height: 104px;
  box-sizing: border-box;
  display: block;
}

.form-row-add-a-school {
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.form-group-add-a-school {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px;
}
.form-group-add-a-school2{
  margin-top: -140px !important;
  margin-bottom: -130px !important;
   font-size: 14px;
}


  .input-name,
  .input-address,
  .input-site,
  .input-price-from,
  .input-price-to,
  .input-age-from,
  .input-age-to,
  .input-class-from,
  .input-class-to,
  .select-add-a-school,
  .select-wrapper-add-a-school select,
  .textarea-add-a-school {
    font-size: 14px !important;
    padding: 8px 10px !important;
    height: 48px !important;
    border-radius: 6px;
    margin: 0 !important;
  

  }
    .input-class-from,
  .input-class-to {
    padding: 8px 10px !important;
    
  }

  .form-group-add-a-school.label-class {
    margin-top: 500px !important;  
    margin-bottom: 800px !important; 
  }

  .inputs-row {
    gap: 8px; 
  }


  .select-wrapper-add-a-school {
    margin: 0 !important;
    padding: 0 10px !important;
    height: 48px !important;
  }

  .select-wrapper-add-a-school select {
    width: 100% !important;
    padding-right: 36px !important;
    font-size: 14px !important;
  }
    .select-wrapper-add-a-festival {
    margin: 0 !important;
    padding: 0 10px !important;
    height: 48px !important;
  }

  .select-wrapper-add-a-festival select {
    width: 100% !important;
    padding-right: 36px !important;
    font-size: 14px !important;
  }


  .arrow-select-add-a-school {
    font-size: 12px;
    right: 8px;
  }
  .label-add-a-school{
    margin-top: 10px;
  }

  .textarea-add-a-school {
    padding: 10px !important;
    font-size: 13px;
    min-height: 60px;
  }

  .logo-upload-add-a-school {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .logo-box-add-a-school {
    width: 100%;
    height: 140px;
  }

  .logo-buttons-add-a-school {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .btn-add-a-school,
  .btn1-add-a-school {
    font-size: 14px;
    padding: 10px 16px;
    width: 100%;
    justify-content: center;
  }

  .btn1-add-a-school {
    flex-direction: row;
  }

  .map-add-a-school {
    height: 300px;
    margin-bottom: -42px;
    margin-top: 10px;
  }

  .info-box-add-a-school {
    font-size: 13px;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
  }

  .editor-placeholder-add-a-school {
    font-size: 13px;
    padding: 10px;
  }

  .submit-btn-add-a-school {
    font-size: 14px;
    padding: 12px;
    margin-top: 16px;
  }

  .subtext-add-a-school,
  .subtext-add-a-school2 {
    font-size: 14px;
  }

  .divider-add-a-school {
    margin: 16px 0;
  }
}


    /*--------------------------------------------------------------------*/

  .container-myfavorites {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px 30px; 
  background: white;
  border-radius: 48px;
  margin-bottom: 0;
}

    .title-myfavorites {
      color: #1565C0;
      font-size: 40px;
      font-weight: 500;
      margin-bottom: 16px;
    }

    .cards-myfavorites {
      display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 32px;
  overflow: hidden;
    }

    .card-myfavorites {
      background: #f5f5f5 !important;
      border-radius: 16px;
   padding: 20px 20px 20px 20px;
      min-width: 315px;
      height: auto;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-sizing: border-box;
    
    }

.school-logo-myfavorites {
  width: 100%;         
  height: 100px;
  object-fit: contain;    
  border-radius: 6px;
  background: #fff;
  display: block;
  margin-bottom: 16px;
}

.bookmark-myfavorites {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #2196F3; 
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bookmark-myfavorites-card {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #2196F3; 
  border-radius: 8px;
  background-color: #ffffff;   
  transition: all 0.3s ease;
}
.bookmark-myfavorites-small {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #2196F3; 
  border-radius: 8px;
  background-color: #ffffff;  
  transition: all 0.3s ease;
}

.bookmark-myfavorites-small img{
  height: 20px;
  width: 20px;
}
.bookmark-myfavorites-card img{
    height: 20px;
  width: 20px;
}

 .bookmark-tooltip-card {
  position: absolute;
  top: 50%;
  left: -120px;
  transform: translateY(-50%);
  background: #fff;
  color: #1D1D1F;
  height: 40px;
  padding: 12px 10px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
  white-space: nowrap;
  z-index: 10;
  font-size: 12px;
}
.bookmark-tooltip-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #fff; 
}


.bookmark-myfavorites.active {
  background: #fff;         
  border: 2px solid #2196F3; 
}

.bookmark-myfavorites svg {
  fill: #fff; 
  transition: fill 0.3s ease;
}

.bookmark-myfavorites.active svg {
  fill: #2196F3; 
}
    .bookmark-tooltip {
  position: absolute;
  top: 50%;
  left: -185px;
  transform: translateY(-50%);
  background: #fff;
  color: #1D1D1F;
  height: 40px;
  padding: 12px 10px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
  white-space: nowrap;
  z-index: 10;
  font-size: 12px;
}
.bookmark-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #fff; 
}

.bookmark-myfavorites img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); 
  transition: filter 0.3s ease;
}


.bookmark-myfavorites.active {
  background: #fff;
  border: 1px solid #2196F3;
}

.bookmark-myfavorites.active img {
  filter: brightness(0) saturate(100%) invert(31%) sepia(88%)
    saturate(2440%) hue-rotate(195deg) brightness(96%) contrast(97%);
  
}
    .tags-myfavorites {
      margin: 6px 0;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tag-myfavorites {
      background: #fff;
      color: #333;
      border-radius: 6px;
      padding: 1px 14px;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 2px;
      height: 44px;
      margin-bottom: 6px;
    }

.tag-dot-myfavorites {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle; 
}

    .school-name-myfavorites {
      font-weight: 500;
      margin: 6px 0 2px;
      font-size: 16px;
      color: #1D1D1F;
        display: -webkit-box;
  -webkit-line-clamp: 1;   
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
    }

 .description-myfavorites {
  font-size: 14px;
  color: #616161;
  line-height: 1.2;
  margin-bottom: 4px;
font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;   
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

    .footer-tags-myfavorites {
      font-size: 12px;
      color: #707072;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 3px;
      margin-bottom: 4px;
        display: -webkit-box;
  -webkit-line-clamp: 1;   
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
    }

    .footer-tags-myfavorites span:not(:last-child)::after {
      content: "|";
      margin: 0 3px;
      color: #999;
    }

    .icons-row-myfavorites,
    .icons-row1-myfavorites {
    display: inline-flex;      
  justify-content: flex-start;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  margin-top: 4px;
   gap: 8px;
  height: 32px;
  width: auto;               
  align-self: flex-start;    
}


  

    .icon-item-myfavorites,
    .icon-item1-myfavorites {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 10px;
      font-weight: 400;
      color: #987D65;
    }

    .icon-item-myfavorites img {
      width: 12px;
      height: 12px;
      
    }

.catalog-button-myfavorites {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.catalog-button-myfavorites a {
  width: 100%;               
  height: 56px;      
  padding: 14px 20px;       
  border: 1px solid #2196F3;
  border-radius: 8px;
  color: #2196F3;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;   
  gap: 8px;
  background-color: #ffffff;
  transition: background-color 0.2s ease;
}

    .arrow-icon-myfavorites {
      font-size: 16px;
      margin-left: 4px;
    }

    .catalog-button-myfavorites a:hover {
      background-color: #f0f7ff;
    }

    @media (max-width: 1024px) {
      .card-myfavorites {
        min-width: 160px;
      }
    }
    @media (max-width: 700px) and (min-width: 300px) {
  .container-myfavorites {
    padding: 20px 16px;  
    margin: 20px auto;
    border-radius: 24px;
  }

  .title-myfavorites {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .cards-myfavorites {
    grid-template-columns: repeat(1, 1fr); 
    gap: 12px;
  }

  .card-myfavorites {
    min-width: auto;  
    padding: 16px;
    height: auto;
  }

  .school-logo-myfavorites {
    height: 104px;
    margin-bottom: 12px;
  }

  .bookmark-myfavorites {
    width: 32px;
    height: 32px;
    top: 6px;
    right: 6px;
  }

  .bookmark-myfavorites img {
    width: 16px;
    height: 16px;
  }

  .tags-myfavorites {
    gap: 4px;
  }

  .tag-myfavorites {
    font-size: 10px;
    padding: 1px 8px;
    height: 32px;
  }

  .school-name-myfavorites {
    font-size: 14px;
    -webkit-line-clamp: 1;
  }

  .description-myfavorites {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .footer-tags-myfavorites {
    font-size: 10px;
    -webkit-line-clamp: 1;
  }

  .icons-row-myfavorites,
  .icons-row1-myfavorites {
    padding: 4px 5px;
    gap: 4px;
    height: 28px;
  }

  .icon-item-myfavorites,
  .icon-item1-myfavorites {
    font-size: 9px;
  }

  .icon-item-myfavorites img {
    width: 10px;
    height: 10px;
  }

  .catalog-button-myfavorites a {
    padding: 12px 16px; 
    font-size: 14px;
    margin-top: -20px;
    height: 48px;
  }
}



    /*------------------------------------------------------------------------------*/

    .school-meropritie-main-block {
      background: white;
      border-radius: 56px;
      padding: 30px;
      max-width: 1100px;
      margin: 0 auto;
      margin-top: 40px;
      overflow: visible;
    }

    .school-meropritie-title {
      font-size: 40px;
      font-weight: 500;
      color: #1565c0;
      margin-bottom: 24px;
    }

    .school-meropritie-tabs {
      display: flex;
      gap: 24px;
      border-bottom: 1px solid #d5ecfe;
      padding-bottom: 0;
      margin-bottom: 24px;
    }

    .school-meropritie-tab {
      font-size: 15px;
      color: #555;
      cursor: pointer;
    }

    .school-meropritie-tab.active {
      font-weight: 500;
      color: #2196f3;
      margin-top: -8px;
    }

    .school-meropritie-tab-bg {
      background-color: #e3f2fd;
      border-radius: 8px 8px 0 0;
      padding: 8px 12px;
      color: #2196f3;
      font-weight: 500;
      border-bottom: 4px solid #2196f3;
    }

    .school-meropritie-badge {
      width: 7px;
      height: 7px;
      background: red;
      border-radius: 50%;
      display: inline-block;
      margin-left: 6px;
    }

.school-meropritie-actions {
  margin-bottom: 32px;
}

.school-meropritie-actions button {
  background: #2196f3;
  color: white;
  border: none;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  height: 56px;
}

 .school-meropritie-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
  overflow: visible;
}

.school-meropritie-card-block {
  width: 100%;
}
.dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  background: white !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px !important;
  z-index: 9999 !important;
  min-width: 160px !important;
}

.school-meropritie-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: visible;
  position: relative;
  border: 3px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.school-meropritie-status-bar {
  padding: 16px 12px;
  font-size: 14px;
  font-weight: 400;
  background: white;
  border-bottom: 2px solid #f5f5f5;
  display: flex;
  align-items: center;
  gap: 6px;
}

    .school-meropritie-status-bar .school-meropritie-status-icon {
      width: 16px;
      height: 16px;
      object-fit: contain;
    }

    .school-meropritie-published,
    .school-meropritie-draft,
    .school-meropritie-blocked,
    .school-meropritie-moderation {
      color: #212121;
    }

.school-meropritie-card-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff; 
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  height: 150px; 
  width: auto;
  margin: 0 auto; 
}

.school-meropritie-card-img-wrapper img {
  max-height: 100%; 
  max-width: auto;
  object-fit: contain;
  border-radius: 8px 8px 0 0;
  display: block;
}

    .school-meropritie-card-bottom {
      background: #f5f5f5;
      padding: 12px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border-radius:0 0 8px 8px !important;
    }
.school-meropritie-event-date {
  font-weight: 500;
  font-size: 16px;
  color: #111827;

  display: -webkit-box;        /* контейнер для эллипсиса */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;       /* максимум 2 строки */
  overflow: hidden;
  text-overflow: ellipsis;     /* добавляет "..." */
  line-height: 1.4em;          /* задаёт высоту строки для правильного отсчета */
  max-height: calc(1.4em * 1); /* ограничение по высоте */
}

 .school-meropritie-event-desc {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;      
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

    .school-meropritie-menu {
      position: absolute;
      top: 10px;
      right: 10px;
    }

    .school-meropritie-menu-button {
      width: 25px;
      height: 25px;
      border-radius: 4px;
      background-color: transparent;
      border: 1px solid #2196f3;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .school-meropritie-menu-button i {
      color: #2196f3;
      font-size: 13px;
    }

    .school-meropritie-pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      margin-top: 20px;
      font-family: sans-serif;
    }

    .school-meropritie-page {
      padding: 6px 10px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      color: #111827;
      cursor: pointer;
    }

    .school-meropritie-page.dimmed {
      color: #9ca3af;
    }

    .school-meropritie-page.active {
      font-weight: 600;
      color: #111827;
    }
    .school-bid-table-wrapper strong{
      font-weight: 400;
    }
    .school-bid-unread {
  background-color: #ECF6FE; 
  font-weight: 700 !important;
}

    .school-meropritie-nav-btn {
      background-color: white;
      border: 1px solid #2196f3;
      width: 32px;
      height: 32px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .school-meropritie-nav-btn i {
      color: #2196f3;
      font-size: 16px;
    }
    .school-bid-mobile-menu-btn{
      display: none;
    }
    .school-bid-select-box1{
      display: none;
    }
    .school-bid-mobile-menu-wrapper{
      display: none;
    }
    .school-bid-select-arrow1{
      display: none;
    }
@media (max-width: 600px) {
  .school-meropritie-main-block {
    padding: 20px;
    border-radius: 32px;
    margin-top: 20px;
  }

  .school-bid-controls > button,
  .school-bid-select-wrapper {
    display: none;
  }
  .school-bid-controls{
    display: none !important;
  }
      .school-bid-mobile-menu-btn{
      display: block;
    }
    .school-bid-select-box1{
      display: block;
    }
    .school-bid-mobile-menu-wrapper{
      display: block;
    }
    .school-bid-select-arrow1{
      display: block;
    }

  .school-bid-mobile-menu-wrapper {
    position: relative;
  }
  .school-bid-select-box{
    display: none;
  }
  .school-bid-select-arrow{
    display: none;
  }
.school-bid-btn-download{
    display: none;
  }
  .school-bid-btn-unread, .school-bid-disabled{
    display: none;
  }
  .school-bid-btn-read, .school-bid-disabled{
    display: none;
  }
  .school-bid-btn-delete, .school-bid-disabled{
    display: none;
  }

.school-bid-mobile-menu-btn {
  background:transparent !important;
  border: 1px solid #2196f3 !important;
  color: #2196f3 !important;
  font-size: 20px;
  cursor: pointer;
  padding: 8px 12px; 
  border-radius: 6px; 
  transition: background 0.3s, border-color 0.3s;
  height: 48px;
  width: 48px;
}

.school-bid-mobile-menu-btn:hover {
  background: #2196f3 !important;
  color: #ffffff !important;
}

.school-bid-mobile-menu {
  position: absolute;
  top: 50px;
  right: -20px;
  background: #ffffff; 
right: 0;
  background: #ffffff;
  border: none; 
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  padding: 4px 0;
}

.school-bid-mobile-menu button {
  background: #ffffff !important; 
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  cursor: pointer;
  font-size: 14px;
  padding: 8px 12px;
  width: 100%;
  text-align: left;
  transition: background-color 0.3s;
}

.school-bid-mobile-menu button:hover:not(:disabled) {
  background-color: #e6f4ff !important;
}


.school-bid-mobile-menu button:disabled {
  background: #ffffff; 
  opacity: 0.6;
  cursor: not-allowed;
  border: solid #ffffff;
}


  .school-meropritie-title {
    font-size: 28px;
    text-align: left;
  }

  .school-meropritie-tabs {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .bookmark-myfavorites-card {
  position: absolute;

  width: 32px;
  height: 32px;

}

  .school-meropritie-cards-wrapper {
    grid-template-columns: 1fr; 
    gap: 16px;
  }

  .school-meropritie-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 13px;
  }

  .school-meropritie-card-img-wrapper {
    height: 80px;
     border-radius: 8px 8px 0 0 !important;
  }

  .school-meropritie-event-desc {
    font-size: 12px;
  }

  .school-meropritie-actions button {
    width: 100%;
    justify-content: center;
    padding: 16px;
    height: 48px;
    font-size: 14px;
  }

  .school-meropritie-pagination {
    flex-wrap: wrap;
    gap: 4px;
  }

.school-meropritie-card-img-wrapper{
  max-height: 100% !important;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px 8px 0 0 !important; 
}
    .school-meropritie-card-bottom {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  school-meropritie-card-img-wrapper {
    height: 1400px !important;
  }
}

    /*----------------------------------------------------------------------------------*/


    .school-bid-main-block {
      background: white;
      border-radius: 56px;
      padding: 30px;
      max-width: 1100px;
      margin: 0 auto;
      margin-top: 40px;
      margin-bottom: 0;
    }
    

    .school-bid-title {
      font-size: 40px;
      font-weight: 500;
      color: #1565C0;
      margin-bottom: 24px;
    }

    .school-bid-tabs {
      display: flex;
      gap: 24px;
      border-bottom: 1px solid #d5ecfe;
      padding-bottom: 0;
      margin-bottom: 24px;
    }

    .school-bid-tab {
      font-size: 15px;
      color: #555;
      cursor: pointer;
    }

    .school-bid-tab.school-bid-active {
      font-weight: 500;
      color: #2196F3;
      margin-top: -8px;
    }

    .school-bid-tab-bg {
      background-color: #E3F2FD;
      border-radius: 8px 8px 0 0;
      padding: 8px 12px;
      color: #2196F3;
      font-weight: 500;
      border-bottom: 4px solid #2196F3;
    }

    .school-bid-badge {
      width: 7px;
      height: 7px;
      background: red;
      border-radius: 50%;
      display: inline-block;
      margin-left: 6px;
    }

    .school-bid-summary {
      margin-bottom: 10px;
      font-size: 20px;
      font-weight: 400;
      color: #212121;
    }
    .school-bid-istoc {
      margin-bottom: 5px;
      font-size: 16px;
      font-weight: 500;
      color: #212121;
    }
    .school-bid-controls button {
  display: inline-flex;               
  align-items: center;               
  justify-content: center;           
  gap: 6px;                        
}
   .school-bid-controls1 button {
  display: inline-flex;               
  align-items: center;               
  justify-content: center;           
  gap: 6px;                        
}
    .school-bid-controls {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
     .school-bid-controls1 {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .school-bid-controls select,
    .school-bid-controls button {
      padding: 8px 16px;
      border: 1px solid #F5F5F5;
      border-radius: 6px;
      background: #F5F5F5;
      font-size: 14px;
      cursor: pointer;
      font-weight: 300;
      color: #757575;
      white-space: nowrap;
    }
       .school-bid-controls1 select,
    .school-bid-controls1 button {
      padding: 8px 16px;
      border: 1px solid #F5F5F5;
      border-radius: 6px;
      background: #F5F5F5;
      font-size: 14px;
      cursor: pointer;
      font-weight: 300;
      color: #757575;
      white-space: nowrap;
    }

  .school-bid-controls .school-bid-download {
  background-color: #2196F3;
  color: #fff;
  border: 1px solid #2196F3;
}
.school-bid-btn-delete:not(.school-bid-disabled) img {
  filter: brightness(0) invert(1); 
  transition: filter 0.2s;
}
.school-bid-select-wrapper {
  position: relative;
  display: inline-block;
}

.school-bid-select-box {
  padding-right: 25px; 
  appearance: none; 
}
.school-bid-select-box1 {
  padding-right: 25px; 
  appearance: none; 
}

.school-bid-select-arrow {
  position: absolute;
  right: 18px;
  top: 30px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 16px;
  color: #333;
}
.school-bid-select-arrow1 {
  position: absolute;
  right: 12px;
  top: 24px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: #333;
}

.school-bid-btn-delete:not(.school-bid-disabled):hover img {
  filter: invert(31%) sepia(97%) saturate(5000%) hue-rotate(195deg) brightness(92%) contrast(101%);
}
.school-bid-download.school-bid-btn-download:hover img {
  filter: invert(31%) sepia(97%) saturate(5000%) hue-rotate(195deg) brightness(92%) contrast(101%);
}
    .school-bid-controls .school-bid-disabled {
      background-color: #ffffff;
      color: #c6e4fe;
      border: 1px solid #c6e4fe;
      cursor: not-allowed;
    }
    .school-bid-controls button:not(.school-bid-disabled) {
  background: #2196F3;
  color: #fff;
  border-color: #2196F3;
}


.school-bid-controls button:not(.school-bid-disabled):hover {
  background: #fff;
  color: #2196F3;
  border-color: #2196F3;
}

    .school-bid-controls .school-bid-select-box {
      width: 488px;
      height: 56px;
      font-size: 16px;
      font-weight: 400;
    }
.school-bid-controls1 {
  display: flex;
  gap: 8px; 
  align-items: center; 
  width: 100%;
}

.school-bid-controls1 .school-bid-select-wrapper {
  flex: 1; 
}

.school-bid-controls1 .school-bid-select-box1 {
  width: 100%; 
  height: 56px;
  font-size: 14px;
  font-weight: 400;
  box-sizing: border-box;
}

.school-bid-controls1 .school-bid-mobile-menu-wrapper {
  flex-shrink: 0; 
}
    .school-bid-controls .school-bid-btn-download {
      width: 135px;
      height: 56px;
      font-size: 16px;
      font-weight: 500;
    }
    .school-bid-controls .school-bid-btn-unread {
      width: 148px;
      height: 56px;
      font-size: 16px;
      font-weight: 500;
    }
    .school-bid-controls .school-bid-btn-read {
      width: 125px;
      height: 56px;
      font-size: 16px;
      font-weight: 500;
    }
    .school-bid-controls .school-bid-btn-delete {
      width: 56px;
      height: 56px;

    }

    .school-bid-controls .school-bid-icon {
      width: 16px;
      height: 16px;
      vertical-align: middle;
      margin-right: 6px;
    }

    .school-bid-controls .school-bid-btn-delete .school-bid-icon {
      margin-right: 0;
    }

 .school-bid-table-wrapper table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  
}

    .your-class-name{
      font-weight: 200;
    }
    .school-bid-table-wrapper th,
    .school-bid-table-wrapper td {
      text-align: left;
      padding: 12px;
      
      font-size: 16px;
      color: #212121;

    }


  .school-bid-table-wrapper thead th:first-child {
      border-top-left-radius: 8px;

    }
    .school-bid-table-wrapper thead th:last-child {
      border-top-right-radius: 8px;
      

    }
    .school-bid-table-wrapper tbody tr:last-child td:first-child {
      border-bottom-left-radius: 8px;

    }
    .school-bid-table-wrapper tbody tr:last-child td:last-child {
      border-bottom-right-radius: 8px;

    }
    .school-bid-table-wrapper th:last-child,
.school-bid-table-wrapper td:last-child {
  border-right: 1px solid #e7e6e6 !important;
}
.school-bid-table-wrapper td.pc-only:last-of-type {
  border-right: 1px solid #e7e6e6;
 
}
.school-bid-table-wrapper tbody tr:last-child td.pc-only:last-of-type {
  border-bottom-right-radius: 8px;
}


.school-bid-table-wrapper tr.school-bid-unread .mobile-field-value {
  font-weight: 700;
}

  
    .school-bid-pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      margin-top: 20px;
      font-family: sans-serif;
    }

    .school-bid-page {
      padding: 6px 10px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      color: #111827;
      cursor: pointer;
    }

    .school-bid-page.school-bid-dimmed {
      color: #9ca3af;
    }

    .school-bid-page.school-bid-active {
      font-weight: 500;
      color: #111827;
    }

    .school-bid-nav-btn {
      background-color: white;
      border: 1px solid #2196F3;
      width: 32px;
      height: 32px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .school-bid-nav-btn i {
      color: #2196F3;
      font-size: 16px;
    }

    .school-bid-custom-checkbox input[type="checkbox"] {
      display: none;
    }

    .school-bid-custom-checkbox span {
      display: inline-block;
      width: 12px;
      height: 12px;
      border: 1px solid #2196F3;
      border-radius: 1px;
      background-color: transparent;
      cursor: pointer;
      vertical-align: middle;
      position: relative;
    }

    .school-bid-custom-checkbox input[type="checkbox"]:checked + span::after {
      content: "";
      position: absolute;
      top: -1px;
      left: 2px;
      width: 6px;
      height: 10px;
      border: solid #2196F3;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }
    .pc-only { display: table-cell; }


@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .mobile-only { display: block; }
}

    @media (max-width: 600px) {
  .school-bid-main-block {
    padding: 20px;
    border-radius: 24px;
    margin-top: 20px;
    margin-bottom: -5px;
  }
  
  .school-bid-title {
    font-size: 22px;
    text-align: left;
  }

  .school-bid-tabs {
    flex-wrap: wrap;
    gap: 12px;
    justify-content:left;
  }

.school-bid-table-wrapper thead{
  display: none !important;
}


  .school-bid-table-wrapper th,
  .school-bid-table-wrapper td {
    padding: 8px;
    font-size: 15px;
      border-bottom: transparent;
  }
  .school-bid-table-wrapper tr.unread td {
  border-bottom: 1px solid #90c9f9; 
  }

  .school-bid-pagination {
    flex-wrap: wrap;
    gap: 6px;
  }
  .school-bid-table-wrapper table,
  .school-bid-table-wrapper thead,
  .school-bid-table-wrapper tr {
    display: block;
    width: 100%;
  }

  .school-bid-table-wrapper td {
    display: block;
    border: none;
    padding: 10px;
  }

  .mobile-field {
    margin-bottom: 10px;
  }

  .mobile-field-label {
    font-size: 14px;
    color: #212121;
    margin-bottom: 3px;
    font-weight: 500;
  }

  .mobile-field-value {
    font-size: 14px;
    font-weight: 400;
    color: #212121;
  }

  .school-bid-page,
  .school-bid-nav-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .school-bid-custom-checkbox span {
    width: 14px;
    height: 14px;
  }

  .school-bid-summary {
    font-size: 15px;
  }

  .school-bid-istoc {
    font-size: 13px;
  }
}


    /*------------------------------------------------------------------*/

        .card {
  background: white;
  border-radius: 56px;
  padding: 30px;
  max-width: 1100px;
  margin: 0 auto 30px auto; 
  margin-top: 40px;
  margin-bottom: 0;
}
.card-hearder {
      font-size: 40px !important;
      font-weight: 500 !important;
      color: #1565C0 !important;
      margin-bottom: 24px !important;
    }
 .btn-blue {
  background: #2196F3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease; 
  justify-content: center;
}

.btn-blue:hover {
  transform: scale(1.05);
}

    table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;

}
thead {
  background-color: #f7f7f7;
  border-top: 1px solid #ddd;
}
th, td {
  text-align: left;
  padding: 14px 10px;
  font-size: 13px;
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
  color: #212121;
}
td:first-child,
th:first-child {
  border-left: 1px solid #ddd;
}

td:last-child,
th:last-child {
  border-right: 1px solid #ddd;
}
    .school-name {
      color: #0d4da2;
      text-decoration: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: block;
      max-width: 280px;
    }

    .status {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .status i {
      font-size: 14px;
    }
    .status-published i { color: green; }
    .status-moderation i { color: orange; }
    .status-blocked i { color: red; }
    .status-unpublished i { color: gray; }

    .applications-cell {
  position: relative;
  font-size: 14px;
  color: #333;
}

.red-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #e91e63;
  border-radius: 50%;
  margin-left: 6px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

    .dropdown {
      position: relative;
    }

    .dropdown-toggle {
      background: none;
      border: none;
      font-size: 20px;
      color: #666;
      cursor: pointer;
    }

    .dropdown-menu {
      position: absolute;
      top: 36px;
      right: 0;
      background: #fff;
      border: 1px solid #ddd;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      border-radius: 12px;
      display: none;
      min-width: 160px;
      z-index: 10;
    }

    .dropdown-menu a {
      display: block;
      padding: 10px 16px;
      font-size: 14px;
      color: #333;
      text-decoration: none;
    }

    .dropdown-menu a:hover {
       background-color: #e6f4ff; /* светло-голубой */
  border-radius: 8px;
    }

    .dropdown.show .dropdown-menu {
      display: block;
    }


    .action-section {
      margin-top: 32px;
    }

    .action-section h3 {
      font-size: 16px;
      margin-bottom: 8px;
    }

    .action-section p {
      font-size: 14px;
      color: #666;
      margin-bottom: 16px;
      line-height: 1.4;
    }

  .action-button {
  border: 1px solid #2196F3;
  color: #2196F3;
  background: #fff;
  padding: 10px 30px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  transition: transform 0.2s ease; 
}

.action-button:hover {
  transform: scale(1.05); 
}

    img.logo {
      width: 30px;
      height: 30px;
      border-radius: 8px;
    }

    .divider {
        border: none;
  border-top: 1px solid #e8e8e8;
  margin: 20px 0; 
    }
    .menu10 {
  position: absolute;
  top: -10px;
  right: 0px;
}

.menu-button {
  width: 25px;
  height: 25px;
  border-radius: 4px;
  background-color: transparent;
  border: 1px solid #2196F3;     
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-button i {
  color: #2196F3;  
  font-size: 13px;
}
.action-button .icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.status-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.status-label {
  display: flex;
  align-items: center; 
  gap: 6px;            
}

/*------------------------------------------------------------------------------*/


.main-block-statia {
  background: white;
  border-radius: 56px;
  padding: 30px;
  max-width: 1100px;
  margin: 0 auto;
margin-top: 40px;
}

.title-statia {
  font-size: 40px;
  font-weight: 500;
  color: #1565C0;
  margin-bottom: 24px;
}

.tabs-statia {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #d5ecfe;
  padding-bottom: 0;
  margin-bottom: 24px;
}

.tab-statia {
  font-size: 16px;
  color: #212121;
  cursor: pointer;
}

.tab-statia.active {
  font-weight: 500;
  color: #2196F3;
  margin-top: -8px;
}

.tab-bg-statia {
  background-color: #E3F2FD;
  border-radius: 8px 8px 0 0;
  padding: 8px 12px;
  color: #2196F3;
  font-weight: 500;
  border-bottom: 4px solid #2196F3;
}

.badge-statia {
  width: 7px;
  height: 7px;
  background: red;
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
}

.add-article-btn-statia {
  background: #2196f3;
  color: white;
  border: none;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 20px;
  height: 56px;
}
.add-article-btn-statia:hover {
  background-color: #1976D2;
}

.articles-grid-statia {
  display: flex;
  flex-wrap: wrap;      
  gap: 24px;
  padding-bottom: 10px;
}

.article-card-statia {
  flex: 0 0 508px;
  background: #F5F5F5;
  border: 2px solid rgb(210, 210, 210);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.article-top-statia {
  background: #fff;
  margin: -16px -16px 0;
  padding: 0 20px 20px;
  border-bottom: 2px solid rgb(210, 210, 210);
  border-radius: 16px 16px 0 0;
}

.article-status-statia {
  font-size: 16px;
  font-weight: 400;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
}

.article-status-statia.unpublished::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("icons/clock-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: -20px;
  vertical-align: middle;
}

.status-icon-statia {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.article-status-statia.published,
.article-status-statia.unpublished {
  color: #212121;
}

.article-image-statia {
  width: 1000px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 12px;
  margin-top: 10px;
}

.article-title-statia {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #212121;
   display: -webkit-box;
  -webkit-line-clamp: 2;     
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

}

.article-excerpt-statia {
  font-size: 16px;
  font-weight: 400;
  color: #616161;
  margin-bottom: 20px;
   display: -webkit-box;
  -webkit-line-clamp: 4;      
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-footer-statia {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto;
  gap: 8px;
}

.article-footer-statia .author-statia {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #616161;
}

.article-footer-statia .author-statia small {
  font-size: 14px;
  color: #757575;
  font-weight: 400;
}

.avatar-img-statia {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.article-footer-statia .avatar-img-statia {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.article-footer-statia .source-statia {
  background: #ffffff;
  border-radius: 4px;
  padding: 5px;
  font-size: 14px;
  font-weight: 400;
  color: #616161;
   display: flex;               
  align-items: center;         
  gap: 8px; 
  height: 32px;
}

.source-icon-statia {
  width: 16px !important;
  height: 16px !important;

  position: relative;
  top: 2px;
}

.article-footer-statia-gotovo {
  display: flex;
  justify-content: flex-start; 
  margin-top: 16px;
}

.article-footer-statia-gotovo .source-statia-gotovo {
  background: #ffffff;
  border-radius: 6px;
  padding: 1px 10px;
  font-size: 16px;
  color: #333333;
  display: inline-flex;     
  align-items: center;
  gap: 6px;
  max-width: max-content;   
  height: 40px; 
}

.source-icon-statia-gotovo {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;          
  object-fit: contain;    
  margin-top: 12px !important;   
}


.menu-button-statia {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: transparent;
  border: 1px solid #2196F3;
  border-radius: 4px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: #2196F3;
  font-size: 12px;
}

.menu-button-statia:hover {
  background-color: rgba(100, 181, 246, 0.1);
}

@media (max-width: 600px) {
.add-article-btn-statia {
    font-size: 14px;
    width: 100%;
    height: 48px;
    padding: 8px 12px;
    margin-top: 12px;
    margin-bottom: 16px;
    gap: 4px;
  display: flex;
    align-items: center;   /* центр по вертикали */
    justify-content: center;
}
  .title-statia{
    font-size: 22px;
  
  }
  .school-meropritie-title{
    font-size: 22px;
  }

  .articles-grid-statia {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 8px;
  }

  .article-card-statia {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 12px;
    border-radius: 12px;
  }

  .article-top-statia {
    margin: -12px -12px 0;
    padding: 0 12px 16px;
    border-radius: 12px 12px 0 0;
  }

  .article-status-statia {
    font-size: 14px;
    margin-top: 16px;
    gap: 4px;
  }

  .article-status-statia.unpublished::before {
    width: 14px;
    height: 14px;
    margin-right: -16px;
  }

  .article-image-statia {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 8px;
    margin-bottom: 10px;
  }

  .article-title-statia {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .article-excerpt-statia {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .article-footer-statia {
    gap: 6px;
  }

  .article-footer-statia .author-statia {
    font-size: 13px;
    gap: 6px;
  }

  .article-footer-statia .author-statia small {
    font-size: 10px;
  }

  .avatar-img-statia {
    width: 44px;
    height: 44px;
    margin-right: 8px;
  }

  .article-footer-statia .source-statia {
    padding: 4px 8px;
    font-size: 11px;
    gap: 6px;
  }

  .source-icon-statia {
    width: 14px;
    height: 14px;
  }

  .menu-button-statia {
    width: 22px;
    height: 22px;
    top: 12px;
    right: 12px;
    font-size: 10px;
  }
    .btn-blue {
    width: 100%;
    padding: 12px; 
  }
}
/*------------------------------------------------------------------*/


.main-block-application {
  background: white;
  border-radius: 56px;
  padding: 30px;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 0;
}

.title-application {
  font-size: 40px;
  font-weight: 500;
  color: #1565C0;
  margin-bottom: 24px;
}

.tabs-application {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #d5ecfe;
  padding-bottom: 0;
  margin-bottom: 24px;
}

.tab-application {
  font-size: 16px;
  color: #212121;
  cursor: pointer;
 
}

.tab-application.active {
  font-weight: 500;
  color: #2196F3;
  margin-top: -8px;
}

.tab-bg-application {
  background-color: #E3F2FD;
  border-radius: 8px 8px 0 0;
  padding: 8px 12px;
  color: #2196F3;
  font-weight: 500;
  border-bottom: 4px solid #2196F3; 
}

.badge-application {
  width: 7px;
  height: 7px;
  background: red;
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
}

.status-application {
  margin-bottom: 16px;
}

.status-application input {
  margin-right: 8px;
}

.section-title-application {
  font-size: 20px;
  font-weight: 400;
  margin: 24px 0 12px;
  color: #212121;
}

.description-application {
  color: #212121;
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 400;
}

.buttons-application {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}

.button-application {
  background: #2196F3; 
  border: 1px solid #2196F3;
  color: #fff;         
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.button-application1 {
  background: white;
  border: 1px solid #2196F3;
  color: #2196F3;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  font-size: 16px;
}
.button-application,
.button-application1 {
  transition: transform 0.2s ease;
}

.button-application:hover,
.button-application1:hover {
  transform: scale(1.05); 
}

.preview-cards-application {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.card-application {
  background: #F5F5F5;
  border-radius: 16px;
  padding: 20px;
  width: 640px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
}

.card-application:first-child {
  min-height: 300px;
}

.card-small-application {
  width: 304px !important;
  padding: 20px;
  height: auto !important;
  align-self: flex-start; 
  display: block; 
  box-sizing: border-box;
}

.tags-application {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  margin-top: 20px;
}
.tag1-dot-application {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 2px;
  vertical-align: middle;
}

.tag-application {
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 16px 4px 16px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
}


.tag-dot-application {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;

}


.card-title-application {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 4px;
  color: #212121;
    display: -webkit-box;      
  -webkit-line-clamp: 1;       
  -webkit-box-orient: vertical;
  overflow: hidden;            
  text-overflow: ellipsis;
}

.card-desc-application {
  font-size: 16px;
  color: #616161;
  margin-bottom: 12px;
  font-weight: 400;
  display: -webkit-box;      
  -webkit-line-clamp: 2;       
  -webkit-box-orient: vertical;
  overflow: hidden;            
  text-overflow: ellipsis;
}

.card-info-application {
  font-size: 14px;
  color: #757575;
  font-weight: 400;
    display: -webkit-box;      
  -webkit-line-clamp: 1;       
  -webkit-box-orient: vertical;
  overflow: hidden;            
  text-overflow: ellipsis;
}

.metrics-application {
  display: inline-flex;
  background: #fff;           
  border-radius: 8px;
  padding: 6px 20px;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  margin-top: 12px;
  align-items: center;
  color: #987D65;

  width: max-content;       
  max-width: 100%;  
  height: 44px;          
}
.metrics1-application {
  display: inline-flex;
  background: white;
  border-radius: 8px;
  padding: 4px 10px;
  gap: 8px;
  font-size: 10px;
  font-weight: 400;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
  margin-top: 10px;
  align-items: center;
  color: #987D65;
    width: max-content;       
  max-width: 100%;  
  height: 32px;
}
.metrics1-application span {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.tags1-application {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  margin-top: 10px;
}

.tag1-application {
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 10px 4px 6px;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


.card1-title-application {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 4px;
  color: #1D1D1F;
}

.card1-desc-application {
  font-size: 14px;
  color: #616161;
  margin-bottom: 12px;
  font-weight: 400;
}

.card1-info-application {
  font-size: 12px;
  color: #707072;
  font-weight: 400;
}

.metrics-application span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bookmark-application {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 24px;
  background: url('1828884.png') no-repeat center;
  background-size: contain;
}

.publish-section-application {
  border-top: 1px solid #eee;
  padding-top: 24px;
}

.publish-note-application {
  font-size: 13px;
  color: #212121;
  margin-bottom: 12px;
  font-weight: 400;
}

.metric-icon1-application {
  width: 20px;
  height: 20px;
}

.metric-icon2-application {
  width: 13px;
  height: 13px;
}

input[type="radio"]:checked.application {
    accent-color: #d6d6d6; 
}

input[type="radio"].application {
    appearance: none;
    width: 13px;
    height: 13px;
    border: 2px solid #d6d6d6;
    border-radius: 50%;
    position: relative;
}

input[type="radio"]:checked.application::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 2px;
    width: 8px;
    height: 8px;
    background: #d6d6d6;
    border-radius: 50%;
}
.line {
  display: block;
}

@media (max-width: 768px) { 
  .line {
   
    margin-top: 6px;
  }
}
@media (max-width: 600px) {
  .main-block-application {
    padding: 20px;
    border-radius: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

.action-button {
  font-size: 14px;
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;   
  justify-content: center; 
}
  .card-title-application{
    font-size: 16px;
  }
  .card-desc-application{
    font-size: 14px;
  }
  .card-info-application{
    font-size: 12px;
  }

  .title-application {
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 1.2;
  }

.tabs-application {

  display: flex;
  gap: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
position: relative;


}

.school-bid-table-wrapper td.pc-only:last-of-type {
display: none;
 
}
.school-bid-table-wrapper tbody tr:last-child td.pc-only:last-of-type {
  display: none;
}


  .tab-application {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 6px 0;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
  }

  .badge-statia{
    display: none;
  }
 .tab-statia{
   flex: 0 0 auto;
    font-size: 13px;
    padding: 6px 0;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
 }

  .tab-application.active {
    font-weight: 600;

  }

  .section-title-application {
    font-size: 14px;
    margin: 16px 0 10px;
    font-weight: 500;
  }

  .description-application {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .buttons-application {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .button-application,
  .button-application1 {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 12px;
    text-align: center;
  }

  .preview-cards-application {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .card-application {
    width: 100%;
height: auto;
    border-radius: 8px;
    padding: 16px 16px 16px 16px;
  }

  .card-small-application {
    display: none;
  }

  .tags-application,
  .tags1-application {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;

  }
.tag-application{
  height: 32px;
  font-size: 10px;
    display: inline-flex;
}
  .metrics-application,
  .metrics1-application {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 8px;
  }

  .metrics-application {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
  }

  .metrics1-application {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
  }
}
/*-------------------------------------------------------------*/


 .container-new-statia {
  max-width: 1100px;
  background: white;
  margin: 0 auto;
  padding: 40px;
  border-radius: 56px;
  margin-top: 40px;
  
}
.h2-statii {
  color: #1565C0;
  font-size: 40px;
  margin-bottom: 30px;
  font-weight: 500;
}

.cover-section-new-statia,
.gallery-new-statia,
.input-block-new-statia {
  margin-bottom: 30px;
}

.cover-preview-new-statia {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cover-img-new-statia {
  width: 300px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.cover-controls-new-statia {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buttons-container-new-statia {
  display: flex;
  gap: 12px;
}

.btn-new-statia {
  background: #2196F3;
  color: white;
  border: none;
  width: 238px;     
  height: 48px;      
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 8px;
 transition: transform 0.2s ease;
}

.btn-new-statia:hover {
  transform: scale(1.05); 
}
.btn-new-statia.delete-new-statia {
  background: white;
  color: #2196F3;
  border: 1px solid #2196F3;
}

.btn-icon-new-statia {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.toggle-new-statia {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.switch-new-statia {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

.switch-new-statia input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-new-statia {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: .4s;
}

.slider-new-statia:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider-new-statia {
  background-color: #2196F3;
}

input:checked + .slider-new-statia:before {
  transform: translateX(18px);
}

.input-block-new-statia input,
.input-block-new-statia textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #F5F5F5 !important;
  background: #F5F5F5 !important;
  border-radius: 10px;
  font-size: 16px !important;
  font-weight: 400;
  height: 56px !important;
  color: #757575;
}

.note-new-statia {
  color: #757575;
  font-size: 16px;
  margin-top: 5px;
  font-weight: 400;
}

.gallery-wrapper-new-statia {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.gallery-new-statia {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.photo-new-statia {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background-color: #eee;
  background-size: cover;
  background-position: center;
}

.photo-new-statia i {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  padding: 5px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.add-photo-wrapper-new-statia {
  margin-top: 20px;
}

.add-photo-new-statia {
  width: 450px;
  height: 48px;
  background: #2196F3;
  color: white;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  top: -10px;
  transition: transform 0.2s ease; 
}

.add-photo-new-statia:hover {
  transform: scale(1.05);
}

.add-photo-new-statia .bi-plus {
  font-size: 24px;
  position: relative;
  top: 2px;
  cursor: pointer;
}

.photo-block-new-statia {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
}

.photo-bg-new-statia {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  z-index: 0;
}

.icon-new-statia {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 1px solid #2196F3;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  box-sizing: border-box;
}

.icon-new-statia img {
  width: 20px;
  height: 20px;
  display: block;
}

.top-left-new-statia {
  top: 6px;
  left: 6px;
}

.bottom-left-new-statia {
  bottom: 6px;
  left: 53px;
}

.add-element-btn-new-statia {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  background: #2196F3;
  height: 56px;
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 0.9;
}

.add-element-btn-new-statia:disabled {
  background-color: #DEEAF2; 
  color: #AAC7DF;
  cursor: not-allowed;
}

.add-element-btn-new-statia:hover {
  transform: scale(1.05); 

}

.add-element-btn-new-statia i {
  font-size: 22px;
  font-weight: bold;
  position: relative;
  top: 0; 
}

.dropdown-field-new-statia {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}

.dropdown-field-new-statia i {
  color: #888;
}

.date-field-new-statia {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px; 
  width: 50%;
}

.date-field-new-statia input {
  flex: 1 1 0; 
  padding: 10px 32px 10px 10px; 
  border: 1px solid #f5f5f5;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box; 
}

.calendar-icon-new-statia {
  position: absolute;
  right: 10px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0.8;
}

.date-field-new-statia i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

.divider-new-statia {
  border: none;
  border-top: 1px solid #E5E5E5;
  margin: 32px 0;
}


.label-required-new-statia strong{
  font-size: 16px;
  font-weight: 500 !important;
  color: #212121;
  margin-top: 20px;
  margin-bottom: 10px;
  display: block;
}

.full-row-new-statia {
  flex-basis: 100%;
}

@media (max-width: 600px) {
  .container-new-statia {
    padding: 24px;
    border-radius: 24px;
    margin-top: 20px;
  }
  .calendar-icon-new-statia{
     position: absolute;
  right: 10px;
  width: 18px;
  height: 18px;
  top: 10px;
  pointer-events: none;
  opacity: 0.8;
  }
  .photo-bg-new-statia {
  position: absolute;
  top: 0; 
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  z-index: 0;
    padding-left: 10px;

}
  .icon-new-statia {
    width: 16px;
    height: 16px;
    padding: 1px;
  }

  .icon-new-statia img {
    width: 12px;
    height: 12px;
  }

  .top-left-new-statia {
    top: 4px;
    left: 4px;
  }

  .bottom-left-new-statia {
    bottom: 4px;
    left: 54px; 
  }

  .h2-statii {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .cover-preview-new-statia {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cover-img-new-statia {
    width: 100%;
    height: 120px;
  }

  .buttons-container-new-statia {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .btn-new-statia {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 15px;
  }

  .cover-controls-new-statia {
    width: 100%;
  }

  .input-block-new-statia input,
  .input-block-new-statia textarea {
    font-size: 14px;
    padding: 10px;
  }

  .gallery-wrapper-new-statia {
    gap: 16px;
  }

  .gallery-new-statia {
    gap: 10px;
    justify-content: flex-start;
  }

  .photo-new-statia,
  .photo-block-new-statia {
    width: 70px;
    height: 70px;
  }

.add-photo-new-statia {
  width: 100%;
  height: 48px;
  font-size: 14px;
  position: relative;
  top:-14px;
}

  .add-photo-new-statia .bi-plus {
    font-size: 22px;
    top: 2px;
  }

  .date-field-new-statia {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 10px;
  }

  .date-field-new-statia input {
    width: 100%;
  }

  .add-element-btn-new-statia {
    font-size: 15px;
    padding: 12px;
  }

  .label-required-new-statia strong {
    font-size: 15px;
    margin-top: 16px;
    margin-bottom: 8px;
  }

  .dropdown-field-new-statia {
    font-size: 14px;
    padding: 10px;
  }

  .divider-new-statia {
    margin: 24px 0;
  }
    .switch-new-statia {
    width: 50px;
    height: 20px;
  }

  .slider-new-statia {
    border-radius: 20px;
  }

  .slider-new-statia:before {
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
  }

  input:checked + .slider-new-statia:before {
    transform: translateX(16px); 
  }
} 
/*---------------------------------------------------------------------*/

    .modal-overlay-open {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.08);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 999;
    }

    .modal-window-open {
      background: #fff;
      border-radius: 16px;
   
     
      padding: 50px 40px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      
    }

    .modal-button-open {
      background-color: #2196F3;
      color: #fff;
      border: none;
      padding: 12px 16px;
      border-radius: 6px;
      width: 300px;
      font-size: 13px;
      font-weight: 400;
      display: flex;
      align-items: center;
      justify-content: center;
      gap:6px;
      cursor: pointer;
      transition: background 0.2s ease;
    
    }

    .modal-button-open:hover {
      background-color: #1976d2;
    }

    .modal-button-open img {
      width: 18px;
      height: 18px;
    }

    .close-btn-open {
      position: absolute;
      top: 0;
      right: 10px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 24px;
      color: #2196F3;
      line-height: 1;
    }

    .close-btn-open:hover {
      color: #1976d2;
    }


    /*----------------------------------------------------*/
     .container-myschool {
      max-width: 1100px;
      margin: 0 auto;
      margin-top: 40px;
    }
 .card-myschool {
  max-width: 1100px;
  margin: 10px auto 30px auto;
  background-color: #fff;
  border-radius: 56px;
  padding: 30px;
  margin-bottom: 0;
  margin-top: 40px;
}

.card-myschool p{
  font-size: 16px;
  font-weight: 400;
  margin-top: 0;
  color: #212121;
}
   .title3-myschool {
  color: #1565C0 !important;
  margin-top: 0 !important;
  font-size: 40px !important;
  font-weight: 500 !important;
  margin-bottom: 10px;
}
    .btn-myschool {
      display: inline-block;
      background-color: #2196F3;
      color: #fff;
      border: none;
      padding: 10px 55px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 500;
    }
  .btn-myschool {
  transition: transform 0.2s ease;
}

.btn-myschool:hover {
  transform: scale(1.05); 
}
    .btn-icon-myschool {
  pointer-events: none;
  display: block;
}
 .btn1-myschool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #2196F3;
  color: #fff;
  border: none;
  padding: 10px 50px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn1-myschool:hover {
  transform: scale(1.05); 
}
    .btn-outline-myschool {
      background-color: transparent;
      color: #2196F3;
      border: 1px solid #2196F3;
    }
    .section-title-myschool {
      margin-bottom: 15px;
      font-size: 18px;
      font-weight: 500;
      color: #212121;
    }
    .form-grid-myschool {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .form-group-myschool {
      display: flex !important;
      flex-direction: column !important;
      margin-bottom: 16px;
     
    }
    .form-group-myschool label{
      font-size: 16px;
      font-weight: 400;
      color: #212121;
    }
.form-group-myschool input {
  width: 280px !important;  
  height: 56px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  border: 1px solid #F5F5F5 !important;
  background-color: #F5F5F5 !important;
  font-size: 16px !important;
  box-sizing: border-box;
}
    .profile-photo-block-myschool {
      display: flex;
      align-items: center;
      gap: 10px;
    }
  .profile-photo-block-myschool > img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

    .photo-buttons-myschool {
      display: flex;
      gap: 10px;
    }
    .full-width-myschool {
      grid-column: span 2;
      text-align: center;
    }
    .save-btn-myschool {
      background-color: #DEEAF2;
      color: #AAC7DF;
      padding: 10px;
      border: none;
      border-radius: 8px;
      font-weight: 500;
      font-size: 16px;
      width: 100%;
      margin-top: 20px;
  cursor: not-allowed;
  transition: all 0.2s ease;
  height: 56px;
    }
    .save-btn-myschool.active {
  background: #2196F3;
  color: #fff;
  cursor: pointer;
}
    .password-block-myschool {
      margin-top: 40px;
    }
    .password-row-myschool {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      align-items: flex-end;
    }
    .password-row-myschool input {
      width: 100%;
    }
.forgot-link-myschool a {
  color: #2196f3;
  text-decoration: none;
  padding: 10px;
  width: 100%;
  height: 56px;
  border: 1px solid #2196f3;
  background-color: transparent;
  border-radius: 6px;
  display: flex;
  align-items: center;    
  justify-content: center; 
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  top:-16px;      
}
    .forgot-link-myschool a:hover {
      background-color: #2196f3;
      color: white;
    }
    .divider-myschool {
      border: none;
      border-top: 1px solid #e8e8e8;
      margin: 20px 0;
    }
 
    label {
      color: #212121;
      font-size: 13px;
      font-weight: 400;
    }
@media (max-width: 600px) {
  .container-myschool {
    padding: 0;
  }

  .card-myschool {
    padding: 16px;
    border-radius: 24px;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .title3-myschool {
    font-size: 20px !important;
    text-align: left;
    margin-bottom: 12px;
  }

  .card-myschool p {
    font-size: 14px;
    text-align: justify;
    margin-bottom: 8px;
  }

  .form-grid-myschool {
    display: flex;
    flex-direction: column;
    gap: 8px; 
    width: 100%;
  }

  .form-group-myschool {
    width: 100%;
    border-radius: 8px;
    padding: 8px 0; 
    margin: 0; 
  }

  .form-group-myschool label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .form-group-myschool input {
    width: 100% !important;
    height: 36px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
  }

  .photo-buttons-myschool {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
  }

  .photo-buttons-myschool button,
  .photo-buttons-myschool .btn1-myschool,
  .photo-buttons-myschool .btn-myschool {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border-radius: 8px;
  }

  .btn-myschool,
  .btn1-myschool {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 15px;
  }

  .btn1-myschool img {
    width: 18px;
    height: 18px;
  }

  .profile-photo-block-myschool {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .password-row-myschool {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .forgot-link-myschool {
    display: block;
    width: 100%;
    margin-bottom: 0;
    height: 48px;
  }

  .forgot-link-myschool a {
    padding: 16px 10px 10px;
    width: 100%;
    text-align: center;
    border-radius: 6px;
    display: block;
    margin-top: 8px;
  }

  .save-btn-myschool {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
    margin-top: 12px;
    cursor: not-allowed;
  }

  .save-btn-myschool.active {
    cursor: pointer;
  }

  .section-title-myschool {
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 8px;
  }

  label {
    font-size: 13px;
  }

  .card-myschool table {
    width: 100%;
    border-collapse: collapse;
  }

  .card-myschool table thead {
    display: none;
  }

  .card-myschool table tr {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #e6e6e6;
  }

  .card-myschool table td {
    display: block;
    width: 100%;
    padding: 6px 0;
    padding-left: 18px;
  }


  .card-myschool table td:nth-child(1)::before {
    content: "Логотип";
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    display: block;
    margin-bottom: 4px;
  }

  .card-myschool img.custom-logo {
    width: 80px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
  }


  .card-myschool table td:nth-child(2)::before {
    content: "Название";
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    display: block;
    margin-bottom: 3px;
  }

  .card-myschool table td:nth-child(2) a {
    display: block;
    font-size: 15px;
    color: #2196F3 !important;
    margin-bottom: 8px;
  }


  .card-myschool table td:nth-child(3)::before {
    content: "Статус";
     font-size: 14px;
    font-weight: 500;
    color: #212121;
    display: block;
    margin-bottom: 3px;
  }

  .card-myschool table td:nth-child(3) span {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
  }


  .card-myschool table td:nth-child(4)::before {
    content: "Заявки";
      font-size: 14px;
    font-weight: 500;
    color: #212121;
    display: block;
    margin-bottom: 3px;
  }

  .card-myschool table td:nth-child(4) {
    font-size: 14px;
  }


  .card-myschool table td:nth-child(5)::before {
    display: block;
    margin-bottom: 4px;
  }

  .card-myschool table td:nth-child(5) {
    display: flex;
    justify-content: flex-start;
  }

  .dropdown-menu {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    margin-top: 4px;
  }
}
    /*---------------------------------------------*/
     .container-new-merop {
  max-width: 1100px;
  background: white;
  margin: 0 auto;
  padding: 40px;
  border-radius: 56px;
  margin-top: 40px;
  
}
.h2-merop {
  color: #1565C0;
  font-size: 40px;
  margin-bottom: 30px;
  font-weight: 500;
}

.cover-section-new-merop,
.gallery-new-merop,
.input-block-new-merop {
  margin-bottom: 30px;
}

.input-block-new-merop-muitiselect {
  margin-bottom: 30px;
}

.cover-preview-new-merop {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cover-img-new-merop {
  width: 300px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.cover-controls-new-merop{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buttons-container-new-merop {
  display: flex;
  gap: 12px;
}

.btn-new-merop {
  background: #2196F3;
  color: white;
  border: none;
  padding: 10px 80px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  height: 48px;
  width: 238px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease; 
}

.btn-new-merop:hover {
  transform: scale(1.05); 
 
}

.btn-new-merop.delete-new-merop {
  background: white;
  color: #2196F3;
  border: 1px solid #2196F3;
}

.btn-new-merop.delete-new-merop:hover {
  transform: scale(1.05);

}

.btn-icon-new-merop {
  width: 20px; 
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; 
}

.btn-icon-new-merop img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}

.toggle-new-merop {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.switch-new-merop {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  margin-top: 2px !important;

}
.record-label-merop{
 top: 15px !important;
  font-size: 16px;
  color: #424242;


}
.switch-new-merop input {
  opacity: 0;
  width: 0;
  height: 0;
  
}

.slider-new-merop {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: .4s;
}

.slider-new-merop:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider-new-merop{
  background-color: #2196F3;
}

input:checked + .slider-new-merop:before {
  transform: translateX(18px);
}

.input-block-new-merop input,
.input-block-new-merop textarea {
  width: 100% !important;
  height: 56px !important;
  padding: 12px 12px !important;
  border: 1px solid #F5F5F5 !important;
  background: #F5F5F5 !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #757575 !important;
}
.input-block-new-merop2 input,
.input-block-new-merop2 textarea {
  width: 1000px !important;
  height: 20px !important;
  padding: 12px 12px !important;
  border: 1px solid #F5F5F5 !important;
  background: #F5F5F5 !important;
  border-radius: 10px;
  font-size: 13px;
}
.input-block-new-merop2 textarea {
 margin-top: 10px;
  
}
.active-btn {
  background-color: #007BFF; 
  color: #fff; 
  border: 1px solid #007BFF;
  transition: all 0.3s;
}

.active-btn:hover {
  background-color: #2196F3;
  border-color: #2196F3;
  color: #fff; 
}
.input-block-new-merop3 input,
.input-block-new-merop3 textarea {
  width: 312px !important;
  height: 32px !important;
  padding: 12px 12px !important;
  border: 1px solid #F5F5F5 !important;
  background: #F5F5F5 !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  color: #757575 !important;

}

.note-new-merop {
  color: #757575;
  font-size: 16px !important;
  font-weight: 400;
  margin-top: 1px;
}

.gallery-wrapper-new-merop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.gallery-new-merop{
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.photo-new-merop {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background-color: #eee;
  background-size: cover;
  background-position: center;
}

.photo-new-merop i {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  padding: 5px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.add-photo-wrapper-new-merop{
  margin-top: 20px;
}

.add-photo-new-merop {
  width: 450px;
  height: 36px;
  background: #2196F3;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.photo-block-new-merop{
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
}

.photo-bg-new-merop {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  z-index: 0;
}

.icon-new-merop {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 1px solid #2196F3;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  box-sizing: border-box;
}

.icon-new-merop img {
  width: 20px;
  height: 20px;
  display: block;
}

.top-left-new-merop {
  top: 6px;
  left: 6px;
}

.bottom-left-new-merop {
  bottom: 6px;
  left: 53px;
}

.add-element-btn-new-merop {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 8px;
  background: #2196F3;
  color: white;
  border: none;
  cursor: pointer;
}

.dropdown-field-new-merop {
  display: flex;
  justify-content: flex-start;
  gap: 20px; 
  font-size: 14px;
  position: relative;
}

.dropdown-field-new-merop i {
  color: #797979;
}

.date-field-new-merop{
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.date-field-new-merop input {
  width: 280px;
  height: 56px;
  padding-right: 32px;
  padding: 10px;
  border: 1px solid #f5f5f5;
  border-radius: 6px;
  font-size: 16px;
}

.calendar-icon-new-merop{
  position: absolute;
  right: 390px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0.8;
}

.date-field-new-merop i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

.divider-new-merop {
  border: none;
  border-top: 1px solid #E5E5E5;
  margin: 32px 0;
}

.label-required-new-merop{
  font-size: 16px;
  font-weight: 500;
  color: #212121;
  margin-top: 20px;
  margin-bottom: 10px;
  display: block;

  margin: 10px 0 4px; 

}

.input-block-new-link {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}


.label-required-new-link {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #212121;
  

}
.input-block-new-link input {
  display: block;            
  width: 100%;
  
  height: 56px;              
  line-height: 56px;         
  box-sizing: border-box;
  padding: 0 16px;          
  font-size: 16px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #757575 !important;

}


@media (max-width: 768px) {
  .input-block-new-link input {
    width: 100%;
    height: 48px;
    font-size: 14px;
  }

  .input-block-new-link input {
    font-size: 14px;
    padding: 12px;
  }
}

.full-row-new-merop {
  flex-basis: 100%;
}


.map-block-new-merop {
  margin-top: 20px;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e0e0e0;
}

.map-block-new-merop iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
}


.geo-fields-new-merop {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.simple-select-new-merop {
  width: 100%;
  padding: 12px 10px;
  border-radius: 6px;
  border: 1px solid #f5f5f5;
  background: #f5f5f5;
  font-size: 16px;
  font-weight: 400;
  color: #757575;
  appearance: none;
  background-image: url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/icons/chevron-down.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  margin-bottom: -60px;
  height: 56px;
}
.gallery-wrapper-new-merop {
  margin-top: 0;
  margin-bottom: 0;
  gap: 12px; 
}

.add-photo-wrapper-new-merop {
   margin-top: 8px; 
  margin-bottom: 4px; 
}

.add-photo-new-merop {
  height: 34px;
  background: #2196F3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.note-new-merop{
  font-size: 12px;
  color: #666;
  margin: 4px 0 8px;
  line-height: 1.4;
}


.text-editor-new-merop {
  background-color: #910069;
  color: white;
  padding: 12px;
  border-radius: 1px;
  margin-bottom: 2px;
  text-align: center;
  font-size: 13px;
  width: 100%;
}
.editor-new-merop{
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #757575 !important;
}
.label-required-new-merop2{
    font-size: 16px !important;
  font-weight: 500 !important;
  color: #212121 !important;
}

.submit-btn-new-merop {
 width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  background: #2196F3;
  height: 56px;
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 0.9;
}
.submit-btn-new-merop:disabled {
  background-color: #DEEAF2; 
  color: #AAC7DF;
  cursor: not-allowed;
}
.input-row {
  display: flex;
  gap: 20px;
 align-items: flex-end;
  margin-bottom: 20px !important;
}

.input-block-new-merop1 {
  display: flex;
  flex-direction: column;
}

.date-field-new-merop1 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.date-field-new-merop1 input[type="time"] {
  padding-right: 60px; 
}
.date-field-new-merop1.align-start{
   align-items: flex-end;
    gap: 10px;
  flex-wrap: wrap;
   display: flex;
    min-height: 56px !important;

}

.date-field-new-merop1 input {
  width: 260px !important;
  padding: 10px;
  border: 1px solid #f5f5f5;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
  background: #f5f5f5;
  box-sizing: border-box;
}

.label-required-new-merop1 {
  font-size: 16px;
  font-weight: 500;
  color: #212121;
  margin-bottom: 1px;
  display: block;
}
.input-required-new-merop[type="url"],
.input-required-new-merop[type="text"] {
  width: 100%;
  height: 56px !important;
  padding: 10px;
  background-color: #F5F5F5;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  box-sizing: border-box;
  color: #757575;
}

 .date-field-new-merop1 input,
    .date-field-new-merop1 input[type="number"] {
      width: 312px;
      height: 56px;
      padding: 10px 36px 10px 12px;
      border: 1px solid #f5f5f5;
      border-radius: 6px;
      font-size: 16px;
      color: #757575;
      font-weight: 400;
      background-color: #f5f5f5;
      background-repeat: no-repeat;
      background-position: right 10px center;
      background-size: 18px 18px;
      box-sizing: border-box;
    }

    
    .date-field-new-merop1 input[type="date"] {
      background-image: url('https://prosto-dev-server.srv3.s3app.org/download/?id=83b9b1b6-79e3-4ab5-8d45-d0c83b40029d&mode=view');
    }

    .date-field-new-merop1 input[type="time"] {
      background-image: url('clock-icon.svg');
    }

    .date-field-new-merop input[type="number"] {
      background-image: url('money-icon.svg');
    }

    
    input[type="date"]::-webkit-calendar-picker-indicator,
    input[type="time"]::-webkit-calendar-picker-indicator {
      opacity: 0;
      position: absolute;
      z-index: 1;
    }
    .add-photo-new-merop span {
  position: relative;
  padding-left: 24px; 
}

.add-photo-new-merop span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url('button4.png'); 
  background-size: contain;
  background-repeat: no-repeat;
}
.date-field-new-merop input[type="number"] {
  flex: 1;
  min-width: 0; 

}
@media (max-width: 600px) {
  .container-new-merop {
    max-width: 100%;
    padding: 20px 16px;
    border-radius: 16px;
    margin-top: 20px;
  }

  .h2-merop {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .cover-preview-new-merop {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .cover-img-new-merop {
    width: 100%;
    height: auto;
    max-height: 150px;
    border-radius: 8px;
  }

  .cover-controls-new-merop {
    width: 100%;
  }

  .buttons-container-new-merop {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .input-required-new-merop[type="url"]{
    width: 320px !important;
  }

  .btn-new-merop {
    width: 100%;
    padding: 12px 0;
    justify-content: center;
  }

  .input-block-new-merop,
  .input-block-new-merop1 {
    width: 100% !important;
  }
    .input-block-new-merop3 {
    flex-direction: row; 
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 332px !important;
   
  }

 .switch-new-merop {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.record-label-merop {
  font-size: 13px;
  line-height: 1.3;
  display: block;
  white-space: normal;
}
  .date-field-new-merop {
    flex-direction: column;
    align-items: flex-start;
  }
  .simple-select-new-merop{
    font-size: 14px;
    height: 48px;
  }

  .input-block-new-merop2 textarea {
    width: 100% !important;
    height: auto !important;
    padding: 12px !important;
    font-size: 14px;
  }
  .input-block-new-merop2 input{
     width: 332px !important;
    height: auto !important;
    padding: 12px !important;
    font-size: 14px;
  }

  .input-block-new-merop3 input,
  .input-block-new-merop3 textarea {
    width: 100% !important;
  }

  .input-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .input-row > * {
    width: 100% !important;
  }

  .date-field-new-merop,
  .date-field-new-merop1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

  }

  .date-field-new-merop input,
  .date-field-new-merop1 input {
    width: 100% !important;
   
    height: 48px !important;
  
  }
   .date-field-new-merop input[type="number"] {
   width: 280px !important;
   
    height: 48px !important;
  }

  .calendar-icon-new-merop {
    right: 12px !important;
  }

  .gallery-new-merop {
    justify-content: flex-start;
  }

  .add-photo-new-merop {
    width: 100% !important;
    justify-content: flex-start;
  }

  .label-required-new-merop,
  .label-required-new-merop1 {
    margin-left: 0;
    padding-left: 0;
  }

  .dropdown-field-new-merop {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/*--------------------------------*/
@media (max-width: 600px) {
  table {
    width: 100%;
    border-collapse: collapse;
  }

  thead {
    display: none;
  }

  tbody,
  tr,
  td {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
  }

  tr {
    margin-bottom: 20px;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #ddd; 
    box-shadow: none;      
    padding: 16px;
  }

  td {
    position: relative;
    padding: 8px 0;
    font-size: 14px;
  }

  td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #999;
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
  }



  .dropdown {
    margin-top: 8px;
  }
}

.custom-date-time-field {
  position: relative;
  display: flex;
  align-items: center;
  background: #f7f7f7;
  border-radius: 6px;
  height: 48px;
  padding: 0 12px;
}

.custom-date-time-field input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  line-height: 24px;
}

.custom-date-time-field input:focus {
  outline: none;
}

.custom-logo {
  display: inline-block;           
  background-color: #fff;           
  border: 1px solid #e5e5e5;        

  max-width: none !important;
  box-sizing: border-box;    
  height: 60px !important;    
}

.custom-date-time-field .icon-calendar,
.custom-date-time-field .icon-clock {
  width: 20px;
  height: 20px;
  background-size: cover;
  margin-left: 8px;
}






.input-age {
  padding: 8px 10px;
  height: 36px !important;
  width: 800px !important;
  box-sizing: border-box;
  border-radius: 6px;
  background-color: #f7f7f7 !important;
  font-size: 16px;
}

.input-age:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: #fff;
}


.dropdown-age {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;

  border-radius: 6px;
  z-index: 100;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.dropdown-age div {
  padding: 6px 10px;
  cursor: pointer;
}

.dropdown-age div:hover {
  background-color: #f0f0f0;
}


.arrow-input {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.next-btn-animation {
  transition: transform 0.3s ease;
}

.next-btn-animation:hover {
  transform: translateX(5px); 
}

    .checkbox-register2 {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      user-select: none;
    }

    .checkbox-register2 input[type="checkbox"] {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      width: 14px;
      height: 14px;
      border: 2px solid #2196f3;
      border-radius: 4px;
      background-color: transparent; 
      position: relative;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
      margin-top: -2px;
    }

    .checkbox-register2 input[type="checkbox"]::after {
      content: "";
      position: absolute;
      top:-4px;
      left:2px;
      width: 10px;
      height: 16px;
      border: solid white;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
      display: none;
    }

    .checkbox-register2 input[type="checkbox"]:checked {
      background-color: #2196f3; 
      border-color: #2196f3;
    }

    .checkbox-register2 input[type="checkbox"]:checked::after {
      display: block;
    }

    .checkbox-register2 span {
      line-height: 1.4;
      vertical-align: middle;
    }

    .privacy-link {
      color: #2196f3;
      text-decoration: underline;
    }

    .form-row-2-fields {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
}


.form-row-2-fields .form-group-myschool {
  flex: 1;
}


.form-column-center {
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 20px;
  width: 100%;
}


.form-column-center .form-group-myschool {
  width: 50%;    
  min-width: 300px;
}

.form-group-myschool.has-error .input-myschool {
  border: 2px solid #ff4d4f !important;
  background: #fff1f0 !important;
}

.input-wrapper-myschool {
  position: relative;
}

.error-icon-myschool {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff4d4f;
  font-size: 16px;
  pointer-events: none;
}
.error-icon {
  width: 22px;
  height: 22px;
  position: absolute;
  right: 10px;  
  top: 40%;     
  transform: translateY(-30%); 
  pointer-events: none;
}

.error-text-myschool {
  color: #ff4d4f !important;
  font-size: 14px !important;
  margin-top: 4px;
}



