@font-face {
  font-family: 'Teko';
  src: url("../../../fonts/teko-regular.eot");
  src: url("../../../fonts/teko-regular.eot?#iefix") format("embedded-opentype"), url("../../../fonts/teko-regular.woff2") format("woff2"), url("../../../fonts/teko-regular.woff") format("woff"), url("../../../fonts/teko-regular.ttf") format("truetype"), url("../../../fonts/teko-regular.svg#tekoregular") format("svg");
  font-weight: normal;
  font-style: normal; }

html {
  font-size: clamp(10px, 1vw, 15px); }

#content {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 50% 1fr;
  grid-template-rows: 1fr;
  background: linear-gradient(to top, #6d2eed, transparent 30%), url("../../bundles/ufmcp/img/login/bg.webp") no-repeat 50% 50%;
  background-size: cover;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #ffffff;
  position: relative; }
  #content::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10px;
    background: #c915fd; }

#login_form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  padding-bottom: 3rem; }
  #login_form .form-content {
    margin: auto;
    width: 100%;
    max-width: 47rem; }
  #login_form #logo {
    width: calc(100% + 4rem);
    aspect-ratio: 16 / 8;
    background: url("../../bundles/ufmcp/img/login/logo_daq26-30.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
    margin-bottom: -3vw;
    margin-right: -4rem; }
  #login_form header {
    font-size: 1rem; }
  #login_form h1 {
    font-weight: bold;
    font-size: 2.9em;
    margin-bottom: 1.1rem; }
  #login_form .instructions {
    color: #bdb2e1;
    font-size: 1.25em; }
  #login_form main {
    margin-top: 3rem;
    margin-bottom: 2rem; }
  #login_form .input-field {
    max-width: 33rem;
    position: relative;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    background: #22114c; }
    #login_form .input-field::before {
      content: ' ';
      position: absolute;
      display: block;
      background: url("../../bundles/ufmcp/img/login/user.png") no-repeat center center;
      background-size: 90%;
      width: 5rem;
      height: 4rem; }
    #login_form .input-field.password::before {
      background: url("../../bundles/ufmcp/img/login/password.png") no-repeat center center;
      background-size: 90%; }
    #login_form .input-field input {
      margin: 0;
      padding-left: 5rem;
      width: calc(100% - 5rem);
      height: 4rem;
      font-size: 1.33rem;
      color: #fefbfb;
      background: transparent; }
      #login_form .input-field input:focus {
        border: 0; }
      #login_form .input-field input.invalid {
        border: 0; }
  #login_form footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem 1rem;
    align-items: center; }
  #login_form .button-submit {
    border: 2px solid #ffffff;
    background: linear-gradient(to bottom, #af18ca 0%, #8910ac 50%, #af18ca 100%);
    background-size: 100% 200%;
    background-position: 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
    -webkit-border-radius: 1.5rem;
    -moz-border-radius: 1.5rem;
    border-radius: 1.5rem;
    transition: 0.2s;
    position: relative; }
    #login_form .button-submit:hover {
      background-position: 50% 100%; }
  #login_form #oubli_form {
    padding: 0 1.2rem; }
  #login_form #linkRecupId {
    color: #fefbfb;
    font-weight: 400;
    transition: 0.2s; }
    #login_form #linkRecupId:hover {
      color: #3ef79e; }

.users {
  background: url("../../bundles/ufmcp/img/login/daq_users.webp") no-repeat center center;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: left center;
  height: 100%;
  width: 100%; }

#login_form input:-webkit-autofill,
#login_form input:-webkit-autofill:hover,
#login_form input:-webkit-autofill:focus,
#login_form input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s, box-shadow 5000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px #251052 inset !important;
  -webkit-text-fill-color: #FFF !important; }

#modalRecupId, #modalPasswordReset {
  width: 40rem;
  max-width: calc(100% - 2rem);
  border-radius: 1rem;
  padding: 1rem 0 2rem 0;
  outline: none !important; }

#modalRecupId .modal-content, #modalPasswordReset .modal-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; }

#modalRecupId .modal-content h5, #modalPasswordReset .modal-content h5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #201111; }

#modalRecupId .modal-content p, #modalPasswordReset .modal-content p {
  font-size: 1.0rem;
  color: #201111;
  margin: 1rem 0 0 0; }

#modalRecupId .modal-content p br, #modalPasswordReset .modal-content p br {
  display: block !important; }

#modalRecupId .modal-content p strong, #modalPasswordReset .modal-content p strong {
  font-weight: bold; }

#modalRecupId .modal-content p .spams, #modalPasswordReset .modal-content p .spams {
  font-style: italic;
  font-size: 0.9rem; }

#modalRecupId .modal-content form, #modalPasswordReset .modal-content form {
  width: 30rem;
  max-width: calc(100% - 2rem); }

#modalRecupId .modal-content input, #modalPasswordReset .modal-content input {
  width: calc(100% - 4rem);
  border: none;
  color: #464c58;
  background-color: #e9e9e9;
  border-radius: 15px;
  border: 1px solid #F0F0F0;
  height: 40px;
  line-height: 40px;
  padding: 0 2rem;
  outline: none;
  font-size: 13.2px; }

#modalRecupId .modal-content input::placeholder, #modalPasswordReset .modal-content input::placeholder {
  font-family: "Poppins", Helvetica, sans-serif;
  color: #555353;
  text-align: center; }

#modalRecupId #resetPasswordMessage, #modalPasswordReset #resetPasswordMessage {
  height: 2rem; }

#modalRecupId .modal-content .button_form, #modalPasswordReset .modal-content .button_form {
  padding: 0.8rem 2rem;
  border-radius: 5px;
  margin: auto;
  border: none;
  cursor: pointer;
  background-color: #6e4192;
  color: #FFF;
  transition: all 0.2s; }

#modalRecupId .button_form {
  /* width: 14rem; */
  font-family: "Lato", sans-serif;
  color: #ffffff;
  display: inline-flex;
  transition: all 0.3s ease-in-out;
  align-items: center;
  background-color: #6e4192;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 800;
  justify-content: start;
  line-height: 1em;
  overflow: hidden;
  position: relative;
  text-align: start;
  /* width: 100%; */
  text-transform: uppercase;
  height: var(--input-height);
  padding: 0 3.6rem;
  width: -moz-fit-content;
  width: fit-content;
  letter-spacing: 0.05em; }

#modalRecupId .modal-content .button_form, #modalPasswordReset .modal-content .button_form:hover {
  background: #A64FCF; }

#modalRecupId .modal-content .button_form:focus, #modalPasswordReset .modal-content .button_form:focus {
  background: #6e4192 !important;
  color: #ffffff; }

#resetPasswordMessage {
  height: 2rem; }

#resetPasswordMessage.error {
  color: #dc3545; }

#resetPasswordMessage.success {
  color: #28a745; }

#modalRecupId iframe {
  border: none;
  width: 100%;
  height: 280px; }

@media screen and (max-width: 1780px) {
  #login_form #logo {
    width: 100%;
    margin-right: 0; } }
@media screen and (max-width: 1400px) {
  #content {
    display: grid;
    grid-template-columns: 60% 1fr;
    grid-template-rows: 1fr; } }
@media screen and (max-width: 680px) {
  #content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr; }

  .users {
    display: none; } }
