/*
 * Login de Ciberlabs. Mismo resultado que Trademark 2.0.2 con el tema «Prompt Developer»
 * (GPL v2+, Nextflow / Edgard Messias), botón negro con texto blanco, fondo y logo propios.
 */
html {
   height: 100%;
}

body {
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center;
   background-image: url("../pics/fondo-login.png");
}

.page-anonymous .glpi-logo {
   --logo: url("../pics/logo-login.png");
   content: url("../pics/logo-login.png");
   width: auto;
   height: auto;
}

body .card {
   border: 0;
   background: transparent;
}

h2.card-header.text-center.mb-4,
div.card-header:has(.mx-auto) {
   display: none;
}

span.glpi-logo.mb-4 {
   margin: 0 !important;
}

.btn-primary,
.btn-outline-primary,
.btn-ghost-primary {
   --tblr-btn-color: #71090e;
   --tblr-btn-color-interactive: #8d0a10;
   --tblr-btn-color-text: #1e293b;
}

.mb-3,
.mb-4 {
   position: relative;
}

.col-md-5 {
   margin: 0 !important;
   width: 100%;
   max-width: 289px;
}

.card-body {
   padding: 0 !important;
   margin: 0 auto;
   width: 350px;
   max-width: 100%;
}

.flex-fill.d-flex.flex-column.justify-content-center.py-4.mt-4 {
   width: 50%;
   margin: 0;
   outline-offset: 0;
   height: 100% !important;
   top: -32px;
   border-radius: 0;
   right: 1px !important;
   position: absolute;
   padding-top: 130px !important;
   padding-bottom: 110px !important;
   background: rgba(0, 0, 0, 0.38);
   box-shadow: 0 6px 13px 1px #00000047;
   backdrop-filter: blur(5px);
   -webkit-backdrop-filter: blur(5px);
}

button.btn.btn-primary.w-100 {
   color: #ffffff;
   padding: 11px;
   border-radius: 30px;
   border: 1px solid #fff;
   background: #000000;
}

a {
   color: #ffffff !important;
   text-decoration: underline;
}

body .form-control {
   display: block;
   width: 100%;
   min-width: 250px;
   padding: 0.7375rem 0.75rem;
   font-size: 0.875rem;
   font-weight: 400;
   line-height: 1.4285714286;
   color: inherit;
   border: 0;
   appearance: none;
   transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
   background: #ffffff05;
   border-radius: 0;
   border-bottom: 1px solid #fff;
}

label.form-label {
   display: none;
   color: #fff;
}

span.form-label-description {
   margin-top: 10px;
   margin-bottom: 10px;
   text-align: left;
   width: 100%;
   display: block;
}

.col-auto.offset-md-1.p-2.text-center {
   display: none;
}

.form-control:focus {
   color: inherit;
   background-color: #fdfdfd;
   border-color: #013453;
   outline: 0;
   box-shadow: 0 0 0 0.25rem #5e5e5e3b;
}

/* Iconos de usuario y candado a la derecha de los campos (Font Awesome 5, que GLPI 12 sigue cargando). */
.mb-3:has(> input.form-control)::after,
.mb-4:has(input[type="password"])::after {
   font-family: "Font Awesome 5 Free";
   font-weight: 900;
   position: absolute;
   right: 20px;
   bottom: 12px;
   color: #fff;
   pointer-events: none;
}

.mb-3:has(> input.form-control)::after {
   content: "\f007";
}

.mb-4:has(input[type="password"])::after {
   content: "\f023";
}
