/*    html, body {
      height: 100%;
      margin: 0;
    }

    .full-height {
      height: 100%;
    }

    .login-left {
      width: 35%;
      background-color: #ffffff;
      padding: 40px 30px;
      height: 100%;
      overflow: auto;
    }

    .image-right {
      width: 65%;
      height: 100%;
      background-color: #f5f5f5;
      text-align: center;
      display: table;
    }

    .image-right-inner {
      display: table-cell;
      vertical-align: middle;
    }

    .image-right img {
      max-width: 80%;
      height: auto;
    }

    .login-form h3 {
      margin-bottom: 20px;
    }

    .login-form input {
      margin-bottom: 15px;
    }

    .wrapper {
      display: table;
      width: 100%;
      height: 100%;
      table-layout: fixed;
    }

    @media (max-width: 768px) {
      .login-left,
      .image-right {
        display: block;
        width: 100%;
        height: auto;
      }

      .image-right-inner {
        display: block;
      }
    }*/
:root {
  /* --p-menu-bg: #020617; */
  --p-menu-bg: #04419a;
  /* --p-menu-bg-hover: #182C61; */
  --p-menu-bg-hover: #033275;  /* esta mejor*/
  /* --p-menu-bg-hover: #013a89; */
  --p-size-sidebar: 105px;
  --p-text-color:#64748B;
  --a-background: rgba(255, 255, 255, 0.9);
  --a-bread-bar: white;
  --an-bg-app: #e7e9f2;
  --an-bg-shadowbar: 0 1px 4px rgba(0, 0, 0, 0.2);

  /* sso */
  --p-primary-bg: var(--p-menu-bg);
}


.container-fluid {
    padding-right: 20px !important;
    padding-left: 20px !important;
}

.open-jvt {
    background: #2A3547;
    color: white;
}
.an-title {
    color: #2A3547;
    font-weight: 600;
    line-height: 1.4;
    font-size: 1.5em;
}

/* Input moderno */
.modern-input {
  border: 1px solid #ccc;
  border-radius: 7px !important;
  padding: 10px 12px !important;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;

  min-height: 3em !important;
}

.modern-input:focus {
  /*border-color: #007bff;*/
  /* border: 1px solid #2A3547 !important; */
  border: 1px solid var(--p-menu-bg-hover) !important;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
  outline: none;
}

/* Botón moderno */
.modern-btn {
  width: 100%;
  background-color: var(--p-primary-bg);
  border: none;
  border-radius: 7px !important;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.modern-btn:hover {
  /* background-color: #2A3547; */
  background-color: var(--p-menu-bg-hover);
}

/* Checkbox moderno */
.modern-checkbox {
  font-size: 13px;
  color: #333;
}

/* Enlace moderno */
.modern-link {
  font-size: 13px;
  color: #007bff;
  text-decoration: none;
}

.modern-link:hover {
  text-decoration: underline;
}


.btn-primary {
    color: #ffffff;
    background-color: #020617 !important;
/*     background-image: -webkit-gradient(linear, left top, left bottom, from(#67c2ef), to(#39afea));
    background-image: -webkit-linear-gradient(top, #67c2ef, #39afea);
    background-image: -moz-linear-gradient(top, #67c2ef, #39afea);
    background-image: -o-linear-gradient(top, #67c2ef, #39afea);
    background-image: -ms-linear-gradient(top, #67c2ef, #39afea);
    background-image: linear-gradient(top, #67c2ef, #39afea );*/
}

.an-control-label {
    margin-bottom: .5rem;
    font-weight: 600;
    color: #2a3547;
}

/*
.controls > .error {
    margin-left: 0px;
    min-width: 0;
}

.controls > .error {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #b94a48;
    display: inline-block;
    padding: 5px;
    margin-top: 5px;
    vertical-align: middle;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid #eed3d7;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    min-width: 280px;
    border-color: #F09784 !important;
    box-shadow: 0 0 5px #F09784 !important;
}*/

input.modern-input.error {
  /* border: 1px solid #dc3545;
  background-color: #fff5f5;
  color: #dc3545;
  box-shadow: 0 0 4px rgba(220, 53, 69, 0.3); */

 /*  min-height: 3em !important;
  height: 3em !important;
  margin-left: 0px; */
}

input[class="modern-input error"] {
    height: 3.5em !important;
    margin-left: 0px !important;
}

/******** CARUSELL *******/
/* .carousel {
  position: relative;
  width: 400px;
  height: 400px;
  overflow: hidden;
  margin: auto;
}

.slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px; 
}


.slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

input[type="radio"] {
  display: none;
}


.navigation {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.navigation label {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 4px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

input#slide1:checked ~ .slides {
  transform: translateX(0%);
}

input#slide2:checked ~ .slides {
  transform: translateX(-100%);
}

input#slide3:checked ~ .slides {
  transform: translateX(-200%);
}

input#slide1:checked ~ .navigation label[for="slide1"],
input#slide2:checked ~ .navigation label[for="slide2"],
input#slide3:checked ~ .navigation label[for="slide3"] {
  background: #333;
}
 */


/* Footer */
.footer {
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    color: #666;
    background-color: #f4f4f4;
}

.footer-flotante {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
  /* background-color: rgba(255, 255, 255, 0.1); */
  padding: 10px 0;
  font-size: 12px;
  color: #444;
  z-index: 9999;
  border-top: 1px solid #ccc;
}

/**** Ajuste pantalla ****/

/* .span4 {
  height: 100%;
  overflow-y: auto;
}

#main-wrapper,
.row-fluid {
  height: 100%;
} */

.span4 {
  height: 100%;
}

/*************************** SLIDER ******************************/
        
        .slider-container {
            width: 100vh;
            max-width: 100vh;
            height: 500px;
            /* max-width: 600px;
            height: 300px; */
            overflow: hidden;
            position: relative;
        }
        
        .slider {
            display: flex;
            /* width: 490%;
            height: 100%; */
            width: 490%;
            height: 100%;
            animation: slide 20s linear infinite;

            background-image: none !important;

            -webkit-box-shadow: none !important;
            -moz-box-shadow: none !important;
            box-shadow: none !important;
        }
        
        .slide {
            width: 50%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .slide svg {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
        }
        
        @keyframes slide {
            0% { transform: translateX(0); }
            20% { transform: translateX(0); }
            25% { transform: translateX(-25%); }
            45% { transform: translateX(-25%); }
            50% { transform: translateX(-50%); }
            70% { transform: translateX(-50%); }
            75% { transform: translateX(-75%); }
            95% { transform: translateX(-75%); }
            100% { transform: translateX(0); }
        }

/***** password *****/
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    z-index: 2;
}

.toggle-password:hover {
    color: #333;
}

/* Asegurar que el input no quede detrás del icono */
.modern-input {
    padding-right: 30px !important;
}

/*** SSO ***/
.page-bg {
  background: var(--an-bg-app);
}

.an-btn-primary {
  background-color: var(--p-primary-bg);
  border: 1px solid var(--p-primary-bg);
  /* border: none; */
  border-radius: 7px !important;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.an-btn-primary:hover {
  background-color: #2A3547;
}

.an-btn-secondary {
  /* background-color: var(--p-primary-bg); */
  border: 1px solid #ccc;
  /* border: 1px solid var(--p-primary-bg); */
  border-radius: 7px !important;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;

  cursor: pointer;
  transition: background-color 0.2s;
}

.an-btn-secondary:hover {
  border: 1px solid var(--p-primary-bg);
}

.an-box-content-clear {
    position: relative;
    z-index: 50;
    margin-top: -1px;
    padding: 10px;
    background: #fff;
    -webkit-border-radius: 0px 0px 5px 5px;
    -moz-border-radius: 0px 0px 5px 5px;
    border-radius: 0px 0px 5px 5px;
}

.an-box-content {
    position: relative;
    z-index: 50;
    margin-top: -1px;
    padding: 16px;
    /* border: 1px solid #f1f1f1; */
    border: none;
    background: #fff;
    -webkit-border-radius: 0px 0px 5px 5px;
    -moz-border-radius: 0px 0px 5px 5px;
    border-radius: 0px 0px 5px 5px;
}

/* .an-content {
    background: #ffffff;
    filter: none;
    min-height: 100%;
    padding: 5px 5px !important;
    -webkit-border-radius: 0px 5px 5px 5px;
    -moz-border-radius: 0px 5px 5px 5px;
    border-radius: 0px 5px 5px 5px;
    border: none !important;
    position: relative;
} */

.an-content {
    --bs-card-spacer-y: 30px;
    --bs-card-spacer-x: 30px;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-title-color: #2A3547;
    --bs-card-subtitle-color: #2A3547;
    --bs-card-border-width: 0px;
    --bs-card-border-color: #ebf1f6;
    --bs-card-border-radius: 7px;
    --bs-card-box-shadow: rgba(145, 158, 171, 0.5) 0px 0px 2px 0px, rgba(145, 158, 171, 0.12) 0px 12px 24px -4px;
    --bs-card-inner-border-radius: 7px;
    --bs-card-cap-padding-y: 15px;
    --bs-card-cap-padding-x: 30px;
    --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);
    --bs-card-bg: var(--bs-body-bg);
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    /* border: var(--bs-card-border-width) solid var(--bs-card-border-color); */
    border: none !important;
    border-radius: var(--bs-card-border-radius) !important;
    box-shadow: var(--bs-card-box-shadow);
}