/* Filtros y Cabecera */
.modulo-vacantes .barra-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.modulo-vacantes .filtro-busqueda {
    flex-grow: 1;
    min-width: 250px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}
.modulo-vacantes .filtros-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.modulo-vacantes .filtro-btn {
    padding: 10px 16px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.modulo-vacantes .cabecera-resultados {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}
.modulo-vacantes .conteo-vacantes {
    font-size: 22px;
    font-weight: bold;
    color: #0055f5; /* Naranja */
    margin: 0;
}
.modulo-vacantes .orden-vista {
    font-size: 15px;
    color: #555;
}

/* Contenedor principal de la cuadrícula */
.cuadricula-vacantes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Tarjeta individual */
.vacante-card {
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}
.vacante-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Imagen de la tarjeta */
.vacante-card-imagen {
    position: relative;
    width: 100%;
    height: 200px;
}
.vacante-card-imagen img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.vacante-card-ciudades {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}
.vacante-card-ciudades span {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Contenido de texto de la tarjeta */
.vacante-card-contenido {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.vacante-card-contenido h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
}
.vacante-card-contenido h3 a {
    text-decoration: none;
    color: #333;
}
.vacante-card-contenido h3 a:hover {
    color: #0055f5;
}
.vacante-card-contenido .vacante-area {
    font-size: 15px;
    color: #555;
    margin: 0 0 12px 0;
    font-weight: 500;
}
.vacante-card-contenido .vacante-jornada {
    background-color: #f0f0f0;
    color: #666;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    align-self: flex-start;
    margin-bottom: 16px;
    font-weight: 500;
}
.vacante-card-contenido .vacante-fecha {
    font-size: 13px;
    color: #888;
    margin-top: auto;
    padding-top: 16px;
}

/* Botón naranja */
.btn-ver-vacante {
    display: block;
    background-color: #0055f5;
    color: white !important;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 12px;
    transition: background-color 0.3s ease;
}
.btn-ver-vacante:hover {
    background-color: #042156;
    color: white !important;
}

/* Media Query para móviles */
@media (max-width: 992px) {
    .cuadricula-vacantes {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .cuadricula-vacantes {
        grid-template-columns: 1fr;
    }
    .modulo-vacantes .barra-filtros {
        flex-direction: column;
    }
    .modulo-vacantes .filtros-dropdowns {
        justify-content: space-between;
    }
    .modulo-vacantes .filtro-btn {
        flex-grow: 1;
    }
}
/* Estilos de Filtros */
.modulo-vacantes .barra-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.modulo-vacantes .filtro-busqueda {
    flex-grow: 1;
    min-width: 250px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}
.modulo-vacantes .filtros-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.modulo-vacantes .filtro-btn {
    padding: 10px 16px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #565656;
}
.modulo-vacantes .filtro-btn:hover {
    background-color: #f0f0f0;
}
.modulo-vacantes .cabecera-resultados {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}
.modulo-vacantes .conteo-vacantes {
    font-size: 22px;
    font-weight: bold;
    color: #0055f5;
    margin: 0;
}
.modulo-vacantes .orden-vista {
    font-size: 15px;
    color: #555;
}

/* Estilos del Modal de Filtros */
.filtro-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}
.filtro-modal-content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 999;
    width: 90%;
    max-width: 450px;
    overflow: hidden;
}
.filtro-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}
.filtro-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
.filtro-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    color: #888;
}
.filtro-modal-body {
    padding: 16px 24px;
    max-height: 60vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Estilo de Opciones (Radio) */
.filtro-opcion {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    font-size: 16px;
}
.filtro-opcion:last-child {
    border-bottom: none;
}
.filtro-opcion input[type="radio"] {
    /* Ocultar el radio por defecto */
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}
/* Círculo personalizado */
.filtro-opcion span:first-of-type {
    display: inline-block;
    position: relative;
    padding-left: 30px; /* Espacio para el círculo */
    color: #333;
}
.filtro-opcion span:first-of-type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: white;
}
.filtro-opcion span:first-of-type::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0055f5;
    transition: transform 0.2s ease;
}
.filtro-opcion input[type="radio"]:checked + span::before {
    border-color: #0055f5;
}
.filtro-opcion input[type="radio"]:checked + span::after {
    transform: translateY(-50%) scale(1);
}
.filtro-opcion .opcion-conteo {
    margin-left: auto;
    color: #888;
    font-size: 14px;
}
.filtro-opcion:hover span:first-of-type::before {
    border-color: #0055f5;
}

.filtro-modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}
.btn-limpiar, .btn-aplicar {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}
.btn-limpiar {
    background-color: transparent;
    color: #555;
}
.btn-limpiar:hover {
    color: #000;
}
.btn-aplicar {
    background-color: #0055f5;
    color: white;
}
.btn-aplicar:hover {
    background-color: #d95a00;
}

/* Mensaje de no vacantes */
.no-vacantes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #777;
}

/* ... (Estilos de Filtros y Cabecera) ... */
.modulo-vacantes .barra-filtros {
    padding-bottom: 16px; /* Espacio antes del wrapper de equipo */
}

/* --- NUEVO: Wrapper Conoce al Equipo --- */
.conoce-equipo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.equipo-avatar-stack {
    display: flex;
}
.equipo-avatar-stack span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #888;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid white;
    margin-left: -12px;
}
.equipo-avatar-stack span:first-child {
    margin-left: 0;
}
.btn-conoce-equipo {
    color: #0055f5;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}
.btn-conoce-equipo:hover {
    text-decoration: underline;
}

/* ... (Estilos de Tarjeta de Vacante) ... */

/* --- Estilos del Modal de Filtros --- */
.filtro-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}
.filtro-modal-content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 999;
    width: 90%;
    max-width: 450px;
    overflow: hidden;
}
.filtro-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}
.filtro-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
.filtro-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    color: #888;
}
.filtro-modal-body {
    padding: 16px 24px;
    max-height: 60vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.filtro-opcion {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    font-size: 16px;
}
.filtro-opcion:last-child {
    border-bottom: none;
}
.filtro-opcion input[type="radio"] {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}
.filtro-opcion span:first-of-type {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    color: #333;
}
.filtro-opcion span:first-of-type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: white;
}
.filtro-opcion span:first-of-type::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0055f5;
    transition: transform 0.2s ease;
}
.filtro-opcion input[type="radio"]:checked + span::before {
    border-color: #0055f5;
}
.filtro-opcion input[type="radio"]:checked + span::after {
    transform: translateY(-50%) scale(1);
}
.filtro-opcion .opcion-conteo {
    margin-left: auto;
    color: #888;
    font-size: 14px;
}
.filtro-opcion:hover span:first-of-type::before {
    border-color: #0055f5;
}
.filtro-modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}
.btn-limpiar, .btn-aplicar {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}
.btn-limpiar {
    background-color: transparent;
    color: #555;
}
.btn-limpiar:hover {
    color: #000;
}
.btn-aplicar {
    background-color: #0055f5;
    color: white;
}
.btn-aplicar:hover {
    background-color: #d95a00;
}

/* --- NUEVO: Estilos del Modal de Equipo --- */
.equipo-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}
.equipo-modal-content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1001;
    width: 90%;
    max-width: 800px; /* Más ancho que el de filtros */
    overflow: hidden;
}
.equipo-modal-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.equipo-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 500;
}
.equipo-modal-header h2 strong {
    color: #0055f5;
    font-weight: 700;
}
.equipo-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    color: #888;
    transition: all 0.2s ease;
}
.equipo-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}
.equipo-modal-body {
    padding: 32px;
}
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.equipo-miembro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.equipo-iniciales {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #aaa;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}
.equipo-miembro-info {
    display: flex;
    flex-direction: column;
}
.equipo-miembro-info strong {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}
.equipo-miembro-info span {
    font-size: 14px;
    color: #777;
}
.equipo-modal-footer {
    padding: 24px 32px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
}
.equipo-modal-footer p {
    margin: 0;
    font-size: 15px;
    color: #555;
}

/* ... (Estilos de Media Queries) ... */
@media (max-width: 768px) {
    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}
@media (max-width: 480px) {
    .equipo-modal-content {
        width: 95%;
    }
    .equipo-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .equipo-modal-header h2 {
        font-size: 20px;
    }
}
/* ... (Estilos anteriores) ... */
.modulo-vacantes .cabecera-resultados {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}
.modulo-vacantes .conteo-vacantes {
    font-size: 22px;
    font-weight: bold;
    color: #0055f5;
    margin: 0;
}
.modulo-vacantes .orden-vista {
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modulo-vacantes .orden-vista label {
    font-weight: 500;
    white-space: nowrap;
}
.modulo-vacantes .filtro-orden {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    background-image: none; /* Reset */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px; /* Espacio para la flecha */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}
/* ... (Resto de estilos) ... */
/* ... (Estilos anteriores) ... */

/* --- Wrapper Conoce al Equipo --- */
.conoce-equipo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.equipo-avatar-stack {
    display: flex;
}
/* span renombrado a .equipo-avatar-mini */
.equipo-avatar-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #888;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid white;
    margin-left: -12px;
    overflow: hidden; /* Para la imagen */
}
.equipo-avatar-mini:first-child {
    margin-left: 0;
}
.equipo-avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn-conoce-equipo {
    color: #0055f5;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}
.btn-conoce-equipo:hover {
    text-decoration: underline;
}

/* ... (Estilos de Tarjeta de Vacante) ... */

/* ... (Estilos de Modal de Filtros) ... */

/* --- Estilos del Modal de Equipo --- */
.equipo-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}
.equipo-modal-content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1001;
    width: 90%;
    max-width: 800px;
    overflow: hidden;
}
.equipo-modal-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.equipo-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 500;
}
.equipo-modal-header h2 strong {
    color: #0055f5;
    font-weight: 700;
}
.equipo-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    color: #888;
    transition: all 0.2s ease;
}
.equipo-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}
.equipo-modal-body {
    padding: 32px;
}
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.equipo-miembro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
/* Reemplazo de .equipo-iniciales */
.equipo-avatar-display {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f5f5f5;
    margin-bottom: 16px;
    overflow: hidden;
}
.equipo-avatar-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.equipo-avatar-display .equipo-iniciales-fallback {
    color: #aaa;
    font-size: 32px;
    font-weight: 600;
}
/* Fin de Reemplazo */
.equipo-miembro-info {
    display: flex;
    flex-direction: column;
}
.equipo-miembro-info strong {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}
.equipo-miembro-info span {
    font-size: 14px;
    color: #777;
}
.equipo-modal-footer {
    padding: 24px 32px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
}
.equipo-modal-footer p {
    margin: 0;
    font-size: 15px;
    color: #555;
}

/* ... (Estilos de Media Queries) ... */
@media (max-width: 768px) {
    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}
@media (max-width: 480px) {
    .equipo-modal-content {
        width: 95%;
    }
    .equipo-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .equipo-modal-header h2 {
        font-size: 20px;
    }
}
/* Estilos para página individual de vacante */
.vacante-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.vacante-header {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.vacante-breadcrumb {
    margin-bottom: 1rem;
}

.vacante-breadcrumb a {
    color: #007cba;
    text-decoration: none;
}

.vacante-title {
    color: #333;
    margin-bottom: 1rem;
}

.vacante-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.vacante-meta-item {
    font-size: 0.9rem;
    color: #666;
}

.vacante-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.vacante-description, .vacante-requirements {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Formulario de aplicación */
.vacante-application-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-checkboxes {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.btn-enviar-aplicacion {
    background: #0055f5;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}

.btn-enviar-aplicacion:hover {
    background: #000;
}

.btn-enviar-aplicacion:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#mensaje-aplicacion.success {
    color: green;
    background: #f0fff0;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

#mensaje-aplicacion.error {
    color: red;
    background: #fff0f0;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .vacante-content {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .vacante-single-container {
        padding: 1rem;
    }
}

/* Popup de Vacantes */
.vacante-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
}

.vacante-popup-content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow: hidden;
}

.vacante-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #0055f5;
}

.vacante-popup-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    flex: 1;
    padding-right: 20px;
}

.vacante-popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.vacante-popup-close:hover {
    background: #e9ecef;
    color: #333;
}

.vacante-popup-body {
    max-height: calc(90vh - 80px);
    overflow-y: auto;
    padding: 0;
}

.vacante-popup-loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.vacante-popup-loading .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contenido del Popup */
.vacante-popup-detalle {
    padding: 25px;
}

.vacante-popup-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.vacante-meta-item {
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
}

.vacante-popup-descripcion,
.vacante-popup-requisitos {
    margin-bottom: 30px;
}

.vacante-popup-descripcion h3,
.vacante-popup-requisitos h3 {
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.vacante-descripcion-contenido,
.vacante-requisitos-contenido {
    line-height: 1.6;
    color: #555;
}

/* Formulario en Popup */
.vacante-popup-formulario {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.vacante-popup-formulario h3 {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .vacante-popup-content {
        width: 95%;
        height: 95vh;
        max-height: 95vh;
    }
    
    .vacante-popup-header {
        padding: 15px 20px;
    }
    
    .vacante-popup-header h3 {
        font-size: 1.3rem;
    }
    
    .vacante-popup-detalle {
        padding: 20px;
    }
    
    .vacante-popup-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .vacante-popup-formulario {
        padding: 20px;
    }
}
h3#vacante-popup-titulo {
    color: #fff;
    font-size: 25px;
    text-align: center;
    font-weight: bold;
}