/*Formulario Login*/
@import "compass/css3";

* {
  box-sizing: border-box;
}
body {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue",
    Helvetica, Arial, "Lucida Grande", sans-serif;
  color: white;
  font-size: 15px;
  background-image: url(6896179.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
}

.Contenedorlogin {
  z-index: 5;
  background-color: white;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  font-size: 13px;
  position: fixed;
}
#glasseffect {
  background-color: #fafafa20;
  backdrop-filter: blur (1rem);
  -webkit-backdrop-filter: blur(1rem);
}

form {
  top: 10px;
  background: #111;
  width: 300px;
  margin: 5px auto;
  border-radius: 0.4em;
  border: 1px solid #191919;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.2);
}

form:after {
  content: "";
  display: block;
  position: absolute;
  height: 1px;
  width: 100px;
  left: 20%;
  background: linear-gradient(left, #111, #444, #b6b6b8, #444, #111);
  top: 0;
}

form:before {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 5px;
  border-radius: 50%;
  left: 34%;
  top: -7px;
  box-shadow: 0 0 6px 4px #fff;
}

.inset {
  padding: 20px;
  border-top: 1px solid #19191a;
}

form h1 {
  font-size: 20px;
  text-shadow: 0 1px 0 black;
  text-align: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 1);
  position: relative;
  color: rgb(255, 255, 255);
}

form h1:after {
  content: "";
  display: block;
  width: 250px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 50px;
  pointer-events: none;
  transform: rotate(70deg);
  background: linear-gradient(
    50deg,
    rgba(255, 255, 255, 0.15),
    rgba(0, 0, 0, 0)
  );
}

label {
  color: #666;
  display: block;
  padding-bottom: 9px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 8px 5px;
  background: linear-gradient(#1f2124, #27292c);
  border: 1px solid #222;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 0.3em;
  margin-bottom: 20px;
  color: #0cade3;
}

label[for="ShowPassword"] {
  color: white;
  display: inline-block;
  padding-bottom: 0;
  padding-top: 5px;
}

input[type="checkbox"] {
  display: inline-block;
  vertical-align: top;
}

.p-container {
  padding: 0 20px 20px 20px;
}

.p-container:after {
  clear: both;
  display: table;
  content: "";
}

.p-container span {
  display: block;
  float: left;
  color: #0d93ff;
  padding-top: 8px;
}

input[type="submit"] {
  border-color: #3c3744;
  color: #fff !important;
  font-size: 20px;
  font-weight: 500;
  padding: 0.5em 1.2em;
  background: rgba(0, 0, 0, 0);
  border: 2px solid;
  transition: all 0.5s ease;
  position: relative;
  float: right;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

input[type="submit"]:hover {
  color: #191919 !important;
  background-color: #fff;
  border-color: #fff;
}

input[type="text"]:hover,
input[type="password"]:hover,
label:hover ~ input[type="text"],
label:hover ~ input[type="password"] {
  background: #27292c;
}
#regresar {
  padding: 10px;
  position: absolute;
  color: rgb(255, 255, 255);
  cursor: pointer;
  z-index: 10;
}

html,
body {
  height: 100%;
}

.toggle {
  position: relative;
  display: block;
  width: 100px;
  height: 20px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, 0, 0);
}
.toggle:before {
  content: "";
  position: relative;
  top: 3px;
  left: 3px;
  width: 34px;
  height: 14px;
  display: block;
  background: #9a9999;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.toggle span {
  position: absolute;
  top: 5px;
  left: 0;
  width: 20px;
  height: 20px;
  display: block;
  background: rgb(183, 183, 183);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(154, 153, 153, 0.5);
  transition: all 0.2s ease;
}
.toggle span:before {
  content: "";
  position: absolute;
  display: block;
  margin: -18px;
  width: 56px;
  height: 56px;
  background: rgba(79, 46, 220, 0.5);
  border-radius: 50%;
  transform: scale(0);
  opacity: 1;
  pointer-events: none;
}

#ShowPassword:checked + .toggle:before {
  background: #3066be;
}
#ShowPassword:checked + .toggle span {
  background: #090c9b;
  transform: translateX(20px);
  transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
  box-shadow: 0 3px 8px rgba(79, 46, 220, 0.2);
}
#ShowPassword:checked + .toggle span:before {
  transform: scale(1);
  opacity: 0;
  transition: all 0.4s ease;
}
/*Objeto Carga*/
.hidden {
  display: none;
}
#carga.show {
  display: block;
  opacity: 1;
}
#carga {
  display: none;
  z-index: 15;
  background-color: rgb(0, 0, 0, 0.7);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: rgb(255, 255, 255);
  font-size: 13px;
  position: absolute;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.welcome {
  position: relative;
  top: 50%;
  z-index: 20;
  margin: 0;
  padding: 0;
  list-style: none;
}

#carga .welcome li {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 5px solid rgb(0, 0, 0, 0);
  border-radius: 100%;
}

#carga .welcome li:nth-child(1) {
  margin: -30px 0 0 -30px;
  border-top-color: var(--color-primary);
  width: 60px;
  height: 60px;
  animation: loading 3s infinite linear;
}

#carga .welcome li:nth-child(2) {
  margin: -20px 0 0 -20px;
  border-top-color: var(--color-primary);
  width: 40px;
  height: 40px;
  animation: loading 2s infinite linear;
}

#carga .welcome li:nth-child(3) {
  margin: -10px 0 0 -10px;
  border-top-color: var(--color-primary);
  width: 20px;
  height: 20px;
  animation: loading 1s infinite linear;
}
/*VentanaBienvenido*/
#ContenedorMayor {
  display: none;
  position: absolute;
  top: 0;
  z-index: 30;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0%;
  background-color: rgb(0, 0, 0, 0.7);
}

.ContenedorBienvenida {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.VentanaBienvenido {
  z-index: 30;
  position: fixed;
  width: 80%;
  max-width: 250px;
  min-width: 250px;
  height: 350px;
  background: linear-gradient(45deg, #284b63, #0f7cb6);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  color: white;
}
.VentanaBienvenido p {
  font-size: small;
  width: 200px;
  text-align: justify;
  margin: 10px auto;
}
.VentanaBienvenido button {
  background: #fff;
  color: #000000;
  border: 2px solid #fff;
  padding: 7px;
  font-size: 15px;
  margin: 13px;
  border-radius: 3px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
  transition: all 0.3 ease;
}
.VentanaBienvenido button:hover {
  color: #fff;
  cursor: pointer;
}
.VentanaBienvenido button::after {
  content: "";
  background: linear-gradient(
    45deg,
    #284b63,
    #0f7cb6
  ); /* color de fondo hover */
  position: absolute;
  z-index: -1;
  padding: 16px 20px;
  display: block;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  transform: skewX(45deg) scale(0, 1);
  transition: all 0.4s ease;
}
.VentanaBienvenido button:hover::after {
  transition: all 0.4s ease-out;
  transform: skewX(45deg) scale(1, 1);
}
/*Popover Error*/
.container {
  position: relative;
  display: inline-block;
  z-index: 14;
}

.popover {
  position: absolute;
  left: 40px; /* Asegúrate de que el popover apunta hacia la izquierda */
  top: 40%;
  transform: translateY(-50%);
  background: white; /* Fondo blanco */
  border: 1px solid #ccc; /* Borde gris */
  border-radius: 5px;
  padding: 15px;
  z-index: 10;
  width: 240px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  position: relative;
}

.popover::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%; /* Coloca la punta del globo hacia la izquierda */
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

.popoverErrorTit {
  font-weight: bold;
  font-size: larger;
  margin-bottom: 5px;
  font-style: italic;
  color: #d9534f; /* Color de título de advertencia */
}

.popover-contenido {
  color: #333; /* Texto gris oscuro */
}

.esconder {
  display: none;
}
