body {
    min-height: 100vh;
}

#contenedorInicio {
    /* background: rgb(94,21,16);
    background: linear-gradient(90deg, rgba(94,21,16,1) 0%, rgba(89,89,91,1) 55%); */
    /* background: linear-gradient(to right, black, gray); */
    background: rgba(0,0,0,0.75);
}

#contenedorInicioSesion {
    height: 70%;
    background-color: rgba(255,255,255,0.75);
    border-radius: 10px;
    /* border: 2px solid black; */
    box-shadow: 0px 0px 7px 7px rgba(0, 0, 0, 0.5);
}

.input-container {
	position: relative;
	width: 100%;
}

.input-container input {
	width: 75%;
	padding: 10px;
	border: 2px solid black; /* Borde blanco */
	background-color: transparent; /* Fondo transparente */
	border-radius: 20px;
	outline: none;
	font-size: 18px;
	color: black; /* Texto en blanco */
}

.input-container label {
	position: absolute;
	top: 50%;
	left: 15%;
	transform: translateY(-50%);
	font-size: 18px;
	color: black;
	transition: 0.3s ease;
	pointer-events: none;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
	top: -20px;
	left: 13.5%;
	font-size: 20px;
	color: black;
}

.input-container i {
    position: absolute;
    top: 50%;
    right: 15%; /* Ajusta la posición horizontal */
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 25px;
}

#botonAcceso{
	border-radius: 20px;
	background-color: black;
	color: white;
}
#botonAcceso:hover{
	background-color: white;
	color: black;
    border-color: black;
    border: 2px solid;
}

.elementoBarraNavegacion:hover {
    background-color: rgb(89, 89, 91) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.bgVerdeClaro {
    background-color: #00cb0e !important;
}

.bgVerdeClaro:hover {
    background-color: #00b20c !important;
}

.botonPdf:hover {
    color: white !important;
}

.form-check-input:checked {
    background-color: rgb(255, 174, 0) !important;
    border-color: rgb(255, 174,0) !important; 
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(128, 68, 0, 0.25) !important;
    border-color: rgb(255,174,0) !important;
}

.elemento-tabla {
    cursor: pointer;
}

.texto {
    transition: all 0.2s ease-in-out;
}

.elemento-tabla:hover .texto {
    display: none;
}

.elemento-tabla:hover .boton {
    display: inline-block !important;
}

/* media queries */
@media(max-width: 992px)
{
    #botonAcceso {
        width: 40% !important;
    }
    #contenedorInicioSesion {
        width: 70% !important;
    }
    #contenedorInicioFormulario {
        width: 100% !important;
    }
}
@media(max-width: 576px)
{
    #botonAcceso {
        width: 75% !important;
    }
    #contenedorInicioSesion {
        width: 100% !important;
    }
}



/* Barra lateral fija para escritorio */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 275px;
    height: 100vh;
    /* overflow-y: auto; */
    background-color: #212529 !important;
    z-index: 1030; /* similar al offcanvas */
}


/* Personalización */
.sidebar .nav-link:hover,
.sidebar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* En escritorio: que los dropdowns se comporten como en el offcanvas */
@media (min-width: 768px) {
    .sidebar .dropdown-menu {
        position: static !important;
        float: none;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1.5rem;
    }

    /* Ajusta los links dentro del dropdown */
    .sidebar .dropdown-item {
        color: #fff;
        /* padding-left: 2rem; */
    }

    .sidebar .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .topbar {
        position: fixed;
        top: 0;
        left: 275px; /* Comienza justo donde termina la sidebar */
        width: calc(100% - 275px); /* Ocupa el resto del ancho */
        height: 60px;
        background-color: #BEC4CB;
        z-index: 1040;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #contenedor-principal {
        margin-left: 275px;
        margin-top: 70px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media(max-width: 768px)
{
    #contenedor-inicio-2 {
        width: 98%;
    }

    .imagen-inicio-2 {
        width: 40% !important;
    }
}

#contenedor-inicio-2 {
    background: rgba(0,0,0,0.75);
}

.imagen-inicio-2 {
    width: 20%; 
    height: auto; 
    object-fit:contain;
}