/* .login-pf body {
    background: none;
    background-image: url(../img/keycloak-bg.png);
    background-size: cover;
    background-color: #fff;
    min-height: 418px;
    min-width: 760px;
    height: 100%;
} */

div.kc-logo-text {
  background-image: url(../img/keycloak-logo-text.png);
  background-repeat: no-repeat;
  height: auto;
  width: 130px;
}

.login-pf-page {
  margin-top: 0;
  background-color: white;
  background-image: none;
}

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

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
  background-color: white;
  font-family: 'Inter', 'system-ui', sans-serif;
  font-size: 14px;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.login-pf body {
  background: white;
}

.body {
  font-family: 'Inter', 'system-ui', sans-serif;
  background-color: white;
}

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

.auth-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.auth-left-section {
  flex-basis: 50%;
}

.auth-left-section-container {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 100dvh;
}

.logo-container {
  display: flex;
  background-color: #f8f9fb;
  padding: 16px;
  border-bottom: 1px solid #dfe0eb;
  border-radius: 0px;
  align-items: center;
  margin-bottom: 2rem;
}

.logo {
  background-image: url(../img/keycloak-logo-text.png);
  width: 128px;
  height: 36px;
  object-fit: cover;
  background-position: center;
  background-size: contain;
  border-radius: 4px;
}

/* Authentication Container */
.auth-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 1rem 1.5rem 1rem;
  padding-bottom: 3rem;
}

.main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 32px;
  padding-bottom: 0.5rem;
  color: hsla(240, 12%, 22%, 1);
  margin: 0;
}

.subtitle-auth {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: normal;
  color: hsla(240, 12%, 22%, 1);
  margin: 0;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  margin-bottom: 0;
  gap: 1.5rem;
  height: 100%;
  flex-grow: 1;

  /* min-width: 550px; */
  /* max-height: 75dvh; */
}

#custom-reset-password-form {
  padding: 0.75rem 1rem;
  flex-grow: 1;
  justify-content: space-between;
}

.inputs-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.actions-group {
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

.input-group {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.input-group label {
  font-size: 0.875rem;
  margin-bottom: 0;
  font-weight: 500;
  color: #667085;
  line-height: 1.5rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0;
}

.input-wrapper {
  position: relative;
  width: 100%;
  height: fit-content;
}

input {
  font-family: 'Inter', sans-serif;
  display: flex;
  width: 100%;
  height: 3rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  gap: 1rem;
  font-size: 1rem;
  background-color: white;
  transition: 0.3s;
  width: 100%;
  border: 1px solid #e0e1eb;
}

.input-info {
  color: #393e46;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.input-forgot-password {
  color: #667085;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: end;
  width: 100%;
}

.error-message {
  color: hsla(6, 82%, 47%, 1);
}

input::placeholder {
  font-family: 'Inter', sans-serif;
  opacity: 0.9;
}

input:focus {
  outline-color: hsla(215, 98%, 20%, 1);
  outline: 2px solid hsla(215, 98%, 20%, 1);
  outline-offset: 2px;
}

/* Password Visibility Toggle */
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #52585e;
}

.toggle-password svg {
  width: 16px;
  height: 16px;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1px;
  width: 100%;
  background-color: #ccc;
  margin-top: 1.5rem;
}

.button-group {
  display: flex;
  gap: 1rem;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-custom {
  flex: 1;
  height: 3rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.5rem;
  transition-duration: 300ms;
  width: 100%;
  border: none;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-regular {
  background-color: hsla(0, 0%, 96%, 1);
  border: 1px solid hsla(235, 23%, 90%, 1);
  color: hsla(220, 10%, 25%, 1);
}

.btn-regular:hover {
  background-color: #f0f0f0;
}

.btn-brand {
  background-color: hsla(215, 98%, 20%, 1);
  border: 1px solid hsla(235, 23%, 90%, 1);
  color: white;
}

.btn-brand:hover {
  background-color: hsla(215, 98%, 15%, 1);
  border: none;
}

input:disabled {
  background-color: #eaeaea;
  color: #888;
}

.btn-brand:disabled {
  background-color: #a0c4ff;
  cursor: not-allowed;
}

.auth-right-section {
  display: none;
}

.right-title {
  font-family: 'Poppins', 'system-ui', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.25rem;
  padding-bottom: 1.5rem;
}

.regular-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.right-list {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-family: 'Inter', sans-serif;
  list-style-type: disc;
  padding-left: 1.5rem;
  padding-bottom: 1.5rem;
}

.inscription-box {
  color: hsla(215, 98%, 20%, 1);
  text-align: center;
  padding: 0.625rem 1rem;
  background-color: white;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 2.5rem;
}

.title-small {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2rem;
  padding-bottom: 1.5rem;
}

/* Button */
.download-btn {
  display: flex;
  cursor: pointer;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
  transition-property: all;
  font-weight: 600;
  padding: 0.5rem 0.625rem;
  background-color: hsla(215, 98%, 20%, 1);
  border-radius: 0.25rem;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border: 1px solid #ddd;
  text-transform: none;
  color: white;
  font-size: 16px;
}

.download-btn img {
  height: auto;
}

/* Footer */
.right-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  border-top: 1px solid white;
  padding-top: 1rem;
  font-size: 14px;
}

@media screen and (min-width: 1025px) {
  .auth-right-section {
    background: linear-gradient(270deg,
        rgba(1, 43, 103, 0.95),
        rgba(3, 63, 148, 0.95)),
      url(../img/keycloak-bg.png);
    background-size: cover;
    justify-content: space-between;
    flex-direction: column;
    flex-basis: 50%;
    display: flex;
    color: white;
    padding: 2.5rem;
    font-family: 'Inter', sans-serif;
  }

  .auth-left-section-container {
    min-height: auto;
  }

  .auth-wrapper {
    flex-direction: row;
  }

  .main-title {
    padding-bottom: 1rem;
  }

  .auth-left-section-container {
    display: flex;
    flex-direction: column;
    min-width: 36rem;
    flex-basis: 33%;
    padding: 2.75rem 7rem 0 7rem;
    height: 100%;
  }

  .logo-container {
    display: flex;
    background-color: transparent;
    padding: 0;
    border-bottom: none;
    align-items: center;
    margin-bottom: 5rem;
  }

  .auth-container {
    padding: 0 0 1.5rem 0;
  }

  .subtitle-auth {
    font-size: 1.5rem;
  }

  .auth-form {
    min-width: 550px;
    max-height: 75dvh;
    margin-bottom: 4rem;
    padding: 0;
  }

  #custom-reset-password-form {
    padding: 0;
  }

  .actions-group {
    gap: 2rem;
  }
}

.eyes[data-show="true"]{
  display: block;
}

.eyes[data-show="false"]{
  display: none;
}
