@font-face {
  font-family: "ClarikaRegular";
  src: url("/fonts/Clarika-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClarikaDemiBold";
  src: url("/fonts/Clarika-DemiBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClarikaBold";
  src: url("/fonts/Clarika-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "InterRegular";
  src: url("/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "InterMedium";
  src: url("/fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "InterSemiBold";
  src: url("/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --Interactive-Primary-Default: #3067db;
  --Content-Primary-Default: #525252;
  --Interactive-Neutral-Content: #1f1f1f;
  --Interactive-Primary-Content: #ffffff;
  --Surface-Background-Secondary: #fafafa;
  --Open-In-App-Color: #1f1f1f;
  --Store-Border-Color: none;
  --Store-Hover: #333;
  --box-shadow-color: rgba(0, 0, 0, 0.1);
  --continue-button-hover-color: #0056b3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --Interactive-Primary-Default: #6299f4;
    --Content-Primary-Default: #ebebeb;
    --Interactive-Neutral-Content: black;
    --Interactive-Primary-Content: #1f1f1f;
    --Surface-Background-Secondary: #1f1f1f;
    --Open-In-App-Color: #ffffff;
    --Store-Border-Color: #ffffff;
    --Store-Hover: #333;
    --box-shadow-color: rgba(0, 0, 0, 0.1);
    --continue-button-hover-color: #0056b3;
  }
}

body {
  background-color: var(--Surface-Background-Secondary);
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  position: relative;
  min-height: 100dvh;
}

/* containers */
.text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px;
  margin-left: 32px;
  margin-right: 32px;
  margin-bottom: 24px;
  gap: 24px;
}
.store-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  margin: 32px;
  gap: 24px;
}
.button-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 24px;
  position: fixed;
  bottom: 48px;
  right: 32px;
}

/* Dayforce Mobile */
h1 {
  color: var(--Interactive-Primary-Default);
  font-family: "ClarikaBold", sans-serif;
  font-size: 36px;
  line-height: 125%;
  margin-top: 32px;
  margin-left: 0;
  margin-right: 32px;
  margin-bottom: 0;
}

/* Before continuing through our registration, make sure you have the Dayforce mobile app installed. */
p {
  color: var(--Content-Primary-Default);
  font-family: "InterRegular", sans-serif;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-left: 0;
  margin-right: 32px;
  margin-bottom: 0;
}

/* App Store / Play Store */
.store {
  background-color: var(--Interactive-Neutral-Content);
  border-radius: 12px;
  border: 1px solid var(--Store-Border-Color);
  box-shadow: 0 0 12px var(--box-shadow-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  flex-shrink: 0;
}
.store a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white;
  padding: 8px 10px;
  transition: background-color 0.3s ease;
}
.store:hover {
  background-color: var(--Store-Hover);
}
.store a i {
  margin-right: 10px;
  font-size: 32px;
}
.store a.apple i {
  color: var(--button-text-color);
}
.store svg {
  margin-right: 10px;
  width: 32px;
  height: 32px;
}
.store a .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.store a.apple .text span {
  display: block;
  font-size: 24px;
  font-family: "InterSemiBold", sans-serif;
}
.store a.apple .text span:first-child {
  font-size: 12px;
  font-family: "InterMedium", sans-serif;
}
.store a.google .text span {
  display: block;
  font-size: 24px;
  font-family: "ClarikaDemiBold", sans-serif;
}
.store a.google .text span:first-child {
  font-size: 12px;
  font-family: "InterSemiBold", sans-serif;
}

/* Bottom buttons */
.open-in-app-button {
  font-family: "ClarikaBold", sans-serif;
  font-size: 24px;
  line-height: 150%;
  text-align: center;
  background-color: var(--Surface-Background-Secondary);
  color: var(--Open-In-App-Color);
  border: 1px solid var(--Open-In-App-Color);
  border-radius: 100px;
  min-height: 48px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  transform: translateZ(0);
}
.continue-button {
  font-family: "ClarikaBold", sans-serif;
  font-size: 24px;
  line-height: 150%;
  text-align: center;
  background-color: var(--Interactive-Primary-Default);
  color: var(--Interactive-Primary-Content);
  border: none;
  border-radius: 100px;
  min-height: 48px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  transform: translateZ(0);
}
.continue-button:hover {
  background-color: var(--continue-button-hover-color);
}

@media (max-width: 480px) {
  /* containers */
  .text-container {
    margin-top: 24px;
    margin-left: 24px;
    margin-right: 24px;
    margin-bottom: 16px;
    gap: 16px;
  }
  .store-container {
    margin: 24px;
    gap: 16px;
  }
  .button-container {
    gap: 16px;
    bottom: 40px;
    right: 24px;
  }

  /* Dayforce Mobile */
  h1 {
    font-size: 28px;
    line-height: 125%;
  }
  /* Before continuing through our registration, make sure you have the Dayforce mobile app installed. */
  p {
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.23px;
  }
  /* App Store / Play Store */
  .store {
    border-radius: 10px;
    box-shadow: 0 0 10px var(--box-shadow-color);
  }
  .store a i {
    font-size: 24px;
  }
  .store svg {
    width: 24px;
    height: 24px;
  }
  .store a.apple .text span {
    font-size: 16px;
  }
  .store a.apple .text span:first-child {
    font-size: 9px;
  }
  .store a.google .text span {
    font-size: 16px;
  }
  .store a.google .text span:first-child {
    font-size: 9px;
  }
  .open-in-app-button {
    font-size: 16px;
  }
  .continue-button {
    font-size: 16px;
  }
}
