#firstboxlogin, #text-login, #logo_login { background-color: transparent;}html { height: 100%;}body { background-size: cover; background-repeat: no-repeat; background-position: center; background-image: url("/Resolvet/plugins/trademark/front/picture.send.php?path=92/6830e45240792.png");}/* =========================================================
   GLPI LOGIN - Glassmorphism + SSO Microsoft (robusto)
   ========================================================= */

/* 1) Card principal (glass) */
.page-anonymous .card {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  color: #ffffff !important;
}

/* 2) Texto general dentro de la card (lado izquierdo) */
.page-anonymous .card label,
.page-anonymous .card .form-label {
  color: #ffffff !important;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  font-weight: 600;
}

/* OJO: NO forzamos TODOS los <a> a blanco porque eso rompe el panel SSO */
.page-anonymous .card a:not([href*="samlsso"]) {
  color: #ffffff !important;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  font-weight: 600;
}

/* 3) Inputs/Selects: no tocar */
.page-anonymous .card input,
.page-anonymous .card input::placeholder,
.page-anonymous .card textarea,
.page-anonymous .card select {
  color: initial !important;
  text-shadow: none !important;
  font-weight: normal !important;
}

/* 4) Botón principal "Iniciar sesión" (local) */
button.btn-primary[name="submit"] {
  background-color: rgba(255, 255, 255, 0.20) !important;
  border: 1px solid rgba(255, 255, 255, 0.50) !important;
  color: transparent !important; /* oculta texto original */
  text-shadow: none !important;
  position: relative;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.btn-primary[name="submit"]::after {
  content: "Iniciar sesión";
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

button.btn-primary[name="submit"]:hover {
  background-color: rgba(255, 255, 255, 0.35) !important;
}

/* =========================================================
   GLPI LOGIN - Glassmorphism + SSO Microsoft (FINAL)
   ========================================================= */

/* ================== CARD PRINCIPAL ================== */
.page-anonymous .card {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  color: #ffffff !important;
}

/* ================== TEXTOS FORM ================== */
.page-anonymous .card label,
.page-anonymous .card .form-label {
  color: #ffffff !important;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  font-weight: 600;
}

.page-anonymous .card a:not([href*="samlsso"]) {
  color: #ffffff !important;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

/* ================== INPUTS ================== */
.page-anonymous .card input,
.page-anonymous .card select,
.page-anonymous .card textarea,
.page-anonymous .card input::placeholder {
  color: initial !important;
  text-shadow: none !important;
}

/* ================== BOTÓN LOGIN LOCAL ================== */
button.btn-primary[name="submit"] {
  background: rgba(255,255,255,0.20) !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  color: transparent !important;
  position: relative;
  border-radius: 10px;
}

button.btn-primary[name="submit"]::after {
  content: "Iniciar sesión";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0,0,0,.7);
}

button.btn-primary[name="submit"]:hover {
  background: rgba(255,255,255,0.35) !important;
}

/* ================== LAYOUT 2 COLUMNAS ================== */
.page-anonymous .card .row {
  display: flex !important;
  align-items: flex-start !important;
}

/* FORM IZQUIERDA */
.page-anonymous .card .row > div:first-child {
  flex: 1 1 60% !important;
}

/* PANEL SSO DERECHA */
.page-anonymous .card .row > div:last-child {
  flex: 1 1 40% !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;

  margin-top: 18px !important;   /* AJUSTE FINO DE ALTURA */
  gap: 18px !important;          /* espacio entre título y tile */
}

/* ================== TÍTULO SSO ================== */
.page-anonymous .card .row > div:last-child h2,
.page-anonymous .card .row > div:last-child h3 {
  color: transparent !important;
  position: relative !important;
  margin: 0 !important;
  text-align: center !important;
}

.page-anonymous .card .row > div:last-child h2::after,
.page-anonymous .card .row > div:last-child h3::after {
  content: "Inicie sesión con Microsoft 365" !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
}

/* ================== TILE MICROSOFT ================== */
.page-anonymous .card .row > div:last-child a,
.page-anonymous .card .row > div:last-child button {
  background: rgba(255,255,255,0.95) !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18) !important;

  width: 140px !important;
  height: 135px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  cursor: pointer !important;
  position: relative !important;

  color: transparent !important;
  font-size: 0 !important;

  margin-left: -20% !important; /* centra visualmente el tile */
}

/* HOVER TILE */
.page-anonymous .card .row > div:last-child a:hover,
.page-anonymous .card .row > div:last-child button:hover {
  transform: scale(1.04);
}

/* OCULTAR ICONOS DEL PLUGIN */
.page-anonymous .card .row > div:last-child a i,
.page-anonymous .card .row > div:last-child a img,
.page-anonymous .card .row > div:last-child a svg {
  display: none !important;
}

/* LOGO MICROSOFT */
.page-anonymous .card .row > div:last-child a::before,
.page-anonymous .card .row > div:last-child button::before {
  content: "";
  width: 72px;
  height: 72px;
  background: url("https://bivett.com/microsoft.png") no-repeat center / contain;
  display: block;
}

/* TEXTO BAJO LOGO */
.page-anonymous .card .row > div:last-child a::after,
.page-anonymous .card .row > div:last-child button::after {
  content: "Correo Corporativo";
  font-size: 13px;
  font-weight: 600;
  color: #1b1b1b;
  margin-top: 4px;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  .page-anonymous .card .row {
    flex-direction: column !important;
  }

  .page-anonymous .card .row > div:last-child {
    margin-top: 20px !important;
  }

  .page-anonymous .card .row > div:last-child a,
  .page-anonymous .card .row > div:last-child button {
    margin-left: 0 !important;
    width: 120px !important;
    height: 120px !important;
  }

  .page-anonymous .card .row > div:last-child a::before,
  .page-anonymous .card .row > div:last-child button::before {
    width: 56px;
    height: 56px;
  }
}

/* ===== Compactar bloque Microsoft 365 ===== */

/* Menos espacio arriba y menos separación interna */
.page-anonymous .card .row > div:last-child{
  margin-top: 6px !important;   /* antes 18 */
  gap: 10px !important;         /* antes 18 */
}

/* Título más discreto */
.page-anonymous .card .row > div:last-child h2::after,
.page-anonymous .card .row > div:last-child h3::after{
  font-size: 18px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}

/* Tile más pequeño */
.page-anonymous .card .row > div:last-child a,
.page-anonymous .card .row > div:last-child button{
  width: 120px !important;      /* antes 140 */
  height: 120px !important;     /* antes 135 */
  border-radius: 12px !important;
}

/* Logo un poco más pequeño */
.page-anonymous .card .row > div:last-child a::before,
.page-anonymous .card .row > div:last-child button::before{
  width: 60px !important;       /* antes 72 */
  height: 60px !important;      /* antes 72 */
}

/* Texto del tile un pelín más compacto */
.page-anonymous .card .row > div:last-child a::after,
.page-anonymous .card .row > div:last-child button::after{
  font-size: 12px !important;
  margin-top: 2px !important;
}








