main {
    flex: 1; /* ← esto hace que main ocupe todo el espacio entre header y footer */
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
}
h1 {
    font-size: 2rem;
    font-weight: 500;
    color: #171E43;
}
a{
    color: #171E43;
}

.fondoHeader{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #004080;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

}

.fondoFooter {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #004080;
    color: white;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}


.fondoFooter p, a{
    color: #FFF;
    text-decoration: none;
}


.fondoCarrusel {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;

   /* background: linear-gradient(135deg, rgba(241,91,40,0.15), rgba(60,182,75,0.15));*/
   
}

.carrusel-imagen {
    max-width: 300px;
    max-height: 250px;
    object-fit: cover;
    transition: all 0.6s ease;
    cursor: pointer;
}

/* Imagen achicada cuando el item no está activo */
.carousel-item:not(.active) .carrusel-imagen {
    transform: scale(0.85);
    opacity: 0.7;
    filter: blur(1px);
}

/* Imagen activa resaltada */
.carousel-item.active .carrusel-imagen {
    transform: scale(1);
    opacity: 1;
    filter: none;
}

/* Controla que el texto no se superponga */
.carousel-item .card-body {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

/* Asegura que los slides se apilen correctamente */
.carousel-inner {
    position: relative;
    z-index: 1;
}

.carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.6s ease;
    z-index: 0;
}

.carousel-item.active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

/* Corrige que los ítems no se superpongan mal en el primer render */
.carousel-item:first-child.active {
    z-index: 3;
}

/* Mejora la animación de entrada/salida */
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active.carousel-item-end,
.carousel-item.active.carousel-item-start {
    transform: translateX(0);
}




.form-signin {
    /*max-width: 430px;*/
    padding: 0 1rem;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}


.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

label{
    font-size: 0.8rem;
    color: #171E43;
    margin-top: 1rem;
}
.form-control{
    margin-bottom: 1rem;
    border: silver 1px solid;
}

html, body {
    height: 100%;
    margin: 0;
}
.login-container {
    /*height: 100vh; /* ocupa todo el alto visible */
    display: flex;
    align-items: center; /* centra verticalmente */
    justify-content: center; /* centra horizontalmente */
    background-color: #f8f9fa; /* color de fondo suave */
}
.login-imagen-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    height: 100%;
}
.login-imagen-container img {
    max-width: 450px;
    height: auto;
}
.login-wrapper {
    max-width: 400px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

.login_logo_cli{
    /*width: 200px;*/
    /*margin: 0 0 2.5rem;*/
}
.login_logo_cli img {
    width: 100%;
    height: auto;
    display: block;
}

.separador{
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #000 !important;
}
.separador a{
    font-size: 0.8rem;
	color: #000 !important;
}
.separador a:hover{
    font-size: 0.8rem;
	color: #0000AA !important;
}


.btn-primary{
    border-radius: 25px;
    background-color: #171E43;
    border-color: #171E43;
}

.change_link{
    margin-top: 2rem;
}
.login-logo-sga{
    width: 100px;
    float: left;
}
p.copy{
    font-size: 0.7rem;
    color: silver;
}


.login_content form div a {
    margin: 0;
}
/*.login-imagen-container{display: flex;align-items: center;justify-content: center;height: 100%}*/
.login-imagen-container{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    flex-direction: row;
}