.cpp-submission-form {
  margin-bottom: 10px;

  label {
    position: relative;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: stretch;
    row-gap: 5px;
    margin: 10px 0;
  }

  label.alert-error {
    padding: 10px;
    background-color: red;
    color: white;
    border-radius: 5px;
    display: inline-flex;
    flex-direction: row;
    column-gap: 5px;
    align-items: center;
    justify-content: start;

    > svg {
      width: 24px;
      aspect-ratio: 1;
      flex-grow: 0;
      flex-shrink: 0;
    }

    > span {
      line-height: 1.2em;

      a {
        color: white;
        font-weight: bold;
        text-decoration: underline;
      }
    }
  }

  label:has(input[required]) > span:first-child {
    margin-left: 1ch;
  }

  label:has(input[required]) > span:first-child:before {
    content: "*";
    font-size: 1em;
    color: red;
    position: absolute;
    top: 0;
    left: 0;
  }

  input {
    padding: 6px 12px !important;
    border: 1px solid #e5e7eb !important;
    font-size: 14px;
    color: #212529;
    width: 100% !important;
  }

  input.w-auto {
    width: auto !important;
  }

  button[type="submit"] {
    background-color: #00B894;
    font-family: "Inter";
    font-size: 16px;
    font-weight: bold;
    color: white;
    border-radius: 4px;
    border: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
    
    > svg {
      height: 24px;
      width: 24px;
    }
  }

  button[type="submit"]:disabled {
    background-color: #8F8F8F;
  }

  button[type="submit"]:not(:disabled):hover {
    background-color: #157347;
  }
}