.signin__popup {
  display: none;
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(67, 75, 54, 0.56);
  z-index: 9999;
}

.signin__popup__container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  position: fixed;
  overflow-y: auto;
}
.signin__popup__content {
  margin-top: 30px;
  background-color: #ffffff;
  padding: 40px 40px;
  max-width: 580px;
  max-height: 678px;
  overflow: auto;
}

.signin__popup__content--heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.sigin__popup__content--heading__buttonclose {
  cursor: pointer;
  transition: all 0.4s;
}
.sigin__popup__content--heading__buttonclose:hover {
  color: #434b36;
}
.signin__popup__content--heading--descr {
  margin-top: 20px;
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.signin__popup__content--tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.signin__popup__content--tab {
  border: 1px solid #000;
  background: #fff;
  padding: 10px;
  cursor: pointer;
  transition: all 0.4s;
}
.signin__popup__content--tab:hover {
  border: 1px solid #434b36;
  background-color: #434b36;
  color: white;
}
.signin__popup__content--tab__active {
  border: 1px solid #434b36;
  background-color: #434b36;
  color: white;
}
.signin__popup__content--form {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  gap: 20px;
  min-height: 400px;
}
.signin__popup__content--form input {
  border: 1px solid #000000;
  border-radius: 0;
  padding: 14px 14px;
  box-sizing: border-box;
  font-size: 16px;
  font-family: "UAF Sans", sans-serif;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  color: #000000;
}
.signin__popup__content--form textarea {
  padding: 14px;
  border: 1px solid #000000;
  box-sizing: border-box;
  resize: vertical;
  width: 100%;
  font-size: 16px;
  font-family: "UAF Sans", sans-serif;
}
.signin__popup__content--form button {
  display: inline-flex;
  padding: 20px 60px;
  align-items: center;
  justify-content: center;
  background: #6d653b;
  color: #ffffff;
  font-size: 18px;
  font-style: normal;
  font-family: "UAF Sans", sans-serif;
  cursor: pointer;
  transition: all 0.4s;
}
.signin__popup__content--form button:hover {
  background: #434b36;
}

#form__social {
  display: none;
}
.successful__info {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  min-height: 400px;
  margin-top: 40px;
}
.successful__info--text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.successful__info img {
  height: 54px;
  width: auto;
  margin-bottom: 40px;
}
.successful__info--text__heading {
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}
.successful__info--text__descr {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.file-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border: 1px solid #000;
  background: #f0f1ee;
}

.file-upload input[type="file"] {
  display: none; /* Приховуємо стандартний input */
}

.file-upload label {
  background-color: #434b36;
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.4s;
}
.file-upload label:hover {
  background-color: #646c55;
}
.file-name {
  color: #555;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.file-upload__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media screen and (max-width: 768px) {
  .signin__popup__content {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (max-width: 576px) {
  .signin__popup__content--tab {
    font-size: 14px;
  }
  .successful__info--text__heading {
    font-size: 24px;
  }
  .signin__popup__content--form button {
    font-size: 14px;
  }
}
