/***************************************/
/*****IMAGENES TRANSPARENCIA VPO *******/
/***************************************/

/*esta parte amplia imagenes cuando pasas con el raton*/
.img--amplia:hover {
    width: 71%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* sombra suave */
}

/*A partir de aqui es para las imagenes de la web de transparencia*/
/* Estilo para la imagen normal */
.ampliaImg {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

/* Estilo para el modal */
.ampliarImagenModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);  /* Fondo oscuro */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Cuando se hace clic en la imagen, se muestra el modal */
#ampliarImagen:target {
    display: flex;
}

/* Estilo para la imagen ampliada */
.ampliaImgModal {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Estilo para el botĆĀ³n de cerrar */
.cerrar {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

.cerrar:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/***************************************/
/********* SISTEMA DE PESTAÑAS *********/
/***************************************/


.tabs {
    border-radius:8px; 
    background-color: #f8f8f8; 
    padding:20px;
}

.tabs-menu{
    display:flex;
    gap:10px;
    margin-bottom:20px;
    justify-content:center;
}

.tab-btn{
    padding:10px 20px;
    border:none;
    background:#2b2b2b;
    cursor:pointer;
    border-radius: 8px;
    width: 40%;
    text-align: center
}

.tab-btn.active{
    background:#004b99;
    color:white;
}

.tabs-content-container{
    min-height: 25rem;
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

/***************************************/
/************** CTA y BOTÓN ************/
/***************************************/

.cta-danger{
    background-color: red;
    padding-left: 1rem !important;
    color: #fff;
    border-radius: 5px;
}

.btn-acceder{
    border-radius: 5px;
    min-height: 2.3em; 
    cursor: pointer; 
    padding: .3rem .7rem .3rem .7rem; 
    background-color: var(--color-primari); 
    will-change: background-color, transform; 
    transition: background-color .2s ease-out;
    color: var(--fons-color-primari);
}

.btn-acceder:focus,
.btn-acceder:hover{
    background-color: #000;
    color: #fff
}

