/* Keep the lookup screen isolated from broad theme table and form rules. */
form.check-roll-no-form {
  box-sizing: border-box;
  width: min(100% - 32px, 1060px);
  max-width: 1060px;
  margin: 32px auto;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid #dce5ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(22, 48, 75, .10);
}

form.check-roll-no-form .check-roll-no-form__intro {
  margin: 0 0 30px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e8edf3;
  text-align: center;
}

form.check-roll-no-form .check-roll-no-form__intro h2 {
  margin: 0 0 9px;
  color: #123b63;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}

form.check-roll-no-form .check-roll-no-form__intro p {
  max-width: 660px;
  margin: 0 auto;
  color: #627184;
  font-size: 1rem;
  line-height: 1.6;
}

form.check-roll-no-form .form-item-student-detail {
  margin: 0;
}

form.check-roll-no-form .form-item-student-detail label {
  display: block;
  margin: 0 0 9px;
  color: #233b53;
  font-size: 1rem;
  font-weight: 600;
}

form.check-roll-no-form .form-item-student-detail input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #cbd6e2;
  border-radius: 8px;
  background: #fff;
  color: #24384d;
  font: inherit;
  box-shadow: none;
}

form.check-roll-no-form .form-item-student-detail input:focus {
  border-color: #1769aa;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23, 105, 170, .14);
}

form.check-roll-no-form .form-actions {
  margin: 18px 0 0;
}

form.check-roll-no-form .form-actions input,
form.check-roll-no-form .form-actions button {
  min-height: 47px;
  padding: 11px 23px;
  border: 0;
  border-radius: 8px;
  background: #145b96;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

form.check-roll-no-form .form-actions input:hover,
form.check-roll-no-form .form-actions button:hover {
  background: #0d4678;
  transform: translateY(-1px);
}

form.check-roll-no-form .check-roll-no-form__result:not(:empty) {
  margin-top: 30px;
}

form.check-roll-no-form .check-roll-no-result {
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(22, 48, 75, .06);
}

form.check-roll-no-form .check-roll-no-result h3 {
  margin: 0;
  padding: 18px 22px;
  background: #edf5fb;
  color: #123b63;
  font-size: 1.3rem;
  font-weight: 700;
}

form.check-roll-no-form .check-roll-no-result__table-wrap {
  overflow-x: auto;
}

form.check-roll-no-form table.check-roll-no-result__table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;
}

form.check-roll-no-form table.check-roll-no-result__table tr,
form.check-roll-no-form table.check-roll-no-result__table tr:nth-child(odd),
form.check-roll-no-form table.check-roll-no-result__table tr:nth-child(even) {
  background: #fff;
}

form.check-roll-no-form table.check-roll-no-result__table th,
form.check-roll-no-form table.check-roll-no-result__table td {
  padding: 13px 22px;
  border: 0;
  border-bottom: 1px solid #e9eef3;
  text-align: left;
  vertical-align: middle;
  line-height: 1.45;
}

form.check-roll-no-form table.check-roll-no-result__table tr:last-child th,
form.check-roll-no-form table.check-roll-no-result__table tr:last-child td {
  border-bottom: 0;
}

form.check-roll-no-form table.check-roll-no-result__table th {
  width: 38%;
  background: #f8fafc;
  color: #304b65;
  font-weight: 600;
}

form.check-roll-no-form table.check-roll-no-result__table td {
  color: #263746;
  overflow-wrap: anywhere;
}

form.check-roll-no-form .check-roll-no-result__actions {
  display: flex;
  justify-content: flex-end;
  padding: 16px 22px;
  border-top: 1px solid #e9eef3;
  background: #fbfcfe;
}

form.check-roll-no-form a.check-roll-no-result__download {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  background: #145b96;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

form.check-roll-no-form a.check-roll-no-result__download:hover,
form.check-roll-no-form a.check-roll-no-result__download:focus {
  background: #0d4678;
  color: #fff;
  text-decoration: none;
}

form.check-roll-no-form .check-roll-no-message {
  padding: 16px 19px;
  border: 1px solid #dce5ed;
  border-radius: 9px;
}

form.check-roll-no-form .check-roll-no-message--error {
  border-color: #f2c6c6;
  background: #fff5f5;
  color: #8b2525;
}

form.check-roll-no-form .check-roll-no-message--warning {
  border-color: #f0d99c;
  background: #fff9e8;
  color: #725512;
}

@media (max-width: 600px) {
  form.check-roll-no-form {
    width: calc(100% - 24px);
    margin: 16px auto;
    padding: 22px 16px;
    border-radius: 12px;
  }

  form.check-roll-no-form .check-roll-no-result h3 {
    padding: 15px;
  }

  form.check-roll-no-form table.check-roll-no-result__table th,
  form.check-roll-no-form table.check-roll-no-result__table td {
    padding: 11px 13px;
  }

  form.check-roll-no-form table.check-roll-no-result__table th {
    width: 45%;
  }
}
