:root {
    --accent-color: #FF9100;
    --dark-color:#3B4A51;
    --white-color:#FFF;
}
fieldset {
  padding: 0;
}
.katalog__popup-main-wrapper{
    max-width: 424px;
    width: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    background:var(--white-color);
    padding:18px 13px 28px 14px;
}
.katalog__popup-main-wrapper > h3 {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #CFD0D1;
    padding-bottom: 16px;
    display: block;
    margin-bottom: 32px;
} 
.addproject__popup-inside-wrapper {
    padding-left: 18px;
    padding-right: 19px;
    width: 100%;
}
.addproject-label_wrapper {
    padding-left: 6px;
    padding-right: 9px;
    display: flex;
    justify-content: space-between;
}
.addproject-label_article_title {
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #707070;
}
.addproject-input__article_title {
    max-width: 360px;
    width: 100%;
    height: 40px;
    padding: 9px 0 9px 16px;
    background: #FFFFFF;
    border: 1px solid #3B4A51;  
    border-radius: 10px;
    outline: none;
    margin-bottom: 9px;
}
.addproject-top-inside-wrapper > input[placeholder],
.addproject-top-inside-wrapper > textarea[placeholder] {
    font-style: italic;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #E1E1E1;
    color: var(--dark-color);
}
.popup_wrapper_bottom_p_button {
    display: flex;
    justify-content: flex-end;
    padding-right: 19px;
}
.button_popup_order_an_article {
    margin-top: 19px;
    max-width: 140px;
    width: 100%;
    height: 42px;
    background: #FF9100;
    border: 1px solid #FF9100;
    border-radius: 15px;
    font-weight: 700;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    cursor: pointer;
}
.addproject-input__article_title.required {
    border: 1px solid #D60228;
}
.addproject-p-error {
    font-weight: 300;
    font-size: 9px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #D60228;
}
.insufficient_funds {
    text-align: center;
    margin-top: 12px;
    font-style: italic;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    color: #3B4A51;
}

.popup-success-wrapper {
    max-width: 424px;
    width: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    background:var(--white-color);
    padding:56px 17px 18px 14px;
    min-height: 319px;
    height: auto;
}
.popup-success-wrapper-inside {
    display: flex;
    flex-direction: column;
    border-top:1px solid #CFD0D1;
    align-items: center;
}
.popup-success-img {
    margin-top: 18px;
}
.popup-success-h4 {
    margin-top: 13px;
    font-weight: 700;
    font-size: 22px;
    line-height: 22px;
    color: #3B4A51;
}
.popup-success-p {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    padding-left: 28px;
    padding-right: 28px;
}
.popup-success-button {
    margin-top: 28px;
    max-width: 140px;
    width: 100%;
    height: 42px;
    background: #FF9100;
    border: 1px solid #FF9100;
    border-radius: 15px;
    font-weight: 700;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    cursor: pointer;
}


 /*popup-1 css*/
.popup,
.popup-success {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 999;
    display: none;
    /* overflow: scroll; */
}
.popup-inner,
.popup-inner-success {
    max-width: 424px;
    position: relative;
    margin: 50px 0;
    left: 50%;
    transform: translateX(-50%) rotate(0);
    -webkit-transform: translateX(-50%) rotate(0);
    -moz-transform: translateX(-50%) rotate(0);
    -ms-transform: translateX(-50%) rotate(0);
    -o-transform: translateX(-50%) rotate(0);
  }
  
  .close-popup,
  .close-popup-success {
    position: absolute;
    width: 25px;
    height: 25px;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .close-popup .bar,
  .close-popup-success .bar-success {
    height: 3px;
    background: #333;
    width: 18px;
    transform: rotate(45deg);
    position: absolute;
  }
  
  .close-popup .bar:nth-child(1),
  .close-popup-success .bar-success:nth-child(1) {
    transform: rotate(-45deg);
  }
  
  body.popup-active {
    overflow: hidden;
  }
  
  body.popup-active .popup {
    overflow-y: scroll;
  }