@charset "utf-8";
/* CSS Document */

    html, body {
      height: 100%;
      margin: 0;
      display: flex;
      flex-direction: column;
      background-color: #fff;
      color: #222;
      font-family: 'Poppins', sans-serif;
    }
   a, a:hover {
      color:#333;
    } 
    .login-cover {
      position: relative;
      min-height: 100vh;
      background:#6610EF;
    }

    .login-cover .overlay {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 0;
    }

    main {
      position: relative;
      z-index: 1;
      min-height: 100vh;
      padding: 30px 15px;
    }

#box-header {
    background:#6610EF;
    margin:0;
    padding:1em;
      width: 100%;
      color: #222;
}

.login-box {
      background-color: #fff;
      border-radius: 2em;
      width: 100%;
      max-width: 400px;
      color: #222;
    padding:0;
    }
.login-boxin {
      padding: 2rem;
}
    footer {
      background-color: rgba(34, 34, 34, 0.6);
      font-size: 0.85em;
      padding: 5px;
      text-align: center;
      position: fixed;
      bottom: 0;
      width: 100%;
      color: dimgrey;
      padding: 0.3rem;
      z-index: 1000;
    }
    .password-container {
        position: relative;
        width: 100%;
    }


    .password-container input {
        width: 100%;
        padding-right: 2.5rem; /* Espace pour l'icône */
    }

    .password-container i {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: black;
    }
    input i {
        color: black;
    }
    .btn-lg i {
      font-size: 1.2rem;
      vertical-align: middle;
    }

/* Style commun à tous les boutons */
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-secondary {
  border: none;
  border-radius: 0.375rem;
  font-weight: 400;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
  color: #F3F4F6;
}

/* Couleurs principales */
.btn-primary     { background-color: #1D4ED8; }
.btn-success     { background-color: #22C55E; }
.btn-danger      { background-color: #DC2626; }
.btn-warning     { background-color: #F59E0B; color: #111827; }
.btn-info        { background-color: #0EA5E9; }
.btn-secondary   { background-color: #374151; color: #F3F4F6; }

/* Hover states */
.btn-primary:hover     { background-color: #1E40AF; box-shadow: 0 6px 14px rgba(29, 78, 216, 0.3); }
.btn-success:hover     { background-color: #16A34A; box-shadow: 0 6px 14px rgba(34, 197, 94, 0.3); }
.btn-danger:hover      { background-color: #B91C1C; box-shadow: 0 6px 14px rgba(220, 38, 38, 0.3); }
.btn-warning:hover     { background-color: #D97706; box-shadow: 0 6px 14px rgba(245, 158, 11, 0.3); }
.btn-info:hover        { background-color: #0284C7; box-shadow: 0 6px 14px rgba(14, 165, 233, 0.3); }
.btn-secondary:hover   { background-color: #1F2937; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); }

/* Active effect */
.btn-primary:active,
.btn-success:active,
.btn-danger:active,
.btn-warning:active,
.btn-info:active,
.btn-secondary:active {
  transform: scale(0.96);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Effet shine (facultatif mais stylé) */
.btn-primary:hover::before,
.btn-success:hover::before,
.btn-danger:hover::before,
.btn-warning:hover::before,
.btn-info:hover::before,
.btn-secondary:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: shine 0.75s ease-out forwards;
}

/* Style commun aux boutons outline */
.btn-outline-primary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-secondary {
  background-color: transparent;
  border-width: 2px;
  font-weight: 400;
  border-radius: 0.375rem;
  transition: all 0.25s ease-in-out;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

/* Couleurs de base */
.btn-outline-primary   { color: #1D4ED8; border-color: #1D4ED8; }
.btn-outline-success   { color: #22C55E; border-color: #22C55E; }
.btn-outline-danger    { color: #DC2626; border-color: #DC2626; }
.btn-outline-warning   { color: #D97706; border-color: #D97706; }
.btn-outline-info      { color: #0EA5E9; border-color: #0EA5E9; }
.btn-outline-secondary { color: #45698B; border-color: #374151; }

/* Hover : fond coloré, texte lisible */
.btn-outline-primary:hover   { background-color: #1D4ED8; color: #F3F4F6; }
.btn-outline-success:hover   { background-color: #22C55E; color: #F3F4F6; }
.btn-outline-danger:hover    { background-color: #DC2626; color: #F3F4F6; }
.btn-outline-warning:hover   { background-color: #D97706; color: #111827; }
.btn-outline-info:hover      { background-color: #0EA5E9; color: #F3F4F6; }
.btn-outline-secondary:hover { background-color: #374151; color: #F3F4F6; }

/* Active effect outline */
.btn-outline-primary:active,
.btn-outline-success:active,
.btn-outline-danger:active,
.btn-outline-warning:active,
.btn-outline-info:active,
.btn-outline-secondary:active {
  transform: scale(0.96);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Shine effect outline */
.btn-outline-primary:hover::before,
.btn-outline-success:hover::before,
.btn-outline-danger:hover::before,
.btn-outline-warning:hover::before,
.btn-outline-info:hover::before,
.btn-outline-secondary:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: shine 0.75s ease-out forwards;
}

/* Animation shine */
@keyframes shine {
  0%   { left: -75%; }
  100% { left: 125%; }
}

input[disabled],
select[disabled],
textarea[disabled],
.form-control:disabled,
.form-select:disabled {
  background-color: #2D2F33;  /* Gris foncé discret */
  color: #9CA3AF;             /* Gris clair pour le texte */
  border-color: #3B3E44;      /* Bordure plus terne */
  opacity: 1;                 /* On force l'opacité à 1 pour ne pas tout griser */
  cursor: not-allowed;
}
input[readonly],
textarea[readonly] {
  background-color: #1F2227;
  color: #A1A1AA;
  border-color: #34383D;
}


