.table-inscripciones {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
}

.table-row-inscripciones {
    border-bottom: 2px solid rgb(117, 117, 117);
}

.table-row-inscripciones-first {
    border-bottom: 2px solid rgb(117, 117, 117);
    border-top: 2px solid rgb(117, 117, 117);    
}

.table-row-inscripciones-first th {
    padding-top: 16px   
}

.table-row-inscripciones td {
    padding: 8px;
}



/*Elementos oferta*/
.list-oferta{
    list-style: none;
}
.list-item-oferta {
    text-align: center;
    position: relative;
    margin: 5px 0;
    padding: 5px;
    background: #f9f9f9;
    border: 1px solid rgb(207, 207, 202);
    transition: background 0.3s;
    border-radius: 2px;
}

.list-item-oferta:hover {
    background: #f8e262;
}

.info-oferta {
    border-radius: 2px;
    color: black;
    font-weight: bold;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 100%;
    top: 0;
    background: #ff7c85;
    padding: 5px;
    z-index: 1;
    transition: visibility 0s, opacity 0.3s ease;
    width: max-content;
    max-width: 250px;
}

.list-item-oferta:hover .info-oferta {
    visibility: visible;
    opacity: 1;
}

.link-oferta {
    color: black;
    text-decoration: none;
}

/* Estilo para el Modal */
/* Estilo para el Modal */
.modal {
    display: none;
    /* Inicialmente oculto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    opacity: 0;
    /* Comienza invisible */
    transition: opacity 0.5s ease;
    /* Agrega la transición de opacidad */
}

/* Estilo para el contenido del modal */
.modal-content {
    float: right;
    background-color: #fff;
    padding: 10px;
    width: 100%;
    height: 100%;
    max-width: 600px;
    transform: translateX(50px);
    /* Comienza ligeramente arriba */
    transition: transform 0.5s ease;
    /* Agrega la transición de desplazamiento */
}

.open-modal {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    background-color: rgb(48, 130, 252);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    height: fit-content;
    width: fit-content;
}

.open-modal:hover,
.open-modal:focus {
    background-color: rgb(51, 48, 252);
    cursor: pointer;
}

/* Estilo para el botón de cerrar (x) */
.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*Marca de agua del escudo de la unipamplona*/
.watermark {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.unipamplona.edu.co/unipamplona/portalIG/home_11/recursos/general/27032025/marca_agua_unipamplona.png'); /* Ruta de la imagen */
    background-repeat: no-repeat; /* Evita que se repita */
    background-position-x: 66%;
    background-size: contain; /* Ajusta la imagen al contenedor */
    background-attachment: fixed; /* Hace que la imagen se mueva con el scroll */
    pointer-events: none; /* Evita que interfiera con otros elementos */
    z-index: -1; /* Asegura que la imagen quede en el fondo */
}
@media (hover: none) and (pointer: coarse) {
    .watermark {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://www.unipamplona.edu.co/unipamplona/portalIG/home_11/recursos/general/27032025/marca_agua_unipamplona.png'); /* Ruta de la imagen */
        background-repeat: no-repeat; /* Evita que se repita */
        background-position-x: 75%;
        background-size: 50%; /* Ajusta la imagen al contenedor */
        background-attachment: fixed; /* Hace que la imagen se mueva con el scroll */
        pointer-events: none; /* Evita que interfiera con otros elementos */
        z-index: -1; /* Asegura que la imagen quede en el fondo */
    }
}


/* Main container ICONOS POSGRADOS*/

.learning-icons {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

/* Each item */
.learning-item {
    text-align: center;
    width: 125px;
    /* ancho fijo para alinear el texto con el icono */
}

/* Clickable area */
.learning-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 110px;
    margin: 0 auto;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Icon image */
.learning-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Hover effects */
.learning-link:hover {
    transform: scale(1.1);
    background-color: rgba(247, 220, 66, 0.849);
    box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
}

.learning-link:hover .learning-icon {
    transform: scale(1.15);
}

/* Title below the icon */
.learning-title {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    text-align: center;
    max-width: 125px;
    /* se asegura de coincidir con el contenedor */
    word-wrap: break-word;
    /* permite saltos de línea si el texto es largo */
    margin-left: auto;
    margin-right: auto;
}