* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  max-width: 1440px;
}

h1 {
  color: #020073;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.25;
  margin: 0 0 40px 0;

  @media (min-width: 1440px) {
    font-size: 38px;
    line-height: 44px;
    margin-bottom: 54px;
  }
}

h1 > br {
  display: none;

  @media (min-width: 1440px) {
    display: initial;
  }
}

h2 {
  color: #020073;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  font-optical-sizing: auto;
  text-transform: uppercase;
  margin: 0 0 40px 0;

  @media (min-width: 1440px) {
    font-size: 18px;
    margin-bottom: 116px;
  }
}

p {
  color: #020073;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 20px;

  @media (min-width: 1440px) {
    font-size: 18px;
    line-height: 24px;
  }
}

div.view {
  position: relative;
  display: none;
  flex-direction: column;

  @media (min-width: 1440px) {
    flex-direction: row;
    flex: 0 0 1440px;
  }
}

div.view > div.image {
  position: relative;
  flex: 0 0 100%;
  order: 2;
  overflow: hidden;
  margin-top: 48px;
  border-radius: 20px 20px 20px 20px;

  @media (min-width: 1440px) {
    flex: 0 0 626px;
    order: 1;
    height: 628px;
    margin-top: 0;
  }
}

div.view > div.image > img {
  width: 100%;
  height: auto;
}

div.view > div.image > img:nth-child(1) {
  display: block;

  @media (min-width: 1440px) {
    display: none;
  }
}

div.view > div.image > img:nth-child(2) {
  display: none;
  width: 626px;

  @media (min-width: 1440px) {
    display: block;
  }
}

div.view > div.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;

  @media (min-width: 1440px) {
    order: 2;
    padding: 30px 250px 30px 140px;
  }
}

div.view > div.content > div.buttons {
  display: flex;
  gap: 10px;
  margin-top: 40px;

  @media (min-width: 1440px) {
    margin-top: 54px;
  }
}

div.view#report-view {
  height: 100dvh;
}

div.view#report-view button#logout-button {
  font-size: 12px;
  position: absolute;
  right: 6px;
  bottom: 2px;
  padding: 8px 14px 8px 14px;
}

div.view#report-view button#logout-button:after {
  width: 12px;
  margin-left: 6px;
}

/* Buttons */
button {
  color: #ffffff;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  font-optical-sizing: auto;
  text-transform: uppercase;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 18px 24px 18px 24px;
  background: #0a4fff;
  border: none;
  border-radius: 57px;
  cursor: pointer;

  @media (min-width: 1440px) {
    font-size: 16px;
    border-radius: 76px;
  }
}

button:after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  background: url("button-arrow.png") no-repeat center center;
  background-size: contain;

  @media (min-width: 1440px) {
    font-size: 16px;
    width: 19px;
    margin-left: 10px;
    border-radius: 76px;
  }
}

/* Checkboxes */
label {
  display: flex;
  align-items: center;
  margin-top: 40px;

  @media (min-width: 1440px) {
    margin-top: 54px;
  }
}

label > span {
  color: #040404;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  font-optical-sizing: auto;
}

label > span > a {
  color: inherit;
}

label > input[type="checkbox"] {
  margin-right: 10px;
}

label.invalid > input[type="checkbox"] {
  background-image: url("checkbox-icon-invalid.svg");
}

label.invalid > span {
  color: #dc2b2b;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: none;
  cursor: pointer;
  background: url("checkbox-icon-inactive.svg") no-repeat left center;
  background-size: auto 16px;

  @media (min-width: 1440px) {
    width: 22px;
    height: 22px;
    background-size: auto auto;
  }
}

input[type="checkbox"]:checked {
  background-image: url("checkbox-icon-active.svg");
}

/* Text inputs */
input[type="text"] {
  color: #757575;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  font-optical-sizing: auto;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 18px 24px 18px 24px;
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 57px;
  outline: none;

  @media (min-width: 1440px) {
    font-size: 16px;
    margin-top: 50px;
    border-radius: 76px;
  }
}

input[type="text"]::placeholder {
  color: #757575;
}

input[type="text"].invalid {
  color: #dc2b2b;
  border: 1px solid #dc2b2b;
}

input[type="text"].invalid::placeholder {
  color: #dc2b2b;
}

input[type="text"] + input[type="text"] {
  margin-top: 10px;
}

#report-container {
  flex: 1;
  background: white;
  position: relative;
}

#status {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  color: #666;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #ddd;
  border-top-color: #555;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
    border-top-color: #ddd;
  }
}

.sign-in-button {
  font-family: inherit;
  font-size: 15px;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  cursor: pointer;
}

.sign-in-button:hover {
  background: #f0f0f0;
}
