body {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    min-height: 100vh; 
    margin: 0;
    padding-top: 100px; 
    background: linear-gradient(150deg, rgb(146, 146, 146), rgb(239, 241, 240));


}

.contenedor-graficas {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1000px;
}

.graficas {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
}

.grafica {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

canvas {
    width: 100% !important;
    height: 250px !important; /
}


.modal-body p {
    border-bottom: 1px solid #ddd; 
    padding-bottom: 5px; 
    margin-bottom: 10px; /
}


legend {
    all: unset; 

}

/* 
.dt-search {
   display: none; 
}*/

.boton-registroOportunidad{
    margin-left: 30px;
    width: 15vh !important;

}

.form-background {
    background-color: white;
    border-radius: 10px;

}


 .pagination {
    justify-content: flex-end !important; 
}

table {

    border-radius: 15px;
    overflow: hidden;
}


.contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px); 
    width: 100%;
}


.formulario {
    position: relative; 
    transform: none; 
    width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.formulario h2 {
    text-align: center;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid silver;
}

.formulario form {
    padding: 0 40px;
    box-sizing: border-box;

}

form .usuario {
    position: relative;
    border-bottom: 2px solid black;
    margin: 30px 0;
}




.usuario i {
    position: absolute;
    top: 50%;
    right: 10px; 
    transform: translateY(-50%);
    cursor: pointer;
}

.usuario input {
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}

.usuario label {
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}

.usuario span::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgb(6, 36, 48);
    transition: .5s;
}

.usuario input:focus~label,
.usuario input:valid~label {
    top: -5px;
    color: rgb(6, 36, 48);
}

.usuario input:focus~span::before,
.usuario input:focus~span::before {
    width: 100%;
}


.recordar {
    margin: -5px 0 20px 5px;
    color: rgb(6, 36, 48);
    cursor: pointer;
}

.recordar :hover {
    text-decoration: underline;
}

.contenedor input[type="submit"] {
    color: #fff;
    text-decoration: none;
    background-color: #6c9943;
    border-radius: 10px;
    font: 100% sans-serif;
    width: 60%;
    padding: 10px 10px;
    margin-top: 10px;
    transition: .5s;
    border: none;
}

input[type="submit"]:hover {
    background-color: #6d9943ab;
}

.espacio {
    margin: 30px 0;
    text-align: center;
    font-size: 16px;

}

.error {
    background-color: rgb(170, 16, 16);
    color: white;
    padding: 5px;
    width: 80%;
    border-radius: 10px;
    margin: 10px auto;
    text-align: center;
}




.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;  
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);


}

.boton-ingresar{
    transition: 0.3s ease-in-out;


}
.boton-registro{
background-color: rgb(32, 65, 172);
transition: 0.3s ease-in-out;

}

.boton-ingresar:hover{
    background-color: rgba(72, 78, 95, 0.459)
    

}

.boton-registro:hover{
    background-color: rgba(32, 65, 172, 0.664);
}
.nav-link{
    color: #666777;
    font-weight: 500;
    position: relative;
}
.nav-link:hover, .nav-link.active{
    color: #000;

}

.nav-link::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    width: 0;
    height: 2px;
    background-color: #000;
    visibility: hidden;
    transition: 0.3s ease-in-out;
}

.nav-link:hover::before, .nav-link.active::before{
    width: 100%;
    visibility: visible;
}

@media(max-width: 991px){
    .sidebar{
        background-color: rgb(255, 255, 255,0.60);
        backdrop-filter: blur(10px);
    }

    .usuarioID{
        padding-right: 0 !important;
    }
}


@media (max-height: 700px) {
    .contenedor {
        min-height: auto; 
        padding-top: 100px; 
    }
}

.hero-section{
    background: url('Imagenes/fondoInicio.jpg') rgb(255, 255, 255) no-repeat center;
    background-size: cover;
    width: 100%;

}

.hero-section::before{
    background-color: rgba(0, 0, 0, 0.507);
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.hero-section .container{
    height: 100vh;
    z-index: 1;
    position: relative;
    text-align: center;

}

.hero-section h1{
    font-size: 1.5em;
}

.error {
    font-weight: 700;
    text-align: center;
}

.exito {
    color: rgb(0, 255, 85);
    font-weight: 700;
    text-align: center;
    width: 100%;
    padding-top: 10px;
}
