html, body {
  margin: 0;
  padding: 0;
  overflow: hidden; /* coupe scroll horizontal + vertical */
  width: 100%;
  height: 100%;
}

/* =========================
   FOND DESKTOP
========================= */
.fond_admin {
  position: relative;
  background: url("../images/fonds/fond_bureau_paysage.webp") center / cover no-repeat;
}

/* =========================
   FOND PORTRAIT
   👉 Change ici ton image mobile
========================= */
@media (orientation: portrait) {
  .fond_admin {
    background: url("../images/fonds/fond_bureau_portrait.webp") center / cover no-repeat;
  }
}

.administration {
  height: calc(100vh - 140px); /* ajuste selon ton header/footer */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 20px;
}

.admin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 220px;
  height: 220px;

  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;

  text-decoration: none;
  color: white;

  backdrop-filter: blur(6px);

  transition: transform 0.2s ease, background 0.2s ease;
}

.admin-card:hover {
  transform: scale(1.05);
  background: rgba(0, 0, 0, 0.6);
}

.admin-card img {
  width: 140px;
  height: 90px;
  margin-bottom: 15px;
}

.admin-card span {
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
}

.admin-card small {
  font-size: 12px;
  opacity: 0.7;
}

@media (orientation: portrait) {
  .administration {
    flex-direction: column;
    gap: 30px;
  }

  .admin-card {
    width: 260px;
    height: 180px;
  }
}

/* =========================
   PORTE ADMINISTRATION
========================= */

.portail-enceinte {
  height: calc(100vh - 140px);
  display:flex;
  justify-content:center;
  align-items:center;
}


.admin-login {

  width: min(90%, 420px);

  padding:40px 35px;

  background:
    rgba(0,0,0,0.55);

  border:
    1px solid rgba(255,255,255,0.18);

  border-radius:25px;

  backdrop-filter:blur(10px);

  text-align:center;

  color:white;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.5);

}


.admin-icon {

  font-size:55px;

  margin-bottom:10px;

}


.admin-login h2 {

  margin:0 0 15px;

  font-size:30px;

}


.admin-description {

  opacity:0.75;

  font-size:15px;

  margin-bottom:30px;

}



/* ZONE SAISIE */

.input-zone {

  margin-bottom:20px;

}


.input-zone input {


  width:100%;

  box-sizing:border-box;


  padding:15px 20px;


  background:
  rgba(255,255,255,0.08);


  border:
  1px solid rgba(255,255,255,0.25);


  border-radius:15px;


  color:white;


  font-size:18px;


  text-align:center;


  outline:none;


  transition:0.3s;

}



.input-zone input:focus {

  border-color:#8ddcff;

  background:
  rgba(255,255,255,0.15);

}



/* BOUTON */

.admin-login button {


    min-width:340px;

    padding:18px 30px;

    text-decoration:none;

    color:#f5ebcb;

    font-size:1.2rem;

    font-weight:bold;

    text-align:center;

    border:3px solid #8c6239;

    border-radius:12px;

    background:
        linear-gradient(
            to bottom,
            #c79d4a,
            #8d5d25
        );

    box-shadow:

        inset 0 2px 3px rgba(255,255,255,.35),

        inset 0 -3px 6px rgba(0,0,0,.5),

        0 6px 12px rgba(0,0,0,.45);

    transition:.2s;


}



.admin-login button:hover {

    transform:translateY(-3px);

    background:
        linear-gradient(
            to bottom,
            #ddb867,
            #9c6930
        );

    box-shadow:

        inset 0 2px 3px rgba(255,255,255,.5),

        0 10px 18px rgba(0,0,0,.55);

}



#msg {

  margin-top:20px;

  color:#ff9999;

  font-weight:bold;

}



/* MOBILE */

@media (orientation:portrait) {


 .admin-login {

    padding:30px 20px;

 }


 .admin-login h2 {

    font-size:24px;

 }


}