/*login.php style*/
body {
  background: #0a192f;
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Le conteneur centré */
.page-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*end:: BUG FIXED: hud-card move up when swal is shown*/

body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('../images/logo.png') no-repeat center center;
background-size: 50vmin;
opacity: 0.3;
filter: grayscale(100%) brightness(1.2) hue-rotate(300deg) drop-shadow(0 0 20px magenta);
z-index: -2;
animation: neonGlow 4s ease-in-out infinite;
}


body::after {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* Remplacer le radial-gradient par un overlay uniforme bleu transparent sci-fi */
background: rgba(0, 255, 255, 0.1); /* cyan transparent doux */
z-index: -1;
}



  .hud-card {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid #00ffff44;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    position: relative;
    animation: fadeIn 1s ease-out forwards;
  }

  .hud-card::before,
  .hud-card::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px dashed #00ffff33;
    border-radius: 20px;
    top: 10%;
    left: 10%;
    animation: rotateBorder 12s linear infinite;
    pointer-events: none; /* ✅ Correction ici */
  }

  h2, h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #00ffff;
  }

  .form-control {
    background-color: transparent;
    border: 1px solid #00ffff88;
    color: #00ffff;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: border-color 0.3s;
    font-size: 1.4rem; /* Taille du texte plus grande */
  }

  .form-control::placeholder {
color: #00ffff88; /* Cyan clair légèrement transparent */
font-style: italic;
letter-spacing: 0.5px;
}

.form-control:focus::placeholder {
opacity: 0.3;
transition: opacity 0.3s ease-in-out;
}



  .form-control:focus {
    background-color: rgba(0,255,255,0.05);
    border-color: #00ffff;
    box-shadow: none;
    color: #00ffff;
  }

  .btn-hud {
    background-color: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .btn-hud:hover {
    background-color: #00ffff;
    color: #000;
    box-shadow: 0 0 10px #00ffff99;
  }

  @keyframes fadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
  }

  @keyframes rotateBorder {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
  }

  .icon {
    font-size: 3rem;
    color: #ff0055;
    margin-bottom: 1rem;
  }

  ::placeholder {
    color: #66ffff;
    font-family: 'Orbitron', sans-serif;
  }

  .input-wrapper {
position: relative;
margin-bottom: 1rem;
}

.input-wrapper .icon-left {
position: absolute;
top: 50%;
left: 12px;
transform: translateY(-50%);
color: #00ffffcc;
font-size: 1.5rem;
pointer-events: none;
}

.input-wrapper .form-control {
padding-left: 2.5rem; /* décalage à gauche pour laisser de la place à l'icône */
}

.input-wrapper .icon-right {
position: absolute;
top: 50%;
right: 12px;
transform: translateY(-50%);
color: #00ffffcc;
font-size: 1.4rem;
cursor: pointer;
transition: opacity 0.3s;
}

.input-wrapper .icon-right:hover {
opacity: 0.8;
}


/* super admin form custom style */
.uppercase-field{
  color: black;
  border: 1px solid black;
  text-transform: uppercase;
}

.uppercase-field:focus, .super-admin-field:focus{
  border-color: black;
  color: black;
  
}

.super-admin-field{
    color: black;
  border: 1px solid black;
}

.super-admin-field::placeholder{
  color: black;
}