/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 62.5%;
  font-family: "Roboto", sans-serif;
  color: #212529;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

.container {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
  width: 150rem;
  height: 100vh;
  border-radius: 20rem;
}

.app-container {
  display: flex;
  width: 100%;
}

.margin-bottom-v-sm {
  margin-bottom: 0.66rem;
}

.margin-bottom-sm {
  margin-bottom: 1.15rem;
}

.border-dashed-grey {
  border: 2px dashed #adb5bd;
}

.border-dashed-light-blue {
  border: 2px dashed #748ffc;
}

.flex {
  display: flex;
}

.flex-centre {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none !important;
}

.pdf-viewer {
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 0 2rem 2rem 2rem;
  border: 1px solid #ced4da;
  border-right: none;
  position: relative;
}

.pdf-viewer__iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  background-color: #f8f9fa;
}

.loading-msg {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.2rem;
  color: rgb(147.88125, 156.5, 165.11875);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loading-msg__icon-pdf {
  font-size: 4rem;
  color: rgb(201.2567567568, 206.5, 211.7432432432);
  --ionicon-stroke-width: 16px;
}

.viewer-header {
  padding: 1rem 0 1rem 0;
}

.control-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-right: none;
  width: 50%;
  height: 100vh;
  padding: 2rem;
  border: 1px solid #ced4da;
}

.pdf-upload-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  font-size: 1.15rem;
  border: 1px solid #ced4da;
  height: auto;
  padding: 2rem 0 2rem 0;
}

.section-intro {
  padding-left: 2.5%;
  font-size: 0.95rem;
  color: #495057;
}

.icon-document {
  font-size: 2.4rem;
  color: #4263eb;
  display: inline-block;
  margin-right: 0.66rem;
}

.load-pdf {
  display: flex;
  align-self: center;
  align-items: center;
  flex-direction: column;
  width: 95%;
  border-radius: 0.5rem;
}
.load-pdf:hover {
  border: 2px dashed rgb(93.2027027027, 104.5, 115.7972972973);
}
.load-pdf__file-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  text-align: center;
  height: auto;
  width: 100%;
  padding: 1rem;
  transition: all 0.3s;
}
.load-pdf__file-upload span {
  color: #495057;
}
.load-pdf__file-upload ion-icon {
  font-size: 3.2rem;
  color: #adb5bd;
  flex-shrink: 0;
}

.loaded-pdf {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  border: 2px solid #ced4da;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  color: #495057;
  height: auto;
  width: 90%;
  padding: 1rem 2rem;
}
.loaded-pdf ion-icon {
  font-size: 2.4rem;
  color: #4263eb;
  flex-shrink: 0;
}
.loaded-pdf__text {
  display: flex;
  flex-direction: column;
}

.coshh-info-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  background-color: #f8f9fa;
  font-size: 1.15rem;
  border: 1px solid #ced4da;
  border-top: none;
  height: auto;
  padding: 2rem;
  overflow-y: auto;
}

.info-container {
  background-color: #fff;
  width: 100%;
  padding: 1.8rem;
  box-shadow: rgba(149, 157, 165, 0.002) 0px 8px 24px;
  border-radius: 0.5rem;
}

.form-section__header {
  background-color: rgba(33, 37, 41, 0.176);
  padding: 0.66rem 1.2rem;
  margin-bottom: 1.15rem;
  border-radius: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.251) 0px 2px 4px;
}

.form-element {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: inherit;
  margin-bottom: 1.15rem;
}
.form-element__label {
  font-weight: 600;
}
.form-element__input {
  padding: 0.8rem 1.4rem;
  border-radius: 0.5rem;
  border: 2px solid #ced4da;
  width: 100%;
  field-sizing: content;
  resize: none;
}
.form-element__input:focus {
  border-color: #4263eb;
  outline: none;
  box-shadow: 0 0 0 2px rgba(66, 99, 235, 0.2);
}
.form-element__input::placeholder {
  color: #adb5bd;
}

.selected {
  border-color: #4263eb;
  outline: none;
  box-shadow: 0 0 0 2px rgba(66, 99, 235, 0.2);
}

/* PDF.js highlight fadeout */
.highlight {
  transition: background-color 0.8s ease;
}

.highlight.fadeout {
  background-color: transparent !important;
}

.heading-secondary {
  font-size: 1.6rem;
  color: #212529;
}

.heading-tertiary {
  font-size: 1.4rem;
  font-weight: 500;
}

.btn {
  background-color: #4263eb;
  color: #fff;
  font-weight: 300;
  font-size: 1.15rem;
  padding: 0.5rem 2rem;
  border: none;
  border-radius: 0.5rem;
  transition: all 0.3s;
}
.btn:hover {
  font-weight: 400;
  background-color: #364fc7;
}/*# sourceMappingURL=main.css.map */