* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 1200px;
  min-height: 100vh;
  background: #f0f0f0;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

body.mobile-scaled {
  width: 100vw;
  min-width: 0;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.page {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f0f0f0;
}

.page.is-active {
  display: flex;
  flex-direction: column;
}

body.mobile-scaled .page.is-active {
  width: 1200px;
  min-height: var(--mobile-page-height, 2600px);
  transform: scale(var(--mobile-scale, 1));
  transform-origin: top left;
}

.site-header {
  min-width: 1200px;
  background: url("Images/hederbg.jpg") repeat-x #082a62;
}

.header-inner {
  width: 1000px;
  height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr 142px;
  align-items: start;
  gap: 8px;
  padding-top: 14px;
}

.result-header {
  width: 1000px;
}

.brand-block {
  padding-left: 5px;
}

.brand-block img {
  display: block;
}

.logo-title {
  width: 360px;
  color: #fff;
  font-family: Cambria, Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 28px;
  white-space: nowrap;
  text-align: left;
}

.board-block {
  padding-top: 4px;
  text-align: right;
}

.board-block img {
  display: inline-block;
}

.govt {
  color: #fff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 36px;
  text-align: right;
}

.board-logo {
  display: block;
  justify-self: end;
  margin-top: 0;
}

.yellow-strip,
.candidate-strip {
  min-width: 1200px;
  height: 24px;
  background: url("Images/yellowline.jpg") repeat-x #ffeb00;
  color: gray;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.yellow-strip {
  width: 100%;
  padding-right: 100px;
  text-align: right;
  line-height: 24px;
}

.candidate-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px 0 0;
  line-height: 12px;
}

.home-main {
  width: 950px;
  min-height: 430px;
  margin: 0 auto;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 350px 300px 300px;
  gap: 0;
  flex: 1 0 auto;
}

.panel {
  width: 350px;
}

.registration {
  width: 300px;
}

.blue-panel-title {
  height: 48px;
  display: grid;
  grid-template-columns: 9px 1fr 9px;
  align-items: stretch;
}

.corner.left {
  background: url("Images/buleleftconner.png") no-repeat;
}

.corner.right {
  background: url("Images/bulerightconner.png") no-repeat;
}

.title-center {
  display: flex;
  align-items: center;
  padding: 0 0 8px 3px;
  background: url("Images/bulebgcolorcenter.png") repeat-x #06355f;
  color: #fff;
  font-size: 18px;
}

.panel-body {
  margin: 0 9px;
  background: #e4f3f3;
}

.panel-body.tall {
  height: 420px;
  padding: 12px 6px;
}

.helpdesk {
  margin: 0;
  color: #400000;
  font-size: 13px;
}

.updates {
  width: 300px;
  padding: 0 2px;
}

.yellow-card {
  min-height: 35px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  background: url("Images/yellowline.jpg") repeat-x #ffeb00;
  color: #000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: left;
}

.yellow-card.big {
  min-height: 57px;
  margin-top: 4px;
  align-items: start;
  padding-top: 4px;
}

.yellow-card.big a {
  font-size: 16px;
}

.empty-update {
  height: 119px;
  background: #e4f3f3;
}

.registration-body {
  min-height: 265px;
  padding: 0 0 16px;
  text-align: center;
}

.image-button {
  width: 246px;
  height: 34px;
  margin-top: 14px;
  border: 0;
  color: transparent;
  cursor: pointer;
}

.new-registration {
  background: url("Images/btn.png") center / contain no-repeat;
}

.forgot {
  margin-top: 18px;
  background: url("Images/btnforget.png") center / contain no-repeat;
}

.sign-button {
  width: 246px;
  height: 34px;
  margin-top: 28px;
  border: 0;
  border-radius: 8px;
  background: #061f54;
  color: #fff;
  cursor: pointer;
  font-size: medium;
  font-weight: bold;
}

.sign-button.small {
  width: 120px;
  height: 28px;
  margin-top: 8px;
  font-size: 13px;
}

.login-form {
  display: none;
  width: 246px;
  margin: 12px auto 0;
  padding: 8px;
  border: 1px solid #8bb2c1;
  background: #f8ffff;
  color: #003366;
  text-align: left;
}

.login-form.is-visible {
  display: block;
}

.login-form label {
  display: block;
  margin-bottom: 6px;
}

.login-form input {
  width: 100%;
  height: 22px;
  margin-top: 2px;
  border: 1px solid #aaa;
  color: #000;
  font-weight: normal;
}

.login-error {
  min-height: 15px;
  margin: 0;
  color: #b00000;
  font-size: 11px;
  line-height: 15px;
  text-align: center;
}

.footer {
  width: 100%;
  min-width: 1200px;
  min-height: 86px;
  margin-top: auto;
  padding-top: 13px;
  background: url("Images/hederbg.jpg") repeat-x #082a62;
  color: #fff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

.footer span {
  color: red;
}

.footer img {
  height: 18px;
  vertical-align: middle;
}

.top-nav {
  min-width: 1200px;
  height: 38px;
  display: flex;
  justify-content: center;
  background: #003366;
  color: #fff;
}

.top-nav a {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-left: 1px solid #81a1c6;
  border-right: 1px solid #001e44;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.result-main {
  width: 1200px;
  min-height: 427px;
  padding-top: 4px;
  flex: 1 0 auto;
}

.details-main {
  width: 1200px;
  min-height: 510px;
  padding-top: 4px;
  flex: 1 0 auto;
}

.dossier-main {
  width: 1200px;
  min-height: 280px;
  padding-top: 4px;
  flex: 1 0 auto;
}

.dossier-personal-main {
  width: 1200px;
  min-height: 520px;
  padding-top: 4px;
  flex: 1 0 auto;
}

.dossier-upload-main {
  width: 1200px;
  min-height: 980px;
  padding-top: 4px;
  flex: 1 0 auto;
}

.dossier-page4-main {
  width: 1200px;
  min-height: 800px;
  padding-top: 4px;
  flex: 1 0 auto;
}

.qualification-main {
  width: 1200px;
  min-height: 1700px;
  padding-top: 4px;
  flex: 1 0 auto;
}

.final-main {
  width: 1200px;
  min-height: 1120px;
  padding-top: 4px;
  flex: 1 0 auto;
}

.sub-nav {
  display: flex;
  justify-content: center;
  gap: 3px;
  align-items: stretch;
}

.sub-nav form {
  margin: 0;
}

.sub-nav button {
  min-height: 34px;
  padding: 1px 7px;
  border: 1px solid #b9b9b9;
  background: #efefef;
  color: #000066;
  cursor: pointer;
  font-size: 15px;
  line-height: 15px;
  text-align: center;
  white-space: normal;
}

.logout-form {
  margin: 0;
}

.registration-details-table {
  width: 855px !important;
  margin: 32px auto 0 !important;
  border: 1px solid #8b8b8b !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  color: #000066 !important;
  font-size: 13px !important;
  font-weight: bold !important;
}

.registration-details-table th,
.registration-details-table td {
  height: 30px !important;
  padding: 4px 6px !important;
  border: 1px solid #999 !important;
  background: #f0f0f0 !important;
  text-align: left !important;
  vertical-align: middle !important;
}

.registration-details-table .details-title {
  background: #003366 !important;
  color: #fff !important;
  font-size: 16px !important;
  text-align: center !important;
}

.registration-details-table .registration-number {
  height: 38px !important;
  text-align: center !important;
}

.registration-details-table th {
  width: 180px !important;
}

.registration-details-table td {
  width: 250px !important;
}

.registration-details-table input,
.registration-details-table select {
  height: 22px !important;
  border: 1px solid #999 !important;
  background: #eee !important;
  color: #333 !important;
  font-weight: bold !important;
  font-size: 13px !important;
}

.registration-details-table input {
  width: 170px !important;
}

.registration-details-table .short-input {
  width: 88px !important;
}

.plain-button {
  min-height: 0 !important;
  margin-left: 6px;
  padding: 2px 8px !important;
  border: 1px solid #999 !important;
  background: #efefef !important;
  color: #000 !important;
  font-size: 12px !important;
  line-height: 14px !important;
}

.dossier-select-panel {
  width: 1030px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  column-gap: 22px;
  row-gap: 6px;
  align-items: center;
  color: #000066;
  font-size: 16px;
}

.dossier-select-panel label {
  text-align: left;
}

.dossier-select-panel select {
  width: 625px;
  height: 24px;
  border: 1px solid #9a9a9a;
  background: #f5f5f5;
  color: #444;
  font-size: 14px;
  font-weight: normal;
}

.dossier-actions {
  grid-column: 2;
  display: flex;
  gap: 10px;
}

.dossier-actions button {
  min-width: 190px;
  height: 25px;
  border: 1px solid #6f8baa;
  background: #064171;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 18px;
}

.dossier-actions button + button {
  min-width: 230px;
}

.personal-info-panel {
  width: 980px;
  margin: 12px auto 0;
  border: 2px solid #7d71c8;
  background: #f0f0f0;
  color: #000066;
  font-size: 16px;
}

.personal-post-line {
  height: 30px;
  padding: 4px 6px;
  color: #555;
  font-size: 15px;
  line-height: 20px;
}

.personal-heading {
  height: 26px;
  background: #064171;
  color: #fff;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
}

.edossier-line {
  padding: 2px 6px 4px;
  color: #000066;
  font-size: 16px;
  line-height: 20px;
}

.personal-grid {
  display: grid;
  grid-template-columns: 285px 1fr;
  column-gap: 12px;
  row-gap: 6px;
  padding: 6px;
}

.personal-grid label {
  min-height: 20px;
  color: #000066;
}

.personal-grid label span,
.editable-note {
  color: #c00000;
}

.personal-grid input,
.personal-grid textarea {
  box-sizing: border-box;
  border: 1px solid #aaa;
  background: #fff;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.personal-grid input {
  width: 300px;
  height: 24px;
}

.personal-grid textarea {
  width: 660px;
  height: 52px;
  resize: none;
}

.editable-note {
  margin: 4px 6px 8px;
  font-size: 15px;
}

.save-next-button {
  display: block;
  width: 270px;
  height: 28px;
  margin: 0 auto 7px;
  border: 1px solid #6f8baa;
  background: #064171;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 18px;
}

.save-next-form,
.upload-next-form {
  margin: 0;
}

.upload-panel {
  width: 980px;
  margin: 12px auto 0;
  border: 2px solid #7d71c8;
  background: #f0f0f0;
  color: #000066;
  font-size: 16px;
}

.upload-panel h1 {
  margin: 0 0 6px;
  padding: 0 6px;
  color: #000066;
  font-size: 20px;
  line-height: 24px;
}

.upload-message {
  margin: 0 6px 6px;
  padding: 4px 6px;
  border: 1px solid #9a9a9a;
  background: #fff;
  color: #000066;
  font-size: 14px;
}

.upload-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #000066;
  font-size: 18px;
  font-weight: bold;
}

.upload-table th,
.upload-table td {
  box-sizing: border-box;
  border: 1px solid #999;
  background: #f4f4f4;
  text-align: left;
  vertical-align: middle;
}

.upload-table th {
  height: 34px;
  padding: 2px 5px;
  background: #064171;
  color: #fff;
  line-height: 20px;
}

.upload-table td {
  height: 78px;
  padding: 3px;
  line-height: 20px;
}

.upload-table th:nth-child(1),
.upload-table td:nth-child(1) {
  width: 64px;
  text-align: center;
}

.upload-table th:nth-child(1) {
  white-space: nowrap;
}

.upload-table th:nth-child(2),
.upload-table td:nth-child(2) {
  width: 220px;
}

.upload-table th:nth-child(3),
.upload-table td:nth-child(3) {
  width: 124px;
}

.upload-table th:nth-child(3) {
  white-space: nowrap;
}

.upload-table th:nth-child(4),
.upload-table td:nth-child(4) {
  width: 256px;
}

.upload-table th:nth-child(5),
.upload-table td:nth-child(5) {
  width: 240px;
}

.upload-table th:nth-child(6),
.upload-table td:nth-child(6) {
  width: 70px;
  text-align: center;
}

.upload-table input[type="file"] {
  width: 220px;
  color: #333;
  font-size: 13px;
  font-weight: normal;
}

.upload-table input[type="file"].is-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

input[type="file"].is-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-preview {
  min-height: 0;
  margin-bottom: 2px;
}

.upload-preview:empty {
  display: none;
}

.upload-preview img {
  display: block;
  max-width: 110px;
  max-height: 80px;
  object-fit: contain;
}

.pdf-icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.upload-note {
  margin-top: 2px;
  color: #b12727;
  font-size: 17px;
  line-height: 19px;
}

.upload-note.is-saved {
  margin-top: 3px;
}

.upload-table textarea {
  width: 230px;
  height: 68px;
  border: 1px solid #999;
  background: #fff;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: bold;
  resize: none;
}

.row-save {
  display: inline-block;
  border: 0;
  background: transparent;
  color: #064171;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-decoration: underline;
}

.upload-next-form {
  padding: 6px 0 8px;
}

.page4-panel {
  width: 980px;
  margin: 12px auto 0;
  border: 2px solid #7d71c8;
  background: #f0f0f0;
  color: #000066;
  font-size: 16px;
  font-weight: bold;
}

.page4-panel p {
  margin: 30px 0;
  text-align: center;
}

.caste-panel {
  width: 980px;
  margin: 12px auto 0;
  border: 2px solid #b7b4dc;
  background: #f4f4f4;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.mandatory-note {
  padding: 5px 5px 0;
  text-align: right;
}

.mandatory-note span,
.caste-form-grid label span,
.caste-red-note {
  color: #d43a28;
}

.caste-form-grid {
  display: grid;
  grid-template-columns: 420px 360px;
  gap: 5px 10px;
  padding: 4px 5px 0;
  align-items: center;
}

.caste-category {
  grid-column: 1 / -1;
  padding: 4px 0;
}

.caste-form-grid label {
  color: #000066;
}

.caste-form-grid input,
.caste-form-grid select,
.caste-form-grid textarea,
.caste-table textarea {
  box-sizing: border-box;
  border: 1px solid #aaa;
  background: #fff;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.caste-form-grid input,
.caste-form-grid select {
  width: 360px;
  height: 24px;
}

.caste-panel h2 {
  margin: 6px 5px 0;
  color: #000066;
  font-size: 18px;
  line-height: 22px;
}

.caste-red-note {
  margin: 0 5px 5px;
  font-size: 15px;
  line-height: 20px;
}

.caste-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #000066;
  font-size: 16px;
  font-weight: bold;
}

.caste-table th,
.caste-table td {
  box-sizing: border-box;
  border: 1px solid #999;
  background: #f4f4f4;
  text-align: left;
  vertical-align: middle;
}

.caste-table th {
  height: 24px;
  padding: 2px 4px;
  background: #064171;
  color: #fff;
}

.caste-table td {
  height: 96px;
  padding: 4px;
}

.caste-table th:nth-child(1),
.caste-table td:nth-child(1) {
  width: 52px;
  text-align: left;
}

.caste-table th:nth-child(2),
.caste-table td:nth-child(2) {
  width: 180px;
}

.caste-table th:nth-child(3),
.caste-table td:nth-child(3) {
  width: 330px;
}

.caste-table th:nth-child(4),
.caste-table td:nth-child(4) {
  width: 340px;
}

.caste-table th:nth-child(5),
.caste-table td:nth-child(5) {
  width: 78px;
  text-align: center;
}

.caste-table input[type="file"] {
  width: 250px;
  color: #333;
  font-size: 13px;
  font-weight: normal;
}

.caste-table textarea {
  width: 325px;
  height: 86px;
  resize: none;
}

.no-parent-row {
  display: flex;
  width: max-content;
  margin: 8px 5px 0;
  align-items: center;
  gap: 5px;
  color: #000066;
}

.no-parent-row input {
  width: 20px;
  height: 20px;
  margin: 0;
}

.parent-certificate-details {
  padding: 0 5px 8px;
}

.parent-certificate-details[hidden] {
  display: none;
}

.parent-certificate-details p {
  margin: 6px 0;
  color: #555;
  font-size: 15px;
}

.parent-grid {
  grid-template-columns: 420px 360px;
  padding: 0;
}

.parent-grid textarea {
  width: 540px;
  height: 78px;
  resize: none;
}

.subcategory-panel {
  min-height: 330px;
}

.subcategory-name {
  margin: 14px 5px 8px;
  color: #000066;
  font-size: 20px;
}

.subcategory-next-form {
  margin-top: 8px;
}

.qualification-panel {
  width: 1196px;
  margin: 12px auto 0;
  border: 2px solid #b7b4dc;
  background: #f4f4f4;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.qualification-panel h2 {
  margin: 6px 4px 0;
  color: #000066;
  font-size: 17px;
  line-height: 22px;
}

.qualification-top-table,
.qualification-doc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #000066;
  font-size: 14px;
  font-weight: bold;
}

.qualification-top-table th,
.qualification-top-table td,
.qualification-doc-table th,
.qualification-doc-table td {
  box-sizing: border-box;
  border: 1px solid #999;
  background: #f4f4f4;
  text-align: left;
  vertical-align: top;
}

.qualification-top-table th,
.qualification-doc-table th {
  padding: 2px 3px;
  background: #064171;
  color: #fff;
  line-height: 17px;
}

.qualification-top-table td,
.qualification-doc-table td {
  padding: 3px;
  line-height: 17px;
}

.qualification-top-table td {
  height: 150px;
}

.qualification-top-table th:nth-child(1),
.qualification-top-table td:nth-child(1) {
  width: 32px;
}

.qualification-top-table th:nth-child(2),
.qualification-top-table td:nth-child(2) {
  width: 115px;
}

.qualification-top-table th:nth-child(3),
.qualification-top-table td:nth-child(3) {
  width: 95px;
}

.qualification-top-table th:nth-child(4),
.qualification-top-table td:nth-child(4) {
  width: 100px;
}

.qualification-top-table th:nth-child(5),
.qualification-top-table td:nth-child(5) {
  width: 70px;
}

.qualification-top-table th:nth-child(6),
.qualification-top-table td:nth-child(6) {
  width: 76px;
}

.qualification-top-table th:nth-child(7),
.qualification-top-table td:nth-child(7) {
  width: 220px;
}

.qualification-top-table th:nth-child(8),
.qualification-top-table td:nth-child(8) {
  width: 110px;
}

.qualification-top-table th:nth-child(9),
.qualification-top-table td:nth-child(9) {
  width: 120px;
}

.qualification-top-table th:nth-child(10),
.qualification-top-table td:nth-child(10) {
  width: 163px;
}

.qualification-top-table th:nth-child(11),
.qualification-top-table td:nth-child(11) {
  width: 95px;
  text-align: center;
}

.qualification-top-table select,
.qualification-top-table input,
.qualification-top-table textarea,
.qualification-doc-table textarea {
  box-sizing: border-box;
  border: 1px solid #aaa;
  background: #fff;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.qualification-top-table select,
.qualification-top-table input {
  width: 100%;
  height: 24px;
}

.qualification-top-table textarea {
  width: 100%;
  height: 120px;
  resize: none;
}

.institute-choice {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: nowrap;
}

.institute-choice label {
  display: flex;
  align-items: center;
  gap: 3px;
}

.institute-choice input {
  width: 16px;
  height: 16px;
}

.institute-text,
.private-proof {
  margin-top: 12px;
}

.private-proof[hidden],
.institute-text[hidden] {
  display: none;
}

.private-proof p {
  margin: 0 0 26px;
  line-height: 20px;
}

.private-proof input {
  width: 100%;
  font-size: 12px;
  font-weight: normal;
}

.qualification-doc-table th:nth-child(1),
.qualification-doc-table td:nth-child(1) {
  width: 35px;
}

.qualification-doc-table th:nth-child(2),
.qualification-doc-table td:nth-child(2) {
  width: 150px;
}

.qualification-doc-table th:nth-child(3),
.qualification-doc-table td:nth-child(3) {
  width: 75px;
}

.qualification-doc-table th:nth-child(4),
.qualification-doc-table td:nth-child(4) {
  width: 200px;
}

.qualification-doc-table th:nth-child(5),
.qualification-doc-table td:nth-child(5) {
  width: 165px;
}

.qualification-doc-table th:nth-child(6),
.qualification-doc-table td:nth-child(6),
.qualification-doc-table th:nth-child(7),
.qualification-doc-table td:nth-child(7) {
  width: 155px;
}

.qualification-doc-table th:nth-child(8),
.qualification-doc-table td:nth-child(8) {
  width: 170px;
}

.qualification-doc-table th:nth-child(9),
.qualification-doc-table td:nth-child(9) {
  width: 91px;
  text-align: center;
}

.qualification-doc-table td {
  height: 94px;
}

.qualification-doc-table input[type="file"] {
  width: 195px;
  font-size: 12px;
  font-weight: normal;
}

.qualification-doc-table textarea {
  width: 100%;
  height: 86px;
  resize: none;
}

.final-panel {
  width: 980px;
  margin: 12px auto 0;
  border: 2px solid #b7b4dc;
  background: #f4f4f4;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.final-panel h2 {
  margin: 6px 5px 0;
  color: #000066;
  font-size: 18px;
  line-height: 22px;
}

.misc-table,
.preference-table {
  width: calc(100% - 10px);
  margin: 0 5px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #000066;
  font-size: 16px;
  font-weight: bold;
}

.misc-table th,
.misc-table td,
.preference-table th,
.preference-table td {
  box-sizing: border-box;
  border: 1px solid #999;
  background: #f4f4f4;
  text-align: left;
  vertical-align: middle;
}

.misc-table th,
.preference-table th {
  height: 28px;
  padding: 2px 5px;
  background: #064171;
  color: #fff;
  line-height: 20px;
}

.misc-table td {
  height: 88px;
  padding: 4px;
}

.misc-table th:nth-child(1),
.misc-table td:nth-child(1) {
  width: 55px;
}

.misc-table th:nth-child(2),
.misc-table td:nth-child(2) {
  width: 330px;
}

.misc-table th:nth-child(3),
.misc-table td:nth-child(3) {
  width: 250px;
}

.misc-table th:nth-child(4),
.misc-table td:nth-child(4) {
  width: 275px;
}

.misc-table th:nth-child(5),
.misc-table td:nth-child(5) {
  width: 60px;
  text-align: center;
}

.misc-table textarea {
  width: 100%;
  height: 70px;
  border: 1px solid #999;
  background: #fff;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  resize: none;
}

.misc-table input[type="file"] {
  width: 220px;
  color: #333;
  font-size: 13px;
  font-weight: normal;
}

.final-note {
  margin: 10px 5px 0;
  color: #555;
  font-size: 16px;
  line-height: 20px;
}

.final-note strong {
  display: block;
  color: #555;
  margin-bottom: 4px;
}

.final-note p {
  margin: 0 0 8px;
}

.preference-warning {
  margin: 2px 5px 4px;
  color: #c04a4a;
  font-size: 16px;
}

.preference-table th:nth-child(1),
.preference-table td:nth-child(1) {
  width: 90px;
}

.preference-table th:nth-child(2),
.preference-table td:nth-child(2) {
  width: 170px;
}

.preference-table td {
  height: 34px;
  padding: 3px;
}

.preference-table select {
  width: 420px;
  height: 26px;
  border: 1px solid #999;
  background: #fff;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.preference-download-row {
  margin: 2px 5px 6px;
  font-size: 16px;
  line-height: 22px;
}

.preference-download-row a {
  color: #064171;
  text-decoration: underline;
}

.preference-upload-table {
  width: calc(100% - 10px);
  margin: 0 5px 4px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #000066;
  font-size: 16px;
  font-weight: bold;
}

.preference-upload-table th,
.preference-upload-table td {
  box-sizing: border-box;
  border: 1px solid #999;
  background: #f4f4f4;
  text-align: left;
  vertical-align: middle;
}

.preference-upload-table th {
  height: 28px;
  padding: 2px 5px;
  background: #064171;
  color: #fff;
  line-height: 20px;
}

.preference-upload-table td {
  height: 88px;
  padding: 4px;
}

.preference-upload-table th:nth-child(1),
.preference-upload-table td:nth-child(1) {
  width: 260px;
}

.preference-upload-table th:nth-child(2),
.preference-upload-table td:nth-child(2) {
  width: 330px;
}

.preference-upload-table th:nth-child(3),
.preference-upload-table td:nth-child(3) {
  width: 320px;
}

.preference-upload-table th:nth-child(4),
.preference-upload-table td:nth-child(4) {
  width: 60px;
  text-align: center;
}

.preference-upload-table input[type="file"] {
  width: 250px;
  color: #333;
  font-size: 13px;
  font-weight: normal;
}

.preference-upload-table textarea {
  width: 100%;
  height: 70px;
  border: 1px solid #999;
  background: #fff;
  color: #000066;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  resize: none;
}

.uploaded-preference {
  width: calc(100% - 10px);
  margin: 96px 5px 12px;
  border: 1px solid #999;
  background: #f4f4f4;
}

.uploaded-preference-title {
  height: 28px;
  padding: 2px 5px;
  background: #064171;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
}

.uploaded-preference-body {
  height: 80px;
  padding: 12px 8px;
  border-top: 1px solid #999;
  background: #fff;
}

.uploaded-preference .pdf-icon {
  width: 54px;
  height: 54px;
}

.save-pref-button,
.final-submit-button {
  height: 34px;
  margin: 18px 0 10px 12px;
  padding: 4px 26px;
  border: 1px solid #6f8baa;
  background: #064171;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 20px;
}

.preference-action-row {
  display: flex;
  margin: 8px 5px 10px;
  gap: 12px;
  align-items: center;
}

.preference-action-row .save-pref-button {
  margin: 0;
}

.preference-button {
  min-width: 118px;
  height: 34px;
  padding: 5px 12px;
  border: 1px solid #6f8baa;
  background: #064171;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
}

.preference-hidden-upload {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.preference-uploaded-icon {
  width: 34px;
  height: 34px;
}

.final-submit-form {
  margin: 4px 5px 12px;
  color: #333;
  font-size: 16px;
  line-height: 20px;
}

.final-submit-form p {
  margin: 0;
}

.declaration-row {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  color: #333;
  font-size: 18px;
}

.declaration-row input {
  width: 18px;
  height: 18px;
}

.final-submit-button {
  margin: 10px 0 0;
}

.exam-row {
  width: 930px;
  margin: 9px auto 0;
  display: grid;
  grid-template-columns: 230px 400px;
  gap: 0;
  align-items: center;
  color: #000066;
  font-size: 16px;
}

.exam-row span {
  text-align: left;
}

.exam-row select {
  height: 23px;
  border: 1px solid #bababa;
  background: #f5f5f5;
  color: #444;
  font-weight: normal;
}

.result-title {
  margin: 6px 0 10px;
  color: #000066;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.result-panel[hidden] {
  display: none;
}

.result-table {
  width: 930px;
  margin: 0 auto;
  border: 1px solid #777;
  border-collapse: separate;
  border-spacing: 2px;
  color: #000066;
  font-size: 16px;
}

.result-table th,
.result-table td {
  border: 1px solid #999;
  background: #f0f0f0;
  text-align: left;
  vertical-align: top;
}

.result-table th {
  width: 260px;
}

.result-table td {
  width: 670px;
}

.result-table .marks-row th,
.result-table .marks-row td {
  height: 64px;
  vertical-align: middle;
}

.print-cell {
  text-align: center !important;
}

.print-button {
  height: 25px;
  padding: 2px 8px;
  border: 1px solid #316085;
  background: #064171;
  color: #fff;
  cursor: pointer;
}

.result-footer {
  margin-top: auto;
}
