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

html {
  height: 100%;
}

body {
  height: 100%;
  font-family: 'Open Sans', sans-serif;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.wrapper-b2c {
  background: linear-gradient(135deg, #2e358c 0%, #027090 100%);
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: auto;
  min-height: 100%;
}

.rectangle {
  border-style: solid;
  border-color: #f27052;
  position: absolute;
  border-width: 28.8px;
  height: 183.19px;
  width: 183.19px;
  z-index: 0;
}

#div1 {
  top: 89px;
  left: 166px;
  opacity: 0.15;
  transform: rotate(374deg);
}

#div2 {
  right: 208px;
  bottom: 298px;
  border-color: #fff;
  opacity: 0.12;
  transform: rotate(404deg);
}

#div3 {
  height: 84px;
  width: 84px;
  left: 45px;
  bottom: 319px;
  background-color: #ffcc66;
  border: none;
  opacity: 0.15;
  transform: rotate(40deg);
}

#div4 {
  height: 125px;
  width: 125px;
  right: 0px;
  bottom: 15px;
  background-color: #ffcc66;
  border: none;
  opacity: 0.15;
  transform: rotate(-16deg);
}

#api .intro {
  color: #222222;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 30px;
  margin: 16px 0;
}

#api .entry {
  margin: auto;
  margin-top: 20px;
}

#api button {
  margin: 20px 5px 0 5px;
  border: none;
  border-radius: 4px;
  background-color: #2e358c;
  color: #ffffff;
  padding: 8px 32px;
  width: auto;
  cursor: pointer;
  float: right;
}

#api button[aria-disabled='true'] {
  background-color: lightgrey;
  color: whitesmoke;
  cursor: unset;
}

/* Outlined style for Cancel button only */
#api button#cancel,
#api button.cancel,
#api button[aria-label='Cancel'] {
  background-color: transparent;
  color: #2e358c;
  border: 1px solid #2e358c;
}

#api button#cancel:hover,
#api button.cancel:hover,
#api button[aria-label='Cancel']:hover {
  background-color: rgba(46, 53, 140, 0.08);
}

.entry-item {
  align-items: center;
  margin: 5px 0;
}

#forgotPassword {
  font-size: 14px;
  color: #fff;
  position: absolute;
  bottom: 20px;
  right: 30px;
  text-decoration: none;
}

#forgotPassword:hover {
  text-decoration: underline;
}

.content-b2c {
  width: 440px;
  text-align: start;
  z-index: 99;
  background-color: #ffffff;
  padding: 40px 55px 40px 40px;
  border-radius: 4px;
}

#api .error {
  color: #df0000;
}

#api label {
  display: none;
}

#api input {
  border: none;
  border-bottom: 2px solid #ebebeb;
  outline: 0;
  font-size: 1.3rem;
  color: #666666;
  padding: 0.5rem 0;
  background: #50131300;
  transition: border-color 0.2s;
  width: 100%;
  color: #222222 !important;
  margin-bottom: 12px;
}

#api input::placeholder {
  color: #666666;
  opacity: 0.5;
  font-size: 1rem;
  padding-left: 5px;
}

#api input:focus {
  padding-bottom: 6px;
  font-weight: 500;
  border-width: 3px;
  border-image: linear-gradient(to right, #2275d3);
  border-image-slice: 1;
}

/* reset inputs */

input:required,
label:invalid {
  box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #222222;
  transition: background-color 5000s ease-in-out 0s;
}

.error.itemLevel {
  margin-right: 20px;
  font-weight: normal;
}

/* Phone entry */
#api .code {
  width: 400px;
  margin-right: auto;
  margin-left: auto;
}

#countryCode {
  height: 45px;
  border-radius: 22.5px;
  background-color: #ffffff;
  border: none;
  /* Replace native arrow with custom chevron and position it 12px from the right */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 40px 0 1em; /* leave space for chevron */
  background-image: url('../chevron.svg');
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: 14px 14px;
  z-index: 2;
  margin-top: 10px;
}

/* Hide legacy IE/Edge native arrow */
#countryCode::-ms-expand {
  display: none;
}

#api .number {
  margin-top: 20px;
  width: 350px;
  margin-right: auto;
  margin-left: auto;
}

#number {
  font-size: 2em;
}

/* img */
.googleStoreIconControlContent img {
  width: 157px !important;
}

.appStoreIconControlContent img {
  width: 138px !important;
  margin-top: 10px;
  margin-bottom: 24px;
}

.content-b2c .parxl-logo {
  width: 90px;
}

#totpQrCodeControl-picture img {
  margin: 16px auto 16px auto;
}

.content-b2c img:first-child {
  width: 90px;
}

/* */
.googleStoreIconControlContent {
  margin-top: 24px;
}

.authenticatorIconControlContent {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.authenticatorInfoCollapse {
  display: block;
  color: #ffffff;
  margin-top: 24px;
}

.qrCodeControlContent a {
  color: #ffffff;
}

/* Azure B2C default processing/loading message */
#api .progress,
#api .busy {
  background: #ffffff;
  color: #222222;
  padding: 12px 16px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  display: inline-block;
}

/* Loading/verification modal text */
/* Hide by default to avoid reserving space when not visible */
#verifying_blurb,
#simplemodal_data,
.verifyingmodal,
.verifying-modal,
.verifying-modal .simplemodal-data {
  display: none !important;
}
/* When the modal overlay is present, show the blurb with white background */
.simplemodal-overlay ~ .simplemodal-container #verifying_blurb,
.simplemodal-overlay ~ .simplemodal-container #simplemodal_data,
.simplemodal-overlay ~ .simplemodal-container .verifyingmodal,
.simplemodal-overlay ~ .simplemodal-container .verifying-modal,
.simplemodal-overlay ~ .simplemodal-container .verifying-modal .simplemodal-data {
  display: inline-block !important;
  background: #ffffff !important;
  color: #222222 !important;
  border-radius: 8px !important;
}
