﻿body {
  background-color: #f6f9fc;
}

.qcApp {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

.qcApp__container {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  padding: 24px 0;
}

.qcApp__container .qi-card {
  border-radius: .5rem;
  max-width: 400px;
  width: 100%;
}

@media (max-width: 400px) {
  .qcApp__container .qi-card {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
  }
}

/* This will only run on iOS */
@supports (-webkit-touch-callout: none) {
  .qcApp__container .qi-form-group {
    margin-bottom: 1.5rem;
  }

  /* We force the font-size to 16px so that the browser does not zoom in */
  .qcApp__container .qi-form-control {
    font-size: 1rem;
    height: auto;
    line-height: 1.5rem;
    padding-bottom: 4px;
    padding-top: 4px;
  }
}

.qcLogin > .qi-card__header {
  background-color: transparent;
  padding-block: .5rem;
  text-align: center;
}
