.report-bug {
  position: relative;
  height: 100%x;
  background-color: var(--purple-one);
}

.report-bug-top {
  position: relative;
  height: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0px 14px 10px rgba(0, 0, 0, 0.65));
}

.report-bug-top-shape {
  position: absolute;
  height: 700px;
  width: 100%;
  background-color: var(--white-one);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 85% 35%, 15% 35%, 0 55%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.report-bug-title {
  position: absolute;
  top: 20%;
  font-family: "Perfect Dark";
  font-size: var(--super-size);
  text-align: center;
  padding-inline: var(--largest-size);
  color: black;
  text-shadow: 3px 4px 5px var(--red-two);
}

.report-bug-container {
  padding: 20px var(--super-size);
  display: flex;
  justify-content: center;
  align-items: center;
}

.bug-report-form {
  width: 100%;
  max-width: 800px;
  background: var(--white-one);
  padding: 40px;
  clip-path: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0 calc(100% - 20px),
    0 20px
  );
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-family: "Inter Bold";
  font-size: var(--normal-size);
  color: var(--purple-one);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  font-family: "Inter SemiBold";
  font-size: var(--normal-size);
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--purple-one);
  outline: none;
}

.textarea-container {
  position: relative;
}

.textarea {
  min-height: 120px;
  max-height: 300px;
  resize: vertical;
  overflow-y: auto;
  transition: height 0.2s ease;
}

.checkbox-group {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
}

.checkbox-container {
  display: flex;
  align-items: center;
}

.form-checkbox {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: var(--purple-one);
}

.checkbox-label {
  font-family: "Inter SemiBold";
  font-size: var(--normal-size);
  color: #555;
}

.checkbox-group.error .checkbox-label {
  color: var(--red-one);
}

.checkbox-group.error .form-checkbox {
  outline: 2px solid var(--red-one);
  border-radius: 2px;
}

#followUp-error {
  margin-top: 5px;
  margin-left: 28px;
}

.submit-button {
  width: 100%;
  padding: 15px;
  background-color: var(--purple-one);
  color: var(--white-one);
  border: none;
  font-family: "Inter Bold";
  font-size: var(--medium-size);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
  clip-path: var(--shape-button);
}

.submit-button:hover {
  background-color: var(--red-one);
}

.error-message {
  color: var(--red-one);
  font-family: "Inter SemiBold";
  font-size: calc(var(--normal-size) * 0.8);
  margin-top: 5px;
  height: 18px;
}

.form-input.error {
  border-color: var(--red-one);
}

.report-bug-bottom {
  position: relative;
  height: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0px -14px 10px rgba(0, 0, 0, 0.65));
}

.report-bug-bottom-shape {
  bottom: 0;
  position: absolute;
  height: 700px;
  width: 100%;
  background-color: var(--white-one);
  clip-path: polygon(15% 65%, 85% 65%, 100% 45%, 100% 100%, 0 100%, 0 45%);
}

.octagon-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 70px;
  background-color: var(--red-one);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white-one);
  font-size: var(--normal-size);
  text-align: center;
  clip-path: var(--shape-button);
  z-index: 1000;
}

.octagon-content {
  padding: 20px;
}

.footer-section {
  margin-top: -100px;
  position: relative;
  z-index: 100;
}

@media (max-width: 768px) {
  .report-bug-top {
    height: 300px;
  }

  .report-bug-top-shape {
    height: 600px;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 85% 35%, 15% 35%, 0 50%);
  }

  .report-bug-bottom {
    height: 300px;
  }

  .report-bug-bottom-shape {
    height: 600px;
    clip-path: polygon(15% 65%, 85% 65%, 100% 50%, 100% 100%, 0 100%, 0 50%);
  }

  .report-bug-title {
    font-size: calc(var(--super-size) * 0.7);
  }
}

@media (max-width: 430px) {
  .report-bug-container {
    padding-inline: 40px;
  }

  .report-bug-top {
    height: 250px;
  }
  .report-bug-top-shape {
    height: 500px;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 85% 35%, 15% 35%, 0 45%);
  }

  .report-bug-bottom {
    height: 250px;
  }

  .report-bug-bottom-shape {
    height: 500px;
    clip-path: polygon(15% 65%, 85% 65%, 100% 55%, 100% 100%, 0 100%, 0 55%);
  }

  .report-bug-title {
    font-size: calc(var(--super-size) * 0.6);
  }

  .octagon-popup {
    width: 150px;
    height: 70px;
    font-size: calc(var(--normal-size) * 0.8);
  }
}

@media (max-width: 320px) {
  .report-bug-title {
    font-size: calc(var(--super-size) * 0.5);
  }

  .report-bug-container {
    padding-inline: 20px;
  }
}
