/*main.css mrasoft.net*/
/*//////////////////////////////////////////////////////////////////
[ FONT ]
//////////////////////////////////////////////////////////////////*/

@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/poppins/Poppins-Regular.ttf');
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/poppins/Poppins-Medium.ttf');
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/poppins/Poppins-Bold.ttf');
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url('../fonts/poppins/Poppins-SemiBold.ttf');
}

/*//////////////////////////////////////////////////////////////////
[ RESET / BASE ]
//////////////////////////////////////////////////////////////////*/

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

html,
body {
  height: 100%;
  font-family: Poppins-Regular, sans-serif;
}

/*---------------------------------------------*/
a {
  font-family: Poppins-Regular;
  font-size: 14px;
  line-height: 1.7;
  color: #1d4ed8; /* bleu logo */
  margin: 0;
  transition: all 0.3s ease;
}

a:focus {
  outline: none !important;
}

a:hover {
  text-decoration: underline;
  color: #0b63ff;
}

/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  font-family: Poppins-Regular;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

ul,
li {
  margin: 0;
  list-style-type: none;
}

/*---------------------------------------------*/
input,
textarea {
  outline: none;
  border: none;
  background: transparent;
}

textarea:focus,
input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
  color: transparent;
}
input:focus:-moz-placeholder,
textarea:focus:-moz-placeholder {
  color: transparent;
}
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
  color: transparent;
}
input:focus:-ms-input-placeholder,
textarea:focus:-ms-input-placeholder {
  color: transparent;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #9ca3af;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #9ca3af;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #9ca3af;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #9ca3af;
}

/*---------------------------------------------*/
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}

/*//////////////////////////////////////////////////////////////////
[ Utility ]
//////////////////////////////////////////////////////////////////*/

.txt1 {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.txt2 {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #111827;
  line-height: 1.5;
}

/*//////////////////////////////////////////////////////////////////
[ LOGIN LAYOUT ]
//////////////////////////////////////////////////////////////////*/

.limiter {
  width: 100%;
  margin: 0 auto;
}

.container-login100 {
  width: 100%;
  min-height: 100vh;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;

  /* Fond plus clair bleu, inspiré du logo */
  background: radial-gradient(circle at top left, #e5f0ff 0, #bfdbfe 35%, #1e3a8a 100%);
}

/* Carte centrale (bleu nuit) */
.wrap-login100 {
  width: 390px;
  background: #0f172a;           /* bleu nuit */
  border-radius: 18px;
  overflow: hidden;
  padding: 56px 42px 32px 42px;

  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.75),
    0 32px 90px rgba(15, 23, 42, 0.9);   /* shadow bien visible */
  position: relative;
}

/* Bordure / glow bleu */
.wrap-login100::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/*//////////////////////////////////////////////////////////////////
[ HEADER / BRAND ]
//////////////////////////////////////////////////////////////////*/

.login100-form {
  width: 100%;
}

.login100-form-title {
  display: block;
  text-align: center;
  margin-bottom: 4px;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login-logo-inline {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.7);
}

.login-brand-text {
  font-family: Poppins-Bold;
  font-size: 32px;
  color: #f9fafb;  /* texte clair sur fond foncé */
  letter-spacing: 0.03em;
}

.login-version {
  font-size: 18px;
  font-weight: 600;
  color: #e11d48; /* rouge logo */
  margin-left: 2px;
}

.login100-form-title1 {
  display: block;
  font-family: Poppins-Medium;
  font-size: 16px;
  color: #9ca3af;
  line-height: 1.2;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 30px;
}

/*//////////////////////////////////////////////////////////////////
[ INPUTS ]
//////////////////////////////////////////////////////////////////*/

.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 1px solid rgba(148, 163, 184, 0.6);
  margin-bottom: 30px;
}

.input100 {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #e5e7eb;        /* texte clair */
  line-height: 1.2;

  display: block;
  width: 100%;
  height: 45px;
  background: transparent;
  padding: 0 5px;
}

/* Placeholder animé */
.focus-input100 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input100::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;

  transition: all 0.3s ease;
  background: linear-gradient(90deg, #1d4ed8, #0ea5e9, #e11d48); /* bleu → cyan → rouge */
}

.focus-input100::after {
  font-family: Poppins-Regular;
  font-size: 14px;
  color: #9ca3af;       /* placeholder clair */
  line-height: 1.2;

  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 14px;
  left: 0;
  padding-left: 5px;

  transition: all 0.3s ease;
}

/* Effet au focus */
.input100:focus + .focus-input100::after {
  top: -12px;
  font-size: 12px;
  color: #e5e7eb;
}

.input100:focus + .focus-input100::before {
  width: 100%;
}

/* Effet quand il y a une valeur (géré par JS) */
.has-val.input100 + .focus-input100::after {
  top: -12px;
  font-size: 12px;
  color: #e5e7eb;
}

.has-val.input100 + .focus-input100::before {
  width: 100%;
}

/* Icône "voir mot de passe" */
.btn-show-pass {
  font-size: 16px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  padding-right: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-show-pass:hover {
  color: #e5e7eb;
}

.btn-show-pass.active {
  color: #1d4ed8;
}

/*//////////////////////////////////////////////////////////////////
[ BUTTON ]
//////////////////////////////////////////////////////////////////*/

.container-login100-form-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 10px;
}

.wrap-login100-form-btn {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto;
}

.login100-form-bgbtn {
  position: absolute;
  z-index: -1;
  width: 260%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, #1d4ed8, #0ea5e9, #e11d48);

  transition: all 0.35s ease;
}

.login100-form-btn {
  font-family: Poppins-Medium;
  font-size: 14px;
  color: #f9fafb;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 48px;
}

.wrap-login100-form-btn:hover .login100-form-bgbtn {
  left: 0;
}

/*//////////////////////////////////////////////////////////////////
[ RESPONSIVE ]
//////////////////////////////////////////////////////////////////*/

@media (max-width: 576px) {
  .wrap-login100 {
    width: 100%;
    max-width: 380px;
    padding: 40px 22px 30px 22px;
  }

  .login-brand-text {
    font-size: 28px;
  }

  .login100-form-title1 {
    font-size: 15px;
  }
}

/*//////////////////////////////////////////////////////////////////
[ VALIDATION ALERT ]
//////////////////////////////////////////////////////////////////*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: #0f172a;
  border: 1px solid #f97373;
  border-radius: 4px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  pointer-events: none;

  font-family: Poppins-Regular;
  color: #fecaca;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.alert-validate::after {
  content: "\f06a";
  font-family: FontAwesome;
  font-size: 15px;
  color: #fca5a5;

  display: block;
  position: absolute;
  background-color: #0f172a;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}

