/* only applied to Apply page */

.application-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; /* spacing between logo and title */
  margin-bottom: 20px;
  text-align: center;
}

.niwe-logo {
  height: 80px;
  width: auto;
}

.application-title {
  font-size: 36px;
  font-weight: bold;
  /* font-style: italic; */
  color: #003e73; /* dark blue */
  margin: 0 !important;
}

 .asteriskField {
      color: red;
    }
/* only applied to success page */
.success-box {
    background-color: #fafafa;
    border: 1px solid #e4d1d1;
    padding: 30px;
    max-width: 750px;
    margin: 50px auto;
    border-radius: 6px;
  }

  .success-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .success-header img {
    height: 60px;
  }

  .success-title {
    font-size: 30px;
    font-weight: bold;
    color: #003e73;
    text-align: center;
  }

  .success-subtitle {
    color: green;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
  }

  .success-message,
  .success-application-id,
  .success-download {
    text-align: center;
  }

  .success-message {
    color: #444;
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.5rem;
  }

  .success-download {
    margin-top: 20px;
  } 
 
  .tick-img {
    width: 100px;
    height: auto;
    margin: 20px auto;
    display: block;
  }


/* New addition */

/* Declaration checkbox fix */
input[type="checkbox"] {
  accent-color: #0d6efd;
}

/* Final custom checkbox: white box + blue tick */
.form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #6c757d;
  border-radius: 4px;
  background-color: #fff !important;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  box-shadow: none !important;
}

/* Checked state */
.form-check-input:checked {
  background-color: #fff !important;
  border-color: #000;
}

/* Blue tick perfectly centered */
.form-check-input:checked::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 1px;
  left: 5px;
}

/* Remove Bootstrap focus glow */
.form-check-input:focus {
  box-shadow: none !important;
  outline: none;
}
