html #cbrLogin {
  background: linear-gradient(180deg, rgba(0,49,174,1) 0%, rgba(41,53,65,1) 100%) fixed;
}

.btn:hover :focus {
  box-shadow: none !important;
}

.btn:hover {
  color: white;
}

.btn-green {
  color: white;
  background-color: #17B1A4;
}

.btn-green:focus,
.btn-green:hover {
  background-color: #03887D;
}

.btn-green:active {
  background-color: #00544D;
}

.btn-green:disabled,
.btn-green.disabled {
  opacity: 0.4;
}

.loginForm {
  margin-top: 0;
}

.container-box-login {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container-box-message-login {
  display: flex;
  flex-direction: column;
  width: 380px;
  max-width: 100%;
  margin: auto;
}

.container-logo-login {
  text-align: center;
  margin-bottom: 24px;
}

.logo-login {
  width: 180px;
}

.box-login {
  width: 380px;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  padding: 35px;
  background-color: white;
  border-radius: 2px;
  z-index: 4444;
  margin: auto;
  overflow: auto;
}

.hidden-fields {
  height: 0;
  overflow: hidden;
}

.box-login .lock {
  width: 100px;
}

#forgotPwdWrapper {
  margin: 20px auto;
}

#forgotPwdWrapper .btn {
  width: 100%;
  margin-top: 20px;
}

.successMessage {
  color: white;
  text-align: center;
  padding: 0 12px;
}

.sfterror {
  width: 400px;
  position: absolute;
  left: 50%;
  margin-left: -200px;
  text-align: center;
  top: 50%;
  margin-top: -200px;
  height: 400px;
}

.sfterror img {
  margin-bottom: 20px;
}

.linkForgotPassword {
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
}

.linkForgotPassword,
.linkForgotPassword:hover,
.linkForgotPassword:active,
.linkForgotPassword:focus {
  color: #0746EA;
}

#changePassword .message {
  margin-bottom: 24px;
}

.contenerError {
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  border-radius: 2px;
  width: 376px;
  height: 95px;
  position: absolute;
  left: 0;
  right: 0;
  top: 420px;
  bottom: 0;
  margin: auto;
}

.myException > table[role="alert"] {
  margin: 16px 0 0;
  border: 1px solid #ebccd1;
  border-radius: 4px;
  background-color: #f2dede;
  color: #EB4563;
  width: 100%;
}

.myException > table[role="alert"] td {
  padding: 15px;
  color: #BF2E0E;
  background: #FDE8E8;
  border: 1px solid #FBD5D5;
}


/* Login G2 */

body.login-g2 > span {
  min-height: 100vh;
  display: flex;
  color: #111827;
  overflow-x: hidden;
}

body.login-g2 > span > form {
  flex-grow: 1;
  display: flex;
}

body.login-g2 > span > form > .row {
  flex-grow: 1;
}

@media (min-width: 768px) {
  body.login-g2 > span {
    overflow-y: hidden;
  }
}

body.login-g2 > span > .row {
  min-height: 100vh;
}

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

.login-column > img {
   margin-bottom: 60px;
 }

.login-column .wrapper {
  max-width: 100%;
  width: 400px;
  padding: 32px;
  background-color: white;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #E5E7EB;
}

.login-column .wrapper .form-group {
  width: 100%;
}

.login-column .wrapper label {
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  margin-bottom: 4px;
}

.login-column .wrapper input:not([type="submit"]) {
  height: 42px;
  margin-bottom: 16px;
  font-size: 14px;
  padding: 12px 16px;
  background-color: #f9fafb;
  color: #6B7280;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
}

.login-column .wrapper .btn.btn-login {
  height: 41px;
  padding: 0;
  font-weight: 600;
  border-radius: 8px;
  background-color: #1C64F2;
  color: white;
  transition: .3s background-color;
  margin: 0;
  border: 0;
  width: 100%;
  font-size: 14px;
  line-height: 150%;
}

.login-column .wrapper .btn.btn-login:hover {
  background-color: #002685;
}

.login-column .wrapper .forgot-password {
  font-weight: 500;
  text-decoration: none;
  float: right;
  margin-bottom: 16px;
  font-size: 12px;
}

.login-column .wrapper .forgot-password:hover {
  text-decoration: underline;
}

.login-sso {
  display: flex;
  font-weight: bold;
  justify-content: center;
  font-size: 12px;
}

.left-half {
  background-color: #0031AE;
  padding: 0;
}

.left-half > iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.login-column #govCloudNotification {
  margin-top: 16px;
  max-width: 100%;
  width: 400px;
}

.wrapper > p {
  font-size: 20px;
  text-align: center;
  color: #111928;
  line-height: 150%;
  -webkit-font-smoothing: auto;
}

.font-weight-semibold {
  font-weight: 600;
}

.position-relative .fa-eye {
  color: #6c757d; /* grey color */
  font-size: 1rem;
}

#eyeIcon {
  width: 20px;
  height: 20px;
}

#togglePassword {
  cursor: pointer;
  top: 40px;
  right: 40px;
}

.wrapper > span {
  color: #6B7280;
  font-size: 14px;
  font-weight: 500;
}

@font-face {
  font-family: 'PoppinsMedium';
  src: url('./Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

body.login-poppins,
body.login-poppins input,
body.login-poppins label,
body.login-poppins button,
body.login-poppins .form-control {
  font-family: 'PoppinsMedium', sans-serif;
  font-weight: 500;
}

.show-pass-label {
  font-size: 12px !important;
  vertical-align: middle;
  margin-left: 4px;
}

.show-pass-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  display: inline-block;
  vertical-align: text-top;

  width: 16px!important;
  height: 16px!important;

  margin-top: 0.15em !important;
  margin-bottom: 0 !important;
  padding: 0 !important;

  border: 1px solid #D1D5DB !important;
  border-radius: 4px !important;
  background-color: #F9FAFB !important;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

/* Quand cochée */
.show-pass-checkbox:checked {
  background-color: #1853EB !important;
  border-color: #1853EB !important;
}

/* Le petit check blanc à l’intérieur */
.show-pass-checkbox::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 6px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;                       /* ✅ caché par défaut */
  transition: opacity 0.1s ease;
}

.show-pass-checkbox:checked::after {
  opacity: 1;                       /* ✅ apparaît sans bouger la case */
}
