body.login-support-open {
  overflow: hidden;
}

/*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: var(--login-bg-logo, 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;
}

.login-support-hint {
  color: #94a3b8;
}

.login-support-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: #66ffff;
  text-decoration: underline;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
}

.login-support-btn:hover {
  color: #00ffff;
}

/* Modal support — compact HUD */
.login-support-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 8, 23, 0.78);
  backdrop-filter: blur(4px);
  animation: loginSupportFadeIn 0.2s ease-out;
}

.login-support-overlay[hidden] {
  display: none !important;
}

.login-support-modal {
  position: relative;
  width: min(380px, 100%);
  text-align: left;
  background: linear-gradient(160deg, rgba(0, 40, 50, 0.96) 0%, rgba(10, 25, 47, 0.98) 100%);
  border: 1px solid rgba(0, 255, 255, 0.32);
  border-radius: 14px;
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 0 28px rgba(0, 255, 255, 0.12), 0 12px 32px rgba(0, 0, 0, 0.4);
  animation: loginSupportSlideIn 0.25s ease-out;
}

.login-support-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.login-support-top-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00ffff;
}

.login-support-top-title i {
  color: #ff4d8d;
  font-size: 1rem;
}

.login-support-close {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 7px;
  background: rgba(0, 255, 255, 0.06);
  color: #7ef9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.login-support-close:hover {
  background: rgba(0, 255, 255, 0.16);
  color: #fff;
}

.login-support-desc {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  line-height: 1.45;
  color: #8fd9de;
}

.login-support-success {
  color: #86efac;
}

.login-support-note {
  color: #7ec8cf;
  font-size: 0.65rem;
}

.login-support-list {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #b8e8ec;
}

.login-support-list li {
  margin-bottom: 0.25rem;
}

.login-support-email-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.5rem 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.22);
}

.login-support-email-chip span {
  flex: 1;
  min-width: 0;
  font-size: 0.76rem;
  color: #d7fbff;
  word-break: break-all;
}

.login-support-chip-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(0, 255, 255, 0.08);
  color: #00ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.login-support-chip-btn:hover {
  background: rgba(0, 255, 255, 0.18);
}

.login-support-textarea {
  width: 100%;
  min-height: 88px;
  max-height: 120px;
  resize: none;
  margin-bottom: 0.65rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 255, 0.25);
  background: rgba(0, 20, 30, 0.55);
  color: #b8f4f7;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.68rem;
  line-height: 1.4;
}

.login-support-textarea:focus {
  outline: none;
  border-color: #00ffff;
}

.login-support-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.login-support-action-primary,
.login-support-action-secondary {
  width: 100%;
  font-size: 0.72rem !important;
  padding: 0.45rem 0.5rem !important;
}

.login-support-action-secondary {
  border-color: rgba(148, 163, 184, 0.4) !important;
  color: #cbd5e1 !important;
}

.login-support-action-secondary:hover {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #fff !important;
}

.login-support-toast {
  margin-top: 0.55rem;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  text-align: center;
  color: #d7fbff;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.25);
}

.login-support-toast[hidden] {
  display: none !important;
}

@keyframes loginSupportFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes loginSupportSlideIn {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 400px) {
  .login-support-actions {
    grid-template-columns: 1fr;
  }
}


/* 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;
}