/* Font faces */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter SemiBold";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Medium";
  src: url("../fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Azaret Mono";
  src: url("../fonts/AzeretMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Reset */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, strong, form, label, input, button, svg {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Bootstrap Grid - Container */
.container, .container-fluid {
  width: 100%;
  padding-right: 12.5px;
  padding-left: 12.5px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

/* Bootstrap Grid - Row */
.row {
  --bs-gutter-x: 25px;
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

/* Bootstrap Grid - Columns */
.col-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .offset-lg-4 { margin-left: 33.33333333%; }
}

/* Display utilities */
.d-flex { display: flex !important; }

/* Flexbox utilities */
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-space-between { justify-content: space-between !important; }

/* Spacing utilities */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.pb-8 { padding-bottom: 4rem !important; }

/* Base styles */
html {
  overflow-x: hidden;
  font: 16px/1.2 "Inter", Arial, sans-serif;
  color: #222;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Page structure */
.page {
  position: relative;
}

.page__content {
  min-height: 100%;
}

/* Typography */
.heading-1 {
  font-family: "Inter SemiBold", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.2em;
}

@media (min-width: 992px) {
  .heading-1 {
    font-size: 48px;
  }
}

.heading-2 {
  font-family: "Inter SemiBold", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2em;
}

@media (min-width: 992px) {
  .heading-2 {
    font-size: 32px;
  }
}

.heading-3-small {
  font-family: "Inter SemiBold", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2em;
}

.intro {
  font-family: "Inter", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.8em;
}

.paragraph {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
}

/* Button */
.button {
  border: none;
  background-color: transparent;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 2rem;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  cursor: pointer;
  background-color: #2537f3;
  position: relative;
  height: 40px;
}

.button:hover {
  background-color: #010154;
  text-decoration: none;
}

.button svg {
  margin-left: 10px;
}

.button svg path {
  fill: #fff;
}

.button--orange {
  background-color: #f2a900;
  color: #222;
}

.button--orange svg {
  margin-right: 1rem;
}

.button--orange svg path {
  fill: #222;
}

.button--orange:hover {
  background-color: #ffbe33;
}

.button--orange:active {
  background-color: #c98700 !important;
  border-color: #c98700 !important;
}

.button--secondary {
  background: transparent;
  border: 2px solid #2537f3;
  color: #2537f3;
  padding: calc(0.5rem - 2px) 2rem;
}

.button--secondary svg path {
  fill: #2537f3;
}

.button--secondary:hover {
  background-color: inherit;
  border-color: #010154;
  color: #010154;
}

.button--secondary:hover svg path {
  fill: #010154;
}

.button:disabled {
  background-color: #828282;
  cursor: not-allowed;
}

/* Field/Form */
.field {
  margin-bottom: 1.5rem;
}

.field__label {
  font-family: "Inter SemiBold", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2em;
  display: block;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2em;
  display: block;
  width: 100%;
  border-radius: 0;
  border: 2px solid rgba(130, 130, 130, 0.1);
  padding: 0.5rem;
  background-color: #eff3f8;
}

.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field textarea:focus {
  background-color: transparent;
  outline: none;
}

@media (min-width: 992px) {
  .field input[type="text"],
  .field input[type="email"],
  .field textarea {
    padding: 8px;
  }
}

.field__help-text {
  color: #828282;
}

/* Link */
.link {
  font-family: "Azaret Mono", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2em;
  padding-left: 2px;
  padding-right: 2px;
  color: #2537f3;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link svg {
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  transition: fill 0.2s ease;
}

.link svg path {
  fill: #2537f3;
}

.link:hover {
  color: #222;
  text-decoration: underline;
}

.link:hover svg path {
  fill: #222;
}

.link--orange {
  color: #f2a900;
}

.link--orange svg path {
  fill: #f2a900;
}

.link--orange:hover {
  color: #eff3f8;
  text-decoration: underline;
}

.link--orange:hover svg path {
  fill: #eff3f8;
}

/* Message */
.message {
  color: #fff;
  padding: 0.5rem 0;
}

.message--success {
  background-color: #2537f3;
}

.message--error {
  background-color: #a00;
}

/* Logo */
.logo svg {
  height: 28px;
}

/* Portal Home Signed Out */
.portal-home-signed-out {
  align-items: center;
  background-image: url("../images/background-orange.png");
  background-position: center;
  background-size: cover;
  display: flex;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  text-align: center;
}

.portal-home-signed-out__header {
  align-items: center;
  background: #010154;
  color: #fff;
  display: flex;
  padding: 25px;
  justify-content: space-between;
}

.portal-home-signed-out .logo {
  width: 80px;
}

.portal-home-signed-out__window-content {
  background: #fff;
  padding: 25px;
}

.portal-home-signed-out .button {
  width: 100%;
  margin-bottom: 10px;
}
