.titleAddFile {
  font-family: "SF Pro Display";
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
  transition: margin-top 320ms ease;
}

.infoBlock.expanded ~ .titleAddFile {
  margin-top: -60px;
}
.textBlockAddFile {
  font-family: "SF Pro Display";
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -0.03em;
  text-align: center;
  color: #b4b4b4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.parameterBtnAddFile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-family: "SF Pro Display";
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-align: center;
  color: #bebaba;
  padding: 5px 12px;
  width: fit-content;
  border: 1.5px solid #676767;
  border-radius: 13px;
  cursor: pointer;
  text-wrap: nowrap;
}
.rightparametersLineAddFile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.parametersLineAddFile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
}
.svgParameterBtnAddFile {
  padding: 7px;
  border-radius: 100%;
  background-color: #676767;
  cursor: pointer;
}
.svgParameterBtnAddFile2 {
  background-color: #fff;
  padding: 7px;
  border-radius: 100%;
  cursor: pointer;
}
.blockAddFile {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 63px;
  padding: 28px 28px 20px 44px;
  background: #303030;
  border-radius: 36px;
  max-width: 786px;
  width: calc(100% - 72px);
}
.addFile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 0;
  max-width: 786px;
  width: 100%;

  .error-message {
    color: #ff4d4f;
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 4px;
  }

  .loading-message {
    color: #1890ff;
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 4px;
  }

  .ticketStatus {
    margin: 10px 0;
    padding: 10px;
    background-color: #f5f7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;

    .statusLabel {
      font-weight: 500;
      color: #4a4a4a;
    }

    .statusValue {
      color: #89aaff;
      font-weight: 600;
    }
  }
}
.addFileTopCont {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 37px;
  margin-top: 154px;
  max-width: 786px;
  width: 100%;
  transition: margin-top 320ms ease;
}

.addFileTopCont.infoBlockExpanded {
  margin-top: 290px;
}

.eventModalAddFile {
  margin-left: 111px;
  margin-top: -12px;
  z-index: 100;
  position: relative;
}
.paramBlockAddFile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1154px) {
  .blockAddFile {
    max-width: 686px;
    width: calc(100% - 72px);
  }
  .addFileTopCont {
    max-width: 686px;
  }
  .addFile {
    max-width: 686px;
  }
  .titleAddFile {
    font-size: 37px;
  }
  .rightparametersLineAddFileCont {
    width: 100%;
    overflow: hidden;
    margin-left: -30px;
  }
  .rightparametersLineAddFile {
    overflow-x: auto;
    min-width: 0;
    padding-bottom: 8px;
    margin-left: 30px;
    padding-left: 30px;
  }
}
@media (max-width: 1028px) {
  .blockAddFile {
    max-width: 586px;
    width: calc(100% - 72px);
  }
  .addFileTopCont {
    max-width: 586px;
  }
  .addFile {
    max-width: 586px;
  }
  .titleAddFile {
    font-size: 34px;
  }
  .rightparametersLineAddFileCont {
    width: 100%;
    overflow: hidden;
    margin-left: -30px;
  }
  .rightparametersLineAddFile {
    overflow-x: auto;
    min-width: 0;
    padding-bottom: 8px;
    margin-left: 30px;
    padding-left: 128px;
  }
}

@media (max-height: 855px) {
  .addFileTopCont {
    margin-top: 180px;
  }
  .addFileTopCont.infoBlockExpanded {
    margin-top: 240px;
  }
}
@media (max-height: 745px) {
  .addFileTopCont {
    margin-top: 150px;
  }
  .addFileTopCont.infoBlockExpanded {
    margin-top: 210px;
  }
}
