@charset "utf-8";

html {
  width: 100%;
  min-height: 100%;
}

body {
  padding-bottom: 2.5%;
  background-image: linear-gradient(180deg, #ef9abc 0%, #ef9abc 30%, #baaddb 70%, #97baef 100%);
}

.gheader {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-screen {
  max-width: 650px;
  margin: auto;
}

.login-screen,
.login-screen a {
  color: #ffffff;
}

.login-header {
  margin-bottom: 1rem;
  text-align: center;
  font-weight: bold;
}

.form-group {
  margin-left: 5.333%;
  margin-right: 5.333%;  
}

.form-group:not(:last-child) {
  margin-bottom: 40px;
}

.form-label {
  font-size: 12px;
}

/* ------------------------------------------------
Inputs
------------------------------------------------ */
.form-group input {
  all: initial;
}

.form-group input[type="checkbox"] {
  display: inline-block;
  width: 15px;
  height: 15px;
  cursor: pointer;
  line-height: 1;
  vertical-align: text-top;
  border-radius: 3px;
  border: 1px solid #ffffff;
  background-color: #ffffff;
}
.form-group input[type="checkbox"]:checked {
  background-color: #97baef;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 10px 10px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMi45MDMiIGhlaWdodD0iMTkuMzk1Ij48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMjIuOTAzIDIuODI4IDIwLjA3NSAwIDYuNjQxIDEzLjQzNSAzLjEwMiA5LjA5IDAgMTEuNjE2bDYuMzM4IDcuNzc5TDIyLjkwMyAyLjgyOHoiLz48L3N2Zz4="); /* check mark */
}

.form-control {
  font-size: 16px;
}

.form-control:placeholder-shown,
.form-control::placeholder {
  color: rgb(252, 252, 252, 0.7);
}

.form-control[type="text"],
.form-control[type="email"],
.form-control[type="password"] {
  width: 100%;
  position: relative;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  color: #ffffff;
  line-height: 1.5;
  border-bottom: 1px solid #ffffff;
  background-color: transparent;
}

.form-control[type="text"]:focus,
.form-control[type="email"]:focus,
.form-control[type="password"]:focus {
  border-bottom: 2px solid #ffffff;
}

.form-control[type="text"]:not(.is-invalid):valid,
.form-control[type="email"]:not(.is-invalid):valid,
.form-control[type="password"]:not(.is-invalid):valid {
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 15px 15px;
  background-image: url("../../img/girls-admin/check_success_icn.svg");
  background-color: transparent !important;
}

/* ------------------------------------------------
Misc
------------------------------------------------ */
.submit-area {
  margin-top: 60px;
}

.btn-link {
  width: 185px;
  height: 50px;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}

.btn-link.--wider {
  width: 100%;
}

.password-request,
.direction-link {
  text-align: center;
  font-size: 12px;
}

.password-request {
  margin-bottom: 10px;
}

.c-invalid-feedback {
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

@media all and (min-width: 767px) {
  .c-invalid-feedback {
      text-align: center;
  }
}

/* ------------------------------------------------
Terms modal
------------------------------------------------ */
.mfp-container.mfp-inline-holder .mfp-content {
  width: 92%;
  margin: 0 auto;
  background-color: #fff;
}

.termsModal {
  position: relative;
  padding: 30px;
}

.termsModal-heading {
  text-align: center;
  font-size: 160%;
  font-weight: bold;
}

.termsModal-contents-scroller {
  height: 400px;
  overflow-y: scroll;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
  border: 2px solid #e1e1e1;
}

.termsModal .popup-dismiss {
  text-align: center;
}

.termsModal .popup-dismiss .c-btn {
  width: fit-content;
  display: block;
  margin: 0 auto;
  text-decoration: none;
}

.termsModal .popup-dismiss .c-btn__body {
  display: inline-block;
  padding: 8px 30px;
  font-size: max(16px, 1em);
  text-align: center;
  color: #333;
  border-radius: 30px;
  border: 1px solid #707070;
}

.termsModal-popup:hover {
  text-decoration: none;
}

@media all and (min-width: 768px) {
  .mfp-container.mfp-inline-holder .mfp-content {
    max-width: 960px;
  }

  .termsModal .popup-dismiss .c-btn__body {
    transition: opacity .3s;
  }

  .termsModal .popup-dismiss .c-btn:not(.--accent, .--danger):hover .c-btn__body {
    font-weight: bold;
    box-shadow: 0 0 0 1px #000;
  }

  .termsModal .popup-dismiss .c-btn:hover .c-btn__body {
    opacity: .8;
  }
}