* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}
html, body {
  height: 100%;
  background: white;
}
#app {
  display: flex;
  min-width: 100%;
  min-height: 100%;
}

/* AddJob component */
.AddJob {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background-color: #F5F8FA
}

.AddJob-footer {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  font-weight: 300;
  color: #9BACB3;
}

.AddJob-footer em {
  font-weight: 500;
}

/* Page component */
.Page {
  position: relative;
  box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.10), 0px 6px 20px 0px rgba(0,0,0,0.10);
  flex-grow: 1;
}

.Page-loading {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(255,255,255,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.Page-iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Steps component */
.Steps {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  position: relative;
}

/* Step component */
.Step {
  display: flex;
  position: relative;
  white-space: pre;
  min-width: 30px;
}
.Step:not(:last-child) {
  flex: 0 10 auto;
  margin-right: 22px;
  max-width: 33vw;
}
.Step:not(:last-child) p,
.Step:not(:last-child) label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.Step:last-child label,
.Step:last-child button {
  flex: 0 1 auto;
}
.Step:last-child input {
  flex: 1 100 auto;
}

.Step:not(.is-selected) {
  cursor: pointer;
}

.Step > * {
  flex-shrink: 0;
  white-space: pre;
}

.Step .fade-animation-leave.fade-animation-leave-active,
.Step .fade-animation-leave {
  position: absolute;
  top: 0;
}

.Step-index {
  background: #9BACB3;
  border-radius: 15px;
  width: 30px;
  height: 30px;
  color: white;
  font-size: 17px;
  line-height: 30px;
  text-align: center;
  font-weight: 600;
  margin-right: 8px;
}

.Step:active:not(.is-selected) .Step-index {
  background: #637278;
}

.Step.is-selected .Step-index {
  background: #39A2CC;
}

.Step-content {
  flex: 1 1 auto;
  min-width: 0;
}

.Step form {
  display: flex;
}

.Step p,
.Step label {
  font-size: 17px;
  color: #9EABB0;
  line-height: 30px;
}

.Step label + input {
  margin-left: 8px;
}

.Step input + button {
  margin-left: 8px;
}

.Step:active:not(.is-selected) p,
.Step:active:not(.is-selected) label {
  color: #637278;
}

.Step.is-selected p,
.Step.is-selected label {
  color: #39A2CC;
}

/* Input component */
.Input {
  border: 0;
  border-radius: 4px;
  background: white;
  font-size: 17px;
  line-height: 30px;
  height: 30px;
  color: #9BACB3;
  padding: 0 8px;
  outline: none;
  box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.10), 0px 6px 20px 0px rgba(0,0,0,0.10);
}

.Input--website,
.Input--email {
  width: 350px;
  min-width: 100px;
}

/* Button component */
.Button {
  position: relative;
  background: #39CB7D;
  border-radius: 4px;
  height: 30px;
  color: white;
  font-size: 17px;
  font-weight: 500;
  padding: 0 13px;
  line-height: 30px;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.10), 0px 6px 20px 0px rgba(0,0,0,0.10);
}
.Button:active {
  background: #0B90C9;
}

.Button--icon-arrow {
  padding-right: 24px;
}
.Button--icon-arrow::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 10px;
  width: 8px;
  height: 16px;
  background-image: url(/img/icon-arrow.svg);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Spinner */
.Spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -30px;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background-image: url(/img/spinner.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  animation: rotation 0.8s linear infinite;
}

/* Rotation animation */
@keyframes rotation {
  from {transform: rotate(0deg);}
  to {transform: rotate(360deg);}
}

/* Fade animation */
.fade-animation-enter,
.fade-animation-leave.fade-animation-leave-active {
  opacity: 0;
  transition: opacity 200ms ease-in-out;
}

.fade-animation-leave,
.fade-animation-enter.fade-animation-enter-active {
  opacity: 1;
  transition: opacity 200ms ease-in-out;
}

/* Home Component */

.Home {
  display: flex;
  flex: 1;
  justify-content: center;
  background-color: #F5F8FA;
}

.Home > .container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 420px;
}

.Home .top {
  padding-top: 77px;
}

.Home .bottom {
  padding-top: 40px;
  padding-bottom: 30px;
}

.Home header {
  margin-bottom: 33px;
}

.Home header h1,
.Home header h2 {
  font-weight: 400;
}

.Home header .title {
  display: flex;
  align-items: center;
}

.Home header .title h1 {
  font-weight: 400;
  font-size: 40px;
  color: #376577;
  line-height: 52px;
}

.Home header .title--icon {
  width: 45px;
  height: 23px;
  margin-top: 4px;
  margin-left: 6px;
  background-image: url(/img/icon-app.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.Home header .subtitle {
  font-size: 24px;
  color: #39A2CC;
  line-height: 32px;
}

.Home .input-section form {
  display: flex;
}

.Home .input-section .Input {
  flex: 5;
  min-width: 100px;
  margin-right: 8px;
  margin-bottom: 86px;
}

.Home .input-section .Button {
  flex: 1;
}

.Home .description-section h3 {
  font-size: 20px;
  font-weight: 500;
  color: #39CB7D;
  margin-bottom: 30px;
}

.Home .description-section p {
  font-size: 16px;
  font-weight: 300;
  color: #9BACB3;
  line-height: 21px;
}

.Home .description-section p:not(:last-child) {
  margin-bottom: 26px;
}

.Home .description-section strong {
  font-weight: 500;
  color: #39A2CC;
}

/* Confirmation Component */

.Confirmation {
  display: flex;
  flex: 1;
  justify-content: center;
  background-color: #F5F8FA;
}

.Confirmation > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 420px;
}

.Confirmation .top {
  padding-top: 50px;
}

.Confirmation .bottom {
  padding-top: 40px;
  padding-bottom: 30px;
}

.Confirmation header {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 33px;
  color: #39A3CC;
}

.Confirmation header h1 {
  font-weight: 400;
  font-size: 24px;
  color: #39A3CC;
}

.Confirmation header .icon {
  width: 39px;
  height: 26px;
  margin-bottom: 14px;
  background-image: url(/img/checkmark.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.Confirmation .summary-section {
  margin-bottom: 85px;
}

.Confirmation .summary-section h3, .Confirmation .input-section h3 {
  font-size: 20px;
  font-weight: 500;
  color: #39CB7D;
  margin-bottom: 10px;
}

.Confirmation .summary-section p {
  font-size: 16px;
  font-weight: 300;
  color: #788B93;
  line-height: 21px;
}

.Confirmation .summary-section strong {
  font-weight: 500;
}

.Confirmation .input-section form {
  display: flex;
}

.Confirmation .input-section .Input {
  flex: 5;
  min-width: 100px;
  margin-right: 8px;
  margin-bottom: 86px;
}

.Confirmation .input-section .Button {
  flex: 1;
}

/* Footer Component */

.Footer {
  font-size: 14px;
  font-weight: 300;
  color: #9BACB3;
}

.Footer a {
  font-weight: 500;
  color: inherit;
}

.Footer i {
  font-style: italic;
}

/* Banner Components */

.Banner {
  background-color: #39CB7D;
  font-size: 14px;
  padding: 10px;
  text-align: center;
  color: white;
  z-index: 1;
  border-radius: 4px;
  margin-bottom: 30px;
}

.Banner--warning {
  background-color: #ffb562;
}
