/* ===== PÁGINA DE BOLSA DE TRABAJO ===== */

.bolsa-hero {
    background: linear-gradient(135deg, var(--verde-principal), var(--verde-oscuro));
    padding: 60px 30px;
    text-align: center;
    border-radius: 30px;
    margin-bottom: 40px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.bolsa-hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.bolsa-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Filtros de búsqueda */
.filtros-bolsa {
    background: white;
    border-radius: 50px;
    padding: 10px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.filtro-bolsa-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transicion);
    background: transparent;
    color: #666;
    flex: 0 1 auto;
}

.filtro-bolsa-btn:hover {
    background: #f0f7f0;
    color: var(--verde-principal);
}

.filtro-bolsa-btn.activo {
    background: var(--verde-principal);
    color: white;
    box-shadow: 0 5px 15px rgba(46,125,50,0.3);
}

/* Grid de vacantes */
.vacantes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Tarjeta de vacante */
.vacante-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: var(--transicion);
    position: relative;
}

.vacante-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46,125,50,0.2);
}

.vacante-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-bottom: 3px solid var(--amarillo);
    position: relative;
}

.vacante-titulo {
    font-size: 1.5rem;
    color: var(--verde-oscuro);
    margin-bottom: 10px;
    padding-right: 60px;
}

.vacante-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--amarillo);
    color: var(--verde-oscuro);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: bold;
}

.vacante-meta {
    display: flex;
    gap: 15px;
    font-size: 0.95rem;
    color: #555;
    flex-wrap: wrap;
}

.vacante-meta i {
    color: var(--verde-principal);
    margin-right: 5px;
}

.vacante-body {
    padding: 20px;
}

.vacante-descripcion {
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vacante-requisitos {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.vacante-requisitos h4 {
    color: var(--verde-oscuro);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vacante-requisitos ul {
    list-style: none;
    padding: 0;
}

.vacante-requisitos li {
    padding: 5px 0 5px 25px;
    position: relative;
    color: #555;
}

.vacante-requisitos li::before {
    content: "✓";
    color: var(--verde-principal);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.vacante-footer {
    padding: 20px;
    border-top: 2px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.vacante-fecha {
    color: #777;
    font-size: 0.9rem;
}

.vacante-fecha i {
    color: var(--amarillo);
    margin-right: 5px;
}

.btn-postular {
    background: linear-gradient(135deg, var(--verde-principal), var(--verde-oscuro));
    color: white;
    padding: 12px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transicion);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-postular:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(46,125,50,0.3);
}

/* Sección "¿Cómo postularse?" */
.como-postularse {
    background: white;
    border-radius: 30px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.como-postularse h2 {
    text-align: center;
    color: var(--verde-principal);
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.postularse-pasos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.paso-item {
    text-align: center;
    padding: 20px;
}

.paso-numero {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--verde-claro), var(--verde-principal));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.paso-item h3 {
    color: var(--verde-oscuro);
    margin-bottom: 10px;
}

.paso-item p {
    color: #666;
    line-height: 1.6;
}

/* Mensaje sin vacantes */
.sin-vacantes {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 30px;
}

.sin-vacantes i {
    font-size: 4rem;
    color: var(--amarillo);
    margin-bottom: 20px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .bolsa-hero h1 {
        font-size: 2.5rem;
    }
    
    .filtros-bolsa {
        border-radius: 30px;
        padding: 15px;
    }
    
    .vacantes-grid {
        grid-template-columns: 1fr;
    }
    
    .postularse-pasos {
        grid-template-columns: 1fr;
    }
    
    .vacante-header h2 {
        font-size: 1.3rem;
    }
}