body {
  font-family: 'Nunito Sans', sans-serif;;
  font-size: 14px;
  line-height: 1.8;
  font-weight: normal;
  background: #fff;
  color: gray; }

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  color: #2f89fc; }
  a:hover, a:focus {
    text-decoration: none !important;
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none; }

button {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }
  button:hover, button:focus {
    text-decoration: none !important;
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important; }

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  line-height: 1.5;
  font-weight: 400;
  font-family: "Poppins", Arial, sans-serif;
  color: #000; }

.img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center; }

.wrapper {
  width: 100%;
  overflow: hidden;
 }

#sidebar {
  min-width: 380px;
  max-width: 380px;
  color: #fff;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  z-index: 0; 
  background: blue;
}
  #sidebar:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f89fc', endColorstr='#5effc9', GradientType=1 );
    border-left: 8px solid cyan;
    z-index: -1; }
  #sidebar.active {
    margin-right: -370px; }
    #sidebar.active .custom-menu {
      margin-left: -40px; }
    #sidebar.active .btn.btn-primary:before {
      content: "\f053";
      font-family: "FontAwesome";
      right: 2px !important; }
    #sidebar.active .btn.btn-primary:after {
      display: none; }
  #sidebar .h6 {
    color: #fff; }
  #sidebar h1 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 30px; }
    #sidebar h1 .logo {
      color: #fff;
      padding: 10px 30px;
      display: block; }
      #sidebar h1 .logo span {
        font-size: 13px;
        color: #fff;
        display: block; }
  #sidebar ul.components {
    padding: 0; }
  #sidebar ul li {
    font-size: 16px; }
    #sidebar ul li > ul {
      margin-left: 10px; }
      #sidebar ul li > ul li {
        font-size: 14px; }
    #sidebar ul li a {
      padding: 15px 30px;
      display: block;
      color: rgba(255, 255, 255, 0.9);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
      #sidebar ul li a:hover {
        color: #fff;
        background: #2f89fc;
        border-bottom: 1px solid #2f89fc; }
    #sidebar ul li.active > a {
      background: transparent;
      color: #fff; }
      #sidebar ul li.active > a:hover {
        background: #2f89fc;
        border-bottom: 1px solid #2f89fc; }
  @media (max-width: 700px) {
	  
	#sidebar {
      /* margin-right: -300px;  */
	  min-width: 100%;
	}
      #sidebar.active {
        margin-left: 0; }
      #sidebar .custom-menu {
        margin-left: -60px !important;
        top: 10px !important; } 
	}
  #sidebar .custom-menu {
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 0;
    margin-left: -35px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s; }
    @media (prefers-reduced-motion: reduce) {
      #sidebar .custom-menu {
        -webkit-transition: none;
        -o-transition: none;
        transition: none; } }
    #sidebar .custom-menu .btn.btn-primary {
      background: #2f89fc;
      border-color: transparent;
      position: relative;
      color: #000;
      width: 30px;
      height: 30px; }
      #sidebar .custom-menu .btn.btn-primary:after, #sidebar .custom-menu .btn.btn-primary:before {
        position: absolute;
        top: 2px;
        left: 0;
        right: 0;
        bottom: 0;
        font-family: "FontAwesome";
        color: #fff; }
      #sidebar .custom-menu .btn.btn-primary:after {
        content: "\f054";
        left: 2px; }

a[data-toggle="collapse"] {
  position: relative; }

.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%); }

@media (max-width: 991.98px) {
  #sidebarCollapse span {
    display: none; } }

#content {
  width: 100%;
  padding: 0;
  min-height: 100vh;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: background 1.5s;
  background: url(../img/slides/1.webp);
  background-size: cover;
 }

.btn.btn-primary {
  background: #2f89fc;
  border-color: #2f89fc; }
  .btn.btn-primary:hover, .btn.btn-primary:focus {
    background: #2f89fc !important;
    border-color: #2f89fc !important; }

.footer p {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
 }

.form-control {
  height: 40px !important;
  background: #fff;
  color: #000;
  font-size: 13px;
  border-radius: 4px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: transparent; }
  .form-control:focus, .form-control:active {
    border-color: #000; }
  .form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgba(0, 0, 0, 0.5); }
  .form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: rgba(0, 0, 0, 0.5); }
  .form-control:-ms-input-placeholder {
    /* IE 10+ */
    color: rgba(0, 0, 0, 0.5); }
  .form-control:-moz-placeholder {
    /* Firefox 18- */
    color: rgba(0, 0, 0, 0.5); }

  a.recuperar {
    font-size: 16px;
    font-weight: 200;
    color: #FFF;
}
a.recuperar:hover {
    color: cyan;
}
.logo {
    color: #fff;
    padding: 0px 0px 30px 44px;
    display: block;
    margin-top: 10px;
}
.regresar {
    font-family: 'Nunito Sans';
    font-weight: 300;
    letter-spacing: 0.45px;
    text-align: end;
    padding-top: 10px;
    padding-right: 10px;
}
.regresar a {
    color: #FFF;
    font-weight: 600;
    padding-right: 5px;
}
.envoltura {
	margin: 0 auto;
    margin-top: 24vh;
	max-width: 370px;
	padding-left: 5px;
}
button.inicia-sesion {
    margin: 0 auto;
    display: block;
    border: none;
    background: linear-gradient(
90deg, rgba(255,255,255,1) 0%, rgba(123,251,232,1) 100%);
    border-radius: 25px;
    box-shadow: 0px 9px 6px #001c3a2e;
    width: 180px;
    height: 40px;
    font-weight: 800;
    color: blue;
    font-size: 16px;
    margin-top: 32px;
}

/* Estilos para el botón cuando está en modo demoweek */
button.inicia-sesion.btn-demoweek-highlight {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    border: 3px solid rgba(123,251,232,1) !important;
    color: white !important;
    animation: pulse-demoweek 1.5s ease-in-out infinite !important;
}

@keyframes pulse-demoweek {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 15px rgba(40, 167, 69, 0.5), 0px 9px 6px #001c3a2e;
    }
    50% { 
        transform: scale(1.08); 
        box-shadow: 0 0 25px rgba(40, 167, 69, 0.8), 0px 12px 8px #001c3a4e;
    }
    100% { 
        transform: scale(1); 
        box-shadow: 0 0 15px rgba(40, 167, 69, 0.5), 0px 9px 6px #001c3a2e;
    }
}

/* Etiqueta de instrucción para demoweek */
.demoweek-instruction {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(75, 221, 231, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    /* animation: blink-instruction 2s ease-in-out infinite; */
    display: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(75, 221, 231, 0.5);
}

.demoweek-instruction::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes blink-instruction {
    0%, 100% { 
        opacity: 1; 
        transform: translateY(0);
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-2px);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
input.form-control {
    margin-bottom: 10px;
}
.login-form label {
    margin-bottom: 0;
}

