.main-text-input {
  margin-top: 2.25vw;
  width: 100%;
  gap: 1vw;
  margin-bottom: 2vw;
  opacity: 1;
  transition: all 0.35s;
  justify-content: start !important;
  align-items: start;
}

.main-text-input > h3 {
  font-size: 1.05vw;
  font-weight: 600;
  margin-bottom: 0.5vw;
}

.main-comment-maker {
  padding: 2.5vw 2vw;
  width: 100%;
  height: 27vw;
  border-radius: 0.9vw;
  border: 0.125vw solid #edf1f6;
  background-color: rgba(241, 244, 249, 0.25);
  position: relative;
  justify-content: start !important;
}

.main-comment-maker-inputs {
  margin-top: 0.25vw;
  padding-bottom: 1.5vw;
  width: 100%;
  height: 78%;
  border-bottom: 0.11vw solid #edf1f6;
  display: grid;
  grid-template-columns: repeat(2, 10% 88%);
  gap: 0.5vw;
  position: relative;
}

.main-comment-maker-inputs > div {
  justify-content: start !important;
  height: 100%;
  position: relative;
}

.main-comment-maker-inputs > div:nth-child(1) figure.comment-maker-photo {
  padding: 1.1vw;
  width: 4vw;
  height: 4vw;
  border: 0.125vw solid #e2e8f0;
  border-radius: 50%;
  background-color: white;
  font-size: 2vw;
  color: #e2e8f0;
  position: relative;
}

.main-comment-maker-inputs > div:nth-child(1) figure.comment-maker-photo svg {
  width: 100%;
}

.main-comment-maker-inputs > div:nth-child(2) {
  width: 100%;
  gap: 0.75vw;
  position: relative;
}

.main-comment-maker-inputs-div1 {
  margin-top: 0.25vw;
  width: 100%;
  gap: 0.75vw;
  position: relative;
  justify-content: space-between !important;
}

.main-comment-maker-inputs-div1 .input-group {
  width: 48.5%;
  position: relative;
  border-color: #afbaca;
}

.main-comment-maker-inputs-div1 .input-group label {
  display: inline-block;
  padding: 0 0.75vw;
  position: absolute;
  bottom: 86%;
  right: 1.25vw;
  background: linear-gradient(to top, var(--light-bg), #fcfcfd);
  color: #afbaca;
  z-index: 3;
  font-size: 0.9vw;
}

.main-comment-maker-inputs-div1 .input-group input {
  width: 100%;
  color: var(--dark-box-bg);
}

.main-comment-maker-inputs-div1 .input-group input:focus {
  border-color: #afbaca;
}

.main-comment-maker-inputs input {
  height: 100%;
  background-color: white !important;
  position: relative;
}

.main-comment-maker-inputs-div2 {
  width: 100%;
  position: relative;
}

.main-comment-maker-inputs-div2 .input-group {
  width: 100%;
  position: relative;
}

.main-comment-maker-inputs-div2 textarea {
  margin-top: 1vw;
  padding: 1vw;
  width: 100%;
  resize: none;
  height: 10vw;
  font-family: IRANSansX, sans-serif;
  font-weight: 500;
  border-radius: 0.9vw;
  color: var(--dark-box-bg);
  outline: none;
  border: 0.1vw solid #dce2eaff;
  font-size: 0.95vw;
  transition: all 0.2s ease-in-out;
  caret-color: var(--green);
}

.main-comment-maker-inputs-div2 textarea:focus {
  border-color: #afbaca;
}

.main-comment-maker-inputs-div2 label {
  display: inline-block;
  padding: 0 0.75vw;
  position: absolute;
  bottom: 86%;
  right: 1.25vw;
  background: linear-gradient(to top, var(--light-bg), #fcfcfd);
  color: #afbaca;
  z-index: 3;
  font-size: 0.9vw;
}

.main-comment-maker-submit-btn-cont {
  padding-top: 1.25vw;
  padding-left: 0.6vw;
  width: 100%;
  justify-content: end !important;
}

.main-comment-maker-submit-btn-cont .tiny-loader2 {
  position: absolute;
  left: 10.5vw;
  transform: translateY(0.5vw);
}

.main-comment-maker-submit-btn-cont button.submit-reply {
  margin-top: 0.3vw;
  padding: 0.85vw;
  border-radius: 0.8vw;
  width: 7vw;
  font-size: 0.9vw;
  background-color: var(--green);
  transition: all 0.25s ease-in-out;
  color: var(--light-bg);
  font-weight: 500;
}

.main-text-input button.submit-reply:hover {
  filter: brightness(0.9);
  color: var(--light-green2);
}
@media (max-width: 450px) {
  .main-comment-maker {
    padding: 5.5vw 2vw;
    width: 100%;
    height: 73vw;
    border-radius: 2vw;
    border: 0.125vw solid #edf1f6;
    background-color: rgba(241, 244, 249, 0.25);
    position: relative;
    justify-content: start !important;
  }
  .main-comment-maker-inputs-div1 {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 5vw;
  }
  .main-comment-maker-inputs-div1 .input-group {
    width: 100%;
    position: relative;
    border-color: #afbaca !important;
  }
  .main-comment-maker-inputs > div:nth-child(1) figure.comment-maker-photo {
    width: 7vw;
    height: 7vw;
  }
  .main-comment-maker-inputs-div1 .input-group label {
    display: inline-block;
    padding: 0 0.75vw;
    position: absolute;
    bottom: 86%;
    right: 1.25vw;
    background: linear-gradient(to top, var(--light-bg), #fcfcfd);
    color: #afbaca;
    z-index: 3;
    font-size: 3.2vw;
  }
  .input-group input {
    border: 0.125vw solid #afbaca;
  }
  .main-comment-maker-inputs {
    margin-top: 0.25vw;
    padding-bottom: 1.5vw;
    width: 100%;
    height: 99%;
    border-bottom: 0.11vw solid #edf1f6;
    display: grid;
    grid-template-columns: repeat(2, 10% 88%);
    grid-gap: 0.5vw;
    gap: 0.5vw;
    position: relative;
  }
  .main-comment-maker-inputs-div2 textarea {
    margin-top: 1vw;
    padding: 1vw;
    width: 100%;
    resize: none;
    height: 17vw;
    font-family: IRANSansX, sans-serif;
    font-weight: 500;
    border-radius: 2vw;
    color: var(--dark-box-bg);
    outline: none;
    border: 0.1vw solid #afbaca;
    font-size: 0.95vw;
    transition: all 0.2s ease-in-out;
    caret-color: var(--green);
  }
  .main-comment-maker-inputs-div2 label {
    display: inline-block;
    padding: 0 0.75vw;
    position: absolute;
    bottom: 86%;
    right: 1.25vw;
    background: linear-gradient(to top, var(--light-bg), #fcfcfd);
    color: #afbaca;
    z-index: 3;
    font-size: 3.2vw;
  }
  .main-comment-maker-inputs-div2 {
    width: 100%;
    margin-top: 5vw;
    position: relative;
  }
  .main-comment-maker-submit-btn-cont button.submit-reply {
    margin-top: 1.3vw;
    padding: 0.85vw;
    border-radius: 1.68vw;
    width: 26vw;
    font-size: 3.5vw;
    background-color: var(--green);
    transition: all 0.25s ease-in-out;
    color: var(--light-bg);
    font-weight: 500;
  }
}
